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.
This endpoint requires a Growth or Enterprise plan. Learn more.
Returns
See WalletFilterConnection
Show Properties
Show Properties
The list of wallets matching the filter parameters.
See WalletFilterResult
Show Properties
Show Properties
The wallet address
The unix timestamp for the first transaction from this wallet
The unix timestamp for the last transaction from this wallet
The labels associated with the wallet
Manual or proposal-derived identity vocabulary (e.g. WHALE, KOL). Distinct from behavioral
labels.Volume in USD in the past day
Total volume in USD in the past day including all tokens
Realized profit in USD in the past day
Average profit in USD per trade in the past day
Average swap amount in USD in the past day
Realized profit percentage in the past day
Average hold period, in seconds, for positions sold during the past day. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells.
Number of swaps in the past day
Total number of swaps in the past day including all tokens
Number of unique tokens traded in the past day
Win rate in the past day
Volume in USD in the past week
Total volume in USD in the past week including all tokens
Realized profit in USD in the past week
Average profit in USD per trade in the past week
Average swap amount in USD in the past week
Realized profit percentage in the past week
Average hold period, in seconds, for positions sold during the past week. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells.
Number of swaps in the past week
Total number of swaps in the past week including all tokens
Number of unique tokens traded in the past week
Win rate in the past week
Volume in USD in the past 30 days
Total volume in USD in the past 30 days including all tokens
Realized profit in USD in the past 30 days
Average profit in USD per trade in the past 30 days
Average swap amount in USD in the past 30 days
Realized profit percentage in the past 30 days
Average hold period, in seconds, for positions sold during the past 30 days. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells.
Number of swaps in the past 30 days
Total number of swaps in the past 30 days including all tokens
Number of unique tokens traded in the past 30 days
Win rate in the past 30 days
Volume in USD in the past year
Total volume in USD in the past year including all tokens
Realized profit in USD in the past year
Average profit in USD per trade in the past year
Average swap amount in USD in the past year
Realized profit percentage in the past year
Average hold period, in seconds, for positions sold during the past year. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells.
Number of swaps in the past year
Total number of swaps in the past year including all tokens
Number of unique tokens traded in the past year
Win rate in the past year
The scammer score for the wallet.
The bot score for the wallet.
The network ID of the wallet (only present if filtered by network)
The native token balance of the wallet (only present if filtered by network)
The backfill state of the wallet.
See WalletAggregateBackfillState
Show Properties
Show Properties
Historical stats calculations for this wallet have been successfully processed
Historical stats calculations for this wallet are being processed
Historical stats calculations were started, then canceled for this wallet. It may have been flagged as a bot
Historical stats calculations have been blocked for this wallet. It may have been flagged as a bot
Historical stats calculations for this wallet are queued and will be processed soon
Historical stats calculations for this wallet have not been started, nor attempted
The wallet identity and profile data
See Wallet
Show Properties
Show Properties
Identity labels describing what this wallet is (e.g. CEX, DEX, bridge, team)
Resolved profile avatar URL (best available source)
A human-readable display name for the wallet
Twitter/X numeric ID
Twitter/X username
Telegram numeric ID
Telegram username
Website URL
Discord numeric ID
Discord username
GitHub numeric ID
GitHub username
Farcaster numeric ID
Farcaster username
A community-contributed description of the wallet
Ethos credibility score (0-2800, higher = more trustworthy)
Ethos credibility tier (1-10)
Ethos Network verification status
Source of identity data (e.g. ethos, manual, polymarket-backfill)
When identity data was last updated (unix timestamp)
Raw Polymarket profile data when this wallet is a Polymarket proxy. Polymarket takes priority over contributed/ethos for resolved displayName, twitterUsername, and avatarUrl.
See WalletPolymarketProfile
Show Properties
Show Properties
On-chain proxy wallet address used by Polymarket to represent the user.
Self-claimed X (Twitter) username on Polymarket, if set by the user.
Display name set by the user on Polymarket.
Auto-generated pseudonym assigned by Polymarket (e.g. Incompatible-Standoff).
Profile image URL set by the user on Polymarket.
Whether the user has a verified badge on Polymarket.
Whether the user has opted to display their username publicly.
Unix timestamp of when this Polymarket profile was last fetched.
The number of wallets returned.
Where in the list the server started when returning items.
Arguments
See FilterWalletsInput
Show Properties
Show Properties
A set of filters to apply.
See WalletFilters
Show Properties
Show Properties
The unix timestamp for the last transaction from this wallet.
See NumberFilter
The unix timestamp for the first transaction from this wallet.
See NumberFilter
Volume in USD in the past day
See NumberFilter
Total volume in USD in the past day including all tokens
See NumberFilter
Realized profit in USD in the past day
See NumberFilter
Average profit in USD per trade in the past day
See NumberFilter
Average swap amount in USD in the past day
See NumberFilter
Realized profit percentage in the past day
See NumberFilter
Average hold period, in seconds, for positions sold during the past day. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells.
See NumberFilter
Number of swaps in the past day
See NumberFilter
Total number of swaps in the past day including all tokens
See NumberFilter
Number of unique tokens traded in the past day
See NumberFilter
Win rate in the past day
See NumberFilter
Volume in USD in the past week
See NumberFilter
Total volume in USD in the past week including all tokens
See NumberFilter
Realized profit in USD in the past week
See NumberFilter
Average profit in USD per trade in the past week
See NumberFilter
Average swap amount in USD in the past week
See NumberFilter
Realized profit percentage in the past week
See NumberFilter
Average hold period, in seconds, for positions sold during the past week. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells.
See NumberFilter
Number of swaps in the past week
See NumberFilter
Total number of swaps in the past week including all tokens
See NumberFilter
Number of unique tokens traded in the past week
See NumberFilter
Win rate in the past week
See NumberFilter
Volume in USD in the past 30 days
See NumberFilter
Total volume in USD in the past 30 days including all tokens
See NumberFilter
Realized profit in USD in the past 30 days
See NumberFilter
Average profit in USD per trade in the past 30 days
See NumberFilter
Average swap amount in USD in the past 30 days
See NumberFilter
Realized profit percentage in the past 30 days
See NumberFilter
Average hold period, in seconds, for positions sold during the past 30 days. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells.
See NumberFilter
Number of swaps in the past 30 days
See NumberFilter
Total number of swaps in the past 30 days including all tokens
See NumberFilter
Number of unique tokens traded in the past 30 days
See NumberFilter
Win rate in the past 30 days
See NumberFilter
Volume in USD in the past year
See NumberFilter
Total volume in USD in the past year including all tokens
See NumberFilter
Realized profit in USD in the past year
See NumberFilter
Average profit in USD per trade in the past year
See NumberFilter
Average swap amount in USD in the past year
See NumberFilter
Realized profit percentage in the past year
See NumberFilter
Average hold period, in seconds, for positions sold during the past year. Calculated from cost-basis turnover using sold cost basis. Returns null when there are no sells.
See NumberFilter
Number of swaps in the past year
See NumberFilter
Total number of swaps in the past year including all tokens
See NumberFilter
Number of unique tokens traded in the past year
See NumberFilter
Win rate in the past year
See NumberFilter
The scammer score for the wallet.
See NumberFilter
The bot score for the wallet.
See NumberFilter
Ethos credibility score (0-2800)
See NumberFilter
The network ID to filter by.
The native token balance of the wallet. Can only be used in conjunction with
networkId filter.
See NumberFilterFilter by whether the wallet has a Twitter/X account
Filter by whether the wallet has a Discord account
Filter by whether the wallet has a Telegram account
Filter by whether the wallet has a Farcaster account
Filter by whether the wallet has a GitHub account
Filter by whether the wallet has a display name set
Filter by whether the wallet has any linked social account
A list of wallet addresses to filter by.
A phrase to search for. Matches wallet address, display name, or social usernames (Twitter, Discord, Telegram, Farcaster, GitHub).
Exclude wallets with these labels. See
WalletLabel for possible values.Include wallets with these labels. See
WalletLabel for possible values.A list of ranking attributes to apply.
See WalletRanking
Show Properties
Show Properties
The attribute to rank wallets by.
See WalletRankingAttribute
Show Properties
Show Properties
The direction to apply to the ranking attribute.
See RankingDirection
The maximum number of wallets to return.
Where in the list the server should start when returning items. Use
count+offset from the previous query to request the next page of results.Example
Test this query in the Explorer →{
filterWallets(
input: {
filters: {
networkId: 1399811149
realizedProfitUsd1w: { gte: 10000 }
winRate1w: { gte: 30 }
swaps1w: { gte: 100 }
}
rankings: [{ attribute: realizedProfitUsd1w, direction: DESC }]
limit: 10
}
) {
results {
address
labels
lastTransactionAt
firstTransactionAt
volumeUsd1w
realizedProfitUsd1w
realizedProfitPercentage1w
winRate1w
swaps1w
uniqueTokens1w
}
count
offset
}
}
Usage Guidelines
- Use
filtersto narrow results by metrics likerealizedProfitUsd,winRate,volumeUsd,swaps, etc. — available for multiple time periods:1d,1w,30d,1y - Filters use
NumberFilterwithgte,gt,lte,ltoperators for range queries - Use
rankingsto sort results by any metric — specifyattributeanddirection(ASCorDESC) - Filter by
networkIdto scope results to a specific chain (e.g., 1399811149 for Solana) - Use
includeLabelsorexcludeLabelsto filter by wallet classifications likeSMART_TRADER_TOKENS_OVER_TWO_DAYS_OLD,WEALTHY,SNIPER - Use
limitandoffsetfor pagination — the response includescountto help with page navigation - Pass a list of
walletsto filter results to specific wallet addresses
Troubleshooting Tips
When should I use filterWallets vs filterTokenWallets?
When should I use filterWallets vs filterTokenWallets?
Use
filterWallets when you want to discover wallets based on their overall trading performance across all tokens — great for finding top traders on a network. Use filterTokenWallets when you want to find wallets that have traded a specific token and see their stats for that token only.What time periods are available for metrics?
What time periods are available for metrics?
All metrics are available across four time periods:
1d (24 hours), 1w (7 days), 30d (30 days), and 1y (1 year). Append the period to the metric name, e.g., realizedProfitUsd1w, winRate30d, volumeUsd1y.What do the wallet labels mean?
What do the wallet labels mean?
Labels classify wallet behavior:
SMART_TRADER_TOKENS_OVER_TWO_DAYS_OLD indicates 7.5K+profitonestablishedtokens,‘SNIPER‘indicates3K+ profit on tokens launched within 1 hour, WEALTHY/MEGA_WEALTHY indicate high asset holdings (1M+/10M+). Use excludeLabels to filter out bots or known patterns.How does winRate work?
How does winRate work?
winRate is a percentage (0–100) representing the portion of profitable trades. A winRate1w of 52 means 52% of trades in the last week were profitable. Use filters like winRate1w: { gte: 50 } to find wallets with above-average win rates.What's the difference between volumeUsd and volumeUsdAll?
What's the difference between volumeUsd and volumeUsdAll?
volumeUsd only counts volume from tokens where we have a reliable USD price. volumeUsdAll includes volume from all tokens, even those without reliable pricing. Use volumeUsd for more conservative figures.Related Recipes
- Wallets: Analyze wallet performance, discover top traders, and build portfolio views