What will be the URL to access the API of a custom Bitbucket domain of any company? Edited

Hi Team,

I need to find the url for the custom bitbucket domain of my company. For example, to get the information of comments on a ceratin pull request from one's own bitbucket account, we can access as this from this url:


Let's say for ABC organization, the bitbucket domain is https://bitbucket.dev.ABC.com

In this case, how can I access its API to get the information of pull requests of a certain project under this domain.

Kindly revert.

Thanks & Regards.

2 answers

1 accepted

0 votes
Answer accepted
Jim Redmond Atlassian Team Jan 22, 2018

Those are two completely separate products, and many places only use one of them. If your organization uses Bitbucket Server, then you will need to talk to somebody in the organization to find out what the hostname is- that information does not exist on Bitbucket Cloud.

Thank you James. I would contact some one in my organization for the same.

0 votes
Jim Redmond Atlassian Team Jan 19, 2018

I think you're confusing Bitbucket Cloud (hosted at bitbucket.org, no matter what the company) and Bitbucket Server (hosted at some other name, just not "*.bitbucket.org", "*.bitbucket.com", or "*.bitbucket.io"). They're different products, with similar but different APIs.

Hi James,

Thanks for your reply. Kindly look into the screenshots attached and provide your inputs. ownRepo.JPG

This above screenshot states my private account of bitbucket whose status code is 200 OK.

Please suggest the URL of API for the following screenshot which states my professional account. 


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

267 views 0 12
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