The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket: Is there a REST API at the repository level to get programming-language breakdown

kiran
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 18, 2025

Hi Team,

We are looking for a REST API that can provide a breakdown of programming languages used in a repository (repo-level), similar to:

GitHub: GET /repos/{owner}/{repo}/languages returns a JSON map of languages to bytes.
https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-repository-languages

GitLab: GET /projects/:id/languages returns an array or map of languages. (see their API)
https://docs.gitlab.com/api/projects/#list-programming-languages-used

Specifically:

Does Bitbucket cloud provide an API to list all languages used in a particular repo?

Request:

Confirm whether such an API exists.

If yes: provide the API endpoint, request/response schema, and any versioning constraints.

If no: can we submit a feature request, or is there a recommended workaround?

Thanks!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Nikola Perisic
Community Champion
November 19, 2025

Hello @kiran 

Bitbucket doesn't have this feature for breaking every repo for their programming language. As for the feature request, you can look it up here

Most of the requests are for data center, but you can refer cloud.

kiran
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 19, 2025

Thank you @Nikola Perisic

Nikola Perisic
Community Champion
November 19, 2025

If you found the answer helpful, please mark it as accepted so the users know the answer.

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events