PumpFun API Documentation
In this section we will see how to fetch PumpFun related data via Bitquery APIs and Streams.
To get started, signup with Bitquery and get your Access Token by following these steps.
If you need help getting data on PumpFun, reach out to support
What is PumpFun API?​
Bitquery PumpFun APIs help you fetch on-chain data for PumpFun that includes:
- Token Trades
- Trade Prices
- Token Creation
- Creator Holdings
- Token Holdings
- Bonding Curve Progress
- Migration to Pump swap
- Trades of a user
- Trade Metrics - Volume, Trades, Sellers & Buyers, etc.
- Token Liquidity
- Token Price Change
- Historical Data for Aggreagated Metrics
What are capabilities of Bitquery PumpFun API?​
Bitquery PumpFun APIs are based on GraphQL, and are very flexible. You can fetch trades, token creation, token holdings, bonding curve progress and migration information for a specific token or wallet for a given time period, and join with other information.
Solana RPC
- JSON-RPC endpoint exposing raw on-chain state & transactions
- No built-in history or analytics—any indexing/aggregation you build or outsource
- Ideal for submitting transactions
Bitquery Solana API
- GraphQL endpoint over pre-indexed, parsed Solana data (token transfers, DEX trades, NFTs, etc.)
- Historical data, joins, aggregations & real-time subscriptions
- Great for real-time data and historical backtesting without running your own indexer
Difference between Solana Geyser stream and Bitquery Kafka Stream?​
Solana Geyser stream
- Data & Protocol: Runs as a plugin in your own Solana validator, emitting raw on-chain events (account updates, slot status changes, processed transactions, block metadata) over binary or gRPC feeds.
- Infra & Maintenance: You must host, scale, and secure the node yourself, parse and index all raw data client-side, and deal with only basic filtering—latency and reliability depend entirely on your setup; no built-in historical querying.
Bitquery Kafka Stream
- Data & Protocol: Provides fully managed Kafka topics—
solana.dextrades.proto
,solana.tokens.proto
, andsolana.transactions.proto
—delivering pre-parsed, enriched Protocol-Buffers events (DEX trades, token transfers, supply/balance updates, instructions, blocks, etc.). - Infra & Maintenance: Enterprise-grade, auto-scaling Kafka streams with sub-second latency, schema-based filtering, instruction-level balance updates, built-in replication/failover—no node ops or custom parsing needed.
Read more here and contact sales via Telegram or form for a Trial.
Does Bitquery support PumpFun Websocket and Webhooks?​
Bitquery supports websocket and webhooks — you can convert most of the GraphQL APIs into GraphQL streams by changing the word query
to subscription
. You can monitor this data via a websocket. More and code samples available here