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

Live order-book depth with running spread

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

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

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

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

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

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

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

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

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

{
    "data": {
        "asks": [
            {
                "price": 62731.06,
                "amount": 1.404
            },
            {
                "price": 62731.17,
                "amount": 0.7976
            },
            {
                "price": 62731.29,
                "amount": 0.0959
            },
            {
                "price": 62731.4,
                "amount": 0.0297
            },
            {
                "price": 62731.51,
                "amount": 0.0788
            },
            {
                "price": 62731.63,
                "amount": 0.283
            },
            {
                "price": 62731.74,
                "amount": 0.2457
            },
            {
                "price": 62731.85,
                "amount": 0.1091
            },
            {
                "price": 62731.97,
                "amount": 0.1787
            },
            {
                "price": 62732.08,
                "amount": 0.1275
            },
            {
                "price": 62732.2,
                "amount": 0.1866
            },
            {
                "price": 62732.31,
                "amount": 0.1459
            },
            {
                "price": 62732.42,
                "amount": 0.0711
            },
            {
                "price": 62732.53,
                "amount": 1.3345
            },
            {
                "price": 62732.54,
                "amount": 0.0469
            },
            {
                "price": 62732.65,
                "amount": 0.0674
            },
            {
                "price": 62732.76,
                "amount": 0.2181
            },
            {
                "price": 62732.88,
                "amount": 0.1691
            },
            {
                "price": 62732.99,
                "amount": 0.0945
            },
            {
                "price": 62733.1,
                "amount": 0.0554
            }
        ],
        "bids": [
            {
                "price": 62730.92,
                "amount": 0.4516
            },
            {
                "price": 62730.8,
                "amount": 0.0562
            },
            {
                "price": 62730.69,
                "amount": 0.0506
            },
            {
                "price": 62730.58,
                "amount": 0.0325
            },
            {
                "price": 62730.46,
                "amount": 0.1695
            },
            {
                "price": 62730.35,
                "amount": 0.2138
            },
            {
                "price": 62730.24,
                "amount": 0.1014
            },
            {
                "price": 62730.23,
                "amount": 2.0197
            },
            {
                "price": 62730.12,
                "amount": 0.0946
            },
            {
                "price": 62730.01,
                "amount": 0.0765
            },
            {
                "pri
…