/v1/book
Live order-book depth with running spread
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/exmo-api/v1/book" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/exmo-api/v1/book", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/exmo-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/exmo-api/v1/book",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"asks": [
{
"price": 3031415.06,
"amount": 0.00527
},
{
"price": 3031434.73,
"amount": 0.00086
},
{
"price": 3130402.18,
"amount": 0.000852
},
{
"price": 3150000,
"amount": 0.0002
},
{
"price": 3160039.86,
"amount": 0.00062961
},
{
"price": 3220000,
"amount": 0.00535029
},
{
"price": 3232534.8,
"amount": 0.000824
},
{
"price": 3250000,
"amount": 0.0002
},
{
"price": 3322500,
"amount": 0.0002
},
{
"price": 3328047.79,
"amount": 0.000725
},
{
"price": 3393000,
"amount": 0.0002
},
{
"price": 3441669.72,
"amount": 0.00081
},
{
"price": 3466060,
"amount": 0.00017
},
{
"price": 3530000,
"amount": 0.00127949
},
{
"price": 3550807.84,
"amount": 0.0001
},
{
"price": 3550807.85,
"amount": 1
},
{
"price": 3551139.46,
"amount": 0.000731
},
{
"price": 3600000,
"amount": 0.00029
},
{
"price": 3601285.12,
"amount": 0.00014254
},
{
"price": 3663336.84,
"amount": 0.000704
}
],
"bids": [
{
"price": 2899486.43,
"amount": 0.0025
},
{
"price": 2899486.42,
"amount": 0.00036341
},
{
"price": 2859486.51,
"amount": 0.00351152
},
{
"price": 2859486.42,
"amount": 0.00066445
},
{
"price": 2830000,
"amount": 0.00530035
},
{
"price": 2801396.03,
"amount": 0.02067
},
{
"price": 2801396.01,
"amount": 0.00144474
},
{
"price": 2801395.99,
"amount": 0.00128422
},
{
"price": 2801395.97,
"amount": 0.00074244
},
{
"price": 2
…