v1
latestOpenAPI 3.0.02026-07-2471143147.5 KBGet TP/SL orders
Query Take Profit and Stop Loss orders with optional filters for market, status, stop type, and time range.
Query parameters
Account address to query (hex format, required)
Account address to query (hex format)
Market ID to filter (optional, 0 = all markets)
Market ID to filter. Use 0 or omit to query all markets.
Start timestamp in nanoseconds (optional, inclusive)
Start timestamp in nanoseconds (inclusive)
End timestamp in nanoseconds (optional, exclusive)
End timestamp in nanoseconds (exclusive)
Page number (1-based, default: 1)
Page number (1-based, default: 1)
Max number of items to return (default: 100, max: 1000)
Max items per page (default: 100, max: 1000)
Filter by order statuses (optional, empty = all statuses)
Filter by statuses. Empty = all statuses.
- TPSL_ORDER_STATUS_ACCEPTED: Order accepted, waiting for trigger
- TPSL_ORDER_STATUS_TRIGGERED: Trigger condition met, executing
- TPSL_ORDER_STATUS_SUCCESS: Order executed successfully
- TPSL_ORDER_STATUS_CANCELLED: Order cancelled by user or system
Filter by stop type (optional)
Filter by stop type: TAKE_PROFIT or STOP_LOSS
Response
A successful response.