交易
查询订单
单个订单此刻的状态:已成交多少、成交均价多少、花费多少。
curl --request GET \
--url "https://reirex.com/api/v1/orders/01JA8K3Q7W2N5X4Y6Z8B0C1D2E" \
--header "GX-API-KEY: $GX_API_KEY" \
--header "GX-API-TIMESTAMP: $TIMESTAMP" \
--header "GX-API-SIGN: $SIGNATURE"200 OKapplication/json
{
"orderId": "01JA8K3Q7W2N5X4Y6Z8B0C1D2E",
"clientOrderId": "my-order-0001",
"pair": "BTC-EUR",
"side": "buy",
"type": "limit",
"price": "70000.00",
"amount": "0.05000000",
"filled": "0.02000000",
"averagePrice": "70000.00",
"status": "partially_filled",
"timeInForce": "gtc",
"fee": "1.40",
"feeCurrency": "EUR",
"createdAt": "2026-10-14T16:14:15.412Z",
"updatedAt": "2026-10-14T16:14:15.412Z"
}路径参数
orderIdstring必填订单 id,来自下单响应或订单列表。
响应
orderIdstring我们为订单分配的 id。
clientOrderIdstring | null你为订单设置的 id(如有)。
pairstring订单交易的交易对。
sidestringbuy或sell。typestringlimit或market。pricestring | null限价;市价单为
null。amountstring下单数量。
filledstring目前已成交的数量。
averagePricestring | null已成交部分的均价;首次成交前为
null。statusstringopen、partially_filled、filled、cancelled或rejected。timeInForcestringgtc、ioc或fok。feestring目前已支付的手续费。
feeCurrencystring支付手续费所用的货币。
createdAtstring下单时间。
updatedAtstring最近一次变化的时间。

