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>'
{
"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
}
get positions
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>'
{
"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
}
{
"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
}
api-key
"abcdef123456"
api-signature
"signaturestring"
api-timestamp
"1718943200000"
The body is of type object
.
The response is of type object
.