Skip to content

bitquery/Pump-Fun-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Pump.fun API - Live Prices, OHLCV, ATH, MarketCap

Get Ultra low latency Pump.Fun Token Prices, OHLCV, ATH, MarketCap, Liquidity, traders and other information from PumpFun API,Streams and Data Dumps. Get data for New, Migrating, Graduated Pump.Fun Tokens through our Pump.Fun API. The below graphQL APIs and Streams are examples of data points you can get with Bitquery. If you have any question on other data points reach out to support

Need zero-latency Pumpfun data? Read about our Shred Streams and Contact us for a Trial.

You may also be interested in:

:::note To query or stream data via graphQL outside the Bitquery IDE, you need to generate an API access token.

Follow the steps here to create one: How to generate Bitquery API token ➤ :::


Table of Contents

1. Token Creation and Metadata

2. Token Pricing & Market Data

3. Trade Activity & Volume

4. Token Liquidity, Pools & Pairs

5. Token Holder & Trader Insights

6. Token Rankings & Filters

Token Creation & Metadata

Track Newly Created Pump.fun Tokens

Get metadata, supply, dev address of newly created tokens. Try New Pump.fun Tokens Query ➤

Click to expand GraphQL query
subscription {
  Solana {
    TokenSupplyUpdates(
      where: {
        Instruction: {
          Program: {
            Address: { is: "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P" }
            Method: { is: "create" }
          }
        }
      }
    ) {
      Block {
        Time
      }
      Transaction {
        Signer
      }
      TokenSupplyUpdate {
        Amount
        Currency {
          Symbol
          ProgramAddress
          PrimarySaleHappened
          Native
          Name
          MintAddress
          MetadataAddress
          Key
          IsMutable
          Fungible
          EditionNonce
          Decimals
          Wrapped
          VerifiedCollection
          Uri
          UpdateAuthority
          TokenStandard
        }
        PostBalance
      }
    }
  }
}

Get Creation Time & Dev Address of a Token

Try Pump.Fun Dev Address & Creation Time Query ➤

Click to expand GraphQL query
query MyQuery {
  Solana(network: solana) {
    Instructions(
      where: {
        Instruction: {
          Accounts: { includes: { Address: { is: "token mint address" } } }
          Program: { Name: { is: "pump" }, Method: { is: "create" } }
        }
      }
    ) {
      Block {
        Time
      }
      Transaction {
        Signer
        Signature
      }
      Instruction {
        Accounts {
          Address
        }
      }
    }
  }
}

Track New Token Launches in Realtime

Track Pump.fun token launches in realtime — Stream ➤

Click to expand GraphQL query
subscription {
  Solana {
    Instructions(
      where: {
        Instruction: {
          Program: { Method: { is: "create" }, Name: { is: "pump" } }
        }
      }
    ) {
      Instruction {
        Accounts {
          Address
          IsWritable
          Token {
            Mint
            Owner
            ProgramId
          }
        }
        Logs
        Program {
          AccountNames
          Address
          Arguments {
            Name
            Type
            Value {
              ... on Solana_ABI_Json_Value_Arg {
                json
              }
              ... on Solana_ABI_Float_Value_Arg {
                float
              }
              ... on Solana_ABI_Boolean_Value_Arg {
                bool
              }
              ... on Solana_ABI_Bytes_Value_Arg {
                hex
              }
              ... on Solana_ABI_BigInt_Value_Arg {
                bigInteger
              }
              ... on Solana_ABI_Address_Value_Arg {
                address
              }
              ... on Solana_ABI_String_Value_Arg {
                string
              }
              ... on Solana_ABI_Integer_Value_Arg {
                integer
              }
            }
          }
          Method
          Name
        }
      }
      Transaction {
        Signature
      }
    }
  }
}

All Tokens Created by a Specific Address

All Pump.fun tokens created by an address — Query ➤

Click to expand GraphQL query
query MyQuery {
  Solana {
    TokenSupplyUpdates(
      where: {
        Transaction: {
          Result: { Success: true }
          Signer: { is: "ADD CREATOR ADDRESS HERE" }
        }
        Instruction: {
          Program: {
            Address: { is: "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P" }
            Method: { is: "create" }
          }
        }
      }
    ) {
      Block {
        Time
      }
      TokenSupplyUpdate {
        Amount
        Currency {
          Uri
          UpdateAuthority
          Symbol
          Name
          MintAddress
          MetadataAddress
          Fungible
          Decimals
        }
        PostBalance
      }
      Transaction {
        Signature
        Signer
      }
    }
  }
}

