/v1/orderbook
Top of the order book with 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/kucoin-api/v1/orderbook" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/kucoin-api/v1/orderbook", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/kucoin-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/kucoin-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": [
{
"size": 0.26524845,
"price": 62042
},
{
"size": 0.21301322,
"price": 62042.1
},
{
"size": 0.64405342,
"price": 62042.2
},
{
"size": 0.06,
"price": 62044.8
},
{
"size": 0.0015,
"price": 62045.1
},
{
"size": 0.36674239,
"price": 62047.3
},
{
"size": 0.05313811,
"price": 62047.4
},
{
"size": 1.16784106,
"price": 62047.9
},
{
"size": 0.14255936,
"price": 62048.1
},
{
"size": 0.03110423,
"price": 62048.4
},
{
"size": 0.05845857,
"price": 62048.6
},
{
"size": 0.02528025,
"price": 62049.6
},
{
"size": 0.02386466,
"price": 62050.1
},
{
"size": 0.29918323,
"price": 62050.8
},
{
"size": 0.00805789,
"price": 62051
},
{
"size": 0.0015,
"price": 62051.2
},
{
"size": 0.66445208,
"price": 62051.3
},
{
"size": 0.0969983,
"price": 62051.5
},
{
"size": 0.03826052,
"price": 62053.2
},
{
"size": 0.2346918,
"price": 62053.8
}
],
"bids": [
{
"size": 0.49765996,
"price": 62041.9
},
{
"size": 0.01634038,
"price": 62040.5
},
{
"size": 0.05474163,
"price": 62040.4
},
{
"size": 0.01892876,
"price": 62033.2
},
{
"size": 0.04301427,
"price": 62033.1
},
{
"size": 0.02039866,
"price": 62031.1
},
{
"size": 0.46940229,
"price": 62030.9
},
{
"size": 0.74405342,
"price": 62030.8
},
{
"size": 0.0922,
"price": 62030.6
},
{
"size": 0.05362427,
"price": 62030.4
},
{
…