Skip to content
Bare BitcoinDevelopers

Search documentation

↑ ↓ Select · Enter Open · Escape Close

barebitcoin.no ↗
Menu
View Markdown

Authentication

Public price and volume endpoints need no credentials. Other endpoints list the authentication methods they accept.

API keys

Use an API key to access your own account. Send the complete key in x-bb-api-key. Keys can have trading and bitcoin withdrawal permissions and IP restrictions.

Order creation, cancellation, and bitcoin withdrawals require a nonce and signature in addition to the API key. See API keys and signing.

OAuth

Use OAuth when an application acts for another user. Send the token as Authorization: Bearer <access token>. OAuth works only on endpoints that list it, each with the scopes its token needs. An API-key permission is not an OAuth scope. See the OAuth guide.

AI assistants connect through the MCP server, which also uses OAuth.

Combining methods

Where an endpoint accepts several methods, use one of them. Do not send both a bearer token and API-key headers.