/v1/depth
Order book
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/binance-api/v1/depth" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/binance-api/v1/depth", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/binance-api/v1/depth");
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/binance-api/v1/depth",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"asks": [
{
"qty": 1.36088,
"price": 63035.88
},
{
"qty": 0.00097,
"price": 63035.89
},
{
"qty": 8.0e-5,
"price": 63035.9
},
{
"qty": 9.0e-5,
"price": 63035.99
},
{
"qty": 0.02518,
"price": 63036
},
{
"qty": 0.00016,
"price": 63036.65
},
{
"qty": 0.00018,
"price": 63036.73
},
{
"qty": 0.02484,
"price": 63037.14
},
{
"qty": 9.0e-5,
"price": 63037.2
},
{
"qty": 0.02637,
"price": 63037.21
},
{
"qty": 0.07007,
"price": 63037.22
},
{
"qty": 9.0e-5,
"price": 63037.44
},
{
"qty": 9.0e-5,
"price": 63037.79
},
{
"qty": 0.01731,
"price": 63037.8
},
{
"qty": 9.0e-5,
"price": 63037.99
},
{
"qty": 0.02518,
"price": 63038
},
{
"qty": 8.0e-5,
"price": 63038.01
},
{
"qty": 8.0e-5,
"price": 63038.08
},
{
"qty": 9.0e-5,
"price": 63038.13
},
{
"qty": 9.0e-5,
"price": 63038.35
},
{
"qty": 0.02901,
"price": 63038.36
},
{
"qty": 8.0e-5,
"price": 63038.5
},
{
"qty": 9.0e-5,
"price": 63038.62
},
{
"qty": 0.23179,
"price": 63038.63
},
{
"qty": 0.00017,
"price": 63038.64
},
{
"qty": 0.60016,
"price": 63038.65
},
{
"qty": 0.00012,
"price": 63039.02
},
{
"qty": 0.003,
"price": 63039.16
},
{
"qty": 8.0e-5,
"price": 63039.97
},
{
"qty": 0.02509,
"price": 63040
},
{
"qty": 0.05012,
"price": 63040.01
},
{
"qty": 0.02685,
…