Skip to main content

In this section, we will see how to fetch PumpFun-related data via Bitquery APIs and Streams.

To get started, sign up with Bitquery and generate your access token by following these steps.

If you need help getting data on PumpFun, reach out to support.

What is the PumpFun API?

The Bitquery PumpFun API helps you fetch on-chain data for PumpFun, including:

  • Token Trades
  • Trade Prices
  • Token Creation
  • Creator Holdings
  • Token Holdings
  • Bonding Curve Progress
  • Migration to PumpSwap
  • Trades of a User
  • Trade Metrics — volume, trades, sellers and buyers, etc.
  • Token Liquidity
  • Token Price Change
  • Historical Data for Aggregated Metrics

What are the capabilities of the Bitquery PumpFun API?

The Bitquery PumpFun APIs are based on GraphQL and are highly flexible. You can fetch trades, token creation, token holdings, bonding curve progress, and migration information for a specific token or wallet over a given time period, and join the results with other on-chain data.

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

What is the difference between Solana Geyser and Bitquery Kafka streams?

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, and solana.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 WebSockets and Webhooks?

Yes — Bitquery supports both WebSockets and webhooks. You can convert most of the GraphQL APIs into GraphQL streams by changing query to subscription and monitor the data over a WebSocket. More information and code samples are available here.

PumpFun APIs

Videos

Video Tutorial | Get Live Prices, Metadata, OHLCV, Trading Pair Stats and Charts

Video Tutorial | How to Get the OHLC Data & Price of a Token on Pump Fun DEX in Realtime

Video Tutorial | How to Track PumpFun DEX Trades and Newly Launched Tokens in Realtime

Video Tutorial | How to get Token Holders and Trading Volume for a PumpFun Token

Video Tutorial | How to track the PumpFun Tokens which are about to Graduate to PumpSwap in Realtime