Filter Wallets

Returns top wallets across all supported networks using a wide range of filters, labels and rankings

ℹ️

This endpoint is available on Codex Growth and Enterprise Plans

Endpoint: filterWallets

This endpoint enables cross-chain wallet discovery, aggregating and ranking wallets across multiple networks (or filter for a specific networkID). It supports a range of ranking attributes such as total volume, number of swaps, win rate, PnL metrics and more, making it ideal for building wallet leaderboards or identifying top-performing wallets.

To see an example of this endpoint in action, visit https://www.defined.fi/traders/discover

Method: POST

Arguments

NameTypeDescription
inputFilterWalletsInput!

Required

NameTypeDescription
excludeLabels[String]

Exclude wallets with these labels.

filtersWalletFilters

A set of filters to apply.

includeLabels[String]

Include wallets with these labels.

limitInt

The maximum number of wallets to return.

offsetInt

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.

rankings[WalletRanking]

A list of ranking attributes to apply.

wallets[String]

A list of wallet addresses to filter by.

Response

NameTypeDescription
countInt!The number of wallets returned.
offsetInt!Where in the list the server started when returning items.
results[WalletFilterResult!]!The list of wallets matching the filter parameters.

NameTypeDescription
addressString!The wallet address
averageProfitUsdPerTrade1dString!Average profit in USD per trade in the past day
averageProfitUsdPerTrade1wString!Average profit in USD per trade in the past week
averageProfitUsdPerTrade1yString!Average profit in USD per trade in the past year
averageProfitUsdPerTrade30dString!Average profit in USD per trade in the past 30 days
averageSwapAmountUsd1dString!Average swap amount in USD in the past day
averageSwapAmountUsd1wString!Average swap amount in USD in the past week
averageSwapAmountUsd1yString!Average swap amount in USD in the past year
averageSwapAmountUsd30dString!Average swap amount in USD in the past 30 days
botScoreIntThe bot score for the wallet.
firstTransactionAtIntThe unix timestamp for the first transaction from this wallet
labels[String!]!The labels associated with the wallet
lastTransactionAtInt!The unix timestamp for the last transaction from this wallet
nativeTokenBalanceStringThe native token balance of the wallet (only present if filtered by network)
networkIdIntThe network ID of the wallet (only present if filtered by network)
realizedProfitPercentage1dFloat!Realized profit percentage in the past day
realizedProfitPercentage1wFloat!Realized profit percentage in the past week
realizedProfitPercentage1yFloat!Realized profit percentage in the past year
realizedProfitPercentage30dFloat!Realized profit percentage in the past 30 days
realizedProfitUsd1dString!Realized profit in USD in the past day
realizedProfitUsd1wString!Realized profit in USD in the past week
realizedProfitUsd1yString!Realized profit in USD in the past year
realizedProfitUsd30dString!Realized profit in USD in the past 30 days
scammerScoreIntThe scammer score for the wallet.
swaps1dInt!Number of swaps in the past day
swaps1wInt!Number of swaps in the past week
swaps1yInt!Number of swaps in the past year
swaps30dInt!Number of swaps in the past 30 days
swapsAll1dInt!Total number of swaps in the past day including all tokens
swapsAll1wInt!Total number of swaps in the past week including all tokens
swapsAll1yInt!Total number of swaps in the past year including all tokens
swapsAll30dInt!Total number of swaps in the past 30 days including all tokens
uniqueTokens1dInt!Number of unique tokens traded in the past day
uniqueTokens1wInt!Number of unique tokens traded in the past week
uniqueTokens1yInt!Number of unique tokens traded in the past year
uniqueTokens30dInt!Number of unique tokens traded in the past 30 days
volumeUsd1dString!Volume in USD in the past day
volumeUsd1wString!Volume in USD in the past week
volumeUsd1yString!Volume in USD in the past year
volumeUsd30dString!Volume in USD in the past 30 days
volumeUsdAll1dString!Total volume in USD in the past day including all tokens
volumeUsdAll1wString!Total volume in USD in the past week including all tokens
volumeUsdAll1yString!Total volume in USD in the past year including all tokens
volumeUsdAll30dString!Total volume in USD in the past 30 days including all tokens
winRate1dFloat!Win rate in the past day
winRate1wFloat!Win rate in the past week
winRate1yFloat!Win rate in the past year
winRate30dFloat!Win rate in the past 30 days

Explore

Currently available wallet labels:
SNIPER
SMART_TRADER_TOKENS_UNDER_TWO_DAYS_OLD
SMART_TRADER_TOKENS_OVER_TWO_DAYS_OLD
INTERESTING
MEGA_WEALTHY
MEDIUM_WEALTHY
WEALTHY

Note: Most wallets have not yet been checked in order to be assigned a scammerScore value. Scammer score (or risk score) is assigned on a scale of 0-100, with 0 being most legitimate, and 100 being most likely a scammer. Similarly, botScore will assign a value based on the likelihood of the wallet being a bot.

πŸ‘‹

Join our Discord

Ask questions, share what you're working on and request new features πŸ‘¬πŸ‘­