Rate this page:
The Bitbucket Data Center and Server REST API enables you to interact with Bitbucket programmatically. This page documents the REST resources available in Bitbucket, including the HTTP response codes and example requests and responses.
This is the reference document for the Bitbucket Data Center REST API. The REST API is for developers who want to:
You can read more about developing Bitbucket Data Center plugins in the Developer Documentation
Because the REST API is based on open standards, you can use any web development language or command line tool capable of generating an HTTP request to access the API.
Bitbucket Data Center's REST APIs provide access to resources (data entities) via URI paths. To use a REST API, your application will make an HTTP request and parse the response. The Bitbucket Data Center REST API uses JSON as its communication format, and the standard HTTP(S) methods like GET, PUT, POST and DELETE. URIs for Bitbucket Data Center's REST API resource have the following structure: