filterTokens, to populate “Discovery” pages where you can showcase tokens that fit specific criteria. From simple search queries to complex filtering and trending data, Codex has you covered across 80+ networks with data on over 40M+ tokens.
This data powers the token discovery features on Defined.fi.

Search by Name or Symbol
Start with basic token discovery using phrase search to find tokens by name, symbol, or contract address. ThefilterTokens endpoint supports improved symbol matching when using the phrase parameter with $ prefix (eg: $PEPE). Use the $ prefix for results with improved token symbol matches, or without the $ prefix to return partial token symbol matches. You can also use the token contract address to ensure an exact match.
We also recommend utilizing ranking attributes such as volume24 or trendingScore24, and filters such as liquidity to help ensure search results are relevant.
Example query with $ prefix and trendingScore24 results
Example query with $ prefix and trendingScore24 results
Example query with partial symbol match and volume24 results
Example query with partial symbol match and volume24 results
Discover Trending Tokens
Use ranking attributes and other token metrics to filter for tokens that could be showcased on a trending dashboard or alpha discovery page due to their trading activity over a specific timeframe.Example query with trendingScore24, avg wallet age >1 week, and other filters
Example query with trendingScore24, avg wallet age >1 week, and other filters
While there may be many hundreds of tokens that fit your specific query criteria, keep in mind that
filterTokens is limited to a maximum of 200 results per API call. This is why ranking attributes and specific filters are important to ensure you receive the token results that are most relevant for your query.Advanced Filtering
Analyze tokens based on a robust set of trading metrics such as price, volume, mcap, buy/sell count, launchpad protocols, networks, exchanges, wallet age, and more.Example query to find trending launchpad (Bonk) tokens that have migrated
Example query to find trending launchpad (Bonk) tokens that have migrated
filterTokens. Defined.fi is the best place to see what is possible with all of our filters:

trendingIgnored is adjusted regularly to ensure the best results are shown for trending tokens. Set to true if you want results to include stablecoins, wrapped base tokens, rugs/scams/low quality tokens etc.statsType filters MEV-related events from data to ensure you receive real user activity.- FILTERED: Removes MEV events. Shows “organic” volume.
- UNFILTERED: Includes everything, even MEV events
trendingIgnored: false and statsType: FILTERED for the cleanest data.Bundlers/Snipers/Insiders Data
New to filterTokens! You can now query for information on snipers, bundlers, and insiders on all newly launched tokens (since Nov 2025). This information is also included in our launchpad subscriptions.- Bundlers: Identified as 4 or more buys of the same token/pair in the same block. Additionally, each swap must be more than $5 with the total bundle being greater than 0.05% of the total supply. This data helps to detect coordinated buying activity from multiple wallets.
- Snipers: Wallets that buy a token within 4 seconds of the first swap. Token creators are excluded. This helps identify bots and fast traders attempting to buy immediately at launch.
- Insiders: Wallets that received tokens directly from the creator, or where the transaction maker/signer was the creator. May include other token transfers that occur outside of a DEX program. DEX program IDs are excluded to avoid false positives. This data helps to identify wallets with potential advance knowledge or access to the token, but is highly subjective.
Data Fields:
sniperCount, bundlerCount, insiderCount, devHeldPercentage, sniperHeldPercentage, bundlerHeldPercentage, insiderHeldPercentage.You can also filter by these data types with
gt lt gte lte.
Example query for this data using filterTokens
Example query for this data using filterTokens
Different platforms use varying definitions and methodologies for identifying this type of data, with some assigning labels that persist too broadly. For this reason, you can expect that there will be data discrepancies between our data and other platforms. Codex’s approach focuses on accuracy over catching every single edge case. We will continue to adjust our labelling thresholds as necessary to ensure the most accurate and reliable identification of this data.
With our robust set of filtering options, you can design queries for almost any use-case, or combine them as needed:
- Multi-Network discovery: Search across multiple networks simultaneously
- Time-based analysis: Filter by creation date, recent activity, or specific timestamps
- Exchange-Specific: Focus on tokens from specific exchanges or launchpad protocols
- Behavioral Filtering: Use wallet age and trading pattern metrics to assess token quality
- Risk Management: Combine scam detection with low liquidity, volume, and our new bundlers/snipers/insiders data filters