Skip to content
GET /v1/book

Live order-book depth with running spread

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/valr-api

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

Get an API key

Code snippets

curl "https://api.oanor.com/valr-api/v1/book" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/valr-api/v1/book", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/valr-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/valr-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": 1042478,
                "amount": 0.036
            },
            {
                "price": 1042479,
                "amount": 0.18239517
            },
            {
                "price": 1042480,
                "amount": 0.7682639
            },
            {
                "price": 1042549,
                "amount": 0.0175
            },
            {
                "price": 1042859,
                "amount": 0.12717826
            },
            {
                "price": 1042860,
                "amount": 0.24006706
            },
            {
                "price": 1043526,
                "amount": 0.15
            },
            {
                "price": 1043575,
                "amount": 0.13
            },
            {
                "price": 1043979,
                "amount": 0.24006707
            },
            {
                "price": 1044094,
                "amount": 0.2688
            },
            {
                "price": 1045000,
                "amount": 0.59854054
            },
            {
                "price": 1045180,
                "amount": 0.122
            },
            {
                "price": 1045181,
                "amount": 0.5611
            },
            {
                "price": 1045703,
                "amount": 0.48011588
            },
            {
                "price": 1045903,
                "amount": 0.09602318
            },
            {
                "price": 1047500,
                "amount": 0.39061003
            },
            {
                "price": 1050000,
                "amount": 0.0009822
            },
            {
                "price": 1052193,
                "amount": 0.0001
            },
            {
                "price": 1053526,
                "amount": 0.0001
            },
            {
                "price": 1054099,
                "amount": 0.00131965
            }
        ],
        "bids": [
            {
                "price": 1041901,
                "amount": 0.01750175
            },
            {
                "price": 1041900,
                "amount": 0.39209532
            },
            {
                "price": 1041898,
                "amount": 0.12729557
            },
            {
                "price": 1041577,
                "amount": 0.0912
            },
            {
                "price": 1041377,
                "amount": 0.4583
            },
            {
                "price": 1041037,
                "amount": 0.02575
            },
            {
                "price": 1041013,
                "amount": 0.05
            },
            {
                "price": 1040859,
                "amount": 0.1248
            },
            {
                "price": 1040533,
                "amount": 0.76816715
            },
            {
                "price": 1040521,
                "amount": 0.45272124
            },
   
…