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

Response Parameters

ParameterTypeComments
listarrayObject
> userIdstringuser Id
> registerTimestringuser register time
> sourceintegeruser registration source, from which referrer code
> remarksintegerThe 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), update in 5 mins
> 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), update in 5 mins
nextPageCursorstringRefer to the cursor request parameter

Request Example

GET /v5/affiliate/aff-user-list?cursor=""&size=2 HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-API-KEY: uQ61dcX0lSe7ygD2EA
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": "101527036",
"registerTime": "2024-06-21",
"source": "1564",
"remarks": "test",
"isKyc": false,
"takerVol30Day": "10",
"makerVol30Day": "20",
"tradeVol30Day": "30",
"depositAmount30Day": "90",
"takerVol365Day": "100",
"makerVol365Day": "500",
"tradeVol365Day": "600",
"depositAmount365Day": "1300",
},
{
"userId": "103929118",
"registerTime": "2024-11-12",
"source": "1564",
"remarks": "",
"isKyc": false,
"takerVol30Day": "10",
"makerVol30Day": "20",
"tradeVol30Day": "30",
"depositAmount30Day": "90",
"takerVol365Day": "100",
"makerVol365Day": "500",
"tradeVol365Day": "600",
"depositAmount365Day": "1300",
}
],
"nextPageCursor": "16197"
},
"retExtInfo": {},
"time": 1733205472513
}