/v1/book
Live order-book 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/ascendex-api/v1/book" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ascendex-api/v1/book", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ascendex-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/ascendex-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": 62800,
"amount": 0.01264
},
{
"price": 62961.03,
"amount": 0.00079
},
{
"price": 62961.04,
"amount": 0.14071
},
{
"price": 62961.2,
"amount": 0.10446
},
{
"price": 62961.35,
"amount": 0.00751
},
{
"price": 62961.51,
"amount": 0.00635
},
{
"price": 62961.67,
"amount": 0.00626
},
{
"price": 62961.83,
"amount": 0.00578
},
{
"price": 62961.98,
"amount": 0.13289
},
{
"price": 62962.14,
"amount": 0.01361
},
{
"price": 62962.3,
"amount": 0.0168
},
{
"price": 62962.46,
"amount": 0.00586
},
{
"price": 62962.55,
"amount": 0.03097
},
{
"price": 62962.71,
"amount": 0.04241
},
{
"price": 62962.86,
"amount": 0.00211
},
{
"price": 62963.02,
"amount": 0.00315
},
{
"price": 62963.18,
"amount": 0.0016
},
{
"price": 62963.34,
"amount": 0.00297
},
{
"price": 62963.49,
"amount": 0.04256
},
{
"price": 62963.65,
"amount": 0.0062
}
],
"bids": [
{
"price": 62459.26,
"amount": 0.0861
},
{
"price": 62459.1,
"amount": 0.11337
},
{
"price": 62458.95,
"amount": 0.00707
},
{
"price": 62458.79,
"amount": 0.00674
},
{
"price": 62458.64,
"amount": 0.00732
},
{
"price": 62458.48,
"amount": 0.00572
},
{
"price": 62458.32,
"amount": 0.16413
},
{
"price": 62458.17,
"amount": 0.0073
},
{
"price": 62458.01,
"amount": 0.00901
},
{
"price": 62457.85,
"amount": 0.0066
},
…