Get Token Metadata, Dev Address, Creation Time For Specific Token

Now you can track the newly created Pump.fun Tokens along with their dev address, metadata and supply. PostBalance will give you the current supply for the token. Newly created Pump.fun tokens with dev, metadata — Stream ➤

Click to expand GraphQL query
subscription {
  Solana {
    TokenSupplyUpdates(
      where: {Instruction: {Program: {Address: {is: "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"}, Method: {is: "create"}}}}
    ) {
      Block{
        Time
      }
      Transaction{
        Signer
      }
      TokenSupplyUpdate {
        Amount
        Currency {
          Symbol
          ProgramAddress
          PrimarySaleHappened
          Native
          Name
          MintAddress
          MetadataAddress
          Key
          IsMutable
          Fungible
          EditionNonce
          Decimals
          Wrapped
          VerifiedCollection
          Uri
          UpdateAuthority
          TokenStandard
        }
        PostBalance
      }
    }
  }
}

Token Pricing & Market Data

Get Latest Price of a Token

We launched the Price Index in August 2025, allowing you to track price of any token trading onchain.

Here's an example of tracking PumpFun token prices.

PumpFun Token prices against SOL Stream Pump.fun token latest price against SOL — Query ➤

Click to expand GraphQL query
{
  Trading {
    Pairs(
      where: {
        Price: { IsQuotedInUsd: false }
        Market: {
          Network: { is: "Solana" }
          Program: { is: "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P" }
        }
        Token: {
          Address: { is: "5cd1amZcopDYP3jBHZMfDCH5epWCGfsJvEXFJkgepump" }
        }
        Interval: { Time: { Duration: { eq: 60 } } }
      }
      limit: { count: 1 }
      orderBy: { descending: Block_Time }
    ) {
      Market {
        Address
        Network
        Program
        Protocol
        ProtocolFamily
      }
      Price {
        Average {
          ExponentialMoving
          Mean
          SimpleMoving
          WeightedSimpleMoving
        }
        Ohlc {
          Close
          High
          Low
          Open
        }
      }
      Token {
        Address
        Name
        Symbol
      }
      QuoteToken {
        Address
        Name
        Symbol
      }
      Volume {
        Base
        Usd
      }
    }
  }
}

Track Price of a Token in Real-Time

Live stream of token price updates on Pump.fun

Track Pump.fun token price in real time — Stream ➤

Click to expand GraphQL query
subscription {
  Trading {
    Pairs(
      where: {
        Token: {
          Address: { is: "BUWg5Fhzvwn2xm4EYoaSFGNZXFRk8ThYe9h5R5GaXipE" }
        }
        Price: { IsQuotedInUsd: true }
        Market: {
          Network: { is: "Solana" }
          Program: { is: "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P" }
        }
      }
    ) {
      Market {
        Address
        Network
        Program
        Protocol
        ProtocolFamily
      }
      Price {
        Average {
          ExponentialMoving
          Mean
          SimpleMoving
          WeightedSimpleMoving
        }
        Ohlc {
          Close
          High
          Low
          Open
        }
      }
      Token {
        Address
        Name
        Symbol
      }
      QuoteToken {
        Address
        Name
        Symbol
      }
      Volume {
        Base
        Usd
      }
    }
  }
}

Top 10 Pump.fun tokens by Price change in last 5mins

Use the below query to get Top 10 Pump.fun tokens by Price change in last 5mins. Test the query here.

Click to expand GraphQL query
{
  Trading {
    Pairs(
      limit: {count: 10}
      limitBy:{count:1 by:Token_Address}
      orderBy:{descending:Price_Average_Mean}
      where: {Block: {Time: {since_relative: {minutes_ago: 5}}},
        Price: {IsQuotedInUsd: true}, Market: {Network: {is: "Solana"},
          Program: {is: "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"}}}
    ) {
      Market {
        Address
        Network
        Program
        Protocol
        ProtocolFamily
      }
      Price {
        Average {
          ExponentialMoving
          Mean
          SimpleMoving
          WeightedSimpleMoving
        }
        Ohlc {
          Close
          High
          Low
          Open
        }
      }
      Token {
        Address
        Name
        Symbol
      }
      QuoteToken {
        Address
        Name
        Symbol
      }
      Volume {
        Base
        Usd
      }
    }
  }
}

