/v1/orderbook
Live order book
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/kraken-api/v1/orderbook" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/kraken-api/v1/orderbook", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/kraken-api/v1/orderbook");
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/kraken-api/v1/orderbook",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"asks": [
{
"price": 62534.4,
"volume": 0.002
},
{
"price": 62535.2,
"volume": 0.001
},
{
"price": 62536,
"volume": 0.002
},
{
"price": 62538.3,
"volume": 0.001
},
{
"price": 62541.4,
"volume": 0.001
},
{
"price": 62545.6,
"volume": 0.014
},
{
"price": 62546.4,
"volume": 0.094
},
{
"price": 62547.4,
"volume": 0.8
},
{
"price": 62550.1,
"volume": 0.002
},
{
"price": 62550.9,
"volume": 0.034
}
],
"bids": [
{
"price": 62534.3,
"volume": 5.43
},
{
"price": 62533.6,
"volume": 0.561
},
{
"price": 62533.5,
"volume": 0.8
},
{
"price": 62532.1,
"volume": 0.001
},
{
"price": 62531.3,
"volume": 0.279
},
{
"price": 62530.8,
"volume": 0.8
},
{
"price": 62530.5,
"volume": 0.022
},
{
"price": 62529,
"volume": 0.001
},
{
"price": 62528.1,
"volume": 0.731
},
{
"price": 62528,
"volume": 0.056
}
],
"pair": "XXBTZUSD",
"depth": 10,
"spread": 0.1,
"best_ask": 62534.4,
"best_bid": 62534.3
},
"meta": {
"timestamp": "2026-06-09T11:39:27.339Z",
"request_id": "0a63bf5e-b5f0-48ac-b9d9-1739c4dcf521"
},
"status": "ok",
"message": "Order book retrieved successfully",
"success": true
}