Pump Fun API Features
Trading API
Buy and sell pump.fun tokens programmatically. Build trading bots with slippage control and priority fees.
Learn more →Real-Time WebSocket
Stream new token launches, trades, and wallet activity. Perfect for snipers and analytics dashboards.
Learn more →Token Creation
Create pump.fun tokens with custom metadata, socials, and optional dev buy. Full programmatic control.
Learn more →Jito Bundles
Atomic token launches with multiple buyers. Creator + up to 3 wallets buy in the same block.
Learn more →Fee Claiming
Automatically collect creator royalties from all your tokens. One transaction claims everything.
Learn more →Client-Side Signing
Full security and control. We build the transaction, you sign and send it. Your keys never leave your machine.
Learn more →What You Can Build
Trading Bots
Automated buy/sell with real-time data
Sniper Bots
Instant alerts + fast trade execution
Token Launchers
Create tokens with Jito bundles
Analytics
Real-time dashboards and whale tracking
Copy Trading
Mirror wallet trades automatically
Auto-Claim
Scheduled creator fee collection
Quick Start — Buy Tokens
Start trading pump.fun tokens in just a few lines of code
// Buy pump.fun tokens with the API
const response = await fetch('https://pumpdev.io/api/trade-local', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
publicKey: wallet.publicKey.toBase58(),
action: 'buy',
mint: 'TokenMintAddress',
amount: 0.1, // Buy with 0.1 SOL
denominatedInSol: 'true',
slippage: 15
})
});
// Sign locally (your keys stay safe)
const data = await response.arrayBuffer();
const tx = VersionedTransaction.deserialize(new Uint8Array(data));
tx.sign([wallet]);
// Send to Solana
const signature = await connection.sendTransaction(tx);
console.log('Buy executed:', signature);API Endpoints
POST /api/trade-localBuy and sell pump.fun tokens
WSS /wsReal-time trades and token launches
POST /api/createCreate token (with optional dev buy)
POST /api/create-bundleJito bundle — atomic multi-buyer launch
POST /api/claim-accountClaim creator fees from all tokens
POST /api/transferSOL transfers between wallets
Start Building with Pump Fun API
Join our community for support, announcements, and trading strategies