/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/coinw-api/v1/book" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/coinw-api/v1/book", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/coinw-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/coinw-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": 62731.06,
"amount": 1.404
},
{
"price": 62731.17,
"amount": 0.7976
},
{
"price": 62731.29,
"amount": 0.0959
},
{
"price": 62731.4,
"amount": 0.0297
},
{
"price": 62731.51,
"amount": 0.0788
},
{
"price": 62731.63,
"amount": 0.283
},
{
"price": 62731.74,
"amount": 0.2457
},
{
"price": 62731.85,
"amount": 0.1091
},
{
"price": 62731.97,
"amount": 0.1787
},
{
"price": 62732.08,
"amount": 0.1275
},
{
"price": 62732.2,
"amount": 0.1866
},
{
"price": 62732.31,
"amount": 0.1459
},
{
"price": 62732.42,
"amount": 0.0711
},
{
"price": 62732.53,
"amount": 1.3345
},
{
"price": 62732.54,
"amount": 0.0469
},
{
"price": 62732.65,
"amount": 0.0674
},
{
"price": 62732.76,
"amount": 0.2181
},
{
"price": 62732.88,
"amount": 0.1691
},
{
"price": 62732.99,
"amount": 0.0945
},
{
"price": 62733.1,
"amount": 0.0554
}
],
"bids": [
{
"price": 62730.92,
"amount": 0.4516
},
{
"price": 62730.8,
"amount": 0.0562
},
{
"price": 62730.69,
"amount": 0.0506
},
{
"price": 62730.58,
"amount": 0.0325
},
{
"price": 62730.46,
"amount": 0.1695
},
{
"price": 62730.35,
"amount": 0.2138
},
{
"price": 62730.24,
"amount": 0.1014
},
{
"price": 62730.23,
"amount": 2.0197
},
{
"price": 62730.12,
"amount": 0.0946
},
{
"price": 62730.01,
"amount": 0.0765
},
{
"pri
…