Api Docs
Json
Bitbucket API
2.0
Code against the Bitbucket API to automate simple tasks, embed Bitbucket data into your own site, build mobile or desktop apps, or even add custom UI add-ons into Bitbucket itself using the Connect framework.
Servers
https://api.bitbucket.org/2.0
-