/v1/orderbook
Live market depth — top bids and asks
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/bitso-api/v1/orderbook" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitso-api/v1/orderbook", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitso-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/bitso-api/v1/orderbook",
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": 1070180,
"amount": 0.0886135
},
{
"price": 1070190,
"amount": 0.16274
},
{
"price": 1070220,
"amount": 0.7
},
{
"price": 1071360,
"amount": 1.6467515
},
{
"price": 1074730,
"amount": 0.00317044
},
{
"price": 1074740,
"amount": 0.102
},
{
"price": 1074750,
"amount": 0.7678
},
{
"price": 1079760,
"amount": 0.21
},
{
"price": 1080000,
"amount": 0.2
},
{
"price": 1082460,
"amount": 0.278
},
{
"price": 1092000,
"amount": 2.07424259
},
{
"price": 1092010,
"amount": 0.00018314
},
{
"price": 1092440,
"amount": 4.576e-5
},
{
"price": 1092690,
"amount": 0.142
},
{
"price": 1092700,
"amount": 0.15
},
{
"price": 1099460,
"amount": 0.00022738
},
{
"price": 1100000,
"amount": 0.01599628
},
{
"price": 1103180,
"amount": 0.07
},
{
"price": 1104110,
"amount": 0.0001
},
{
"price": 1105240,
"amount": 0.0009941
}
],
"bids": [
{
"price": 1069720,
"amount": 0.05542
},
{
"price": 1069580,
"amount": 0.00286654
},
{
"price": 1069010,
"amount": 0.00046773
},
{
"price": 1068370,
"amount": 0.00848188
},
{
"price": 1068360,
"amount": 0.2005062
},
{
"price": 1068350,
"amount": 0.021
},
{
"price": 1068280,
"amount": 0.8
},
{
"price": 1067810,
"amount": 0.00010301
},
{
"price": 1067770,
"amount": 0.19073957
},
{
"price": 1067510,
"amount": 3.153e-5
},
{
…