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.
Endpoints
The production API is available through the following endpoint.
We also provide a staging environment for you to test your integration using bitcoin testnet3
.
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://api.pocketbitcoin.com" \-H "Authorization: client_id [CLIENT_ID]"