GET /fapi/api/index/bitcoinProfitableDays

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

Historical Bitcoin profitable holding days chart

Parameters

No parameters documented.

Response

type: array
pagination: none
sample: [
  {
    "side": 1,
    "createTime": 1278979200000,
    "price": 0.05816341
  }
]

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/index/bitcoinProfitableDays"