Solana Projects › PumpPortal

PumpPortal

Low-latency trading and data API for Pump.fun and Raydium

Programs · 24h on-chain

On-chain activity

All programs →

PumpPortal API

An API service providing transaction building and real-time data streaming for Pump.fun and Raydium trading operations.

Visit
About

PumpPortal

PumpPortal is a developer-facing API platform that provides low-latency transaction building and real-time data streaming for [[PROJECT:224]] tokens and liquidity pools on [[PROJECT:287]] and several other Solana DEXs. Launched in 2024, it abstracts the complexity of direct on-chain integration so that developers can build trading bots, sniping tools, and data-driven applications with simple HTTPS and WebSocket calls rather than constructing raw Solana transactions from scratch.

What PumpPortal Does

The platform serves two distinct but complementary needs: executing trades programmatically and monitoring on-chain activity in real time.

On the trading side, PumpPortal accepts standard POST requests and either submits the resulting transaction to the blockchain on behalf of the caller, or returns a serialized unsigned transaction that the caller signs and broadcasts themselves. On the data side, a WebSocket feed streams token creation events, migrations, and trade activity across Pump.fun and PumpSwap with sub-100ms latency.

PumpPortal does not issue a native token. It generates revenue through a 0.5% fee applied to each trade routed through the service and through metered charges on paid WebSocket data subscriptions.

Trading APIs

Lightning Transaction API

The Lightning Transaction API is designed for speed and ease of integration. Developers send an HTTPS POST request to https://pumpportal.fun/api/trade with their API key and trade parameters; PumpPortal handles transaction construction and submission. Internally, trades are distributed across dedicated Solana nodes, upstream SWQoS providers, and both private and public Jito bundle relays to compete for inclusion with minimum latency.

To use the Lightning API, a developer generates an API key on the platform, which is paired with a freshly created Solana wallet. That wallet is funded with SOL to cover trades. The private key for the Lightning wallet is stored as an AES-256 encrypted value embedded in the API key and never rests on PumpPortal's servers in plaintext, though the developer is still advised to treat any funded wallet as a hot wallet.

The API accepts the following core parameters:

  • action: buy or sell
  • mint: the token contract address
  • amount: quantity in SOL or tokens; sell orders accept percentage notation such as "100%"
  • denominatedInSol: boolean indicating which unit the amount uses
  • slippage: acceptable slippage as a percentage
  • priorityFee: additional fee for faster inclusion
  • pool: one of pump, raydium, pump-amm, launchlab, raydium-cpmm, bonk, or auto (default: pump)
  • jitoOnly: route exclusively through Jito bundle relays (default: false)
  • skipPreflight: skip simulation before submission (default: true, reduces latency by roughly 50ms)

The trading endpoint is rate-limited to 25 requests per second. On average, all trade types execute in under one second.

Local Transaction API

The Local Transaction API targets developers who want more control over key management and RPC routing. A POST request to https://pumpportal.fun/api/trade-local with the same trade parameters (plus the caller's public key) causes PumpPortal to return a serialized transaction. The developer deserializes it, signs it with their own keypair, and submits it to whichever RPC endpoint they prefer. PumpPortal never receives or handles the private key in this flow.

This approach adds implementation complexity compared to the Lightning API but gives the developer complete custody of their signing credentials and freedom to choose their own transaction delivery path.

Both APIs support the same pool options: pump, raydium, pump-amm, launchlab, raydium-cpmm, bonk, and auto.

Real-Time Data API

PumpPortal's WebSocket endpoint at wss://pumpportal.fun/api/data streams live on-chain activity from Pump.fun and PumpSwap. Four subscription methods are available:

  • subscribeNewToken — fires on every new token creation event; free
  • subscribeMigration — fires when a token migrates from the bonding curve to an AMM pool; free
  • subscribeTokenTrade — streams all buy and sell events for specified token addresses; metered
  • subscribeAccountTrade — streams all trades made by specified wallet addresses; metered

Paid subscriptions are charged at 0.01 SOL per 10,000 websocket messages received, deducted from the linked wallet. A minimum balance of 0.02 SOL is required to maintain active paid subscriptions. The platform requires all subscriptions to share a single persistent connection — opening excessive connections triggers a temporary rate-limit ban that clears after one hour. The WebSocket supports up to 200 subscription messages per second and up to 5,000 addresses per message.

When accessed from servers in the Eastern United States, the WebSocket operates at "processed" commitment with typical latency under 100ms.

Additional Features

Beyond trading and data, PumpPortal exposes endpoints for token creation (launch new Pump.fun tokens programmatically), creator fee claims (collect accumulated protocol fees for tokens a developer launched), and wallet generation (create new Solana wallets for use with the Lightning API). These features make PumpPortal useful not only for trading bots but also for services that need to automate the full lifecycle of a meme token launch.

Limitations

There is no devnet or testnet environment; all API calls operate on Solana mainnet only. Historical token data and token livestream or chat data from Pump.fun are not accessible through the API. The platform has no native governance or utility token. Multi-user platform operators are advised to create separate wallets for each end user.

Developer Resources

PumpPortal provides structured documentation covering setup, both transaction APIs, the data API, fees, and an FAQ. Code examples are available in Python and JavaScript. The project maintains a public GitHub repository (github.com/thetateman/Trading-API) as a reference implementation, and communicates updates via X at @PumpPortal_DEV.

Ecosystem Context

PumpPortal occupies a specific niche in the Solana memecoin and DEX trading infrastructure layer. It does not compete with [[PROJECT:224]] or [[PROJECT:287]] directly; instead, it layers over them to give developers API-level access to their liquidity without requiring deep knowledge of Solana transaction construction or the mechanics of bonding curves. By expanding supported pools to include LaunchLab, Raydium CPMM, and Bonk alongside the original Pump.fun and Raydium integrations, the platform has broadened its reach as the Solana memecoin ecosystem has grown beyond a single launchpad.

Contents

Note: inclusion in Solana Compass directory does not indicate a recommendation or endorsement of this project, its token(s) or its products. Data sourced with thanks from The Grid to aid in building these pages.

Reviews

0.0
0 reviews
Please login to write a review.
Solana tokens

Solana Token Markets

Explore all tokens →