trade
Query trades
Query trades with flexible filtering by token or user address
get/v1/trades
Request
- Base URLhttps://lpad-backend.stage.defi.ovh.gala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
maxAmountnumber
minAmountnumber
endDatestring date-time
startDatestring date-time
txnType'BUY' | 'SELL'
userAddressstring
tokenNamestring
cursorstring
Example:eyJpZCI6MTIzLCJjcmVhdGVkQXQiOiIyMDI0LTAxLTAxVDAwOjAwOjAwWiJ9
Cursor from previous response for pagination. Omit for first page.
pageSizenumber
Example:20
Number of items per page (default: 50, max: 1000)
searchstring
Search query string
sortBystring
Field to sort by (must be in allowed list)
sortOrder'ASC' | 'DESC'
Sort order (default: DESC)
Response
Filtered cursor-paginated trade history.
Example response
{
"message": "Success",
"status": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.