Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Do we have an API which provides repositories along with their project names in Bitbucket?

kompal.sithta May 24, 2023

Hi All,

I have a requirement to get all the repositories along with their project names, so far I haven't got any API that would give me that information.

I am using the Cloud platform and require API or any near solution to that.

So far, I have tried the following API but didn't get the repos in that project, only got the project information :

Please let me know if we have any solution.

2 answers

1 vote
Ulrich Kuhnhardt _IzymesCo_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
May 24, 2023

Hi Kompal,

short answer: yes we do :)

You can make use of the 'List workspace repositories' API endpoint [1].

It's a paginated API so make sure you iterate through all pages to fetch all repos.

The response repo object contains project information as well under the `project` field.

Hope that helps.

Best, Ulrich

// Izymes


0 votes
Sachin Dhamale
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 24, 2023

@kompal.sithta ,


You can refer this


Access to repository data

Any access to /2.0/repositories/* such as:

  • List a user or team's repositories (/2.0/repositories/{workspace})

  • List all repositories on Bitbucket (/2.0/repositories)

  • List a repository's commits (/2.0/repositories/{workspace}/{slug}/commits)

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events