Get account orders
account_get_ordersRetrieve open, historical, or single spot and futures orders using request-level credentials to check order status and details.
Instructions
Get open, historical, or single order information using a request-level credential context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Endpoint-specific page number, encoded as a decimal string. | |
| limit | No | Maximum number of records requested, encoded as a decimal string. | |
| market | Yes | WEEX market family: spot or futures. | |
| status | Yes | Order query mode: open, history, or single. | |
| symbol | No | Instrument symbol in the WEEX catalog, for example BTCUSDT. | |
| end_time | No | Inclusive end timestamp in Unix milliseconds. | |
| order_id | No | WEEX order identifier. | |
| credential | Yes | Request-scoped WEEX credential. The default runtime path is plaintext; credential_ref and encrypted_envelope require a custom host resolver. | |
| start_time | No | Inclusive start timestamp in Unix milliseconds. | |
| trading_mode | Yes | Account or trading environment: live or demo. | |
| client_order_id | No | Stable caller-supplied order identifier; maps to WEEX newClientOrderId for new orders. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data. The shape follows the selected endpoint. | |
| risk | No | ||
| audit | No | Redacted request audit metadata, when applicable. | |
| error | No | ||
| summary | No | ||
| expires_at | No | ||
| preview_id | No | ||
| request_id | No | ||
| user_confirmation | No | ||
| clarification_prompt | No | ||
| clarification_required | No |