Skip to main content

PumpFun API

The Complete Pump.fun Developer SDK

The cheapest pumpfun api for trading bots, snipers, token launchers, and automated tools. REST API + WebSocket for buy/sell, token creation, Jito bundles, and real-time Solana data.

1 Call
Lightning Trade
0.25%
Trading Fee
FREE
Token Creation
FREE
WebSocket Data
4 Wallets
Jito Bundle

What the PumpFun API Offers

Lightning API

One HTTP call = done. No wallet setup, no signing, no RPC management needed.

Learn more →
💹

Trading API

Buy and sell pump.fun tokens programmatically. Supports slippage control, priority fees, and multiple RPC endpoints.

Learn more →
📊

Real-Time WebSocket

Stream new token launches, trades, and wallet activity. Perfect for snipers and analytics dashboards.

Learn more →
🚀

Token Creation

Launch pump.fun tokens with custom metadata, socials, and optional dev buy. Built-in IPFS upload.

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 with the PumpFun API

🤖

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

Get trading in minutes with the pumpfun api. One API call to buy or sell any pump.fun token.

Lightning API — Server-Side

// 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',
      mint: 'TokenMintAddress',
      amount: 0.1,
      denominatedInSol: 'true',
      slippage: 15,
      priorityFee: 0.0005
    })
  }
);

const { signature } = await res.json();
console.log('Done!', signature);

Trading API — Client-Side

// 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);

PumpFun API Endpoints

POST /api/trade-local

Buy and sell tokens (client-side signing)

WSS /ws

Real-time trades and token launches

POST /api/create

Create new pump.fun tokens

POST /api/create-bundle

Jito bundle — atomic multi-buyer launch

POST /api/claim-account

Claim creator fees

POST /api/transfer

Transfer SOL between wallets

Frequently Asked Questions

What is the PumpFun API?

The PumpFun API (pumpdev.io) is the leading pumpfun api for Solana developers. It provides a REST API and WebSocket SDK for interacting with pump.fun — buy and sell tokens, create new tokens with IPFS metadata, stream real-time trade data, and submit Jito bundles — all without managing wallets or RPC connections directly.

How do I buy pump.fun tokens programmatically with the pumpfun api?

Using the pumpfun api, send a POST request to /api/trade-local with your public key, token mint address, and SOL amount. The API returns a serialized transaction you sign locally and submit to Solana. For fully server-side trading with no wallet SDK required, use /api/trade-lightning — one call handles signing and broadcast.

How much does the PumpFun API cost?

The pumpfun api offers free WebSocket data streaming and token creation. Trades incur a 0.25% fee per transaction. There are no monthly subscription fees or API key charges to get started.

What is the Lightning API and how does it work?

The Lightning API (/api/trade-lightning) is a server-side trading endpoint. One HTTP call = done. You provide trade parameters and an API key — no Solana SDK or wallet setup needed on your end.

Does the pumpfun api support Jito bundles for token launches?

Yes. The pumpfun api's /api/create-bundle endpoint lets you launch a pump.fun token and include up to 4 buyer wallets in a single atomic Jito bundle, ensuring the dev buy and initial purchases land in the same block.

Is my private key safe when using the pumpfun api?

With the pumpfun api's client-side Trading endpoint, you sign transactions locally — your private keys never leave your machine. The Lightning API is designed for server-side bots where you control the runtime environment and key storage.

Start Building with the PumpFun API

The complete pumpfun api and developer SDK for pump.fun. Join our community for support and announcements.