Aller au contenu
GET /v1/book

Live order-book depth with running spread

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/coinmate-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "asks": [
            {
                "price": 1317693,
                "amount": 0.23000658
            },
            {
                "price": 1318402,
                "amount": 0.02320615
            },
            {
                "price": 1318727,
                "amount": 0.15200918
            },
            {
                "price": 1318728,
                "amount": 0.02320615
            },
            {
                "price": 1319059,
                "amount": 0.02320615
            },
            {
                "price": 1319389,
                "amount": 0.02291502
            },
            {
                "price": 1319719,
                "amount": 0.02320615
            },
            {
                "price": 1320787,
                "amount": 0.01624431
            },
            {
                "price": 1321755,
                "amount": 0.21
            },
            {
                "price": 1323527,
                "amount": 0.00367566
            },
            {
                "price": 1324311,
                "amount": 0.00825858
            },
            {
                "price": 1324421,
                "amount": 0.02761723
            },
            {
                "price": 1324501,
                "amount": 0.14266648
            },
            {
                "price": 1324922,
                "amount": 0.01014482
            },
            {
                "price": 1326417,
                "amount": 0.00075919
            },
            {
                "price": 1326417,
                "amount": 0.00113765
            },
            {
                "price": 1326417,
                "amount": 0.00151536
            },
            {
                "price": 1327012,
                "amount": 0.00042669
            },
            {
                "price": 1327824,
                "amount": 0.00732689
            },
            {
                "price": 1328009,
                "amount": 0.01131775
            }
        ],
        "bids": [
            {
                "price": 1316631,
                "amount": 0.03671314
            },
            {
                "price": 1316301,
                "amount": 0.03643104
            },
            {
                "price": 1316117,
                "amount": 0.00037763
            },
            {
                "price": 1315971,
                "amount": 0.03644017
            },
            {
                "price": 1315725,
                "amount": 0.11363068
            },
            {
                "price": 1315642,
                "amount": 0.03644931
            },
            {
                "price": 1315313,
                "amount": 0.03645842
            },
            {
                "price": 1314193,
                "amount": 0.02554264
            },
            {
                "price": 1313742,
                "amount": 0.00010062
            },
            {
                "price": 13134
…