Vai al contenuto
GET /v1/book

Live order-book depth

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/bitrue-api/v1/book" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitrue-api/v1/book", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitrue-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/bitrue-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": 62716.53,
                "amount": 11.7068
            },
            {
                "price": 62716.54,
                "amount": 1.8016
            },
            {
                "price": 62716.55,
                "amount": 0.0005
            },
            {
                "price": 62718.01,
                "amount": 0.165
            },
            {
                "price": 62718.36,
                "amount": 0.0222
            },
            {
                "price": 62718.37,
                "amount": 1.9355
            },
            {
                "price": 62719.2,
                "amount": 0.0002
            },
            {
                "price": 62719.21,
                "amount": 0.6
            },
            {
                "price": 62719.7,
                "amount": 3.3706
            },
            {
                "price": 62719.71,
                "amount": 1.1001
            },
            {
                "price": 62719.72,
                "amount": 15.087
            },
            {
                "price": 62719.93,
                "amount": 0.0132
            },
            {
                "price": 62720.09,
                "amount": 0.0005
            },
            {
                "price": 62720.45,
                "amount": 0.0003
            },
            {
                "price": 62720.73,
                "amount": 0.0947
            },
            {
                "price": 62720.9,
                "amount": 0.0053
            },
            {
                "price": 62721.26,
                "amount": 0.1346
            },
            {
                "price": 62721.5,
                "amount": 0.1788
            },
            {
                "price": 62721.51,
                "amount": 1.3922
            },
            {
                "price": 62721.69,
                "amount": 0.0003
            }
        ],
        "bids": [
            {
                "price": 62716.52,
                "amount": 0.2152
            },
            {
                "price": 62716.51,
                "amount": 0.0027
            },
            {
                "price": 62716.1,
                "amount": 0.0003
            },
            {
                "price": 62716.01,
                "amount": 0.0006
            },
            {
                "price": 62716,
                "amount": 0.0726
            },
            {
                "price": 62715.47,
                "amount": 0.0084
            },
            {
                "price": 62715.35,
                "amount": 0.0019
            },
            {
                "price": 62715.22,
                "amount": 0.0003
            },
            {
                "price": 62714.87,
                "amount": 1.2644
            },
            {
                "price": 62714.86,
                "amount": 2.1772
            },
            {
                "price": 
…