Skip to content
GET /v1/book

Live order-book depth

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/xt-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/xt-api/v1/book" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/xt-api/v1/book", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/xt-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/xt-api/v1/book",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "asks": [
            {
                "price": 62714.01,
                "amount": 23.91541
            },
            {
                "price": 62714.06,
                "amount": 1.5434
            },
            {
                "price": 62714.14,
                "amount": 0.65605
            },
            {
                "price": 62714.24,
                "amount": 0.35531
            },
            {
                "price": 62714.33,
                "amount": 0.76146
            },
            {
                "price": 62714.39,
                "amount": 0.53051
            },
            {
                "price": 62714.42,
                "amount": 1.4136
            },
            {
                "price": 62714.48,
                "amount": 0.73122
            },
            {
                "price": 62714.59,
                "amount": 1.6079
            },
            {
                "price": 62714.67,
                "amount": 0.28791
            },
            {
                "price": 62714.75,
                "amount": 0.60262
            },
            {
                "price": 62714.79,
                "amount": 1.28709
            },
            {
                "price": 62714.85,
                "amount": 0.55593
            },
            {
                "price": 62714.92,
                "amount": 1.38858
            },
            {
                "price": 62715.01,
                "amount": 0.23115
            },
            {
                "price": 62715.09,
                "amount": 0.27594
            },
            {
                "price": 62715.12,
                "amount": 1.1688
            },
            {
                "price": 62715.24,
                "amount": 1.41275
            },
            {
                "price": 62715.31,
                "amount": 0.18608
            },
            {
                "price": 62715.36,
                "amount": 0.71611
            }
        ],
        "bids": [
            {
                "price": 62714,
                "amount": 6.13436
            },
            {
                "price": 62713.94,
                "amount": 0.73076
            },
            {
                "price": 62713.89,
                "amount": 0.90289
            },
            {
                "price": 62713.81,
                "amount": 1.21652
            },
            {
                "price": 62713.71,
                "amount": 0.44593
            },
            {
                "price": 62713.64,
                "amount": 0.1915
            },
            {
                "price": 62713.59,
                "amount": 1.47994
            },
            {
                "price": 62713.54,
                "amount": 0.22975
            },
            {
                "price": 62713.44,
                "amount": 0.38415
            },
            {
                "price": 62713.39,
                "amount": 1.03906
            },
     
…