Vai al contenuto
GET /v1/book

Live order book for a symbol

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/pacifica-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "asks": [
            {
                "size": 713.06,
                "price": 72.03,
                "orders": 5
            },
            {
                "size": 458.45,
                "price": 72.04,
                "orders": 7
            },
            {
                "size": 321.84,
                "price": 72.05,
                "orders": 3
            },
            {
                "size": 1057.04,
                "price": 72.06,
                "orders": 6
            },
            {
                "size": 317.33,
                "price": 72.07,
                "orders": 2
            },
            {
                "size": 1887.21,
                "price": 72.08,
                "orders": 7
            },
            {
                "size": 376.12,
                "price": 72.09,
                "orders": 3
            },
            {
                "size": 668.79,
                "price": 72.1,
                "orders": 5
            },
            {
                "size": 548.14,
                "price": 72.12,
                "orders": 2
            },
            {
                "size": 370.12,
                "price": 72.13,
                "orders": 5
            }
        ],
        "bids": [
            {
                "size": 427.87,
                "price": 72.02,
                "orders": 9
            },
            {
                "size": 167,
                "price": 72.01,
                "orders": 5
            },
            {
                "size": 376.43,
                "price": 72,
                "orders": 5
            },
            {
                "size": 691.72,
                "price": 71.99,
                "orders": 8
            },
            {
                "size": 640.13,
                "price": 71.98,
                "orders": 2
            },
            {
                "size": 337.75,
                "price": 71.97,
                "orders": 2
            },
            {
                "size": 1725.4,
                "price": 71.96,
                "orders": 6
            },
            {
                "size": 506.38,
                "price": 71.95,
                "orders": 2
            },
            {
                "size": 687.98,
                "price": 71.94,
                "orders": 2
            },
            {
                "size": 403.6,
                "price": 71.93,
                "orders": 2
            }
        ],
        "symbol": "SOL"
    },
    "meta": {
        "timestamp": "2026-06-15T11:15:55.395Z",
        "request_id": "8d9dc574-31c5-4ba3-bd2b-d2eaaf7964d3"
    },
    "status": "ok",
    "message": "Order book retrieved successfully",
    "success": true
}