Get OHLC Data of a Token

Fetches open-high-low-close data in 1-minute intervals for last 10 minutes OHLC for a token on Pump.fun — Query ➤

:::note Trade Side Account field will not be available for aggregate queries in Archive and Combined Datasets :::

Click to expand GraphQL query
{
  Solana {
    DEXTradeByTokens(
      limit: { count: 10 }
      orderBy: { descendingByField: "Block_Timefield" }
      where: {
        Trade: {
          Currency: {
            MintAddress: { is: "66VR6bjEV5DPSDhYSQyPAxNsY3dgmH6Lwgi5cyf2pump" }
          }
          Dex: {
            ProgramAddress: {
              is: "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"
            }
          }
          PriceAsymmetry: { lt: 0.1 }
        }
      }
    ) {
      Block {
        Timefield: Time(interval: { in: minutes, count: 1 })
      }
      volume: sum(of: Trade_Amount)
      Trade {
        high: Price(maximum: Trade_Price)
        low: Price(minimum: Trade_Price)
        open: Price(minimum: Block_Slot)
        close: Price(maximum: Block_Slot)
      }
      count
    }
  }
}

Get ATH Market Cap of a Token

Returns all-time-high price in SOL (marketcap = price * 1B tokens) ATH market cap of a Pump.fun token — Query ➤

Click to expand GraphQL query
{
  Solana {
    DEXTradeByTokens(
      where: {
        Trade: { Currency: { MintAddress: { is: "token mint address" } } }
      }
      limit: { count: 1 }
      orderBy: { descending: Trade_Price }
    ) {
      Trade {
        PriceInSOL: Price
      }
    }
  }
}

ATH Market Cap in a Specific Timeframe

Same as above but within a given window ATH market cap in timeframe — Pump.fun Query ➤

Click to expand GraphQL query
{
  Solana {
    DEXTradeByTokens(
      where: {
        Trade: { Currency: { MintAddress: { is: "token mint address" } } }
        Block: { Time: { till: "2025-06-03T06:37:00Z" } }
      }
      limit: { count: 1 }
      orderBy: { descending: Trade_Price }
    ) {
      Trade {
        PriceInSOL: Price
      }
    }
  }
}

Token Price Change Over Time (Delta from X Minutes Back)

Useful for tracking % change by comparing first/last prices Pump.fun token price change over time — Query ➤

Click to expand GraphQL query
query PumpFunRecentTrades {
  Solana {
    DEXTradeByTokens(
      limit: { count: 100 }
      orderBy: { descendingByField: "Trade_lastPrice_maximum" }
      where: {
        Block: { Time: { since: "2024-08-07T06:50:00Z" } }
        Trade: {
          Currency: { Native: false }
          Dex: { ProtocolName: { is: "pump" } }
        }
        Transaction: { Result: { Success: true } }
      }
    ) {
      Trade {
        Market {
          MarketAddress
        }
        Currency {
          Symbol
          Name
          MintAddress
        }
        lastPrice: Price(maximum: Block_Slot)
        prePrice: Price(minimum: Block_Slot)
      }
    }
  }
}

Trade Activity & Volume

Get Real-Time Trades on Pump.fun

Streams live trades, including buy/sell sides, amounts, involved accounts, and methods Pump.fun real-time trades — Stream ➤

Click to expand GraphQL query
subscription MyQuery {
  Solana {
    DEXTrades(
      where: {
        Trade: { Dex: { ProtocolName: { is: "pump" } } }
        Transaction: { Result: { Success: true } }
      }
    ) {
      Instruction {
        Program {
          Method
        }
      }
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
        }
        Buy {
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
          Price
        }
        Sell {
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
          PriceInUSD
          Price
        }
      }
      Transaction {
        Signature
      }
    }
  }
}

Get Latest Trades for a Token

Retrieves recent trades with detailed price, amount, and sides Latest trades for a Pump.fun token — Query ➤

