Get Trade History
API Description
Retrieves historical trade execution data for a specific trader address. This endpoint provides detailed information about all executed trades including fill prices, quantities, fees, and trade types. Supports pagination and time range filtering.
HTTP Request
GET /v4/public/mm/execution/listRequest Parameters
chainId
uint64
Yes
Chain ID (e.g., 143 for Monad mainnet)
address
string
Yes
Trader address (EVM address format)
symbol
string
No
Trading pair symbol (e.g., BTCUSDC)
startTime
int64
No
Start time in Unix timestamp (seconds). Default: 0
endTime
int64
No
End time in Unix timestamp (seconds). Default: current time
page
uint32
Yes
Page number (starts from 1)
size
uint32
Yes
Page size (max 200, default: 50)
Response Parameters
The response contains a data object with list (array of trades) and totalCount.
data
object
Response data object
-> list
array
Array of trade objects
-> totalCount
uint32
Total number of trades matching the query
-> list[].id
string
Trade ID
-> list[].instrumentAddress
string
Instrument contract address
-> list[].expiry
uint32
Expiry timestamp (4294967295 for perpetual)
-> list[].size
string
Trade size
-> list[].balance
string
Account balance after trade
-> list[].price
string
Execution price (in wei/smallest unit)
-> list[].tradeFee
string
Trade fee amount
-> list[].protocolFee
string
Protocol fee amount
-> list[].timestamp
uint64
Trade timestamp (Unix timestamp in seconds)
-> list[].txHash
string
Transaction hash of the trade
-> list[].type
string
Trade type ("Limit" or "Market")
-> list[].symbol
string
Trading pair symbol (e.g., BTC/USDC)
-> list[].baseToken
object
Base token information
-> list[].baseToken.address
string
Token contract address
-> list[].baseToken.symbol
string
Token symbol
-> list[].baseToken.decimals
number
Token decimals
-> list[].baseToken.image
string
Token image URL
-> list[].baseToken.price
number
Token price (USD)
-> list[].quoteToken
object
Quote token information
-> list[].quoteToken.address
string
Token contract address
-> list[].quoteToken.symbol
string
Token symbol
-> list[].quoteToken.decimals
number
Token decimals
-> list[].quoteToken.image
string
Token image URL
-> list[].quoteToken.price
number
Token price (USD)
-> list[].typeString
string
Trade type string ("Limit" or "Market")
-> list[].side
string
Trade side ("long" or "short")
-> list[].event
string
Trade event ("fill" or "trade")
Request Example
Python (requests)
Note: This endpoint requires API authentication. See Quick Start Guide for signature generation details.
Example with optional parameters:
Response Example
Success Response
Error Response
Notes
This endpoint requires API authentication (see Quick Start Guide)
Required parameters:
chainId,address,page,sizeOptional parameters:
symbol,startTime,endTimePagination: Uses
pageandsizeparameters (not cursor-based)Page size: Maximum 200 records per page (default: 50)
Time format:
startTimeandendTimeare Unix timestamps in seconds (not milliseconds)Default time range: If not specified,
startTimedefaults to 0 andendTimedefaults to current timeTrade types:
type: "Limit"= Limit order executiontype: "Market"= Market order execution
Trade side: "long" or "short" (string)
Trade event:
event: "fill"= Order fill (limit order filled)event: "trade"= Direct trade (market order or immediate execution)
Price format: All prices are returned as strings in wei/smallest unit format to preserve precision
Size and balance: Trade size and balance after trade
Fees:
tradeFee: Trading fee amountprotocolFee: Protocol fee amount (usually 0)
Timestamp: Unix timestamp in seconds (not milliseconds)
Token information: Includes base and quote token details with current prices
Symbol format: Returns as "BTC/USDC" format (with slash separator)
Expiry: 4294967295 indicates a perpetual contract
Response structure: Returns
dataobject withlistarray andtotalCountDifference from Order History: This endpoint returns executed trades only, while Order History includes both filled and cancelled orders
Rate limit: 120 requests per minute
Success response has
code: 0(not 200)
Last updated