Skip to main content
Version: V3(BETA)

Get Affiliate UIDs

HTTP request Get Affiliate UIDs

  • GET /api/v3/rebate/affiliate/getAffiliateUIDs

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

Request parameters

ParameterParameter typeRequired?Description
uidLongNoInvited User UID
startTimeLongNoStart timestamp in UTC (milliseconds). Must fall within the past 1 year; defaults to 90 days prior to endTime when omitted.
endTimeLongNoEnd timestamp in UTC (milliseconds). Must be greater than startTime; total range cannot exceed 90 days.
pageIntegerNoPage number (starting from 1, default 1)
pageSizeIntegerNoPage size (default 100)
  • End time must be later than the start time.
  • The query window cannot exceed 90 consecutive days.
  • The start time must be within the most recent 365 days; by default the system queries the last 90 days.

Request example

curl "https://api-spot.weex.com/api/v3/rebate/affiliate/getAffiliateUIDs" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "Content-Type: application/json"

Response parameters

Field NameTypeDescription
uidStringInvited User UID
registerTimeLongRegistration timestamp, unit: milliseconds
kycResultBooleanKYC status
inviteCodeStringInvitation Code
firstDepositLongFirst deposit time (milliseconds)
firstTradeLongFirst trade time (milliseconds)
lastDepositLongLatest deposit time (milliseconds)
lastTradeLongLatest trade time (milliseconds)
channelUserInfoItemListArrayAffiliate user items
pagesIntegerTotal pages
pageSizeIntegerPage size
totalLongTotal records

Response example

{
"pages": 1,
"pageSize": 100,
"total": 98,
"channelUserInfoItemList": [
{
"uid": "3066862172",
"registerTime": 1749797913000,
"kycResult": false,
"inviteCode": "3lft",
"firstTrade": 1738767425000,
"lastTrade": 1744115178000,
"firstDeposit": 1736425200000,
"lastDeposit": 1745038712000
}
]
}