GET /capi/api/priceAndIndicator

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

Combined price and derivatives indicator time series

Parameters

nameintypedescription
symbolquerystringrequiredBase coin ticker symbol, e.g. BTC or ETH
default: BTC
example: BTC
intervalquerystringoptionalTimeframe interval such as h1, h4, h8, h24
default: h8
example: h8
indexquerystringoptionalIndicator series key
default: avg_fr_kline
example: avg_fr_kline
limitqueryintegeroptionalMaximum data points
default: 100
example: 100

Response

type: array
pagination: none
sample: [
  {
    "data": "list(5)",
    "price": "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/capi/api/priceAndIndicator?symbol=BTC&interval=h8&index=avg_fr_kline&limit=100"