curl --request GET \
--url https://api.woox.io/v3/account/info \
--header 'x-api-key: <x-api-key>' \
--header 'x-api-signature: <x-api-signature>' \
--header 'x-api-timestamp: <x-api-timestamp>'
{
"success": true,
"data": {
"applicationId": "dsa",
"account": "dsa",
"alias": "dsa",
"otpauth": true,
"accountMode": "MARGIN",
"positionMode": "ONE_WAY",
"leverage": 1,
"marginRatio": "1",
"openMarginRatio": "1",
"initialMarginRatio": "1",
"maintenanceMarginRatio": "1",
"totalCollateral": "1",
"freeCollateral": "1",
"totalAccountValue": "5",
"totalTradingValue": "1",
"totalVaultValue": "1",
"totalStakingValue": "1",
"totalEarnValue": "1",
"totalLaunchpadValue": "1",
"referrerID": "WOO2023",
"accountType": "Main"
},
"timestamp": 1673323685109
}
Get the account information.
curl --request GET \
--url https://api.woox.io/v3/account/info \
--header 'x-api-key: <x-api-key>' \
--header 'x-api-signature: <x-api-signature>' \
--header 'x-api-timestamp: <x-api-timestamp>'
{
"success": true,
"data": {
"applicationId": "dsa",
"account": "dsa",
"alias": "dsa",
"otpauth": true,
"accountMode": "MARGIN",
"positionMode": "ONE_WAY",
"leverage": 1,
"marginRatio": "1",
"openMarginRatio": "1",
"initialMarginRatio": "1",
"maintenanceMarginRatio": "1",
"totalCollateral": "1",
"freeCollateral": "1",
"totalAccountValue": "5",
"totalTradingValue": "1",
"totalVaultValue": "1",
"totalStakingValue": "1",
"totalEarnValue": "1",
"totalLaunchpadValue": "1",
"referrerID": "WOO2023",
"accountType": "Main"
},
"timestamp": 1673323685109
}
{
"success": true,
"data": {
"applicationId": "dsa",
"account": "dsa",
"alias": "dsa",
"otpauth": true,
"accountMode": "MARGIN",
"positionMode": "ONE_WAY",
"leverage": 1,
"marginRatio": "1",
"openMarginRatio": "1",
"initialMarginRatio": "1",
"maintenanceMarginRatio": "1",
"totalCollateral": "1",
"freeCollateral": "1",
"totalAccountValue": "5",
"totalTradingValue": "1",
"totalVaultValue": "1",
"totalStakingValue": "1",
"totalEarnValue": "1",
"totalLaunchpadValue": "1",
"referrerID": "WOO2023",
"accountType": "Main"
},
"timestamp": 1673323685109
}
api-key
"abcdef123456"
api-signature
"signaturestring"
api-timestamp
"1718943200000"
successful operation
The response is of type object
.