GET /candles/{chainId}/{address}/line

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

Downsampled close-price line chart points for a coin.

Parameters

nameintypedescription
chainIdpathstrrequiredCAIP-2 chain ID.
default: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
example: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
addresspathstrrequiredToken mint address.
example: 9BB6NFEcjBCtnNLFko2FqVQBq8HHM13kCyYcdQbgpump
resquerystrrequiredBase resolution: 1m, 5m, 15m, 1h, 4h, 1d.
default: 5m
example: 5m
measurequerystroptionalPrice measure (price_usd, market_cap_usd).
default: price_usd
example: price_usd
countqueryintoptionalSource candle count.
default: 60
example: 30
maxPointsqueryintoptionalMaximum LTTB-downsampled points (2..2000).
default: 200
example: 20

Response

type: object
data key: points
pagination: none
sample: {
  "points": "array[20]",
  "served": "object",
  "source": "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/line?res=5m&measure=price_usd&count=30&maxPoints=20"