/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/max-api/v1/book" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/max-api/v1/book", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/max-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/max-api/v1/book",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"asks": [
{
"price": 1986704.4,
"amount": 0.01477473
},
{
"price": 1987163.5,
"amount": 0.0003625
},
{
"price": 1987222.9,
"amount": 0.1040071
},
{
"price": 1987461.1,
"amount": 0.1040071
},
{
"price": 1987636.2,
"amount": 0.01554053
},
{
"price": 1987699.4,
"amount": 0.1040071
},
{
"price": 1987741.8,
"amount": 0.0004263
},
{
"price": 1988178.5,
"amount": 2
},
{
"price": 1989444.8,
"amount": 0.00036324
},
{
"price": 1989730.1,
"amount": 0.00042622
},
{
"price": 1990018.9,
"amount": 0.01554053
},
{
"price": 1991719.2,
"amount": 0.00042613
},
{
"price": 1991728.6,
"amount": 0.00036297
},
{
"price": 1993600.5,
"amount": 0.00026668
},
{
"price": 1993711.5,
"amount": 0.00042605
},
{
"price": 1994015.1,
"amount": 0.00036259
},
{
"price": 1994238.5,
"amount": 0.00026659
},
{
"price": 1994630.8,
"amount": 0.00064209
},
{
"price": 1994696.9,
"amount": 0.00019821
},
{
"price": 1994876.8,
"amount": 0.00026651
}
],
"bids": [
{
"price": 1986020.2,
"amount": 0.25675914
},
{
"price": 1986016,
"amount": 0.07551739
},
{
"price": 1985887,
"amount": 0.21541072
},
{
"price": 1985684,
"amount": 0.01553989
},
{
"price": 1985270.7,
"amount": 0.10400709
},
{
"price": 1985032.4,
"amount": 0.10400709
},
{
"price": 1984880,
"amount": 2
},
{
"price": 1984794.2,
"amount": 0.10400709
},
{
"price": 1984779.3,
"amount": 0.00015618
},
…