Naar de inhoud
GET /v1/book

Live order-book depth with running spread

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/toobit-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "asks": [
            {
                "price": 1654.08,
                "amount": 98.1585
            },
            {
                "price": 1654.09,
                "amount": 0.3112
            },
            {
                "price": 1654.1,
                "amount": 0.0361
            },
            {
                "price": 1654.13,
                "amount": 2.8142
            },
            {
                "price": 1654.14,
                "amount": 5.4813
            },
            {
                "price": 1654.16,
                "amount": 37.5714
            },
            {
                "price": 1654.18,
                "amount": 6.6295
            },
            {
                "price": 1654.22,
                "amount": 3.597
            },
            {
                "price": 1654.23,
                "amount": 2.6601
            },
            {
                "price": 1654.24,
                "amount": 3.622
            },
            {
                "price": 1654.25,
                "amount": 57.0625
            },
            {
                "price": 1654.26,
                "amount": 3.037
            },
            {
                "price": 1654.27,
                "amount": 14.0972
            },
            {
                "price": 1654.29,
                "amount": 50.2413
            },
            {
                "price": 1654.3,
                "amount": 2.8615
            },
            {
                "price": 1654.31,
                "amount": 37.7203
            },
            {
                "price": 1654.32,
                "amount": 3.2139
            },
            {
                "price": 1654.33,
                "amount": 52.1567
            },
            {
                "price": 1654.35,
                "amount": 24.4579
            },
            {
                "price": 1654.36,
                "amount": 3.3038
            }
        ],
        "bids": [
            {
                "price": 1654.07,
                "amount": 47.498
            },
            {
                "price": 1654.06,
                "amount": 0.0159
            },
            {
                "price": 1654.05,
                "amount": 0.0125
            },
            {
                "price": 1654,
                "amount": 5.4723
            },
            {
                "price": 1653.99,
                "amount": 52.8249
            },
            {
                "price": 1653.95,
                "amount": 17.1598
            },
            {
                "price": 1653.94,
                "amount": 7.4543
            },
            {
                "price": 1653.93,
                "amount": 10.1088
            },
            {
                "price": 1653.9,
                "amount": 16.2171
            },
            {
                "price": 1653.88,
                "amount": 12.425
            },
            {
                "price": 1653.86,
       
…