GET /candles/{chainId}/{address}

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/pumpfun/candles/{chainId}/{address}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

OHLCV candlestick bars for a coin, oldest first.

Parameters

nameintypedescription
chainIdpathstrrequiredCAIP-2 chain ID (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp).
default: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
example: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
addresspathstrrequiredToken mint address.
example: 9BB6NFEcjBCtnNLFko2FqVQBq8HHM13kCyYcdQbgpump
resquerystrrequiredCandle resolution: 1m, 5m, 15m, 1h, 4h, 1d, 1w, 1M.
default: 5m
example: 5m
measurequerystroptionalPrice measure: price_usd, price_quote, price_native, market_cap_usd.
default: price_usd
example: price_usd
countqueryintoptionalNumber of bars to return.
default: 60
example: 10
toqueryintoptionalOptional upper bound Unix timestamp in seconds.

Response

type: object
data key: candles
pagination: none
sample: {
  "candles": "array[10]",
  "hasOlder": "bool",
  "source": "str",
  "served": "object",
  "supplyUsed": "str"
}

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/pumpfun/candles/solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/9BB6NFEcjBCtnNLFko2FqVQBq8HHM13kCyYcdQbgpump?res=5m&measure=price_usd&count=10"