Click to expand GraphQL query
query pumpfunTokenLatestTrades($token: String) {
  Solana {
    DEXTradeByTokens(
      orderBy: { descending: Block_Time }
      limit: { count: 50 }
      where: {
        Trade: {
          Currency: { MintAddress: { is: $token } }
          Price: { gt: 0 }
          Dex: { ProtocolName: { is: "pump" } }
        }
        Transaction: { Result: { Success: true } }
      }
    ) {
      Block {
        allTime: Time
      }
      Trade {
        Account {
          Address
          Owner
        }
        Side {
          Type
        }
        Price
        Amount
        Side {
          AmountInUSD
          Amount
        }
      }
    }
  }
}
{
  "token": "FbhypAF9LL93bCZy9atRRfbdBMyJAwBarULfCK3roP93"
}

Get Token’s Trading Volume

Get volume traded for a token since a specific time Trading volume of a Pump.fun token — Query ➤

Click to expand GraphQL query
query MyQuery {
  Solana {
    DEXTradeByTokens(
      where: {
        Trade: {
          Currency: { MintAddress: { is: "token mint address" } }
          Dex: { ProtocolName: { is: "pump" } }
        }
        Block: { Time: { since: "2024-06-27T06:46:00Z" } }
      }
    ) {
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
        }
        Dex {
          ProtocolName
          ProtocolFamily
        }
      }
      TradeVolume: sum(of: Trade_Amount)
    }
  }
}

Get Detailed Trade Stats: Volume, Buys, Sells, Makers, Buyers, Sellers

Includes 5-minute and 1-hour metrics for deep token analytics Pump.fun token detailed trade stats — Query ➤

Click to expand GraphQL query
query MyQuery($token: String!, $pair_address: String!, $time_5min_ago: DateTime!, $time_1h_ago: DateTime!) {
  Solana(dataset: realtime) {
    DEXTradeByTokens(
      where: {
        Transaction: { Result: { Success: true } },
        Trade: {
          Currency: { MintAddress: { is: $token } },
          Market: { MarketAddress: { is: $pair_address } }
        },
        Block: { Time: { since: $time_1h_ago } }
      }
    ) {
      ...
    }
  }
}
{
  "token": "3se1Bd46JqPiobyxtnwKWaLVnQK8RaAKHVtuCq4rRiog",
  "pair_address": "7NhN7yzHkuttbA8JBqboRXTXmMi3DkJ61MN3SgEPg5VZ",
  "time_5min_ago": "2025-02-18T10:10:00Z",
  "time_1h_ago": "2025-02-18T09:15:00Z"
}

Get First 100 Buyers of a Token

Get wallet addresses of first 100 accounts who bought a token First 100 buyers of a Pump.fun token — Query ➤

Click to expand GraphQL query
query MyQuery {
  Solana {
    DEXTrades(
      where: {
        Trade: {
          Buy: {
            Currency: {
              MintAddress: {
                is: "2Z4FzKBcw48KBD2PaR4wtxo4sYGbS7QqTQCLoQnUpump"
              }
            }
          }
        }
      }
      limit: { count: 100 }
      orderBy: { ascending: Block_Time }
    ) {
      Trade {
        Buy {
          Amount
          Account {
            Token {
              Owner
            }
          }
        }
      }
    }
  }
}

Check If First 100 Buyers Still Holding

Pass the owner addresses from the above query to evaluate holdings Holdings of first 100 buyers — Pump.fun Query ➤

Click to expand GraphQL query
query MyQuery {
  Solana {
    BalanceUpdates(
      where: {
        BalanceUpdate: {
          Account: {
            Token: {
              Owner: {
                in: [
                  "ApRJBQEKfmcrViQkH94BkzRFUGWtA8uC71DXu6USdd3n"
                  "9nG4zw1jVJFpEtSLmbGQpTnpG2TiKfLXWkkTyyRvxTt6"
                ]
              }
            }
          }
          Currency: { MintAddress: { is: "token mint address" } }
        }
      }
    ) {
      BalanceUpdate {
        Account {
          Token {
            Owner
          }
        }
        balance: PostBalance(maximum: Block_Slot)
      }
    }
  }
}

Token Liquidity, Pools & Pairs

Get All Trading Pairs of a Token

Lists all markets where the token is traded, including pair addresses All trading pairs of a Pump.fun token — Query ➤

Click to expand GraphQL query
{
  Solana {
    DEXTradeByTokens(
      where: {
        Trade: { Currency: { MintAddress: { is: "token mint address" } } }
      }
    ) {
      count
      Trade {
        Market {
          MarketAddress
        }
        Dex {
          ProgramAddress
          ProtocolName
          ProtocolFamily
        }
        Currency {
          MintAddress
          Symbol
        }
      }
    }
  }
}

