Getting Started
Public Data
Trading
- POSTPlace order
- DELCancel order
- DELCancel multiple orders
- GETGet order
- GETGet orders
- PUTEdit order
- POSTPlace algo order
- DELCancel algo order
- DELCancel multiple algo orders
- DELCancel all orders by symbol
- GETGet algo order
- GETGet algo orders
- PUTEdit algo order
- GETGet transaction by trade id (last 3 months)
- GETGet transaction history (in the past 2 years)
- GETGet trading fee
- POSTCancel all after
Account
Assets
Futures
Spot Margin
Websocket Streams
- Introduction
- Public Market Data
- Private User Data
- Commands
Trading
Get order
get order
GET
/
v3
/
trade
/
order
Copy
curl --request GET \
--url https://api.woox.io/v3/trade/order \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'x-api-key: <x-api-key>' \
--header 'x-api-signature: <x-api-signature>' \
--header 'x-api-timestamp: <x-api-timestamp>' \
--data orderId=1954766344355779056 \
--data clientOrderId=1954766344355779056 \
--data withRealizedPnl=false
Copy
# if withRealizedPnl is True
{
"success": true,
"data": {
"symbol": "PERP_BTC_USDT",
"status": "FILLED",
"side": "SELL",
"positionSide": "BOTH",
"createdTime": 1578565539808,
"orderId": 13,
"orderTag": "default",
"price": "123",
"type": "LIMIT",
"quantity": "0.1",
"amount": "null",
"visible": "0.1",
"executed": "0.1",
"totalFee": "0.00123",
"feeAsset": "USDT",
"totalRebate": 0,
"rebateCurrency": "USDT",
"clientOrderId": 0,
"reduceOnly": false,
"realizedPnl": "100",
"averageExecutedPrice": "123",
},
"timestamp": 1721351502594
}
# if withRealizedPnl is False
{
"success": true,
"data": {
"symbol": "PERP_BTC_USDT",
"status": "FILLED",
"side": "SELL",
"positionSide": "BOTH",
"createdTime": 1578565539808,
"orderId": 13,
"orderTag": "default",
"price": "123",
"type": "LIMIT",
"quantity": "0.1",
"amount": "null",
"visible": "0.1",
"executed": "0.1",
"totalFee": "0.00123",
"feeAsset": "USDT",
"totalRebate": 0,
"rebateCurrency": "USDT",
"clientOrderId": 0,
"reduceOnly": false,
"averageExecutedPrice": "123",
},
"timestamp": 1721351502594
}
Limit: 5 requests per 1 symbol per 1 second
Copy
# if withRealizedPnl is True
{
"success": true,
"data": {
"symbol": "PERP_BTC_USDT",
"status": "FILLED",
"side": "SELL",
"positionSide": "BOTH",
"createdTime": 1578565539808,
"orderId": 13,
"orderTag": "default",
"price": "123",
"type": "LIMIT",
"quantity": "0.1",
"amount": "null",
"visible": "0.1",
"executed": "0.1",
"totalFee": "0.00123",
"feeAsset": "USDT",
"totalRebate": 0,
"rebateCurrency": "USDT",
"clientOrderId": 0,
"reduceOnly": false,
"realizedPnl": "100",
"averageExecutedPrice": "123",
},
"timestamp": 1721351502594
}
# if withRealizedPnl is False
{
"success": true,
"data": {
"symbol": "PERP_BTC_USDT",
"status": "FILLED",
"side": "SELL",
"positionSide": "BOTH",
"createdTime": 1578565539808,
"orderId": 13,
"orderTag": "default",
"price": "123",
"type": "LIMIT",
"quantity": "0.1",
"amount": "null",
"visible": "0.1",
"executed": "0.1",
"totalFee": "0.00123",
"feeAsset": "USDT",
"totalRebate": 0,
"rebateCurrency": "USDT",
"clientOrderId": 0,
"reduceOnly": false,
"averageExecutedPrice": "123",
},
"timestamp": 1721351502594
}
Headers
api-key
Example:
"abcdef123456"
api-signature
Example:
"signaturestring"
api-timestamp
Example:
"1718943200000"
Body
application/x-www-form-urlencoded
The body is of type object
.
Response
200 - application/json
The response is of type object
.
Copy
curl --request GET \
--url https://api.woox.io/v3/trade/order \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'x-api-key: <x-api-key>' \
--header 'x-api-signature: <x-api-signature>' \
--header 'x-api-timestamp: <x-api-timestamp>' \
--data orderId=1954766344355779056 \
--data clientOrderId=1954766344355779056 \
--data withRealizedPnl=false
Copy
# if withRealizedPnl is True
{
"success": true,
"data": {
"symbol": "PERP_BTC_USDT",
"status": "FILLED",
"side": "SELL",
"positionSide": "BOTH",
"createdTime": 1578565539808,
"orderId": 13,
"orderTag": "default",
"price": "123",
"type": "LIMIT",
"quantity": "0.1",
"amount": "null",
"visible": "0.1",
"executed": "0.1",
"totalFee": "0.00123",
"feeAsset": "USDT",
"totalRebate": 0,
"rebateCurrency": "USDT",
"clientOrderId": 0,
"reduceOnly": false,
"realizedPnl": "100",
"averageExecutedPrice": "123",
},
"timestamp": 1721351502594
}
# if withRealizedPnl is False
{
"success": true,
"data": {
"symbol": "PERP_BTC_USDT",
"status": "FILLED",
"side": "SELL",
"positionSide": "BOTH",
"createdTime": 1578565539808,
"orderId": 13,
"orderTag": "default",
"price": "123",
"type": "LIMIT",
"quantity": "0.1",
"amount": "null",
"visible": "0.1",
"executed": "0.1",
"totalFee": "0.00123",
"feeAsset": "USDT",
"totalRebate": 0,
"rebateCurrency": "USDT",
"clientOrderId": 0,
"reduceOnly": false,
"averageExecutedPrice": "123",
},
"timestamp": 1721351502594
}
Assistant
Responses are generated using AI and may contain mistakes.