/v1/book
Live order-book depth with real best bid/ask
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/biconomy-api/v1/book" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/biconomy-api/v1/book", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/biconomy-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/biconomy-api/v1/book",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"asks": [
{
"price": 62722.61,
"amount": 0.95616
},
{
"price": 62722.62,
"amount": 1.15476
},
{
"price": 62722.63,
"amount": 1.17338
},
{
"price": 62722.64,
"amount": 1.22683
},
{
"price": 62722.65,
"amount": 0.12185
},
{
"price": 62722.66,
"amount": 0.02618
},
{
"price": 62722.67,
"amount": 0.09407
},
{
"price": 62722.68,
"amount": 0.14137
},
{
"price": 62722.69,
"amount": 0.12572
},
{
"price": 62722.7,
"amount": 0.04977
},
{
"price": 62722.71,
"amount": 0.10319
},
{
"price": 62722.72,
"amount": 0.14588
},
{
"price": 62722.73,
"amount": 0.08432
},
{
"price": 62722.74,
"amount": 0.15803
},
{
"price": 62722.75,
"amount": 0.14933
},
{
"price": 62722.76,
"amount": 0.07322
},
{
"price": 62722.77,
"amount": 0.02634
},
{
"price": 62722.78,
"amount": 0.10722
},
{
"price": 62722.79,
"amount": 0.12897
},
{
"price": 62722.8,
"amount": 0.04458
}
],
"bids": [
{
"price": 62722.6,
"amount": 0.0268
},
{
"price": 62722.59,
"amount": 0.04341
},
{
"price": 62722.58,
"amount": 0.04513
},
{
"price": 62722.57,
"amount": 0.04358
},
{
"price": 62722.56,
"amount": 0.04987
},
{
"price": 62722.55,
"amount": 0.03943
},
{
"price": 62722.54,
"amount": 0.05947
},
{
"price": 62722.53,
"amount": 0.03681
},
{
"price": 62722.52,
"amount": 0.01665
},
{
"price": 62722.51,
"amount": 0.04052
},
…