GET /fapi/api/coin/all_history
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coinglass/fapi/api/coin/all_historyCache cached 1s, never served stale past that windowCost per_row · weight 2 · heavy rate classSource billing freeFull daily historical OHLC, circulating supply, and market cap series
Parameters
| name | in | type | description | |
|---|---|---|---|---|
symbol | query | string | required | Base coin ticker symbol, e.g. BTC or ETH default: BTCexample: BTC |
Response
type: array
pagination: none
sample: [
{
"circulatingSupply": "3344213.1401855564",
"createTime": 1278979200000,
"highPrice": "0.0663490500",
"lastPrice": "0.0581634100",
"lowPrice": "0.0526167700",
"marketCap": 194510.84
}
]
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/coin/all_history?symbol=BTC"