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
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
},
{
"userId": "103929118",
"registerTime": "2024-11-12",
"source": "1564",
"remarks": "",
"isKyc": false
}
],
"nextPageCursor": "16197"
},
"retExtInfo": {},
"time": 1733205472513
}