Users
User Followers
Get a user's followers list
GET /twitter/user/followers
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
userName | string | Yes | Screen name (without @) |
cursor | string | No | Pagination cursor |
Notes
- Uses the REST followers endpoint.
- Returns up to 200 followers per page (ordered by follow time desc).
Response
{
"userName": "elonmusk",
"user_count": 200,
"has_more": true,
"next_cursor": "DAABCgABG...",
"followers": [
{
"type": "user",
"id": "1335924847940079620",
"userName": "0xumarkhatab",
"name": "Umar",
"url": "https://x.com/0xumarkhatab",
"isVerified": false,
"isBlueVerified": true,
"profilePicture": "https://pbs.twimg.com/profile_images/...",
"coverPicture": "https://pbs.twimg.com/profile_banners/...",
"description": "Founding EVM Engineer @ViFi_Labs",
"location": "Metaverse",
"followers": 599,
"following": 307,
"tweets": 2002,
"listed": 12,
"createdAt": "Mon Dec 07 12:32:21 +0000 2020",
"canDm": false
}
]
}Example
curl -H "Authorization: Bearer API_KEY" "https://api.getxapi.com/twitter/user/followers?userName=elonmusk"
# With pagination
curl -H "Authorization: Bearer API_KEY" "https://api.getxapi.com/twitter/user/followers?userName=elonmusk&cursor=DAABCgABG..."