Skip to main content
To help you get started with Codex, here are the top 10 queries and subscriptions used by customers.

Top 10 Queries

  1. filterTokens - Filter and search tokens based on a variety of criteria
  2. getBars - Get bar chart data (OHLCV) to track price changes over time
  3. getTokenEvents - Get transactions (buys, sells) for a pair
  4. pairMetadata - Get metadata and stats for a trading pair
  5. filterTokenWallets - Get wallets with stats for a specific token
  6. holders - Get wallets holding a token, ordered by balance
  7. getTokenEventsForMaker - Get token events for a specific wallet address
  8. top10HoldersPercent - Get the percentage of supply held by the top 10 holders
  9. listPairsWithMetadataForToken - Get all trading pairs for a token with metadata
  10. getTokenPrices - Get real-time or historical prices for a list of tokens

Top 10 Subscriptions

  1. onPairMetadataUpdated - Live stat updates for a token within a pair
  2. onLaunchpadTokenEventBatch - Live launchpad token events, batched for efficiency
  3. onBarsUpdated - Live bar chart data for price tracking
  4. onPriceUpdated - Live price updates for a single token
  5. onHoldersUpdated - Live holder count and balance changes for a token
  6. onDetailedStatsUpdated - Live bucketed stats for a token within a pair
  7. onEventsCreated - Live transactions for a token
  8. onPricesUpdated - Live price updates for multiple tokens
  9. onUnconfirmedEventsCreated - Live unconfirmed transactions (Solana only)
  10. onTokenEventsCreated - Live events for a token across all its pools
Check out our Recipes for more in-depth walkthroughs of popular Codex use cases.

GraphQL Explorer

Try out queries interactively in our GraphQL Explorer.