The Bitbucket REST API allows third-party application developers the means for writing applications for the Bitbucket service.
The Bitbucket REST API allows third-party application developers the means for writing applications that integrate with the Bitbucket service. The API includes ways to manage the repository changesets, issues on the issue tracker, permissions etc.