GET /fapi/api/tradingData/bitfinex/chart
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coinglass/fapi/api/tradingData/bitfinex/chartCache cached 1s, never served stale past that windowCost per_row · weight 2 · heavy rate classSource billing freeHistorical Bitfinex margin longs vs shorts volume and ratio chart
Parameters
| name | in | type | description | |
|---|---|---|---|---|
symbol | query | string | required | Base coin ticker symbol, e.g. BTC or ETH default: BTCexample: BTC |
interval | query | string | optional | Interval: 1h, 4h, 1d default: 1dexample: 1d |
Response
type: array
pagination: none
sample: [
{
"c": 62430.6,
"lr": 99.39,
"lv": 58896.95,
"o": 61203.4,
"sr": 0.61,
"sv": 360.63
}
]
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/coinglass/fapi/api/tradingData/bitfinex/chart?symbol=BTC&interval=1d"