What this endpoint does
With this API, you can:- Fetch swap trades for a single wallet or multiple wallets combined
- Filter trades by a specific time window using
fromandto - Paginate results using
pageoroffset - Control result size with
limit - Sort trades using
order=ascororder=desc - Get enriched trade context including:
- pool and token addresses
- buy/sell side
- USD notional (best effort)
- trade ratio and execution pricing (best effort)
- enriched base token data (market and liquidity stats)
- wallet labels and platform identifier when available
What you’ll need
- Basic knowledge of REST APIs
- A wallet address (or multiple wallet addresses)
- A Mobula API key
Get a free API key: Here Optional:
- DexScreener (to find active wallets that are actively trading)
When to use Get Wallet Trades
Use this endpoint when you want to:- Build a wallet’s swap trade history (buy and sell activity)
- Analyze trade frequency, trade sizes, and token rotation
- Power trading analytics dashboards (volume, count, average sizing)
- Support copy trading and trader profiling workflows
- Pull wallet swap trades in a specific time range for research or alerts
If you need wallet token balances and PnL, use wallet/positions.
Walkthrough — Get Wallet Trades for a Wallet
1. Prepare your query
You can provide either single or multiple wallets to analyse one or more wallets.| Parameter | Description |
|---|---|
wallet | Single wallet address to query trades for |
wallets | Comma-separated list of wallet addresses to query trades for |
from: start timestamp (Unix ms or ISO 8601)to: end timestamp (Unix ms or ISO 8601)limit: number of results per pagepage: page number for paginationoffset: offset for paginationorder:ascordesc(default isdesc)
from and to when you want trades for a specific period instead of the wallet’s full history.
2. Find a wallet address to test
To retrieve real wallet data:- Open DexScreener
- Search for any token
- Open the Top Traders section
- Select an active wallet
- Open it in a block explorer
- Copy the wallet address
wallet parameter.
3. Set your time range (optional)
If you want to restrict results:- Fill
fromandtowith Unix ms timestamps or ISO 8601 dates
- “last 24 hours” trade history
- weekly performance checks
- event-based analysis
4. Fill the API form
Once the wallet field is filled (and optional time range / pagination is set), click Send to retrieve the wallet’s swap trades data.Reviewing the wallet trades response
Each item indata[] represents a single swap trade involving the queried wallet.
Key fields you will typically use:
- Trade identity:
transaction_hash,date,chain_id,pool_address - Pair details:
token0_address,token1_address,base,quote - Direction:
sideisbuyorsellrelative to thebasetoken - Sizing:
amount_base,amount_quote(returned as absolute positive values) - USD value:
amount_usd(best effort, can be 0 for illiquid tokens) - Execution context:
ratio,price_usd_token0,price_usd_token1(best effort) - Enrichment:
base_tokenincludes token stats (price, liquidity, volume, market cap, and more) - Context:
labels(if available),platform(if available)
side to interpret direction.
Try It Live with Mobula Wallet Trades Demo (UI)
You can also test this endpoint using our demo UI: Demo UI Homepage Wallet Trades Demo UI DocsSummary
The Get Wallet Trades endpoint helps you build swap-focused trading history and analytics with:- Single wallet or multi-wallet support
- Time range filtering (
from,to) - Pagination controls (
page,offset,limit) - Buy/sell direction via
side - Enriched token context via
base_token - Optional wallet labels and platform tags
Try Mobula for Free
Try our free API today and start building in minutes.Get your free API key: Here