/v1/book
Live order-book depth with running spread
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/bithumb-api/v1/book" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bithumb-api/v1/book", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bithumb-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/bithumb-api/v1/book",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"asks": [
{
"price": 94334000,
"amount": 0.0084
},
{
"price": 94336000,
"amount": 0.001
},
{
"price": 94337000,
"amount": 0.0005
},
{
"price": 94340000,
"amount": 0.0018
},
{
"price": 94342000,
"amount": 0.001
},
{
"price": 94343000,
"amount": 0.0014
},
{
"price": 94344000,
"amount": 0.0002
},
{
"price": 94350000,
"amount": 0.0011
},
{
"price": 94353000,
"amount": 0.018
},
{
"price": 94359000,
"amount": 0.0137
},
{
"price": 94360000,
"amount": 0.0018
},
{
"price": 94361000,
"amount": 0.0159
},
{
"price": 94363000,
"amount": 0.0008
},
{
"price": 94364000,
"amount": 0.0002
},
{
"price": 94366000,
"amount": 0.0345
},
{
"price": 94367000,
"amount": 0.0031
},
{
"price": 94368000,
"amount": 0.0044
},
{
"price": 94369000,
"amount": 0.0086
},
{
"price": 94370000,
"amount": 0.1836
},
{
"price": 94371000,
"amount": 0.0703
}
],
"bids": [
{
"price": 94301000,
"amount": 0.0084
},
{
"price": 94300000,
"amount": 0.1065
},
{
"price": 94297000,
"amount": 0.0276
},
{
"price": 94295000,
"amount": 0.0469
},
{
"price": 94294000,
"amount": 0.0382
},
{
"price": 94293000,
"amount": 0.2594
},
{
"price": 94292000,
"amount": 0.2685
},
{
"price": 94291000,
"amount": 0.3068
},
{
"price": 94290000,
"amount": 0.4524
},
{
"price": 94289000,
"amount": 0.0393
},
{
"
…