Trades
Returns trades for a specified liquidity pool, with optional filtering by side, trader, maker, block range, or timestamp range.
query Parameters
blockchain
string · enum · requiredThe blockchain network to query.
Enum values:ethereumbaseDefault: basepair
string · requiredThe contract address (Uniswap V2/V3) or creation transaction hash (Uniswap V4) of the liquidity pool to fetch trades for.
trader_address
stringFilter trades where this address sent or received the specified token, regardless of whether they initiated the swap transaction.
maker_address
stringFilter trades where this address initiated the swap transaction.
side
string · enumSpecifies trade side for the implied quote token address. Wrapped native tokens and stablecoins are implied to be the base token in the trade, making the other token the quote. Otherwise the token with the lowest fully-diluted value (FDV) is assumed to be the quote token.
Enum values:buysellallDefault: allmin_usd
number · doubleMinimum trade size in USD. Filters out trades with an estimated USD value below this threshold. Calculated using on-chain price data at the time of the trade. Note: Adds additional SLAM cost to the query. A maximum of 10,000 trades that would otherwise match this query will be scanned.
max_usd
number · doubleMaximum trade size in USD. Filters out trades with an estimated USD value above this threshold. Calculated using on-chain price data at the time of the trade. Note: Adds additional SLAM cost to the query. A maximum of 10,000 trades that would otherwise match this query will be scanned.
num
integer · int32The maximum number of records to return.
Default: 25order
stringSort order: asc (oldest first) or desc (newest first).
Default: descstart_timestamp
string · date-timeStart searching from this UTC timestamp (inclusive). If provided, overrides start_block as the starting point.
start_block
integer · int32Block number to start the search from (inclusive). Defaults to the latest block in desc order, or the genesis block in asc order.
start_log_index
integer · int32Log index within the starting block to resume pagination or refine the starting point.
estimate_cost
booleanWhen true returns the SLAM token cost for this query. It does not return any data or incur any actual charges.
Headers
Authorization
string · requiredBearer token for authentication
Responses
slam
number · doubleThe SLAM token cost for this API call.
chain
stringThe name of the blockchain network (e.g., base).
cursor
objecttrades
object[]List of token trade records matching the query.
slam
number · double
Trades (DNA)
This endpoint retrieves trade data for a specified liquidity pool enriched with WalletDNA metrics. Developers can filter trades by size, side, or wallet behavior (IQ, Reputation, Flow, Mass, Epoch, Maker Presence). Responses include detailed trade, token, and wallet profiles, enabling advanced segmentation, smart-money tracking, and high-signal on-chain analytics in real time.
query Parameters
blockchain
string · enum · requiredThe blockchain network to query.
Enum values:ethereumbaseDefault: basepair
string · requiredThe contract address (Uniswap V2/V3) or creation transaction hash (Uniswap V4) of the liquidity pool to fetch trades for.
trader_address
stringFilter trades where this address sent or received the specified token, regardless of whether they initiated the swap transaction.
maker_address
stringFilter trades where this address initiated the swap transaction.
side
string · enumSpecifies trade side for the implied quote token address. Wrapped native tokens and stablecoins are implied to be the base token in the trade, making the other token the quote. Otherwise the token with the lowest fully-diluted value (FDV) is assumed to be the quote token.
Enum values:buysellallDefault: alldna
stringPipe-delimited list of walletDNA metrics to return in the response. Use 'all' to display every metric. Default: all. Valid options include: tokens, intelligence, reputation, flow, mass, epoch, makerPresence, entry, all. Example: intelligence|flow|mass|tokens
Default: allmin_usd
number · doubleMinimum trade size in USD. Filters out trades with an estimated USD value below this threshold. Calculated using on-chain price data at the time of the trade. Note: Adds additional SLAM cost to the query. A maximum of 10,000 trades that would otherwise match this query will be scanned.
max_usd
number · doubleMaximum trade size in USD. Filters out trades with an estimated USD value above this threshold. Calculated using on-chain price data at the time of the trade. Note: Adds additional SLAM cost to the query. A maximum of 10,000 trades that would otherwise match this query will be scanned.
min_iq
number · doubleMinimum holder IQ (raw score). Filters out wallets with IQ scores below this threshold. Average IQ for all wallets trading a given token is 100.
max_iq
number · doubleMaximum holder IQ (raw score). Filters out wallets with IQ scores above this threshold. Average IQ for all wallets trading a given token is 100. Max: Although possible, it is uncommon for wallets to have IQ scores above 200
min_intelligence
string · enumMinimum holder Intelligence tier. Filters out wallets ranked below this tier.
Enum values:idiotdumbbelow avgavgavg++giftedgifted++geniusmax_intelligence
string · enumMaximum holder Intelligence tier. Filters out wallets ranked above this tier.
Enum values:idiotdumbbelow avgavgavg++giftedgifted++geniusmin_reputation
number · doubleMinimum raw holder Reputation. Filters out wallets with Reputation scores below this threshold.
max_reputation
number · doubleMaximum raw holder Reputation. Filters out wallets with Reputation scores above this threshold. Max: 100
min_reputation_tier
string · enumMinimum holder Reputation tier. Filters out wallets ranked below this tier.
Enum values:a+aa−b+bb−c+cmax_reputation_tier
string · enumMaximum holder Reputation tier. Filters out wallets ranked above this tier.
Enum values:a+aa−b+bb−c+cmin_mass
number · doubleMinimum raw holder Mass. Filters out wallets with Mass scores below this threshold.
max_mass
number · doubleMaximum raw holder Mass. Filters out wallets with Mass scores above this threshold. Max: Scores above 250 are rare but possible.
min_mass_tier
string · enumMinimum holder Mass tier. Filters out wallets ranked below this tier.
Enum values:ghostdustplanktonshrimpminnowfishdolphinorcamax_mass_tier
string · enumMaximum holder Mass tier. Filters out wallets ranked above this tier.
Enum values:ghostdustplanktonshrimpminnowfishdolphinorcamin_epoch
number · doubleMinimum raw holder Epoch. Filters out wallets with Epoch scores below this threshold.
max_epoch
number · doubleMaximum raw holder Epoch. Filters out wallets with Epoch scores above this threshold. Max: 200
min_epoch_tier
string · enumMinimum holder Epoch tier. Filters out wallets ranked below this tier.
Enum values:newbierookiecoreveteranearly adoptergenesisogultra ogmax_epoch_tier
string · enumMaximum holder Epoch tier. Filters out wallets ranked above this tier.
Enum values:newbierookiecoreveteranearly adoptergenesisogultra ogmin_maker_presence
number · doubleMinimum raw holder maker_presence. Filters out wallets with maker_presence scores below this threshold.
max_maker_presence
number · doubleMaximum raw holder maker_presence. Filters out wallets with maker_presence scores above this threshold. Max: Scores above 200 are rare but possible.
min_maker_presence_tier
string · enumMinimum holder maker_presence tier. Filters out wallets ranked below this tier.
Enum values:hyperactivehighly activeactiveengagedoccasionalminimalmicrozeromax_maker_presence_tier
string · enumMaximum holder maker_presence tier. Filters out wallets ranked above this tier.
Enum values:hyperactivehighly activeactiveengagedoccasionalminimalmicrozeromin_flow
number · doubleMinimum raw holder Flow. Filters out wallets with Flow scores below this threshold.
max_flow
number · doubleMaximum raw holder Flow. Filters out wallets with Flow scores above this threshold. Max: Scores above 250 are rare but possible.
min_flow_tier
string · enumMinimum holder Flow tier. Filters out wallets ranked below this tier.
Enum values:drydriptricklestreamcurrentfloodtorrenttsunamimax_flow_tier
string · enumMaximum holder Flow tier. Filters out wallets ranked above this tier.
Enum values:drydriptricklestreamcurrentfloodtorrenttsunamimin_buy_flow
number · doubleMinimum raw holder min_buy_flow. Filters out wallets with buy_flow scores below this threshold.
max_buy_flow
number · doubleMaximum raw holder buy_flow. Filters out wallets with buy_flow scores above this threshold. Max: Scores above 250 are rare but possible.
min_buy_flow_tier
string · enumMinimum holder buy_flow tier. Filters out wallets ranked below this tier.
Enum values:drydriptricklestreamcurrentfloodtorrenttsunamimax_buy_flow_tier
string · enumMaximum holder buy_flow tier. Filters out wallets ranked above this tier.
Enum values:drydriptricklestreamcurrentfloodtorrenttsunamimin_sell_flow
number · doubleMinimum raw holder sell_flow. Filters out wallets with sell_flow scores below this threshold.
max_sell_flow
number · doubleMaximum raw holder sell_flow. Filters out wallets with sell_flow scores above this threshold. Max: Scores above 250 are rare but possible.
min_sell_flow_tier
string · enumMinimum holder sell_flow tier. Filters out wallets ranked below this tier.
Enum values:drydriptricklestreamcurrentfloodtorrenttsunamimax_sell_flow_tier
string · enumMaximum holder sell_flow tier. Filters out wallets ranked above this tier.
Enum values:drydriptricklestreamcurrentfloodtorrenttsunaminum
integer · int32The maximum number of trade records to return. Maximum: 1000.
Default: 25order
string · enumSort order for results: asc (oldest first) or desc (newest first).
Enum values:ascdescDefault: descstart_timestamp
string · date-timeStart searching from this UTC timestamp (inclusive). If provided, overrides start_block as the starting point.
start_block
integer · int32Block number to start the search from (inclusive). Defaults to the latest block in desc order, or the genesis block in asc order.
start_log_index
integer · int32Log index within the starting block to resume pagination or refine the starting point.
estimate_cost
booleanWhen true returns the SLAM token cost for this query. It does not return any data or incur any actual charges.
Default: false
Headers
Authorization
string · requiredBearer token for authentication
Responses
slam
number · doubleThe SLAM token cost for this API call.
chain
stringThe name of the blockchain network (e.g., base).
cursor
objecttrades
object[]List of token trade records matching the query.
slam
number · double