Skip to main content
Version: V3

Get Affiliate Deal Data

HTTP request Retrieve trading volume and rebate statistics for one or more direct customers.

  • GET /api/v3/agency/getDealData

Weight(IP): 20, Weight(UID): 20

Request parameters

ParameterTypeRequired?Description
userIdsList<Long>NoOptional repeated query parameter (e.g. userIds=123&userIds=456). Defaults to all direct users
startTimeStringNoFilter start date (UTC, format yyyy-MM-dd)
endTimeStringNoFilter end date (UTC, format yyyy-MM-dd)

Request example

curl "https://api-spot.weex.com/api/v3/agency/getDealData?userIds=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
dataArrayTrading statistics returned by the upstream service
userIdLongUID of the queried customer
spotDealAmountUsdtStringSpot trading volume (USDT)
futuresProDealAmountUsdtStringFutures trading volume (USDT)
spotProDealAmountUsdtTempStringSpot trading volume (raw value returned by partner system)
startTimeStringStart date applied by the upstream service (yyyy-MM-dd)
endTimeStringEnd date applied by the upstream service (yyyy-MM-dd)

Response example

{
"data": [
{
"futuresProDealAmountUsdt": "619659.79380470",
"spotDealAmountUsdt": "75156.60000000",
"spotProDealAmountUsdtTemp": "75156.6",
"userId": 4667776811
}
],
"endTime": "2026-03-04",
"startTime": "2025-12-03"
}