Μετάβαση στο περιεχόμενο
GET /v1/depth

Live order book for a contract

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/apex-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "asks": [
            {
                "size": 19.89,
                "price": 1741.39
            },
            {
                "size": 2.67,
                "price": 1741.4
            },
            {
                "size": 9.93,
                "price": 1741.49
            },
            {
                "size": 135.67,
                "price": 1741.59
            },
            {
                "size": 6.64,
                "price": 1741.88
            },
            {
                "size": 7.23,
                "price": 1742.01
            },
            {
                "size": 0.66,
                "price": 1742.05
            },
            {
                "size": 1.87,
                "price": 1742.1
            },
            {
                "size": 2.94,
                "price": 1742.19
            },
            {
                "size": 3.44,
                "price": 1742.32
            }
        ],
        "bids": [
            {
                "size": 0.98,
                "price": 1741.06
            },
            {
                "size": 7.83,
                "price": 1740.97
            },
            {
                "size": 9.5,
                "price": 1740.88
            },
            {
                "size": 7.21,
                "price": 1740.8
            },
            {
                "size": 121.63,
                "price": 1740.63
            },
            {
                "size": 8.91,
                "price": 1740.54
            },
            {
                "size": 8.09,
                "price": 1740.37
            },
            {
                "size": 8.89,
                "price": 1740.28
            },
            {
                "size": 7.86,
                "price": 1740.19
            },
            {
                "size": 6.72,
                "price": 1740.14
            }
        ],
        "symbol": "ETHUSDT",
        "update_id": 187415
    },
    "meta": {
        "timestamp": "2026-06-15T11:15:57.931Z",
        "request_id": "51e8dbb6-0a4a-4318-8349-81bd4feb09cb"
    },
    "status": "ok",
    "message": "Order book retrieved successfully",
    "success": true
}