Download OpenAPI description
Overview
URL
E-mail
Languages
Servers
Prod environment
https://api.bb.no/
- Prod environment
https://api.bb.no/v1/orders
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.bb.no/v1/orders \
-H 'x-bb-api-key: YOUR_API_KEY_HERE'
Response
application/json
{ "orders": [ { … } ] }
Bodyapplication/jsonrequired
Amount to spend. Must be positive. When buying, this is the amount in NOK. When selling, this is the amount in BTC.
Free-form text description of the order. Can be used to correlate with your own systems.
- Prod environment
https://api.bb.no/v1/orders
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.bb.no/v1/orders \
-H 'Content-Type: application/json' \
-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' \
-d '{
"type": "ORDER_TYPE_UNSPECIFIED",
"direction": "DIRECTION_UNSPECIFIED",
"amount": 0.1,
"accountId": "string",
"description": "string",
"price": 0.1
}'
Response
application/json
{ "orderId": "string", "tradeId": "string" }
- Prod environment
https://api.bb.no/v1/orders/{orderId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api.bb.no/v1/orders/{orderId}' \
-H 'x-bb-api-key: YOUR_API_KEY_HERE'