Skip to main content
GET
/
api
/
trading
/
{exchange}
/
orders
/
{orderId}
/
status
Get Order Status
curl --request GET \
  --url https://api.tide.ag/api/trading/{exchange}/orders/{orderId}/status \
  --header 'X-API-KEY: <api-key>'
{
  "success": true,
  "data": {
    "orderId": "<string>",
    "symbol": "<string>",
    "side": "BUY",
    "type": "LIMIT",
    "status": "OPEN",
    "price": "<string>",
    "quantity": "<string>",
    "filledQuantity": "<string>",
    "timestamp": 123
  }
}
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

NameTypeRequiredDescription
exchangestringTarget venue (lighter, aster, hyperliquid, or avantis)
orderIdstringIdentifier of the order to inspect

Query Parameters

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

Example

curl -X GET "https://api.tide.ag/api/trading/lighter/orders/12345/status?symbol=BTC"

Response

The API returns a normalized order record including identifiers, execution side, order type, fill progress, and the latest venue timestamp.
{
  "success": true,
  "data": {
    "orderId": "12345",
    "symbol": "BTC",
    "side": "BUY",
    "type": "LIMIT",
    "status": "PARTIALLY_FILLED",
    "price": "49850.00",
    "quantity": "1.0",
    "filledQuantity": "0.6",
    "timestamp": 1730869356000
  }
}

Status Values

StatusDescription
OPENOrder is active and waiting to fill
PARTIALLY_FILLEDOrder has partial fills
FILLEDOrder fully executed
CANCELEDOrder was canceled before completion
REJECTEDExchange rejected the order
UNKNOWNThe adapter could not determine the current state

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

ParameterTypeRequiredDescription
walletIdstringYesWallet ID (UUID)

Headers

HeaderValueRequired
x-wallet-idWallet ID (UUID)Yes

Example Request

curl -X GET https://api.tide.ag/api/hyperliquid/a1e82339-29f8-41a6-a468-ce8d268a3261/orders/historical \
  -H "x-wallet-id: a1e82339-29f8-41a6-a468-ce8d268a3261"

Success Response

{
  "success": true,
  "data": [
    {
      "orderId": "255641266600",
      "symbol": "BTC",
      "side": "BUY",
      "type": "Limit",
      "price": "88287.0",
      "quantity": "0.0",
      "timestamp": 1764682699221
    },
    {
      "orderId": "255638423999",
      "symbol": "BTC",
      "side": "SELL",
      "type": "Limit",
      "price": "87131.0",
      "quantity": "0.00831",
      "timestamp": 1764682498119
    },
    {
      "orderId": "255608992308",
      "symbol": "HYPE",
      "side": "BUY",
      "type": "Limit",
      "price": "31.9",
      "quantity": "1.0",
      "timestamp": 1764680449095
    }
  ],
  "count": 46
}

Response Fields

FieldTypeDescription
successbooleanOperation status
dataarrayArray of historical orders
data[].orderIdstringUnique order identifier
data[].symbolstringAsset symbol (e.g., “BTC”, “HYPE”)
data[].sidestringOrder side (“BUY” or “SELL”)
data[].typestringOrder type (“Limit” or “Market”)
data[].pricestringOrder price
data[].quantitystringOrder quantity
data[].timestampnumberUnix timestamp in milliseconds
countnumberTotal number of historical orders

Avantis - Get Open Limit Orders

Retrieve all open limit orders for a wallet on Avantis.

Endpoint

GET /api/trading/avantis/orders

Headers

HeaderValueRequired
x-wallet-idWallet addressYes

Example Request

curl -X GET https://api.tide.ag/api/trading/avantis/orders \
  -H "x-wallet-id: 0xabc123..."

Success Response

{
  "success": true,
  "data": {
    "exchange": "avantis",
    "orders": [
      {
        "orderId": "avantis-0-3",
        "symbol": "ETH",
        "side": "Long",
        "type": "Limit",
        "status": "OPEN",
        "price": "3200.00",
        "quantity": "0.05",
        "filledQuantity": "0",
        "timestamp": 12345678,
        "exchange": "avantis"
      }
    ],
    "count": 1
  }
}

Response Fields

FieldTypeDescription
orderIdstringFormat: avantis-<pairIndex>-<index>
symbolstringAsset symbol (e.g., “ETH”, “BTC”)
sidestring"Long" or "Short"
typestringAlways "Limit" for open orders
statusstringAlways "OPEN"
pricestringLimit price in USD
quantitystringToken amount
filledQuantitystringAlways "0" for open orders
timestampnumberBlock number when the order was placed
exchangestringAlways "avantis"

Avantis - Trade History (Closed Trades)

Retrieve closed trade history for a wallet on Avantis.

Endpoint

GET /api/trading/avantis/history/trades

Headers

HeaderValueRequired
x-wallet-idWallet addressYes

Example Request

curl -X GET https://api.tide.ag/api/trading/avantis/history/trades \
  -H "x-wallet-id: 0xabc123..."

Success Response

{
  "success": true,
  "data": [
    {
      "id": "trade_001",
      "symbol": "ETH",
      "exchange": "avantis",
      "price": "3500.00",
      "size": "0.032416",
      "side": "Long",
      "timestamp": 1698840000000
    }
  ]
}

Response Fields

FieldTypeDescription
idstringUnique trade identifier
symbolstringAsset symbol
exchangestringAlways "avantis"
pricestringClose price in USD
sizestringToken amount
sidestring"Long" or "Short"
timestampnumberClosed-at timestamp in milliseconds

Avantis - Historical Orders (Limit Order History)

Retrieve historical limit orders for a wallet on Avantis.

Endpoint

GET /api/trading/avantis/history/orders

Headers

HeaderValueRequired
x-wallet-idWallet addressYes

Example Request

curl -X GET https://api.tide.ag/api/trading/avantis/history/orders \
  -H "x-wallet-id: 0xabc123..."

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