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
Futures
Get positions
get positions
GET
/
v3
/
futures
/
positions
Copy
curl --request GET \
--url https://api.woox.io/v3/futures/positions \
--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 'symbol=<string>'
Copy
{
"success": true,
"data": {
"positions": [
{
"symbol": "PERP_BTC_USDT",
"holding": "1.0234",
"positionSide": "BOTH",
"pendingLongQty": "0.0",
"pendingShortQty": "0.0",
"settlePrice": "27903.2",
"averageOpenPrice": "27903.2",
"pnl24H": "0.0",
"fee24H": "0.0",
"markPrice": "27903.2",
"estLiqPrice": "0.0",
"adlQuantile": 1,
"timestamp": 1696663260695
},
...
]
},
"timestamp": 1696663264324
}
Limit: 30 requests per 10 seconds per user
Copy
{
"success": true,
"data": {
"positions": [
{
"symbol": "PERP_BTC_USDT",
"holding": "1.0234",
"positionSide": "BOTH",
"pendingLongQty": "0.0",
"pendingShortQty": "0.0",
"settlePrice": "27903.2",
"averageOpenPrice": "27903.2",
"pnl24H": "0.0",
"fee24H": "0.0",
"markPrice": "27903.2",
"estLiqPrice": "0.0",
"adlQuantile": 1,
"timestamp": 1696663260695
},
...
]
},
"timestamp": 1696663264324
}
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/futures/positions \
--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 'symbol=<string>'
Copy
{
"success": true,
"data": {
"positions": [
{
"symbol": "PERP_BTC_USDT",
"holding": "1.0234",
"positionSide": "BOTH",
"pendingLongQty": "0.0",
"pendingShortQty": "0.0",
"settlePrice": "27903.2",
"averageOpenPrice": "27903.2",
"pnl24H": "0.0",
"fee24H": "0.0",
"markPrice": "27903.2",
"estLiqPrice": "0.0",
"adlQuantile": 1,
"timestamp": 1696663260695
},
...
]
},
"timestamp": 1696663264324
}
Assistant
Responses are generated using AI and may contain mistakes.