Retrieve the latest status for any order placed through the aggregator. Normalizes venue-specific payloads from Lighter, Aster, and Hyperliquid.
GET/api/trading/{exchange}/orders/{orderId}/status| Name | Type | Required | Description |
|---|---|---|---|
exchange | string | ✅ | Target venue (lighter, aster, or hyperliquid) |
orderId | string | ✅ | Identifier of the order to inspect |
| Name | Type | Required | Description |
|---|---|---|---|
symbol | string | ❌ | Optional trading pair hint (e.g. BTC) to speed up the lookup |
| Status | Description |
|---|---|
OPEN | Order is active and waiting to fill |
PARTIALLY_FILLED | Order has partial fills |
FILLED | Order fully executed |
CANCELED | Order was canceled before completion |
REJECTED | Exchange rejected the order |
UNKNOWN | The adapter could not determine the current state |
{ "success": false, "error": "Order 12345 not found in any market" }{ "success": false, "error": "Missing or invalid credentials for Aster" }{ "success": false, "error": "Failed to fetch order status: timeout" }GET /api/hyperliquid/:walletId/orders/historical
| Parameter | Type | Required | Description |
|---|---|---|---|
walletId | string | Yes | Wallet ID (UUID) |
| Header | Value | Required |
|---|---|---|
x-wallet-id | Wallet ID (UUID) | Yes |
| Field | Type | Description |
|---|---|---|
success | boolean | Operation status |
data | array | Array of historical orders |
data[].orderId | string | Unique order identifier |
data[].symbol | string | Asset symbol (e.g., “BTC”, “HYPE”) |
data[].side | string | Order side (“BUY” or “SELL”) |
data[].type | string | Order type (“Limit” or “Market”) |
data[].price | string | Order price |
data[].quantity | string | Order quantity |
data[].timestamp | number | Unix timestamp in milliseconds |
count | number | Total number of historical orders |
API key for authentication. Also requires X-API-SECRET, X-API-TIMESTAMP, and X-API-SIGNATURE headers for private endpoints.
Target venue (lighter, aster, or hyperliquid)
lighter, aster, hyperliquid Identifier of the order to inspect
Optional trading pair hint (e.g. BTC) to speed up the lookup
"BTC"