API DocsdouyinAccountGet user fans list
Get user fans list
What this API is for
- Get user fans list
- When requesting for the first time, pass 0 for max_time, pass 2 for source_type, and an empty fans list will be returned, which contains max_time, then pass the max_time returned by the previous request for paging each time, pass 1 for source_type, you can get the fans list.
- If you do not request according to the above method, it may cause the returned data to contain duplicate data
GET
/openapi/api/v1/douyin/web/fetch_user_fans_listPrice:Price unavailable · Actual charges depend on free quota and account discounts
Authentication
All API requests require a Bearer project token in the Authorization header
Authorization header
Authorization: Bearer YOUR_API_TOKENRequest parameters
- sec_user_id: User sec_user_id
- max_time: Maximum timestamp, default is 0, get from the returned data later, used for paging.
- count: Number, default is 20, it is recommended to keep it unchanged.
- source_type: Source type, default is 1, use 2 as the source type for the first request, and then use 1 as the source type for the subsequent request.
| Name | Location / type | Required | Notes | Example |
|---|---|---|---|---|
| sec_user_id | query / string | No |
| |
| max_time | query / string | No |
| |
| count | query / integer | No |
| |
| source_type | query / integer | No |
|
Request examples
curl -X GET "https://api.trmesh.com/openapi/api/v1/douyin/web/fetch_user_fans_list" \ -H "Authorization: Bearer sdc_your_project_token" \ -H "Accept: application/json"
Response fields
- Fans list
Common response envelope
Common fields for response status, request identifiers and data
| Field | Type | Notes | Example |
|---|---|---|---|
| code | integer |
| |
| request_id | string | null |
| |
| message | string |
| |
| message_zh | string |
| |
| support | string |
| |
| time | string |
| |
| time_stamp | integer |
| |
| time_zone | string |
| |
| docs | string | null |
| |
| cache_message | string | null |
| |
| cache_message_zh | string | null |
| |
| cache_url | string | null |
| |
| router | string |
| |
| params | unknown |
| |
| data | unknown | null |
|
Errors and limits
The docs cover not only success responses, but also auth failures, rate limits, and data-service errors
| Code | Meaning | Notes |
|---|---|---|
| 200 | Success | The request completed and returned the standard response envelope. |
| 401 | Unauthorized | The token is missing, invalid, or no longer active. |
| 429 | Rate limited | The request exceeded token, user, or plan-level throughput limits. |
| 502 | Service unavailable | The gateway could not obtain a healthy result. Retry in a moment. |
Next steps
New to the API? Read the guide or explore examples