GET /tokens/{chain}/{address}/candles

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/socket/tokens/{chain}/{address}/candlesCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Candles for a spot-terminal token.

Parameters

nameintypedescription
chainpathstrrequiredChain slug.
example: solana
addresspathstrrequiredToken address.
example: 3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh
intervalquerystroptionalCandle interval.
example: 1h
limitqueryintoptionalNumber of candles.
example: 50

Response

type: object
data key: items
pagination: none
sample: {
  "items": "array"
}

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/socket/tokens/solana/3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh/candles?interval=1h&limit=50"