This is not the official pump.fun or PumpSwap website, and we don't run their infrastructure. We're an independent, audit-first project. Where we mention specific behaviour or figures, verify them against the official pump.fun site and your chosen data provider's own docs — APIs change without warning.
- What developers actually want
- Is there an official pump.fun API?
- On-chain RPC vs third-party indexers
- Typical capabilities and limitations
- Data sources compared
- Rate limits and reliability
- Authentication and API-key security
- A placeholder request, done safely
- Use cases — and the honest risks
- A pre-flight checklist
- FAQ
What developers actually want from a “pump.fun API”
When people type pumpfun API into a search bar, they're almost always after one of three things. It's worth naming them precisely, because they have very different difficulty and risk profiles.
Token & market data
Price, market cap, holders, liquidity, bonding-curve progress, trade history for a specific token. The bread and butter of dashboards.
New-launch feeds
A real-time stream of tokens as they're created, ideally within milliseconds, so a bot or alert system can react before everyone else.
Trade execution
Programmatically buying and selling — building and signing Solana transactions against the bonding curve or the DEX pool.
The first two are read problems. The third is a write problem, and that's where money disappears fastest — both to bugs and to attackers. Keep that split in your head for the rest of this page, because the security advice scales with it.
Is there an official pump.fun API?
Short version: not in the sense most developers expect. A centralized exchange like CEX.IO or Coinbase publishes a versioned REST API, a changelog, rate-limit docs and a support channel. pump.fun is a set of on-chain programs on Solana with a web frontend. The canonical source of truth isn't a REST endpoint — it's the blockchain itself.
That has two consequences. First, anyone can read the data, because it's public on-chain; you don't need pump.fun's permission. Second, there's no SLA, no support desk and no guarantee that an undocumented endpoint the frontend happens to call today will exist tomorrow. People do reverse-engineer the site's internal calls, and people do get burned when those calls change or start returning errors.
If you find a “pump.fun API” that isn't on the official pump.fun site, assume it's an unofficial wrapper or a third-party indexer. That's not automatically bad — many are excellent — but it means you're trusting a middleman, and undocumented internal endpoints can break, rate-limit you, or be pulled at any time. Don't build a business on something with no contract behind it.
On-chain RPC vs third-party indexers
There are two honest ways to get pump.fun data, and most real projects use both.
1. Solana RPC (talk to the chain directly). A Solana RPC node answers low-level questions: the state of an account, the contents of a transaction, the logs emitted by a program, and — over websockets — a live stream of those events. To turn that into “the price of token X,” you decode the relevant program accounts yourself. It's flexible, cheap and trust-minimised, but you do real engineering work, and the public RPC endpoints are heavily rate-limited and frequently overloaded.
2. Third-party indexers and data APIs. An indexer is a service that has already ingested the chain, decoded the pump.fun and DEX programs, and exposes friendly queries: “new tokens in the last hour,” “trades for this mint,” “top holders.” You pay for the convenience with money and a trust dependency — you're believing the indexer decoded everything correctly and isn't quietly behind. For new-launch feeds and analytics, an indexer is usually the pragmatic choice.
The rule of thumb: use RPC when correctness and independence matter (execution, settlement checks), and an indexer when developer speed and rich queries matter (dashboards, screeners). See our Solana primer for how the chain's 400ms blocks and fee model shape all of this, and the swap DEX guide for how pools behave once a token graduates from the bonding curve.
Typical capabilities and limitations
Across RPC and the common indexers, here's roughly what you can and can't expect.
👍 Usually available
- Current price, market cap and supply for a token mint.
- Bonding-curve progress and whether a token has graduated to the DEX.
- Trade history and recent transactions per token.
- Holder counts and top-holder distribution.
- A near-real-time stream of newly created tokens (via websocket or indexer push).
👎 Limitations & gotchas
- “Real time” still means tens to hundreds of milliseconds — bots with co-located infra beat you.
- Metadata can be faked: name, symbol and image say nothing about safety.
- No endpoint tells you a token is a scam — that's your analysis, not a field.
- Historical depth varies wildly by provider; some only keep recent data.
- Execution requires building and signing your own Solana transactions — there's no custodial “buy” button behind an API.
Data sources compared
A rough, opinionated comparison of how developers get pump.fun data. Specific limits and features depend entirely on the provider and plan — always check their current docs.
| Source | Setup effort | Real-time feeds | Rich queries | Trust dependency | Best for |
|---|---|---|---|---|---|
| Public Solana RPC | Low | Limited | No | Minimal | Tinkering, low-volume reads |
| Paid RPC provider | Medium | Yes | Some | Provider uptime | Execution, reliable reads |
| Third-party indexer / data API | Low | Yes | Yes | High | Dashboards, screeners, analytics |
| Unofficial scraped endpoints | Low | Maybe | Maybe | High & fragile | Prototypes you can throw away |
| Documented exchange API (e.g. CEX.IO) | Medium | Yes | Yes | Custodial | Stable prices & execution with support |
Qualitative ratings reflect our editorial read as of 2026, not vendor benchmarks. Verify capabilities and pricing in each provider's own documentation.
Rate limits and reliability
This is the part that quietly kills projects. Public RPC endpoints are shared and aggressively throttled; the moment your polling loop gets popular, you'll see 429 Too Many Requests and dropped websocket connections. Indexers have their own tiered limits, often expressed as requests per second plus a monthly cap.
Design defensively from day one:
- Prefer subscriptions over polling. A websocket stream of new events is cheaper and faster than hammering a REST endpoint every second.
- Back off on errors. Exponential backoff with jitter on
429and5xx, not a tight retry loop that makes the throttling worse. - Cache aggressively. Token metadata and historical trades don't change; don't re-fetch them.
- Have a fallback. A second RPC/indexer you can switch to when the primary degrades. Single-provider dependence is a single point of failure.
- Expect outages. Solana has had network slowdowns and halts. Your bot should fail safe — do nothing — rather than fire blind orders into chaos.
The cheapest API tier and the highest-frequency trading strategy are mutually exclusive. If your edge depends on being faster than everyone else, you're in an infrastructure arms race you probably can't win against funded bots.
Authentication and API-key security
Read-only RPC calls to a public node often need no key. Everything serious does: paid RPC providers and indexers issue API keys, and any endpoint that can trade on your behalf (on a centralized exchange) issues keys that can move money. The threat model is completely different for the two, and you should treat trading keys like live ammunition.
A leaked read-only data key costs you some quota. A leaked trading key with withdrawal permission can empty your account before you finish reading this sentence. The rules below are not optional polish — they are the difference between a bug and a catastrophe.
- Never commit keys. No keys in source code, config files in the repo, screenshots, or client-side JavaScript. Use environment variables or a secrets manager. Add
.envto.gitignoreon day one, and scan your history — keys pushed once are scraped within minutes. - Least privilege. Create a separate key per app, with only the permissions it needs. A dashboard gets a read-only key. A price logger never needs trade scope.
- Disable withdrawals. On any trading key, turn off withdrawal/transfer permission. A bot that buys and sells does not need the ability to send funds off the platform.
- IP allowlist. Bind the key to the fixed IP(s) of your server. A stolen key is far less useful if it only works from your machine.
- Rotate and monitor. Rotate keys on a schedule and immediately if anything looks off. Alert on unexpected usage. Keep separate keys for dev and production so a leaked test key can't touch real money.
For non-custodial execution against pump.fun itself, there's an even sharper version of this: you're signing Solana transactions with a wallet private key. That key is the funds. Run automation against a dedicated hot wallet holding only what you can lose, never your main wallet — our wallet and self-custody guide covers the seed-phrase rules that matter here.
A placeholder request, done safely
Below is a minimal, illustrative example of reading data from a provider with the key pulled from the environment — never hard-coded. The URL, header name and response shape are placeholders; use your actual provider's documented format.
# 1) Put the key in your environment, NOT in the code or repo:
# export DATA_API_KEY="your-read-only-key"
curl -s "https://api.example-indexer.com/v1/token/<MINT_ADDRESS>" \
-H "Authorization: Bearer ${DATA_API_KEY}" \
-H "Accept: application/json"
# Node example — key read at runtime, scoped read-only:
# const key = process.env.DATA_API_KEY;
# const res = await fetch(`${BASE}/v1/token/${mint}`, {
# headers: { Authorization: `Bearer ${key}` }
# });
# if (!res.ok) { /* back off on 429 / 5xx, do NOT tight-loop */ }
The single most common mistake is hard-coding the key like Authorization: Bearer sk_live_abc123 and pushing it. Public repos are scanned by bots continuously; a committed trading key can be abused within minutes, and rewriting git history does not un-leak it. If a secret ever touches a commit, revoke and rotate it — don't just delete the line.
The same discipline applies to a documented exchange API: keys in env vars, withdrawals off, IP-restricted. The mechanics are the same whether you're reading memecoin prices or placing spot orders.
Use cases — and the honest risks
Here's where the brief becomes a reality check. These are the three things people build, ranked roughly from “mostly safe” to “most likely to lose money.”
Analytics and dashboards (lowest risk)
Read-only screeners, holder-distribution charts, volume trackers, alerting on new launches. This is the safest category because nothing executes — the worst case is bad data or a blown quota. It's also genuinely useful: a good dashboard helps you avoid bad tokens, which is more valuable than chasing good ones. Build with a read-only key, cache hard, and you're in solid territory.
Alert and sniper bots (high risk)
Bots that watch the new-launch feed and react — pinging you, or auto-buying. The fantasy is being first; the reality is that you're racing operations with faster infrastructure, paid mempool access and co-location. By the time your public-RPC websocket delivers an event, the price you'd get is often already worse. And the feed is full of bait: scam tokens engineered specifically to lure sniper bots.
Automated trading bots (highest risk)
Unattended code that buys and sells with real funds. Be blunt with yourself: most retail trading bots lose money, and memecoin bots lose it faster. The reasons compound:
Latency
You're slower than funded competitors. The good fills are gone before your order lands.
MEV & sandwiching
Bots can see your transaction and trade around it, buying before you and selling into your order so you get a worse price.
Fees & slippage
Swap fees, network fees and slippage on thin liquidity quietly erode every round trip, win or lose.
Add the operational risks — a logic bug, an unhandled edge case, a stale price feed, a network halt mid-trade — and an unattended bot can burn through a wallet while you sleep. If you build one anyway, do it on a throwaway hot wallet with a hard spending cap, kill switches, and the assumption that the whole balance can vanish. Treat it as an expensive way to learn, not an income stream.
Nothing on this page is financial advice or a strategy that makes money. The honest base case for an automated memecoin bot is a loss. We're explaining how the plumbing works so you understand the risks — not encouraging you to point it at your savings.
If what you actually need is a stable, documented interface for prices and execution — with a changelog, support, and predictable rate limits — a regulated exchange API is a saner foundation than an unofficial scraped endpoint. You give up self-custody, but you gain accountability.
Explore a documented trading API→
A pre-flight checklist before you ship
- Pick the right source. RPC for correctness and execution, indexer for rich queries, a documented exchange API when you want support. Don't scrape internal endpoints for anything you care about.
- Secure every key. Env vars or a secrets manager, least privilege, withdrawals disabled, IP allowlisted, rotated on a schedule.
.envin.gitignore. - Handle limits gracefully. Subscriptions over polling, exponential backoff, caching, and a fallback provider.
- Fail safe. On bad data, errors or network trouble, your code should do nothing rather than guess.
- Cap the blast radius. Dedicated hot wallet, hard spending limit, kill switch. Never automate funds you can't lose.
- Verify against the source. Cross-check critical numbers (balances, fills) against the chain via RPC, not just an indexer.
Want to see where this data ends up in the real interface? Our app tour and swap walkthrough show the front-end side of the same on-chain plumbing you'd be querying.
FAQ
Is there an official pump.fun API?
There's no widely documented, officially supported public REST API for general developers in the way a centralized exchange publishes one. Most developers read pump.fun data straight from the Solana blockchain via RPC, or pay a third-party indexer that has done that work for them. Treat any “pump.fun API” that isn't on the official site as unofficial and unsupported.
Can I get new token launches in real time?
Yes, but not from a magic official feed. New launches are program transactions on Solana, so you either subscribe to the relevant program via a websocket RPC, or use a third-party indexer that streams new-launch events. Both have latency, and you're competing with bots that pay for faster infrastructure.
Do I need an API key to read pump.fun data?
Reading raw on-chain data via a public RPC node usually needs no key, but public nodes are rate-limited and unreliable. For anything serious you'll use a paid RPC provider or indexer, which issues an API key. That key should be read-only, scoped, and never committed to a repository.
Can a trading bot built on these APIs make money?
Most lose money. Memecoin markets are dominated by faster bots, MEV extraction, sandwich attacks and outright scam tokens. Latency, fees and slippage stack against you, and a bug in unattended code can drain a wallet in seconds. Build for learning first, and never automate funds you can't afford to lose.
What's the difference between an RPC node and an indexer?
An RPC node answers low-level questions about the chain — account states, transactions, logs — but you assemble meaning yourself. An indexer ingests that raw data and exposes higher-level queries like “all trades for this token today.” RPC is cheaper and more flexible; indexers are faster to build on but cost more and add a trust dependency.
How do I keep a trading API key from being stolen?
Store keys in environment variables or a secrets manager, never in source code or the frontend. Use least-privilege keys, disable withdrawals on any trading key, restrict it to specific IP addresses, and rotate it regularly. If a key can move funds and it leaks, assume the funds are gone.