REST API v1

Pocket REST API v1

With this api you can build experiences around the single or recurring purchase of bitcoin.

  • Set up a Pocket new order
  • Query existing Pocket orders

To get real-time updates on each purchase of your orders, learn about the Pocket Webhook API.

Endpoint

The api is available through the following endpoint.

There's a sandbox environment available under https://sandbox.mainnet.pocketbitcoin.com/api/rest/v1.

The API uses the application/json content type for all its resources, except where otherwise noted.

Authentication

All requests must be authenticated with the client_id of your API client. Please provide your client_id in the Authorization header as follows.

curl "https://pocketbitcoin.com/api/rest/v1" \
-H "Authorization: client_id [CLIENT_ID]"