Orderbook
Change in orderbook bid ask ratio over a specified period of time.
Request
Add the parameter Authorization
to Headers,whose value is to concatenate the Token after the Bearer. Example:Authorization: Bearer ********************
Token URL: https://auth-api.dev.hyblockcapital.com/oauth2/token
Add parameter in header x-api-key
Example:x-api-key: ********************
or
Request Code Samples
curl --location --request GET 'https://api.dev.hyblockcapital.com/v2/bidAskRatioDiff?coin&exchange&timeframe&limit&startTime&endTime&sort&advanceFilter&depth&marketTypes' \
--header 'Authorization: Bearer <token>' \
--header 'x-api-key: <api-key>'
Responses
{
"data": [
{
"bidAskRatioDiff": -163215377.8376366,
"openDate": 1665047820
}
],
"metadata": {
"exchanges": [
"bitmex_perp_coin",
"bybit_perp_coin",
"bitfinex_perp_stable",
"coinbase_spot",
"deribit_perp_stable",
"huobi_perp_coin",
"gemini_spot",
"okx_perp_coin",
"okx_qtrly",
"binance_spot",
"binance_perp_stable",
"binance_perp_coin"
]
}
}
Modified at 2025-12-31 05:42:54