Vai al contenuto
GET /v1/book

Live order-book depth with running spread

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/deepcoin-api/v1/book" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/deepcoin-api/v1/book", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/deepcoin-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/deepcoin-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": [
            {
                "price": 62719.8,
                "amount": 12.7638625
            },
            {
                "price": 62720,
                "amount": 0.30070465
            },
            {
                "price": 62720.2,
                "amount": 0.5341795
            },
            {
                "price": 62720.4,
                "amount": 0.0004
            },
            {
                "price": 62720.6,
                "amount": 0.5415
            },
            {
                "price": 62721.6,
                "amount": 0.5415
            },
            {
                "price": 62722.6,
                "amount": 0.9175638
            },
            {
                "price": 62723.6,
                "amount": 0.680188
            },
            {
                "price": 62724.6,
                "amount": 0.5
            },
            {
                "price": 62725.1,
                "amount": 0.680188
            },
            {
                "price": 62726.1,
                "amount": 0.0399036
            },
            {
                "price": 62727.1,
                "amount": 1.0415
            },
            {
                "price": 62732.1,
                "amount": 0.0004
            },
            {
                "price": 62737.1,
                "amount": 0.7417355
            },
            {
                "price": 62742.1,
                "amount": 0.72168805
            },
            {
                "price": 62747.1,
                "amount": 0.7985
            },
            {
                "price": 62752.1,
                "amount": 0.5415
            },
            {
                "price": 62757.1,
                "amount": 0.18018805
            },
            {
                "price": 62762.1,
                "amount": 0.35572405
            },
            {
                "price": 62767.1,
                "amount": 0.18018805
            }
        ],
        "bids": [
            {
                "price": 62719.6,
                "amount": 0.6855733
            },
            {
                "price": 62719.4,
                "amount": 0.6
            },
            {
                "price": 62719.2,
                "amount": 0.01639475
            },
            {
                "price": 62719,
                "amount": 0.4
            },
            {
                "price": 62718.8,
                "amount": 4.7823055
            },
            {
                "price": 62717.8,
                "amount": 4.7823055
            },
            {
                "price": 62716.8,
                "amount": 0.22647265
            },
            {
                "price": 62715.8,
                "amount": 0.22647265
            },
            {
                "price": 62714.8,
                "amount": 0.0004
            },
            {
                "price": 62714.3,
                "amount": 0.5032
            },
          
…