Get Liquidity of Pump.fun Tokens

Gets pool token balances for liquidity estimation across multiple known pool accounts Pump.fun pools and token balances — Query ➤

Click to expand GraphQL query
{
  Solana {
    BalanceUpdates(
      where: {
        Block: { Time: { since: "2024-06-25T07:00:00Z" } }
        BalanceUpdate: {
          Account: {
            Token: {
              Owner: {
                in: [
                  "BesTLFfCP9tAuUDWnqPdtDXZRu5xK6XD8TrABXGBECuf"
                  "62dvmMKAfnt8jSdT3ToZtxAasx7Ud1tJ6xWsjwwhfaEQ"
                  "73ZzSgNi27V9MdNQYyE39Vs9m1P9ZKgGPCHAJHin5gLd"
                  "DwPwU1PAjTXtYNYkeR6awYMDBdSEk12npKzJWKbDHMta"
                  "FJ4P2a2FqaWmqYpBw9eEfWD6cXV3F2qLPHvAA5jozscS"
                  "6crUHiCoxZsQuxdMAB18VATKrg7ToyTVxt7MbLYmtugu"
                ]
              }
            }
          }
          Currency: { Native: false }
        }
      }
    ) {
      BalanceUpdate {
        Account {
          Token {
            Owner
          }
          Address
        }
        Currency {
          MintAddress
          Native
        }
        PostBalance(maximum: Block_Slot)
      }
    }
  }
}

Get Market Cap, Price, Liquidity, Bonding Curve, and Volume

Returns detailed token metrics including bonding curve status Market cap, liquidity, bonding curve, volume — Pump.fun Query ➤

Click to expand GraphQL query
query MyQuery($time_1h_ago: DateTime, $token: String, $pairAddress: String) {
  Solana {
    volume: DEXTradeByTokens(
      where: {
        Trade: {
          Currency: { MintAddress: { is: $token } }
          Market: { MarketAddress: { is: $pairAddress } }
        }
        Block: { Time: { since: $time_1h_ago } }
        Transaction: { Result: { Success: true } }
      }
    ) {
      VolumeInUSD: sum(of: Trade_Side_AmountInUSD)
    }
    liquidity_and_BondingCurve: DEXPools(
      where: {
        Pool: { Market: { MarketAddress: { is: $pairAddress } } }
        Transaction: { Result: { Success: true } }
      }
      limit: { count: 1 }
      orderBy: { descending: Block_Time }
    ) {
      Pool {
        Market {
          BaseCurrency {
            Name
            Symbol
          }
          QuoteCurrency {
            Name
            Symbol
          }
        }
        Base {
          Balance: PostAmount
          PostAmountInUSD
        }
        Quote {
          PostAmount
          PostAmountInUSD
        }
      }
    }
    marketcap_and_supply: TokenSupplyUpdates(
      where: {
        TokenSupplyUpdate: { Currency: { MintAddress: { is: $token } } }
        Transaction: { Result: { Success: true } }
      }
      limitBy: { by: TokenSupplyUpdate_Currency_MintAddress, count: 1 }
      orderBy: { descending: Block_Time }
    ) {
      TokenSupplyUpdate {
        MarketCap: PostBalanceInUSD
        Supply: PostBalance
        Currency {
          Name
          MintAddress
          Symbol
        }
      }
    }
    Price: DEXTradeByTokens(
      limit: { count: 1 }
      orderBy: { descending: Block_Time }
      where: {
        Transaction: { Result: { Success: true } }
        Trade: {
          Currency: { MintAddress: { is: $token } }
          Market: { MarketAddress: { is: $pairAddress } }
        }
      }
    ) {
      Trade {
        Price
        PriceInUSD
      }
    }
  }
}
{
  "time_1h_ago": "2025-06-01T11:00:00Z",
  "token": "EskuW9PhydSiMTxnWbvYBLVvwWV9pKhG4yYM9SwFPump",
  "pairAddress": "BkivJgUrXRQtJyePt5MzJJe9Y2JXhUaFhpCJcgxkisD"
}

Get Last Pump.fun Trade Before Token Graduates to Raydium

