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.
Getting Started
How do I get started with the Codex API?
How do I get started with the Codex API?
Do you have an explorer for building and testing queries?
Do you have an explorer for building and testing queries?
How can I find practical examples of Codex queries currently in use?
How can I find practical examples of Codex queries currently in use?
What networks does Codex support?
What networks does Codex support?
getNetworks from our API using a free or paid API key at explorer.codex.io.Pricing & Billing
How are WebSocket requests billed?
How are WebSocket requests billed?
How are overages billed if I go over my plan's monthly request limit?
How are overages billed if I go over my plan's monthly request limit?
Data Coverage & Methodology
How do I check if a token is verified? Is there an `isVerified` field?
How do I check if a token is verified? Is there an `isVerified` field?
filterTokens, use isVerified: true in your filters input — this excludes tokens flagged as scams. To read verification status in the response, use the isScam field — isScam: false is Codex’s equivalent of a token being “verified.” Note: there is no isVerified response field, only a filter input on filterTokens. The isScam field is available on the token, tokens, filterTokens (via the nested token object), and pairMetadata (via enhancedToken0 / enhancedToken1) queries.How are token prices computed by Codex?
How are token prices computed by Codex?
getTokenPrices uses an aggregate value across all pairs based on liquidity and volume. We give each pair a weight and then use that to build a confidence score.How do I filter out noise and low-quality tokens from `filterTokens`?
How do I filter out noise and low-quality tokens from `filterTokens`?
How far back do your historical prices go on Solana?
How far back do your historical prices go on Solana?
How do I find which exchange a token is trading on?
How do I find which exchange a token is trading on?
filterTokens query and selecting the first result.Keep in mind that exchanges are added manually. While we strive to keep our listings up to date, we index over 20,000 exhanges, so not all may be included. If you need specific exchange metadata added, feel free to reach out to our team.
How does Codex handle dropped transactions and chart candle corrections?
How does Codex handle dropped transactions and chart candle corrections?
How do I get a token's all-time high (ATH) price?
How do I get a token's all-time high (ATH) price?
getBars for a token and finding the highest value, though it’s not a very efficient method.Is there aggregated chart data for launchpad tokens (creation → graduation → migration)?
Is there aggregated chart data for launchpad tokens (creation → graduation → migration)?
How and when is metadata for tokens obtained?
How and when is metadata for tokens obtained?
For established Web3 projects, additional verified metadata is enriched by The Grid. See Verified Metadata for details on the
asset, assetDeployments, and organization fields available on filterTokens, token, and tokens.How is market cap calculated when circulating supply is higher than total supply?
How is market cap calculated when circulating supply is higher than total supply?
How do I get historical token supply data?
How do I get historical token supply data?
Why are some launchpad tokens missing graduation/migration data?
Why are some launchpad tokens missing graduation/migration data?
migrated/completed, migratedAt/completedAt, migratedSlot, and graduationPercent will be absent.How do I keep market cap up-to-date in a chart when circulating supply changes?
How do I keep market cap up-to-date in a chart when circulating supply changes?
circulatingSupply through onPairMetadataUpdated (within enhancedToken) or just check on each page load. For the most part supplies don’t really change that often though.What does `statsType` (FILTERED vs UNFILTERED) do?
What does `statsType` (FILTERED vs UNFILTERED) do?
- FILTERED – MEV-related events are excluded from the data.
- UNFILTERED – Includes all events, including those related to MEV activity.
How do I get the creator/dev address for a token?
How do I get the creator/dev address for a token?
enhancedToken which is available for most queries.How do I paginate results past the 200-result limit?
How do I paginate results past the 200-result limit?
cursor parameter in order to retrieve additional events when necessary.What is the proper format for the "from" and "to" timestamps?
What is the proper format for the "from" and "to" timestamps?
How do I detect when a Uniswap V4 pool's quote token is actually ETH and not WETH?
How do I detect when a Uniswap V4 pool's quote token is actually ETH and not WETH?
protocolData field on a pair and check the isToken0NetworkToken flag on the UniswapV4Data type:filterPairs or filterTokens responses. For full field detail see UniswapV4Data.Can I filter out tokens with profanity in their name or metadata?
Can I filter out tokens with profanity in their name or metadata?
profanity: false in your filterTokens filters to exclude tokens with profanity in their name or metadata. This is especially useful for consumer-facing search experiences. For full filter options see filterTokens.Subscriptions
What's the limit of subscriptions per websocket connection?
What's the limit of subscriptions per websocket connection?
subscribe messages. A good starting point is up to ~100 tokens per connection. Spread tokens across connections so one connection doesn’t end up with all the high-volume names (SOL, top trending tokens, busy pairs) while the others sit idle. If you start dropping messages, lower the per-connection density and add more connections. Growth plans allow up to 300 connections. See our Subscriptions concept for more information.What's the latency for real-time data? For example, retrieveing user token balances after a swap?
What's the latency for real-time data? For example, retrieveing user token balances after a swap?
How do I keep my WebSocket subscription from disconnecting?
How do I keep my WebSocket subscription from disconnecting?