/v1/book
Live order-book depth
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/lbank-api/v1/book" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lbank-api/v1/book", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lbank-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/lbank-api/v1/book",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"asks": [
{
"price": 62714.57,
"amount": 2.5625
},
{
"price": 62714.58,
"amount": 0.00084
},
{
"price": 62714.59,
"amount": 0.00019
},
{
"price": 62714.63,
"amount": 0.00776
},
{
"price": 62714.73,
"amount": 0.00776
},
{
"price": 62715.82,
"amount": 0.00709
},
{
"price": 62716.66,
"amount": 0.0001
},
{
"price": 62717.09,
"amount": 0.00371
},
{
"price": 62717.35,
"amount": 0.0048
},
{
"price": 62717.65,
"amount": 0.00043
},
{
"price": 62717.66,
"amount": 0.08646
},
{
"price": 62717.97,
"amount": 0.00382
},
{
"price": 62718.69,
"amount": 0.00022
},
{
"price": 62718.7,
"amount": 0.13076
},
{
"price": 62718.71,
"amount": 0.00968
},
{
"price": 62718.92,
"amount": 0.00523
},
{
"price": 62718.93,
"amount": 0.41238
},
{
"price": 62719.21,
"amount": 0.0004
},
{
"price": 62719.37,
"amount": 0.00011
},
{
"price": 62719.75,
"amount": 0.00968
}
],
"bids": [
{
"price": 62714.56,
"amount": 1.23641
},
{
"price": 62714.55,
"amount": 0.00226
},
{
"price": 62714.54,
"amount": 0.00019
},
{
"price": 62714.52,
"amount": 0.00051
},
{
"price": 62714.12,
"amount": 0.00043
},
{
"price": 62714.11,
"amount": 0.09175
},
{
"price": 62713.9,
"amount": 0.00035
},
{
"price": 62713.6,
"amount": 0.0122
},
{
"price": 62713.56,
"amount": 0.0001
},
{
"price": 62712.74,
"amount": 0.00036
},
…