GET /fapi/api/ls/sentiment
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coinglass/fapi/api/ls/sentimentCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeMulti-horizon long/short market sentiment buckets for a coin
Parameters
| name | in | type | description | |
|---|---|---|---|---|
symbol | query | string | required | Base coin ticker symbol, e.g. BTC or ETH default: BTCexample: BTC |
Response
type: object
pagination: none
sample: {
"0": 34.0,
"1": 16.0,
"2": 16.0,
"3": 20.0,
"4": 14.0
}
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/ls/sentiment?symbol=BTC"