Skip to main content
GET
Get Order Status
Retrieve the latest status for any order placed through the aggregator. The service normalizes venue-specific payloads from Lighter, Aster, Hyperliquid, and Avantis so you can reconcile execution states with a single integration.

Request

  • Method: GET
  • Endpoint: /api/trading/{exchange}/orders/{orderId}/status
  • Authentication: Required

Path Parameters

Query Parameters

Example

Response

The API returns a normalized order record including identifiers, execution side, order type, fill progress, and the latest venue timestamp.

Status Values

Errors

  • 404{ "success": false, "error": "Order 12345 not found in any market" }
  • 401{ "success": false, "error": "Missing or invalid credentials for Aster" }
  • 500{ "success": false, "error": "Failed to fetch order status: timeout" }
Provide per-request credentials for the venues you want to query. Adapters read the payload, fetch live data, and immediately discard the supplied keys.

Hyperliquid - Get Historical Orders

Retrieve all previously placed orders for a wallet on Hyperliquid.

Endpoint

GET /api/hyperliquid/:walletId/orders/historical

Path Parameters

Headers

Example Request

Success Response

Response Fields


Avantis - Get Open Limit Orders

Retrieve all open limit orders for a wallet on Avantis.

Endpoint

GET /api/trading/avantis/orders

Headers

Example Request

Success Response

Response Fields


Avantis - Trade History (Closed Trades)

Retrieve closed trade history for a wallet on Avantis.

Endpoint

GET /api/trading/avantis/history/trades

Headers

Example Request

Success Response

Response Fields


Avantis - Historical Orders (Limit Order History)

Retrieve historical limit orders for a wallet on Avantis.

Endpoint

GET /api/trading/avantis/history/orders

Headers

Example Request

Success Response

Same shape as the open limit orders response above, but includes orders in all statuses (filled, cancelled, expired).

Authorizations

X-API-KEY
string
header
required

API key for authentication. Also requires X-API-SECRET, X-API-TIMESTAMP, and X-API-SIGNATURE headers for private endpoints.

Path Parameters

exchange
enum<string>
required

Target venue (lighter, aster, hyperliquid, or avantis)

Available options:
lighter,
aster,
hyperliquid,
avantis
orderId
string
required

Identifier of the order to inspect

Query Parameters

symbol
string

Optional trading pair hint (e.g. BTC) to speed up the lookup

Example:

"BTC"

Response

Order status payload

success
boolean
data
object