Skip to main content

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 · WebSocketPONS 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.

🤖 Build with AI — Install the Pumpfun Skill

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 CaseFeatures
⚡ Lightning BotsOne HTTP call = done. No signing, no RPC setup
🎯 Sniper BotsWebSocket alerts + Lightning instant execution
🚀 Token LaunchersLightning Create for instant one-call token launches
📦 Jito BundlesMulti-wallet atomic launches
📊 Analytics DashboardsReal-time trades, wallet tracking, market data
💰 Auto-Claim ToolsAutomated 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​

FeatureDescription
⚡ Lightning TradingOne HTTP call = done. Instant buy/sell, no signing needed
⚡ Lightning CreateOne call token launch with built-in metadata storage
💹 Trading APIClient-side: build & sign buy/sell transactions yourself
🚀 Token CreationCreate tokens with optional dev buy
📦 Jito BundlesAtomic multi-wallet launches
📡 Real-Time WebSocketLive trades and new token alerts
💰 Fee ClaimingCollect creator royalties
💸 SOL TransfersMove funds between wallets
🔐 Client-Side SigningYour 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​

EndpointMethodDescription
/api/wallet/createPOST⚡ Lightning — Create wallet + API key
/api/wallet/importPOST⚡ Lightning — Import key + get API key
/api/trade-lightningPOST⚡ Lightning — Server-side sign + send trade
/api/create-lightningPOST⚡ Lightning — Server-side token creation
/api/trade-localPOSTBuy and sell tokens (client-side)
/api/createPOSTCreate token (with optional dev buy)
/api/create-bundlePOSTJito bundle — atomic multi-buyer launch
/api/claim-accountPOSTClaim creator fees. Pass mint for graduated, fee-sharing, or non-SOL quote coins
/api/claim-distributePOSTDistribute fees to shareholders (fee sharing)
/api/claim-allPOSTClaim from multiple tokens at once
/api/claim-cashbackPOSTClaim cashback rewards from trading
/api/transferPOSTTransfer specific SOL amount
/api/transfer-allPOSTTransfer all SOL (drain wallet)
/api/metadata/uploadPOSTUpload token metadata (image + details)
/metadata/:uuid.jsonGETServe stored metadata JSON
/wsWebSocketReal-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​

FeatureDescription
💹 Trading APIOne POST returns an unsigned EVM transaction — buy and sell any ponsfamily.com token, no API key
🔐 Non-CustodialPumpDev only ever sees your public key
🧭 Route SolvingMulti-hop routes replayed from live trades, including pre-graduation curves with no pool address
💱 Every Quote AssetETH, USDG and tokenized equities — decimals read from the route
🛡️ Real Slippage FlooramountOutMin from the last executed trades; a trade with no floor is refused, not built
📡 Real-Time WebSocketLaunches, trades and graduations with pending / confirmed status
📈 Quote EndpointPrice a trade without building it, for a wallet that holds nothing yet
🔁 Drop-in for pump.fun botsmint and denominatedInSol accepted as aliases — same shapes, one key, both chains
💰 Creator Fee ClaimsOne transaction sweeps your bonding curves and claims the PONS escrow — fees that otherwise sit unclaimed

PONS API Endpoints​

EndpointMethodDescription
https://rhc.pumpdev.io/api/trade-localPOSTBuy and sell PONS tokens (client-side, no API key)
https://rhc.pumpdev.io/api/quoteGETQuote a trade without building it
https://rhc.pumpdev.io/api/claim-accountGETClaimable creator fees — escrow balance and fees still on your curves
https://rhc.pumpdev.io/api/claim-localPOSTClaim creator fees (client-side, no API key) — sweep + claim in one transaction
https://rhc.pumpdev.io/api/claim-lightningPOSTClaim creator fees from a Lightning wallet, server-signed
https://rhc.pumpdev.io/api/healthGETWarm the connection at startup
wss://rhc.pumpdev.io/wsWebSocketLaunches, trades and graduations on Robinhood Chain

Pump Fun API Documentation​

pump.fun on Solana​

PONS on Robinhood Chain​


Join the PumpDev Community​