In this section, you’ll find a comprehensive list of all the GraphQL queries, mutations, and types available in the Codex API.Documentation Index
Fetch the complete documentation index at: https://docs.codex.io/llms.txt
Use this file to discover all available pages before exploring further.
Popular Endpoints
To help you get started with Codex, here are the top 10 queries and subscriptions used by customers.Top 10 Queries
- filterTokens - Filter and search tokens based on a variety of criteria
- getBars - Get bar chart data (OHLCV) to track price changes over time
- getTokenEvents - Get transactions (buys, sells) for a pair
- pairMetadata - Get metadata and stats for a trading pair
- filterTokenWallets - Get wallets with stats for a specific token
- holders - Get wallets holding a token, ordered by balance
- getTokenEventsForMaker - Get token events for a specific wallet address
- top10HoldersPercent - Get the percentage of supply held by the top 10 holders
- listPairsWithMetadataForToken - Get all trading pairs for a token with metadata
- getTokenPrices - Get real-time or historical prices for a list of tokens
Top 10 Subscriptions
- onPairMetadataUpdated - Live stat updates for a token within a pair
- onLaunchpadTokenEventBatch - Live launchpad token events, batched for efficiency
- onBarsUpdated - Live bar chart data for price tracking
- onFilterTokensUpdated - The subscription version of our most popular query, filterTokens
- onHoldersUpdated - Live holder count and balance changes for a token
- onDetailedStatsUpdated - Live bucketed stats for a token within a pair
- onEventsCreated - Live transactions for a token
- onPricesUpdated - Live price updates for multiple tokens
- onUnconfirmedEventsCreated - Live unconfirmed transactions (Solana only)
- onTokenEventsCreated - Live events for a token across all its pools
GraphQL Explorer
Try out queries interactively in our GraphQL Explorer.