Welcome to the new WEEX API documentation. Looking for the previous version?Switch to the legacy docs
WEEX

Get Affiliate Member Assets

HTTP request Query the asset snapshot of a direct customer under the current affiliate.

  • GET /api/v3/agency/getAssert

Weight(IP): 10

Request parameters
ParameterTypeRequired?Description
userIdLongYesDirect customer UID
startTimeStringNoOptional start time (UTC, format yyyy-MM-dd)
endTimeStringNoOptional end time (UTC, format yyyy-MM-dd, defaults to current if absent)
Request example
PowerShellCode
curl "https://api-spot.weex.com/api/v3/agency/getAssert?userId=4667776811&startTime=2025-02-01&endTime=2025-03-01" \ -H "ACCESS-KEY:*******" \ -H "ACCESS-SIGN:*******" \ -H "ACCESS-PASSPHRASE:*****" \ -H "ACCESS-TIMESTAMP:1732972800000" \ -H "Content-Type: application/json"
Response parameters
Field NameTypeDescription
availableBalanceStringAvailable balance in USDT
fundingTotalUsdtStringTotal funding account equity in USDT
spotProTotalUsdtStringTotal spot account equity in USDT
unimarginTotalUsdtStringTotal contract account equity in USDT
depositTotalAmountStringCumulative deposit amount within the time window
depositListArrayDeposit records
Response example
JSONCode
{ "availableBalance": "3415185672.29521058", "contractTotalUsdt": "--", "depositList": [], "depositTotalAmount": "0.00000000", "fundingTotalUsdt": "100.19000000", "spotProTotalUsdt": "3415184095.36345915", "unimarginTotalUsdt": "1476.74175143" }