The Market Trades Pair endpoint lets you retrieve recent trade history for a specific trading pair or pool. You can query directly by pair address, or resolve the most active pair linked to a token. This is useful for building market activity views with normalized pricing and volume metrics across chains like Solana, Ethereum, BNB Chain, Base, and more.Documentation Index
Fetch the complete documentation index at: https://docs.mobula.io/llms.txt
Use this file to discover all available pages before exploring further.
What this endpoint does
With this API, you can:- Retrieve recent trade history for a specific trading pair or pool
- Resolve the most active pair linked to a token when querying by
assetmode - Return normalized pricing and volume metrics per trade record
- Support pagination and sorting, plus optional filtering by minimum amount and sender
What you’ll need
- Basic knowledge of REST APIs
- A pair or pool address
- A Mobula API key
Get a free API key: Here Optional:
- DexScreener (to find pair addresses to test)
When to use Market Trades Pair
Use this endpoint when you want to:- Display recent trades for a specific pair or pool
- Build a live feed of buys and sells for a market
- Filter trades by minimum USD size using
amount - Sort trades by date or amount and paginate results
- Investigate trades from a specific initiator address using
transactionSenderAddress
Walkthrough to Get Market Trades Pair
1. Prepare your query
The Market Trades Pair endpoint requires two parameters:| Parameter | Description |
|---|---|
blockchain | Blockchain name or ID (example: evm:1, evm:56, ethereum, bsc, base, solana) |
address | Specific pair or pool contract address to query trades for |
mode: Query mode. Common values includepairorasset(default ispair)asset: Asset name or token contract address to resolve the most active pair automatically (used withmode=asset)symbol: Token ticker symbol as an alternative toassetlimit: Maximum number of trade records to returnoffset: Pagination offset (default:0)amount: Minimum trade amount filtersortBy: Field to sort by (example:amount_usd,date)sortOrder: Sort orderascordesc(default:desc)transactionSenderAddress: Filter trades initiated by a specific transaction sender address
mode=asset, you can provide asset (or symbol) and the endpoint will resolve it to the most active pair automatically.
2. Find a pair address to test with DexScreener
To get a real pair address:- Open DexScreener
- Pick a token
- Open one of its pairs
- Copy the pair or pool contract address
address parameter.
3. Fill the API form
Once your pair address is ready:- Enter
blockchain - Paste the pair address into
address - (Optional) set
limit,offset,amount,sortBy,sortOrder, ortransactionSenderAddress - Click Send…
Reviewing the response
Each item indata[] represents a trade record and typically includes:
blockchain: Chain where the trade happenedhash: On-chain transaction hashpair: Pair or pool addressdate: Trade timestamptype/operation: Trade direction and operation type (buy, sell, swap, etc.)- Token prices: price fields for the quoted token and USD pricing when available
- Amounts: amounts in raw units, token units, and USD equivalent
- Sender fields: swap sender and transaction initiator address fields
platform: Platform or aggregator used (example: axiom, gmgn, padre, trojan, universalX) when available- Fee breakdown:
totalFeesUSD,gasFeesUSD,platformFeesUSD,mevFeesUSDwhen available
Try It Live with Mobula Market Trades Pair Demo (UI)
You can also test this endpoint using our demo UI: Demo UI Homepage Market Trades Pair Demo UI DocsSummary
The Market Trades Pair endpoint helps you:- Retrieve recent trade history for a specific pair or pool using
blockchainandaddress - Optionally resolve the most active pair linked to a token using
mode=asset - Filter, sort, and paginate trade records for market activity dashboards
- Visualize results instantly in the Market Trades Pair Demo UI
Try Mobula for Free
Try our free API today and start building in minutes.Get your free API key: Here