交易
订单列表
你的未完成订单,或已成交和已撤销的订单,从新到旧。
curl --request GET \
--url "https://reirex.com/api/v1/orders?pair=BTC-EUR" \
--header "GX-API-KEY: $GX_API_KEY" \
--header "GX-API-TIMESTAMP: $TIMESTAMP" \
--header "GX-API-SIGN: $SIGNATURE"200 OKapplication/json
{
"orders": [
{
"orderId": "01JA8K3Q7W2N5X4Y6Z8B0C1D2E",
"clientOrderId": "my-order-0001",
"pair": "BTC-EUR",
"side": "buy",
"type": "limit",
"price": "70000.00",
"amount": "0.05000000",
"filled": "0.00000000",
"averagePrice": null,
"status": "open",
"timeInForce": "gtc",
"fee": "0.00",
"feeCurrency": "EUR",
"createdAt": "2026-10-14T16:14:15.412Z",
"updatedAt": "2026-10-14T16:14:15.412Z"
}
],
"next": null
}每页最多 100 个订单。还有更多时,next 中会有一个游标:将其作为 before 传入即可获取下一页。
查询参数
statusstring默认值:openopen表示挂单中的订单,closed表示已成交和已撤销的订单。可选值
openclosedpairstring仅该交易对上的订单。
limitinteger默认值:50每页订单数。
1 至 100
beforestring上一页返回的
next游标。
响应
ordersobject[]订单,从新到旧。
nextstring | null下一页的游标,最后一页为
null。