Finds the final pool trade before a token transitions to Raydium Last Pump.fun trade before Raydium — Query ➤

Click to expand GraphQL query
{
  Solana {
    DEXPools(
      where: {
        Pool: {
          Dex: { ProtocolName: { is: "pump" } }
          Base: { PostAmount: { eq: "206900000" } }
        }
        Transaction: { Result: { Success: true } }
      }
      orderBy: { descending: Block_Time }
    ) {
      Transaction {
        Signer
        Signature
      }
      Instruction {
        Program {
          Method
        }
      }
      Pool {
        Base {
          ChangeAmount
          PostAmount
        }
        Quote {
          ChangeAmount
          ChangeAmountInUSD
          PostAmount
          PostAmountInUSD
          Price
          PriceInUSD
        }
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
        Market {
          BaseCurrency {
            Name
            Symbol
          }
          MarketAddress
          QuoteCurrency {
            Name
            Symbol
          }
        }
      }
    }
  }
}

Token Holder & Trader Insights

Get Dev’s Holdings of a Token

Returns the developer’s current token holdings Developer holdings of a Pump.fun token — Query ➤

Click to expand GraphQL query
query MyQuery($dev: String, $token: String) {
  Solana {
    BalanceUpdates(
      where: {
        BalanceUpdate: {
          Account: { Owner: { is: $dev } }
          Currency: { MintAddress: { is: $token } }
        }
      }
    ) {
      BalanceUpdate {
        balance: PostBalance(maximum: Block_Slot)
      }
    }
  }
}
{
  "dev": "8oTWME5BPpudMksqEKfn562pGobrtnEpNsG66hBBgx92",
  "token": "token mint address"
}

Get Top 10 Token Holders

Returns wallet addresses and holdings of top 10 token holders Top 10 holders of a Pump.fun token — Query ➤

Click to expand GraphQL query
query MyQuery {
  Solana(dataset: realtime) {
    BalanceUpdates(
      limit: { count: 10 }
      orderBy: { descendingByField: "BalanceUpdate_Holding_maximum" }
      where: {
        BalanceUpdate: {
          Currency: { MintAddress: { is: "token mint address" } }
        }
        Transaction: { Result: { Success: true } }
      }
    ) {
      BalanceUpdate {
        Currency {
          Name
          MintAddress
          Symbol
        }
        Account {
          Address
        }
        Holding: PostBalance(maximum: Block_Slot)
      }
    }
  }
}

Get Top Traders of a Token

Returns top 100 wallets ranked by USD trade volume Top traders of a Pump.fun token — Query ➤

Click to expand GraphQL query
query TopTraders($token: String) {
  Solana {
    DEXTradeByTokens(
      orderBy: { descendingByField: "volumeUsd" }
      limit: { count: 100 }
      where: {
        Trade: { Currency: { MintAddress: { is: $token } } }
        Transaction: { Result: { Success: true } }
      }
    ) {
      Trade {
        Account {
          Owner
        }
      }
      bought: sum(
        of: Trade_Amount
        if: { Trade: { Side: { Type: { is: buy } } } }
      )
      sold: sum(
        of: Trade_Amount
        if: { Trade: { Side: { Type: { is: sell } } } }
      )
      volume: sum(of: Trade_Amount)
      volumeUsd: sum(of: Trade_Side_AmountInUSD)
    }
  }
}
{
  "token": "FbhypAF9LL93bCZy9atRRfbdBMyJAwBarULfCK3roP93",
  "pool": "5Ezr4oK1vTV4m8f7g8P1Be1uwtzczhf21AztwNxWcmwM"
}

Get Top Token Creators

Find wallet addresses of top creators by number of tokens launched Top Pump.fun token creators — Query ➤

Click to expand GraphQL query
query MyQuery {
  Solana(network: solana) {
    Instructions(
      where: {
        Instruction: {
          Program: { Name: { is: "pump" }, Method: { is: "create" } }
        }
      }
      orderBy: { descendingByField: "tokens_count" }
    ) {
      tokens_count: count
      Transaction {
        Signer
      }
    }
  }
}

Token Rankings & Filters

Top Pump.fun Tokens by Market Cap

Returns top tokens by price (1B supply = price × 1B = market cap) Top Pump.fun tokens by market cap — Query ➤

