curl --request GET \
--url https://api.woox.io/v3/asset/balances \
--header 'x-api-key: <x-api-key>' \
--header 'x-api-signature: <x-api-signature>' \
--header 'x-api-timestamp: <x-api-timestamp>'{
"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 'x-api-key: <x-api-key>' \
--header 'x-api-signature: <x-api-signature>' \
--header 'x-api-timestamp: <x-api-timestamp>'{
"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
}
"abcdef123456"
"signaturestring"
"1718943200000"
Token to query
true
timestamp
Show child attributes
Show child attributes
The token symbol (e.g., WOO).
The total amount of the token currently held by the user.
The amount of the token that is frozen (e.g., due to open orders or other restrictions).
The amount of the token that is currently staked.
The amount of the token that is in the unbonding period.
The amount of the token in the vault.
The interest earned from holding the token.
The amount of the token earned from yield or other programs.
The pending quantity for short positions.
The pending quantity for long positions.
The available balance of the token for trading or withdrawal.
The average open price of the user's positions in the token.
The current market price of the token.
The profit or loss in the past 24 hours for this token.
The total fees incurred in the past 24 hours for this token.
The timestamp (Unix epoch in milliseconds) of the data snapshot.