Skip to main content

Get Affiliate User List

To use this endpoint, you should have an affiliate account and only tick "affiliate" permission while creating the API key.
Affiliate site: https://affiliates.bybit.com

tip
  • Use master UID only
  • The api key can only have "Affiliate" permission

HTTP Request

GET /v5/affiliate/aff-user-list

Request Parameters

ParameterRequiredTypeComments
sizefalseintegerLimit for data size per page. [0, 1000]. Default: 0
cursorfalsestringCursor. Use the nextPageCursor token from the response to retrieve the next page of the result set
needDepositfalsebooleantrue: return deposit info; false(default): does not return deposit info
need30falsebooleantrue: return 30 days trading info; false(default): does not return 30 days trading info
need365falsebooleantrue: return 365 days trading info; false(default): does not return 365 days trading info
startDatefalsestringStart date of the query period, format YYYY-MM-DD
endDatefalsestringEnd date of the query period, format YYYY-MM-DD

Response Parameters

ParameterTypeComments
listarrayObject
> userIdstringuser Id
> registerTimestringuser register time
> sourcestringuser registration source, from which referrer code
> remarksstringThe remark
> isKycbooleanWhether KYC is completed
> takerVol30DaystringTaker volume in last 30 days (USDT), update at T + 1. All volume related attributes below includes Derivatives, Option, Spot volume
> makerVol30DaystringMaker volume in last 30 days (USDT), update at T + 1
> tradeVol30DaystringTotal trading volume in last 30 days (USDT), update at T + 1
> depositAmount30DaystringDeposit amount in last 30 days (USDT)
> takerVol365DaystringTaker volume in the past year (USDT), update at T + 1
> makerVol365DaystringMaker volume in the past year (USDT), update at T + 1
> tradeVol365DaystringTotal trading volume in the past year (USDT), update at T + 1
> depositAmount365DaystringTotal deposit amount in the past year (USDT)
> takerVolstringTaker volume in [startDate, endDate] (USDT), update at T + 1, includes Derivatives, Option, Spot volume
> makerVolstringMaker volume in [startDate, endDate] (USDT), update at T + 1, includes Derivatives, Option, Spot volume
> tradeVolstringTotal trading volume in [startDate, endDate] (USDT), update at T + 1, includes Derivatives, Option, Spot volume
> startDatestringStart date of the query period
> endDatestringEnd date of the query period
nextPageCursorstringRefer to the cursor request parameter

Request Example

GET /v5/affiliate/aff-user-list?cursor=0&size=2&need365=true&need30=true&needDeposit=true&startDate=2025-10-21&endDate=2025-10-22 HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1685596324209
X-BAPI-RECV-WINDOW: 5000
X-BAPI-SIGN: xxxxxx
Content-Type: application/json

Response Example

{
"retCode": 0,
"retMsg": "",
"result": {
"list": [
{
"userId": "1001699821",
"registerTime": "0001-01-01",
"source": "aff_14650_10087",
"remarks": "front_hub_robot",
"isKyc": false,
"takerVol30Day": "",
"makerVol30Day": "",
"tradeVol30Day": "",
"depositAmount30Day": "",
"takerVol365Day": "",
"makerVol365Day": "",
"tradeVol365Day": "",
"depositAmount365Day": "",
"takerVol": "",
"makerVol": "",
"tradeVol": "",
"startDate": "2025-09-21",
"endDate": "2025-10-21"
},
{
"userId": "1001625535",
"registerTime": "0001-01-01",
"source": "aff_14650_10087",
"remarks": "front_hub_robot",
"isKyc": false,
"takerVol30Day": "",
"makerVol30Day": "",
"tradeVol30Day": "",
"depositAmount30Day": "",
"takerVol365Day": "",
"makerVol365Day": "",
"tradeVol365Day": "",
"depositAmount365Day": "",
"takerVol": "",
"makerVol": "",
"tradeVol": "",
"startDate": "2025-09-21",
"endDate": "2025-10-21"
}
],
"nextPageCursor": "16197"
},
"retExtInfo": {},
"time": 1733205472513
}