[BitBucket] Does BitBucket have a public code search API?

I have gone through the REST API docs for BB cloud but could not find any documentation for Code Search. Is it public? If not, then, are there any plans to make it public in the near future?

2 answers

1 accepted

0 votes
Accepted answer

Hi @Ishtiaque Zafar,

We're working on the public API for code search in Bitbucket Cloud and it will be available in the near future.

Kind regards,

Product Manager
Bitbucket Cloud

The code search public API is now available, 


Kind regards,

Product Manager
Bitbucket Cloud

0 votes
Gonchik Tsymzhitov Community Champion Nov 15, 2017


I have not found in documentation, but you can use method 

using develop mode. 3.PNG


Where I got this request.  



Hence you can use it. 


Hope it helps.



Gonchik Tsymzhitov

Hi Gonchik Tsymzhitov,

I had already seen the networks requests in my browser's developer tools. But on seeing it, I noticed that is uses the /internal path.


It seems that is some internal API which they have not made public. So is it safe to use or illegal to use?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,961 views 7 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you