pump.fun coin candles

GET https://api.api.sh/pump-fun/v1/candles
1 credit / call finance & crypto try it in the playground →

OHLCV candles of a pump.fun coin, oldest first: open, high, low, close, volume in USD and trade count per candle. Choose the candle interval and what is priced (USD, SOL, quote token or market cap). The window ends at to (default now); when has_older is true, pass next_to back as to for earlier candles.

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
mint string Token (mint) address of the coin. Example: 9BB6NFEcjBCtnNLFko2FqVQBq8HHM13kCyYcdQbgpump
url string A pump.fun/coin/<mint> link, instead of mint.
interval 1s | 15s | 30s | 1m | 5m | 15m | 1h | 4h | 1d | 1w | 1M Candle size: 1s, 15s, 30s, 1m, 5m (default), 15m, 1h, 4h, 1d, 1w or 1M. Example: 1h
measure usd | sol | quote | market_cap_usd What the candles price: usd (default), sol, quote or market_cap_usd. Example: usd
from string Earliest candle time (ISO date/time, Unix seconds or milliseconds).
to string End of the window (ISO date/time, Unix seconds or milliseconds). Default now.
limit integer Most recent candles to return (1-200, default 100).

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/pump-fun/v1/candles?mint=9BB6NFEcjBCtnNLFko2FqVQBq8HHM13kCyYcdQbgpump" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.