Followers
API for getting a Twitter user's followers list
Followers
Get the list of followers for a specific Twitter user.
Request
URL: /api/twitter/followers
Method: GET
or POST
Request Parameters:
Parameter | Type | Required | Description |
---|---|---|---|
restId | string | Yes | User's unique ID identifier |
Response
A successful response will return a list of users following the specified user, including basic information for each follower, such as username, display name, profile picture, etc.
Examples
Request Example
Response Example
Error Responses
Status Code | Description |
---|---|
400 | Request parameter error, e.g., missing required restId parameter |
401 | Authentication failed, API key invalid or missing |
404 | User does not exist |
500 | Internal server error |
Pagination
The response may contain a cursor
object which can be used to retrieve more results. To get the next page of results, you can add the appropriate cursor parameter to your request (the specific parameter name depends on the Twitter API implementation).
Notes
- For accounts with a large number of followers, this API may require multiple requests to retrieve the complete list
- Due to Twitter API limitations, for accounts with an extremely large number of followers (such as celebrities or public figures), it may not be possible to retrieve the complete followers list
- Some accounts' followers lists may not be fully accessible due to privacy settings