Get Account Information (USER_DATA)
- GET
/api/v3/account/
Weight(IP): 5, Weight(UID): 5
Request parameters
NONE
Request example
curl "https://api-spot.weex.com/api/v3/account/" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
Response parameters
| Field | Type | Description |
|---|---|---|
| makerCommission | Integer | User-level maker fee rate (basis points). |
| takerCommission | Integer | User-level taker fee rate (basis points). |
| commissionRates.maker | String | Maker fee rate as a decimal string. |
| commissionRates.taker | String | Taker fee rate as a decimal string. |
| canTrade | Boolean | Whether trading is enabled. |
| canWithdraw | Boolean | Whether withdrawals are enabled. |
| canDeposit | Boolean | Whether deposits are enabled. |
| brokered | Boolean | Whether the account is broker managed. |
| requireSelfTradePrevention | Boolean | Whether self-trade prevention is enforced. |
| preventSor | Boolean | Whether smart order routing is disabled. |
| updateTime | Long | Last account update time (ms). |
| accountType | String | Account type, e.g. SPOT. |
| balances | Array<Object> | Asset balances. |
| → asset | String | Asset symbol. |
| → free | String | Free balance. |
| → locked | String | Locked balance. |
| permissions | Array<String> | Granted permissions (e.g. SPOT_TRADING). |
| uid | Long | Account UID. |
| symbolCommissions | Object | Per-symbol maker/taker commission overrides. |
Response example
{
"makerCommission": 10,
"takerCommission": 10,
"commissionRates": {
"maker": "0.0010",
"taker": "0.0010"
},
"canTrade": true,
"canWithdraw": true,
"canDeposit": true,
"permissions": ["SPOT_TRADING"],
"balances": [
{
"asset": "BTC",
"free": "0.004",
"locked": "0"
},
{
"asset": "USDT",
"free": "1200.00000000",
"locked": "0"
}
],
"uid": 1002003004
}