curl --request GET \
--url https://api.woox.io/v3/asset/balances \
--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 'token=<string>'
{
"success": true,
"data": {
"holding": [
{
"token": "WOO",
"holding": "1",
"frozen": "0",
"staked": "0",
"unbonding": "0",
"vault": "0",
"interest": "0",
"earn": "0",
"pendingShortQty": "0",
"pendingLongQty": "0",
"availableBalance": "0",
"averageOpenPrice": "0.23432",
"markPrice": "0.25177",
"pnl24H": "0.0",
"fee24H": "0.0",
"timestamp": 1673323746259
},
...
]
},
"timestamp": 1673323746259
}
Get balances
curl --request GET \
--url https://api.woox.io/v3/asset/balances \
--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 'token=<string>'
{
"success": true,
"data": {
"holding": [
{
"token": "WOO",
"holding": "1",
"frozen": "0",
"staked": "0",
"unbonding": "0",
"vault": "0",
"interest": "0",
"earn": "0",
"pendingShortQty": "0",
"pendingLongQty": "0",
"availableBalance": "0",
"averageOpenPrice": "0.23432",
"markPrice": "0.25177",
"pnl24H": "0.0",
"fee24H": "0.0",
"timestamp": 1673323746259
},
...
]
},
"timestamp": 1673323746259
}
{
"success": true,
"data": {
"holding": [
{
"token": "WOO",
"holding": "1",
"frozen": "0",
"staked": "0",
"unbonding": "0",
"vault": "0",
"interest": "0",
"earn": "0",
"pendingShortQty": "0",
"pendingLongQty": "0",
"availableBalance": "0",
"averageOpenPrice": "0.23432",
"markPrice": "0.25177",
"pnl24H": "0.0",
"fee24H": "0.0",
"timestamp": 1673323746259
},
...
]
},
"timestamp": 1673323746259
}
api-key
"abcdef123456"
api-signature
"signaturestring"
api-timestamp
"1718943200000"
The body is of type object
.
The response is of type object
.