Pump Fun API & Pons Family API
PumpDev is one developer API for two launchpads. The pump fun API lets you trade, create, and manage tokens on pump.fun (Solana), and the Pons Family API does the same for ponsfamily.com (Robinhood Chain) — same account, same API key, same request shapes. Whether you're building a trading bot, a sniper bot, or a token launcher, you get one-call trading, client-side signing, token creation, fee claiming, and real-time WebSocket data.
Pick your launchpad and jump straight to it:
Pump.fun or PONS: Pick Your Launchpad
| 🟢 pump.fun on Solana | 🟣 PONS on Robinhood Chain |
|---|---|
| Trade, create, bundle and claim. One HTTP call with Lightning, or sign client-side. | Buy and sell with an unsigned EVM transaction you sign yourself. No API key. |
| Lightning Setup · Trading API · WebSocket | PONS Trading · PONS WebSocket · PONS API overview |
One plan covers both chains — Robinhood Chain usage is metered separately and never eats into your Solana trade quota.
Pump Fun API on Solana
PumpDev is quote-mint aware across creation, trading, claims, and streaming. SOL pairs continue to work in native SOL, while USDC and other quote mints are resolved automatically where the protocol requires V2 instructions.
The Lightning API is the fastest way to trade — one HTTP call = done. For full control, use the Trading API with client-side signing where your private keys never leave your machine.
Drop the Pumpfun Skill into your AI coding assistant and it asks the right discovery questions, picks the right API (Lightning vs Local), and writes working code against the live endpoints — instead of guessing.
mkdir -p .claude/skills && cd .claude/skills && \
curl -fsSL https://pumpdev.io/skill/pumpdev.zip -o pumpdev.zip && \
unzip pumpdev.zip && rm pumpdev.zip
Then ask your AI: "build a pump.fun sniper bot using pumpdev.io". → Skill
⚡ Lightning API — Fastest Path
One HTTP call = trade done. No wallet setup, no RPC management, no client-side signing needed.
// Buy — one HTTP call = done
const res = await fetch('https://pumpdev.io/api/trade-lightning?api-key=YOUR_KEY', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
action: 'buy', // 'sell'
mint: 'TokenMintAddress',
amount: 0.1,
denominatedInSol: 'true',
slippage: 15
})
});
const { signature } = await res.json();
console.log('Done!', signature);
→ Lightning Setup — Create a wallet + API key and start trading in minutes.
⚡ Lightning Create — Instant Token Launch
One HTTP call = token launched. No IPFS upload, no metadata step, no client-side signing.
// Create — one HTTP call = token launched
const res = await fetch('https://pumpdev.io/api/create-lightning?api-key=YOUR_KEY', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
name: 'My Token',
symbol: 'MTK',
image: 'https://example.com/logo.png',
buyAmountSol: 0.5,
// For a USDC pair instead:
// quoteMint: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v',
// buyAmountQuote: 25
})
});
const { mint, signature, metadataUri } = await res.json();
console.log('Launched!', mint, signature);
→ Lightning Create — Server-side metadata storage and signing for fastest token launches. → Get API Key
What You Can Build
| Use Case | Features |
|---|---|
| ⚡ Lightning Bots | One HTTP call = done. No signing, no RPC setup |
| 🎯 Sniper Bots | WebSocket alerts + Lightning instant execution |
| 🚀 Token Launchers | Lightning Create for instant one-call token launches |
| 📦 Jito Bundles | Multi-wallet atomic launches |
| 📊 Analytics Dashboards | Real-time trades, wallet tracking, market data |
| 💰 Auto-Claim Tools | Automated creator fee collection |
Building any of these against the free WebSocket feed? A free PumpDev account gives you a persistent key plus a live usage dashboard instead of an anonymous one-off key.
Pump Fun API Features
| Feature | Description |
|---|---|
| ⚡ Lightning Trading | One HTTP call = done. Instant buy/sell, no signing needed |
| ⚡ Lightning Create | One call token launch with built-in metadata storage |
| 💹 Trading API | Client-side: build & sign buy/sell transactions yourself |
| 🚀 Token Creation | Create tokens with optional dev buy |
| 📦 Jito Bundles | Atomic multi-wallet launches |
| 📡 Real-Time WebSocket | Live trades and new token alerts |
| 💰 Fee Claiming | Collect creator royalties |
| 💸 SOL Transfers | Move funds between wallets |
| 🔐 Client-Side Signing | Your keys never leave your machine |
Real-Time WebSocket
Stream new token launches and trades for your sniper bot:
const ws = new WebSocket('wss://pumpdev.io/ws');
ws.on('open', () => {
// Subscribe to new token launches
ws.send(JSON.stringify({ method: 'subscribeNewToken' }));
// Subscribe to specific token trades
ws.send(JSON.stringify({
method: 'subscribeTokenTrade',
keys: ['TokenMint1', 'TokenMint2']
}));
// Track whale wallets
ws.send(JSON.stringify({
method: 'subscribeAccountTrade',
keys: ['WhaleWallet1']
}));
});
ws.on('message', (data) => {
const event = JSON.parse(data);
const quoteAmount = event.quoteAmount ?? event.solAmount ?? 0;
const quoteLabel =
event.quoteMint === 'So11111111111111111111111111111111111111112'
? 'SOL'
: event.quoteMint;
if (event.txType === 'create') {
console.log(`🆕 New token: ${event.name} (${event.symbol})`);
console.log(` Mint: ${event.mint}`);
console.log(` Initial buy: ${quoteAmount} ${quoteLabel}`);
} else if (event.txType === 'buy') {
console.log(`📈 Buy: ${quoteAmount} ${quoteLabel} on ${event.mint}`);
} else if (event.txType === 'sell') {
console.log(`📉 Sell: ${quoteAmount} ${quoteLabel} on ${event.mint}`);
}
});
Building on Robinhood Chain instead? The same subscribeNewToken works on the
PONS socket — see PONS API on Robinhood Chain
below.
Pump Fun API Endpoints
| Endpoint | Method | Description |
|---|---|---|
/api/wallet/create | POST | ⚡ Lightning — Create wallet + API key |
/api/wallet/import | POST | ⚡ Lightning — Import key + get API key |
/api/trade-lightning | POST | ⚡ Lightning — Server-side sign + send trade |
/api/create-lightning | POST | ⚡ Lightning — Server-side token creation |
/api/trade-local | POST | Buy and sell tokens (client-side) |
/api/create | POST | Create token (with optional dev buy) |
/api/create-bundle | POST | Jito bundle — atomic multi-buyer launch |
/api/claim-account | POST | Claim creator fees. Pass mint for graduated, fee-sharing, or non-SOL quote coins |
/api/claim-distribute | POST | Distribute fees to shareholders (fee sharing) |
/api/claim-all | POST | Claim from multiple tokens at once |
/api/claim-cashback | POST | Claim cashback rewards from trading |
/api/transfer | POST | Transfer specific SOL amount |
/api/transfer-all | POST | Transfer all SOL (drain wallet) |
/api/metadata/upload | POST | Upload token metadata (image + details) |
/metadata/:uuid.json | GET | Serve stored metadata JSON |
/ws | WebSocket | Real-time trades and token launches |
PONS API on Robinhood Chain
PumpDev is also a PONS API — a Pons Family API for ponsfamily.com, the launchpad on Robinhood Chain. Buying or selling is one POST that returns an unsigned EVM transaction with the route, gas and slippage floor already solved — you sign it locally, and trading needs no API key at all. Launches and trades stream from a second WebSocket.
Robinhood Chain makes a block every ~100ms and orders transactions by arrival, not by fee. There is no priority auction to win — the only edge is how fast a valid transaction hits the wire, and that is the part this API takes care of.
🟣 PONS Trading — One POST, Unsigned Transaction
import { JsonRpcProvider, Wallet } from 'ethers';
const provider = new JsonRpcProvider('https://rpc.mainnet.chain.robinhood.com', 4663, { staticNetwork: true });
const wallet = new Wallet('0xYourPrivateKey', provider);
// Buy — one POST returns a transaction ready for wallet.sendTransaction()
const res = await fetch('https://rhc.pumpdev.io/api/trade-local', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
publicKey: wallet.address,
action: 'buy', // 'sell'
token: '0xTokenAddress',
amount: 0.05, // in the pair's quote asset: ETH, USDG, …
denominatedInQuote: 'true',
slippage: 15
})
});
const { transaction, quote } = await res.json();
console.log('Expected out:', quote.expectedOut, `(price ${quote.priceAgeMs}ms old)`);
const sent = await wallet.sendTransaction(transaction);
console.log('Sent:', sent.hash);
A sell comes back with an approvalTransaction when your allowance is short — send it first, then the trade.
→ PONS Trading API — parameters, the quote object, partial sells, nonce handling for back-to-back trades, and the one unit that differs from Solana (priorityFee is gwei per gas, not ETH).
🟣 PONS WebSocket — Launches Before They Execute
Launches arrive from the sequencer feed before they execute, so every event carries a status of pending or confirmed. New-token alerts, graduations and metadata are free and need no key; token trades use your PumpDev key.
const ws = new WebSocket('wss://rhc.pumpdev.io/ws?key=YOUR_KEY');
ws.on('open', () => {
// Subscribe to new PONS launches (free, no key needed)
ws.send(JSON.stringify({ method: 'subscribeNewToken' }));
// Subscribe to trades on specific tokens (metered)
ws.send(JSON.stringify({
method: 'subscribeTokenTrade',
keys: ['0xTokenAddress']
}));
});
ws.on('message', (data) => {
const event = JSON.parse(data.toString());
if (event.type === 'newToken') {
console.log(`🆕 ${event.status} launch: ${event.token}`);
} else if (event.type === 'tokenTrade') {
console.log(`💱 ${event.status} trade on ${event.token}`);
}
});
→ PONS WebSocket API — event shapes, deduplicating pending/confirmed by txHash, quotas, and porting a pump.fun bot.
PONS API Features
| Feature | Description |
|---|---|
| 💹 Trading API | One POST returns an unsigned EVM transaction — buy and sell any ponsfamily.com token, no API key |
| 🔐 Non-Custodial | PumpDev only ever sees your public key |
| 🧭 Route Solving | Multi-hop routes replayed from live trades, including pre-graduation curves with no pool address |
| 💱 Every Quote Asset | ETH, USDG and tokenized equities — decimals read from the route |
| 🛡️ Real Slippage Floor | amountOutMin from the last executed trades; a trade with no floor is refused, not built |
| 📡 Real-Time WebSocket | Launches, trades and graduations with pending / confirmed status |
| 📈 Quote Endpoint | Price a trade without building it, for a wallet that holds nothing yet |
| 🔁 Drop-in for pump.fun bots | mint and denominatedInSol accepted as aliases — same shapes, one key, both chains |
| 💰 Creator Fee Claims | One transaction sweeps your bonding curves and claims the PONS escrow — fees that otherwise sit unclaimed |
PONS API Endpoints
| Endpoint | Method | Description |
|---|---|---|
https://rhc.pumpdev.io/api/trade-local | POST | Buy and sell PONS tokens (client-side, no API key) |
https://rhc.pumpdev.io/api/quote | GET | Quote a trade without building it |
https://rhc.pumpdev.io/api/claim-account | GET | Claimable creator fees — escrow balance and fees still on your curves |
https://rhc.pumpdev.io/api/claim-local | POST | Claim creator fees (client-side, no API key) — sweep + claim in one transaction |
https://rhc.pumpdev.io/api/claim-lightning | POST | Claim creator fees from a Lightning wallet, server-signed |
https://rhc.pumpdev.io/api/health | GET | Warm the connection at startup |
wss://rhc.pumpdev.io/ws | WebSocket | Launches, trades and graduations on Robinhood Chain |
Pump Fun API Documentation
pump.fun on Solana
- ⚡ Lightning Setup — Create wallet + API key
- ⚡ Lightning Trade — One-call buy/sell
- ⚡ Lightning Create — One-call token launch
- Trading API — Client-side buy and sell
- Real-Time Data — WebSocket streaming
- Token Creation — Create tokens with dev buy
- Jito Bundles — Atomic multi-wallet launches & trades
- Claim Fees — Creator royalties
- Distribute Fees — Fee sharing & reward split
- Claim Cashback — Trader cashback rewards
- SOL Transfers — Move funds
- Pricing — Commission details
- Skill — Install the Pumpfun Skill for AI-assisted builds
PONS on Robinhood Chain
- 🟣 PONS API — ponsfamily.com API overview and landing page
- PONS Trading — Client-side buy and sell, no API key
- PONS WebSocket — Launches, trades and graduations in real time
- PONS Claimable Balance — Read what you can claim: escrow balance and fees on your curves
- PONS Claim Fees — Creator fees: sweep your curves and claim the escrow, signed by you
- PONS Lightning Claim — The same claim in one call, signed server-side
Join the PumpDev Community
- 💬 Telegram: t.me/pumpdev_io
- 🐦 Twitter: @PumpDevIO
- 🌐 Website: pumpdev.io