Trade History
list-tradesTrade History. Calls only GET /v4/trades and returns that response. Solana API endpoint for fetching trade history, volume, and metrics for any supported Solana AMM or DEX program, filtered by program.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list-trades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page selection, 0-indexed. | |
| limit | No | Limit of the number of trades to return per page. Default/max is 1000. | |
| timeEnd | No | End time of the data to return (unix timestamp) | |
| sortByAsc | No | Sort ascending by 'price' or 'blockTime'. Only one of `sortByAsc` or `sortByDesc` can be used | |
| timeStart | No | Start time of the data to return (unix timestamp) | |
| resolution | No | Enumeration of supported resolution deprecated values for time range or aggregation configuration. | |
| sortByDesc | No | Sort descending by 'price' or 'blockTime'. Only one of `sortByAsc` or `sortByDesc` can be used | |
| minValueUsd | No | Minimum USD value of the trade to filter by (direction-agnostic). | |
| mintAddress | No | Typed Solana public key identifier used across request parameters and response fields. | |
| marketAddress | No | Typed Solana public key identifier used across request parameters and response fields. | |
| minBaseAmount | No | Minimum base-side (input) token amount to filter trades by. | |
| minQuoteAmount | No | Minimum quote-side (output) token amount to filter trades by. | |
| programAddress | No | Typed Solana public key identifier used across request parameters and response fields. | |
| baseMintAddress | No | Typed Solana public key identifier used across request parameters and response fields. | |
| feePayerAddress | No | Typed Solana public key identifier used across request parameters and response fields. | |
| authorityAddress | No | Typed Solana public key identifier used across request parameters and response fields. | |
| quoteMintAddress | No | Typed Solana public key identifier used across request parameters and response fields. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| status | No |