/v1/book
Live order-book depth
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/digifinex-api/v1/book" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/digifinex-api/v1/book", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/digifinex-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/digifinex-api/v1/book",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"asks": [
{
"price": 62719.93,
"amount": 0.0042118
},
{
"price": 62719.74,
"amount": 0.0001685
},
{
"price": 62719.73,
"amount": 0.0001685
},
{
"price": 62719.72,
"amount": 1.014122
},
{
"price": 62717.3,
"amount": 0.1488644
},
{
"price": 62717.09,
"amount": 0.0001895
},
{
"price": 62717,
"amount": 0.1185114
},
{
"price": 62716.9,
"amount": 0.02591664
},
{
"price": 62716.7,
"amount": 0.0942995
},
{
"price": 62716.53,
"amount": 0.65437844
},
{
"price": 62716.1,
"amount": 8.42e-5
},
{
"price": 62716,
"amount": 0.13503608
},
{
"price": 62715.8,
"amount": 0.0503225
},
{
"price": 62715,
"amount": 0.0005471
},
{
"price": 62714.2,
"amount": 0.1169093
},
{
"price": 62714.1,
"amount": 0.0854577
},
{
"price": 62714.07,
"amount": 0.0067178
},
{
"price": 62714.03,
"amount": 0.0001685
},
{
"price": 62714.02,
"amount": 0.0001685
},
{
"price": 62714.01,
"amount": 1.8857773
}
],
"bids": [
{
"price": 62713.99,
"amount": 0.000397
},
{
"price": 62713.98,
"amount": 0.0001868
},
{
"price": 62713.65,
"amount": 0.0046704
},
{
"price": 62713.56,
"amount": 0.0004203
},
{
"price": 62713.55,
"amount": 0.089274
},
{
"price": 62713.04,
"amount": 0.0118744
},
{
"price": 62713,
"amount": 9.34e-5
},
{
"price": 62712.18,
"amount": 0.0003503
},
{
"price": 62712.08,
"amount": 0.0001051
},
{
"price": 62712.01,
…