API endpoint for search for commit hash

i would like to know, whether there is an API endpoint which allows me to search for a given commit hash.
The idea is to have something like


as link, to be brought to the corresponding commit, without knowing the repo location.
Is this somehow available?

Thanks and regards,

Try to use <bitbucket_url>/rest/search/latest/commits?query=55e9cab1deb


Hi, thanks for the quick reply! Is there some kind of API doc for the search? I looked around and was looking exactly for this kind of information.