Bare Bitcoin API (1.0.0)

API for interacting with Bare Bitcoin. Most endpoints require authentication. Create API keys here. Read about API authentication here.

Download OpenAPI description
Languages
Servers
Prod environment
https://api.bb.no/

BitcoinTransferService

Transfer bitcoin in and out of the platform. Fetch information about past bitcoin transfers.

Operations

LedgerService

Operations

Fetch ledger

Request

Fetches the ledger for the entire user. The ledger includes all transactions that affect the balance of the account.

curl -i -X GET \
  https://api.bb.no/v1/ledger \
  -H 'x-bb-api-hmac: YOUR_API_KEY_HERE' \
  -H 'x-bb-api-key: YOUR_API_KEY_HERE' \
  -H 'x-bb-api-nonce: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
entriesArray of objects(LedgerEntry)
Response
application/json
{ "entries": [ { … } ] }

Fetch sub account ledger

Request

Fetches the ledger for a specific account. The ledger includes all transactions that affect the balance of the account.

Path
accountIdstringrequired

The ID of the account to fetch the ledger for.

curl -i -X GET \
  'https://api.bb.no/v1/ledger/{accountId}' \
  -H 'x-bb-api-hmac: YOUR_API_KEY_HERE' \
  -H 'x-bb-api-key: YOUR_API_KEY_HERE' \
  -H 'x-bb-api-nonce: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
object(LedgerAccountResponse)
Response
application/json
{}

PublicService

Public endpoints that don't require authentication

Operations

TradingService

Execute and cancel orders. Fetch information about past orders.

Operations

UserService

Fetch information the authenticated user and it sub accounts.

Operations