Pump.fun API
Real-time REST and WebSocket data for every Pump.fun token: new launches, trades, graduations, bundles and quality scores. Try it for $0.01 per call, with no account.
Is there an official Pump.fun API?
No. Pump.fun does not publish a public REST API and does not issue API keys. It publishes its on-chain programs and SDKs for building transactions. The pump.fun website calls internal endpoints, but they are undocumented, many need a login token, and they change without notice.
To read Pump.fun data in your own code, you have three options:
| Option | What you get | What it costs you |
|---|---|---|
| Parse the chain yourself | Raw events from the Pump.fun programs | An RPC or gRPC stream, a parser for every program upgrade, and a database. Weeks of work, then upkeep. |
| Call the pump.fun website endpoints | What the website shows | No documentation and no stability. Your code breaks when the website changes. |
| Use a data API such as Cookin | Parsed tokens, trades and lifecycle events, plus analytics | Free at 3 requests/min, $0.01 per call, or 1 SOL/month for Pro. |
Get new Pump.fun tokens in 30 seconds
One request returns the newest Pump.fun tokens, with obvious rugs removed and a quality score on every token:
curl -sS -H "Authorization: Bearer $API_KEY" \
https://api.cookin.fun/v1/tokens/new
No API key yet? Call the same URL without one and pay for each call in USDC on Solana: $0.01 per call, $0.02 for a full token snapshot. No signup and no subscription. See Pay per call.
Pump.fun WebSocket API
Two channels push Pump.fun data as it happens. Connect once with your API key:
wss://api.cookin.fun/socket/websocket?vsn=2.0.0&api_key=$API_KEY
- tokens:live sends lifecycle events:
token_createdfor every new deploy, including the ones the REST lists filter out, plus graduation, DEX-paid and metadata events. - frames:live sends every Pump.fun and PumpSwap trade, with bundle and trader context on each trade.
What you get for every Pump.fun token
- Real-time quality score. Derived from about 50 metrics: holder concentration, cohort distributions, sell impact, healthy-coins rate, bundle overlap and KOL presence. Available in list feeds and per-token snapshots.
- Bundle detection. Union-find clustering of wallets that consistently trade together. Every Pump.fun trade tells you if it is a bundled buy, which bundle, and what percent of supply that bundle holds now.
- Trader behavioral stats. Per-wallet ROI, win rate, average hold, chart-nuking history and healthy-coins rate. Snapshotted at trade time, so every trade is a self-contained signal.
- Duplication detection. 7 boolean flags per Pump.fun token (symbol, name, twitter, website, telegram, image, symbol+name match). Immediate copy-cat filtering.
- KOL tracking. A curated set of Solana KOL wallets, surfaced per Pump.fun token with % of supply held and expected sell slot.
- Cohort distributions. 7 bracket families × 5 buckets showing holder hold-duration, PnL, ROI, sell impact, past-buys count, SOL balance and healthy-coins rate.
- Pump / dump conditions. How many of our mcap-bracketed signal conditions are currently true per Pump.fun token.
- Lifecycle events. WebSocket pushes for token created, graduated, DEX-paid, metadata retrieved and duplication flags flipped.
- Enriched trade WebSocket. Every Pump.fun trade with per-trade trader context, tx-atomic. The same feed we use internally.
Common Pump.fun API use cases
| You want to build... | Best endpoint |
|---|---|
| A Pump.fun token scanner (list of new deploys with quality filters) | /v1/tokens/new |
| A quality gate ("only surface Pump.fun tokens with score ≥ X") | Any list. Every card carries score |
| A detail page for one Pump.fun token | /v1/tokens/:mint |
| A Pump.fun graduation tracker | /v1/tokens/graduated or tokens:live with token_graduated |
| A wallet-tracker bot filtering by Pump.fun trades | frames:live + filter by user_address |
| A live trading dashboard | Snapshot + frames:live. See Use cases |
Why Cookin for Pump.fun data
Most Pump.fun API providers give you raw event streams: the token was created, this trade happened, that wallet bought X. Cookin gives you the interpretation on top: is this trade bundled, is this wallet a chart-nuker, what percent of supply do KOLs hold, what is the score. The same signals we compute for our own analyst UI ship in the API response.
Pump.fun API pricing
Free. Every REST endpoint at 3 requests/min per account, plus a 10-minute WebSocket trial per hour. Mint a key on your API keys page, no payment needed.
Pay per call, no account. $0.01 per call, $0.02 for a full token snapshot, paid in USDC on Solana with x402. REST only.
Pro, 1 SOL/month. Every REST endpoint (token lists, snapshots, trades, trader stats, bundle detection) at 600 requests/min, plus the unlimited WebSocket stream (tokens:live + frames:live). Activate from your API keys page: send 1 SOL to the address shown there and Pro activates automatically once the payment lands.
Pump.fun API FAQ
Is there a free Pump.fun API?
Yes. Mint a Cookin API key and every endpoint is free at 3 requests/min, with a 10-minute WebSocket trial per hour. Without an account, it is $0.01 per call.
Does the Pump.fun API cover graduated tokens?
Yes. Every Pump.fun token stays in the API through and after graduation to PumpSwap or Raydium. You get the same fields (mcap, score, trades) whether the token is still on the bonding curve or has migrated. The has_migrated field flags the transition.
How fresh is the data?
Trade frames arrive within about 1s of Solana block time via frames:live. REST snapshots reflect state as of the most recent frame ingest. Latency depends on Solana node health more than anything we control.
Do you support PumpSwap alongside Pump.fun?
Yes. Trade ingest covers both. The API does not distinguish them, because from a token-lifecycle view they are the same asset before and after migration.
Can I use the Pump.fun API from Claude or Cursor?
Yes. The same data is an MCP server at https://api.cookin.fun/mcp, with eight read-only tools. See MCP server for the setup.
Is there a rate limit?
Free accounts: 3 requests/min. Pro accounts: 600. The limit is per account, so all your keys share it. See Rate limits for headers and behavior.