/v1/orderbook
Live market depth — best bid/ask and spread
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/btcturk-api/v1/orderbook" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/btcturk-api/v1/orderbook", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/btcturk-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/btcturk-api/v1/orderbook",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"asks": [
{
"price": 2893585,
"amount": 0.00566
},
{
"price": 2893586,
"amount": 0.0069127
},
{
"price": 2894069,
"amount": 0.02592211
},
{
"price": 2894246,
"amount": 0.0478052
},
{
"price": 2894247,
"amount": 0.02932958
},
{
"price": 2894370,
"amount": 0.0241842
},
{
"price": 2895019,
"amount": 0.00345421
},
{
"price": 2895100,
"amount": 0.10880453
},
{
"price": 2895220,
"amount": 0.01208889
},
{
"price": 2895266,
"amount": 0.1530285
},
{
"price": 2895268,
"amount": 0.00887278
},
{
"price": 2896066,
"amount": 0.00486984
},
{
"price": 2896999,
"amount": 0.12945413
},
{
"price": 2897000,
"amount": 0.05631584
},
{
"price": 2897219,
"amount": 0.05619893
},
{
"price": 2898000,
"amount": 0.1
},
{
"price": 2898888,
"amount": 0.0276299
},
{
"price": 2899000,
"amount": 0.1
},
{
"price": 2899020,
"amount": 0.0389321
},
{
"price": 2899330,
"amount": 0.00651556
}
],
"bids": [
{
"price": 2892170,
"amount": 0.00757325
},
{
"price": 2892126,
"amount": 0.02932958
},
{
"price": 2892125,
"amount": 0.15644446
},
{
"price": 2892124,
"amount": 0.00691273
},
{
"price": 2892042,
"amount": 0.02932958
},
{
"price": 2891741,
"amount": 0.02056
},
{
"price": 2891740,
"amount": 0.01109625
},
{
"price": 2891637,
"amount": 0.02592211
},
{
"price": 2891248,
"amount": 0.39517759
},
{
"price": 2891078,
…