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

Live order-book depth

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

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

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

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

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

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

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

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

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

{
    "data": {
        "asks": [
            {
                "price": 62714.02,
                "amount": 1.98739
            },
            {
                "price": 62714.03,
                "amount": 0.21351
            },
            {
                "price": 62714.04,
                "amount": 0.18414
            },
            {
                "price": 62714.05,
                "amount": 0.3429
            },
            {
                "price": 62714.06,
                "amount": 0.09848
            },
            {
                "price": 62714.07,
                "amount": 0.30344
            },
            {
                "price": 62714.08,
                "amount": 0.21161
            },
            {
                "price": 62719.16,
                "amount": 0.25518
            },
            {
                "price": 62727.5,
                "amount": 2.7094
            },
            {
                "price": 62733.45,
                "amount": 2.5399
            },
            {
                "price": 62733.84,
                "amount": 0.2191
            },
            {
                "price": 62741.36,
                "amount": 2.36812
            },
            {
                "price": 62748.74,
                "amount": 0.23084
            },
            {
                "price": 62753.48,
                "amount": 2.62017
            },
            {
                "price": 62756.9,
                "amount": 0.00319
            },
            {
                "price": 62758.93,
                "amount": 0.22194
            },
            {
                "price": 62761.2,
                "amount": 2.48512
            },
            {
                "price": 62763.82,
                "amount": 0.00319
            },
            {
                "price": 62768.24,
                "amount": 2.36573
            },
            {
                "price": 62770.73,
                "amount": 0.00319
            }
        ],
        "bids": [
            {
                "price": 62713.99,
                "amount": 1.99764
            },
            {
                "price": 62713.98,
                "amount": 0.11562
            },
            {
                "price": 62713.97,
                "amount": 0.28456
            },
            {
                "price": 62713.96,
                "amount": 0.09067
            },
            {
                "price": 62713.95,
                "amount": 0.21459
            },
            {
                "price": 62713.94,
                "amount": 0.25905
            },
            {
                "price": 62713.93,
                "amount": 0.10679
            },
            {
                "price": 62713.92,
                "amount": 0.20766
            },
            {
                "price": 62711.11,
                "amount": 0.25518
            },
            {
                "price": 62708.46,
                "amount": 0.00319
            },
     
…