GET /fapi/api/marketHistory

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/coinglass/fapi/api/marketHistoryCache cached 1s, never served stale past that windowCost per_row · weight 2 · heavy rate classSource billing free

Historical daily market snapshots for a coin

Parameters

nameintypedescription
symbolquerystringrequiredBase coin ticker symbol, e.g. BTC or ETH
default: BTC
example: BTC

Response

type: array
pagination: none
sample: [
  {
    "date": 1795628340000,
    "list": "list(2)"
  }
]

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/marketHistory?symbol=BTC"