/v1/book
Order-book summary across a currency / kind
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/deribit-api/v1/book" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/deribit-api/v1/book", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/deribit-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/deribit-api/v1/book",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"kind": "future",
"count": 12,
"currency": "BTC",
"returned": 12,
"instruments": [
{
"last": 66007.5,
"volume": 96.4057374,
"ask_price": 65930,
"bid_price": 65927.5,
"mid_price": 65928.75,
"mark_price": 65945.52,
"open_interest": 3156690,
"instrument_name": "BTC-3JUL26"
},
{
"last": 65725,
"volume": 0.01826504,
"ask_price": 65892.5,
"bid_price": 65860,
"mid_price": 65876.25,
"mark_price": 65889.31,
"open_interest": 960,
"instrument_name": "BTC-18JUN26"
},
{
"last": 65662.5,
"volume": 9.12045997,
"ask_price": 65892.5,
"bid_price": 65857.5,
"mid_price": 65875,
"mark_price": 65885.44,
"open_interest": 799900,
"instrument_name": "BTC-17JUN26"
},
{
"last": 65914,
"volume": 4811.36496026,
"ask_price": 65917.5,
"bid_price": 65917,
"mid_price": 65917.25,
"mark_price": 65910.78,
"open_interest": 987637030,
"instrument_name": "BTC-PERPETUAL"
},
{
"last": 65915,
"volume": 89.10419337,
"ask_price": 65895,
"bid_price": 65892.5,
"mid_price": 65893.75,
"mark_price": 65898.57,
"open_interest": 18413830,
"instrument_name": "BTC-19JUN26"
},
{
"last": 68000,
"volume": 47.08451678,
"ask_price": 67985,
"bid_price": 67982.5,
"mid_price": 67983.75,
"mark_price": 67982.97,
"open_interest": 28039750,
"instrument_name": "BTC-26MAR27"
},
{
"last": 65970,
"volume": 149.09231117,
"ask_price": 65927.5,
"bid_price": 65925,
"mid_price": 65926.25,
"mark_price": 65925.85,
"open_interest": 603269920,
"instrument_name": "BTC-26JUN26"
},
{
"last": 66302.5,
"volume": 23.7324044,
"ask_price": 66302.5,
"bid_price": 66300,
"mid_price": 66301.25,
"mark_price": 66297.19,
"open_interest": 6603930,
"instrument_name": "BTC-28AUG26"
},
{
"last": 67282.5,
"volume": 160.1527551,
"ask_pric
…