get_order_history
Retrieve historical orders from the last 30 days, including filled and cancelled orders, with filters for symbol, status, category, and time range. Use pagination and order IDs to locate specific records.
Instructions
Get historical orders (filled, cancelled, etc.) from the last 30 days. Auth required.
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": "get_order_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results (default: 20, max: 50) | |
| cursor | No | Pagination cursor | |
| symbol | No | Trading pair symbol | |
| endTime | No | End timestamp in ms | |
| orderId | No | Order ID filter | |
| baseCoin | No | Base coin filter | |
| category | No | Product category | linear |
| startTime | No | Start timestamp in ms | |
| orderFilter | No | Order filter | |
| orderLinkId | No | User custom order ID filter | |
| orderStatus | No | Order status filter |