get
https://api.liquiditytech.com/api/v1/trading/order
Description
Retrieves the detailed information and current status of a specific order. This includes execution details, order parameters, fee information, and algorithmic order settings (Take-Profit/Stop-Loss).
Request
| Field | Type | Mandatory | Description |
|---|---|---|---|
| orderId | String | N | Unique identifier of the order assigned by the system. |
| clientOrderId | String | N | Customer-defined order ID , consists of letters(a-z) and numbers (0-9). |
Note: At least one of the following parameters (orderId or clientOrderId) must be provided to identify the order.
Rate Limit
1200 requests per 60 seconds
Permission
RapidX API key with read-only permission is sufficient. No trading / write permission is required.
Response
| Field | Type | Description |
|---|---|---|
| portfolioId | String | Unique identifier for the portfolio. |
| portfolioName | String | Name of the portfolio (if applicable). |
| orderId | String | Unique identifier for the order. |
| clientOrderId | String | User-defined order ID. |
| orderState | String | Please see ENUM Definitions for supported values. |
| sym | String | Internal unique identifier for the trading pair. |
| side | String | Order side: BUY or SELL. |
| exchangeOrderType | String | Order type defined by the exchange (e.g., LIMIT, MARKET). |
| exchangeType | String | The exchange name (e.g., BINANCE, OKX). |
| businessType | String | Type of market (e.g., SPOT, MARGIN, PERP). |
| orderQty | String | Order quantity. Note: Units are in contracts for OKX and in coins (base currency) for Binance. |
| quoteOrderQty | String | Total quantity in quote currency (if applicable). |
| limitPrice | String | Order limit price. |
| timeInForce | String | Time in force policy (e.g., GTC, IOC, FOK). |
| executedQty | String | Total quantity executed. |
| executedAmount | String | Total value executed. |
| executedAvgPrice | String | Average price of executed fills. |
| reason | String | Reason for rejection or failure. |
| action | String | AMEND_PENDINGAMEND_COMPLETEDAMEND_FAILEDCANCEL_PENDINGCANCEL_COMPLETECANCEL_FAILED |
| actionMsg | String | Message associated with action. |
| cancelType | String | Source of cancellation:USEREXPIREREDUCE_ONLYLIQUIDATINGSYSTEMSYM_DELIST |
| amendType | String | Type of order amendment (if applicable):USER, REDUCE_ONLY |
| createAt | String | Order creation timestamp (millisecond). |
| updateAt | String | Last update timestamp (millisecond). |
| fee | String | Total transaction fees paid. |
| feeCoin | String | Currency used for fee payment. |
| orderType | String | Please see ENUM Definitions for supported values. |
| reduceOnly | Boolean | Whether the order is reduce-only: True or False |
| leverage | Integer | Leverage used for the order. |
| lastExecutedQty | String | Quantity of the most recent execution. |
| lastExecutedPrice | String | Price of the most recent execution. |
| lastExecutedAmount | String | Value of the most recent execution. |
| borrowAmount | String | Amount borrowed for margin/leverage. |
| borrowAsset | String | Asset borrowed for the order. |
| positionSide | String | Position side (e.g., LONG, SHORT, NONE). |
| algoOrderId | String | ID of the parent algorithmic order (if applicable). |
| rebate | String | Total rebate amount earned. |
| rebateCoin | String | Currency used for the rebate. |
| tpTriggerPrice | String | Trigger price for Take-Profit. |
| tpTriggerType | String | Take-profit trigger price type:LAST_PRICE (Default), MARK_PRICE |
| tpPrice | String | Execution price for Take-Profit. If the price is 0, take-profit will be executed at the market price. |
| slTriggerPrice | String | Trigger price for Stop-Loss. |
| slTriggerType | String | Stop-loss trigger price type:LAST_PRICE (Default), MARK_PRICE |
| slPrice | String | Execution price for Stop-Loss. If the price is 0, stop-loss will be executed at the market price. |