Click to expand GraphQL query
{
  Solana {
    DEXTrades(
      limitBy: { by: Trade_Buy_Currency_MintAddress, count: 1 }
      limit: { count: 10 }
      orderBy: { descending: Trade_Buy_Price }
      where: {
        Trade: {
          Dex: { ProtocolName: { is: "pump" } }
          Buy: {
            Currency: {
              MintAddress: { notIn: ["11111111111111111111111111111111"] }
            }
          }
          PriceAsymmetry: { le: 0.1 }
          Sell: { AmountInUSD: { gt: "10" } }
        }
        Transaction: { Result: { Success: true } }
        Block: { Time: { since: "2025-02-21T05:05:00Z" } }
      }
    ) {
      Trade {
        Buy {
          Price(maximum: Block_Time)
          PriceInUSD(maximum: Block_Time)
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
      }
    }
  }
}

All Tokens Above 10K Market Cap

Returns tokens with price above 0.00001 (i.e., 10K+ market cap) Pump.fun tokens above 10K market cap — Query ➤

Click to expand GraphQL query
{
  Solana {
    DEXTrades(
      limitBy: { by: Trade_Buy_Currency_MintAddress, count: 1 }
      limit: { count: 10 }
      orderBy: { descending: Trade_Buy_Price }
      where: {
        Trade: {
          Dex: { ProtocolName: { is: "pump" } }
          Buy: {
            Currency: {
              MintAddress: { notIn: ["11111111111111111111111111111111"] }
            }
            PriceInUSD: { gt: 0.00001 }
          }
          Sell: { AmountInUSD: { gt: "10" } }
        }
        Transaction: { Result: { Success: true } }
        Block: { Time: { since: "2025-02-21T05:05:00Z" } }
      }
    ) {
      Trade {
        Buy {
          Price(maximum: Block_Time)
          PriceInUSD(maximum: Block_Time)
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
      }
    }
  }
}

Track “King of the Hill” Tokens (30K–35K Market Cap)

Live tokens within the specific market cap range highlighted by Pump.fun. Here checkout the official announcement by Pump.Fun team mentioning that a Pump.fun token reaches to King of the Hill if it crosses 30K USD Marketcap. Pump.fun “King of the Hill” tokens — Stream ➤

Click to expand GraphQL query
subscription {
  Solana {
    DEXTrades(
      where: {
        Trade: {
          Dex: { ProtocolName: { is: "pump" } }
          Buy: { PriceInUSD: { ge: 0.000030, le: 0.000035 } }
          Sell: { AmountInUSD: { gt: "10" } }
        }
        Transaction: { Result: { Success: true } }
      }
    ) {
      Trade {
        Buy {
          Price
          PriceInUSD
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
        Market {
          MarketAddress
        }
      }
    }
  }
}

Tokens Between 400K–450K Market Cap with Dev & Creation Time

Filters tokens in a specific cap range and adds metadata Pump.fun tokens between 400K–450K market cap — Query ➤

Click to expand GraphQL query
{
  Solana {
    DEXTrades(
      limitBy: { by: Trade_Buy_Currency_MintAddress, count: 1 }
      limit: { count: 10 }
      orderBy: { descending: Trade_Buy_Price }
      where: {
        Trade: {
          Dex: { ProtocolName: { is: "pump_amm" } }
          Buy: {
            Currency: {
              UpdateAuthority: {
                is: "TSLvdd1pWpHVjahSpsvCXUbgwsL3JAcvokwaKt1eokM"
              }
            }
            PriceInUSD: { gt: 0.0004, le: 0.00045 }
          }
          Sell: { AmountInUSD: { gt: "10" } }
        }
        Transaction: { Result: { Success: true } }
        Block: { Time: { since: "2025-04-15T08:20:00Z" } }
      }
    ) {
      Trade {
        Buy {
          Price(maximum: Block_Time)
          PriceInUSD(maximum: Block_Time)
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
        Market {
          MarketAddress
        }
      }
      joinTokenSupplyUpdates(
        TokenSupplyUpdate_Currency_MintAddress: Trade_Buy_Currency_MintAddress
        join: inner
        where: {
          Instruction: {
            Program: {
              Address: { is: "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P" }
              Method: { is: "create" }
            }
          }
        }
      ) {
        Block {
          Time
        }
        Transaction {
          Dev: Signer
          Signature
        }
      }
    }
  }
}

Video Tutorials

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published