/v1/book
Live order-book depth with running spread
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/bitbank-api/v1/book" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitbank-api/v1/book", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitbank-api/v1/book");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/bitbank-api/v1/book",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"asks": [
{
"price": 10070867,
"amount": 0.3112
},
{
"price": 10072269,
"amount": 0.0045
},
{
"price": 10072537,
"amount": 0.0194
},
{
"price": 10072743,
"amount": 0.6087
},
{
"price": 10072744,
"amount": 0.014
},
{
"price": 10073034,
"amount": 0.0016
},
{
"price": 10073035,
"amount": 0.0063
},
{
"price": 10073063,
"amount": 0.0315
},
{
"price": 10073737,
"amount": 0.003
},
{
"price": 10074143,
"amount": 0.0429
},
{
"price": 10074306,
"amount": 0.003
},
{
"price": 10074778,
"amount": 0.0429
},
{
"price": 10075099,
"amount": 0.0429
},
{
"price": 10075537,
"amount": 0.0002
},
{
"price": 10077052,
"amount": 0.0595
},
{
"price": 10077296,
"amount": 0.0719
},
{
"price": 10077491,
"amount": 0.0002
},
{
"price": 10079725,
"amount": 0.04
},
{
"price": 10080000,
"amount": 0.0078
},
{
"price": 10080172,
"amount": 0.04
}
],
"bids": [
{
"price": 10070866,
"amount": 0.2505
},
{
"price": 10069863,
"amount": 0.0017
},
{
"price": 10069862,
"amount": 0.1102
},
{
"price": 10069861,
"amount": 0.0001
},
{
"price": 10069803,
"amount": 0.062
},
{
"price": 10069627,
"amount": 0.1
},
{
"price": 10069562,
"amount": 0.1
},
{
"price": 10069526,
"amount": 0.1
},
{
"price": 10069432,
"amount": 0.263
},
{
"price": 10069422,
"amount": 0.092
},
{
"price": 10069399
…