What this endpoint does
With this API, you can:- Retrieve trades for a specific token or pool with pagination
- Query trades using two modes:
- pair: query trades for a specific pool or pair address
- asset: query trades across top pools for a token asset
- Filter results by swap types, wallet labels, sender addresses, date range, and USD amount
- Return detailed trade fields, including the market address, token amounts, prices, and fees
What you’ll need
Note: All Mobula endpoints require an API key.Get a free API key: Here Optional:
- DexScreener (to find token addresses and active traders)
When to use Token Trades
Use Token Trades when you want to:- Track recent buys and sells for a token or a specific pool
- Filter trades by swap type like regular, deposit, or withdrawal
- Investigate activity from specific wallets using sender address filters
- Monitor large trades using minimum and maximum USD amount filters
- Paginate through trade history for analytics or dashboards
Walkthrough to Get Token Trades
1. Prepare your query
| Parameter | Description |
|---|---|
blockchain | Blockchain identifier (example: base, ethereum, bsc) |
address | Token or pool address depending on mode |
mode: pair (default) to query a specific pool, or asset to query trades across top pools for a tokenlimit: Number of results per page (default: 10, max: 1000)offset: Offset for pagination (default: 0)sortOrder: asc or desc (default: desc)swapTypes: Filter by swap types (example: REGULAR, DEPOSIT, WITHDRAWAL)transactionSenderAddresses: Filter by transaction sender addresses (max: 25)label: Filter by wallet label (example: PRO_TRADER, SMART_TRADER, FRESH_TRADER, DEV)minAmountUSD: Minimum trade amount in USDmaxAmountUSD: Maximum trade amount in USDfromDate: Start date filter (ISO 8601 or Unix timestamp)toDate: End date filter (ISO 8601 or Unix timestamp)
2. Find a wallet address to test
To retrieve real token trade activity:- Open DexScreener
- Pick a token
- Click Top Traders
- Select an active wallet
- Open it in the blockchain explorer
- Copy the wallet address
3. Fill the API form
Once your blockchain and token or pool address are ready:- Enter the blockchain value (example: solana, ethereum, base)
- Paste the token or pool address into the
addressfield - (Optional) set swapTypes, labels, or USD size filters
- Click Send to retrieve the token trades
Reviewing the response
Each item in data[] represents a single trade:id: Unique swap identifier for the tradeoperation: Swap operation type such as regular, deposit, or withdrawaltype: Trade direction like buy or sellbaseTokenAmount/quoteTokenAmount: Token amounts traded in formatted unitsbaseTokenAmountUSD/quoteTokenAmountUSD: USD value for each side of the tradedate: Trade timestamp in millisecondstransactionHash: On-chain transaction hashmarketAddress: Pool or market address where the trade occurredswapSenderAddress: Address that executed the swaptransactionSenderAddress: Transaction originator address (tx.from)swapRecipient: Wallet that receives the output tokensbaseTokenPriceUSD/quoteTokenPriceUSD: Token prices at execution timelabels: Wallet labels attached to the swap participanttotalFeesUSD: Total fees paid in USD, including gas, platform, and MEV fees
Try It Live with Mobula Token Trades Demo (UI)
Demo UI Homepage Token Trades Demo UI DocsSummary
The Token Trades endpoint helps you:- Retrieve recent token or pool trades with pagination
- Filter trades by swap type, wallet labels, sender addresses, date range, and USD amount
- Use swapRecipient when available for accurate wallet attribution
- Visualize trades instantly in the demo UI
Try Mobula for Free
Try our free API today and start building in minutes.Get your free API key: Here