All examples below use
network: sol (Solana). Replace with eth, bsc, or polygon for other supported chains.How do I get the latest DEX trades?
Fetch the 10 most recent DEX trades on Solana, including block info, transaction hash, buy/sell details, and the DEX protocol.Key fields
Key fields
| Field | Description |
|---|---|
Block.Time | Block timestamp (ISO 8601) |
Block.Slot | Solana slot number (Solana-specific) |
Transaction.Hash | On-chain transaction hash — use this to look up the tx on an explorer |
Trade.Buy.Currency.MintAddress | Token address of the bought asset |
Trade.Buy.PriceInUSD | USD price of the bought token at trade time |
Trade.Buy.Account.Owner | Buyer wallet address |
Trade.Dex.ProtocolName | DEX name (e.g. Raydium, Orca, Jupiter) |
Pool.Address | Liquidity pool address where the trade executed |
Customization tips
Customization tips
- Switch chain: Replace
network: solwithnetwork: eth,network: bsc, ornetwork: polygon - Increase results: Change
count: 10to up to10000 - Add time filter: Add
where: {Block: {Time: {after: "2025-03-01T00:00:00Z"}}}to scope to a time range - Filter by DEX: Add
where: {Trade: {Dex: {ProtocolName: {is: "Raydium"}}}}to limit to a specific protocol
How do I get trades for a specific token?
Get trades for a specific token by passing its address via thetokenAddress selector.
Key fields
Key fields
| Field | Description |
|---|---|
Trade.Buy.Amount | Quantity of tokens bought |
Trade.Buy.PriceInUSD | Price per token at trade time |
Trade.Buy.Account.Owner | Wallet that executed the buy |
Trade.Sell.Currency.MintAddress | Token address of the sold asset (the other side of the pair) |
Trade.Dex.ProtocolName | DEX protocol name |
Customization tips
Customization tips
- Filter by minimum amount: Add
where: {Trade: {Buy: {Amount: {gt: 1000}}}}to only see large trades - Filter by price range: Add
where: {Trade: {Buy: {PriceInUSD: {gte: 0.001, lte: 1.0}}}}to scope to a price band - Exclude suspect trades: The
IsSuspect = falsefilter is applied by default — bot/MEV trades are already excluded
How do I get all trades by a wallet?
Get all trades by a specific wallet address.The
walletAddress selector matches trades where the given wallet is either the buyer or the seller.Key fields
Key fields
| Field | Description |
|---|---|
Trade.Buy.Currency.MintAddress | Token bought |
Trade.Sell.Currency.MintAddress | Token sold |
Transaction.FeeInNative | Gas fee in native token (SOL on Solana) |
Customization tips
Customization tips
- Filter to a single token: Combine with
tokenAddress: {is: "TOKEN_ADDRESS"}to see only trades for a specific token by this wallet - Add time window: Add
where: {Block: {Time: {after: "2025-03-01T00:00:00Z"}}}to limit to recent trades - Increase limit: Set
count: 100to retrieve more history (max 10,000)
How do I get a token’s current price?
Get the latest price for a token from its most recent non-suspect trade.Key fields
Key fields
| Field | Description |
|---|---|
Trade.Buy.PriceInUSD | USD price from the most recent trade |
Trade.Buy.PriceInNative | Price denominated in the chain’s native token (SOL, ETH, BNB) |
Block.Time | Timestamp of the trade — indicates how recent the price is |
Customization tips
Customization tips
- Multiple prices: Increase
countto get a series of recent prices for averaging - Cross-chain: Use
network: ethto get the same token’s price on Ethereum (if it exists on that chain)
How do I find the top traders for a token?
Find the top traders for a token using aggregation. This query groups trades by buyer wallet and returns the total buy count and volume.Key fields
Key fields
| Field | Description |
|---|---|
Trade.Buy.Account.Owner | Wallet address (grouping key) |
count | Number of trades by this wallet |
sum(of: Trade_Buy_Amount) | Total tokens bought by this wallet |
Customization tips
Customization tips
- Sort by volume: The results are grouped by the dimension fields — select fewer dimensions for higher-level aggregation
- Time-scoped leaderboard: Add
where: {Block: {Time: {after: "2025-03-01T00:00:00Z"}}}to limit to a specific period - Exclude small trades: Add
Trade: {Buy: {Amount: {gt: 100}}}to thewhereclause
When you include metric fields (
count, sum) alongside dimension fields, the API automatically groups results by the selected dimensions. See Metrics & Aggregation for full details.Multi-Chain Examples
The same queries work across all supported chains — just change thenetwork parameter.
- Solana
- Ethereum
- BSC
Next Steps
Transfers
Query on-chain token transfer data.
Balances & Holders
Look up wallet balances, balance history, and top holders.
Pools & Liquidity
Explore DEX pools and liquidity data.
OHLC & Statistics
Fetch candlestick data, trade stats, market cap, and token metadata.

