Skip to main content
Version: V3

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

FieldTypeDescription
makerCommissionIntegerUser-level maker fee rate (basis points).
takerCommissionIntegerUser-level taker fee rate (basis points).
commissionRates.makerStringMaker fee rate as a decimal string.
commissionRates.takerStringTaker fee rate as a decimal string.
canTradeBooleanWhether trading is enabled.
canWithdrawBooleanWhether withdrawals are enabled.
canDepositBooleanWhether deposits are enabled.
brokeredBooleanWhether the account is broker managed.
requireSelfTradePreventionBooleanWhether self-trade prevention is enforced.
preventSorBooleanWhether smart order routing is disabled.
updateTimeLongLast account update time (ms).
accountTypeStringAccount type, e.g. SPOT.
balancesArray<Object>Asset balances.
→ assetStringAsset symbol.
→ freeStringFree balance.
→ lockedStringLocked balance.
permissionsArray<String>Granted permissions (e.g. SPOT_TRADING).
uidLongAccount UID.
symbolCommissionsObjectPer-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
}