/v1/orderbook
Live limit-order book with depth
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/independentreserve-api/v1/orderbook" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/independentreserve-api/v1/orderbook", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/independentreserve-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/independentreserve-api/v1/orderbook",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"asks": [
{
"price": 108462.66,
"volume": 0.08683244
},
{
"price": 109294.12,
"volume": 0.138
},
{
"price": 109302.64,
"volume": 0.0142
},
{
"price": 109305.03,
"volume": 0.2511
},
{
"price": 109305.05,
"volume": 0.236
},
{
"price": 109366.69,
"volume": 0.0488
},
{
"price": 109379.65,
"volume": 0.02
},
{
"price": 109381.6,
"volume": 0.0555
},
{
"price": 109388.9,
"volume": 0.0744
},
{
"price": 109413.94,
"volume": 0.15624132
},
{
"price": 109417.53,
"volume": 0.1740311
},
{
"price": 109424.56,
"volume": 0.64373883
},
{
"price": 109478.53,
"volume": 0.1410065
},
{
"price": 109498.84,
"volume": 0.554764
},
{
"price": 109498.85,
"volume": 0.0555
},
{
"price": 109516.59,
"volume": 0.357
},
{
"price": 109553.16,
"volume": 0.495
},
{
"price": 109554.13,
"volume": 0.25
},
{
"price": 109599.78,
"volume": 0.01739
},
{
"price": 109673.11,
"volume": 0.748
}
],
"bids": [
{
"price": 108278.84,
"volume": 0.01782177
},
{
"price": 108186.89,
"volume": 0.02
},
{
"price": 108181.78,
"volume": 0.15722905
},
{
"price": 108169.31,
"volume": 0.29529015
},
{
"price": 108168.65,
"volume": 0.1410036
},
{
"price": 108133.37,
"volume": 0.0067
},
{
"price": 108123.94,
"volume": 0.097358
},
{
"price": 108123.93,
"volume": 0.1756
},
{
"price": 108117.94,
"volume": 0.06
},
{
"price": 108114.31,
"volume
…