Followers Ids
GET
/tw-v2/user/followers-idsDescription
Get a paginated list of users following the specified account. Returns user objects with complete profile information.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| userId | string | required | Unique Twitter/X user ID (e.g., '44196397') |
| count | string | optional | Number of results to return per page (max: 100, default: 20) |
| cursor | string | optional | Pagination cursor for fetching next page of results. Obtained from previous response. |
Code Examples
const params = new URLSearchParams({
userId: '44196397'
});
const response = await fetch(`https://api.tweetapi.com/tw-v2/user/followers-ids?${params}`, {
method: 'GET',
headers: {
'X-API-Key': 'YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data);
Response
Success Response (200 OK)
200
{
"data": [
"1973624294736535554",
"1973625972869177344",
"1237311994471968768",
"1371735280751800323",
"1973625984101523456",
"1973625935086948352",
"1973625927201595393",
"1973625919639007232",
"1973625897514311682",
"1302344268778856448",
"1973625933576699904",
"1973581129266397184",
"1344298997855387650",
"1973623525396324353",
"1973624962377457668",
"1973624267465207808",
"1973625923493646336",
"1973625908553490432",
"1969158854177898496",
"1972698769327366144"
],
"pagination": {
"nextCursor": "1844847931695364564",
"prevCursor": "0"
}
}API Playground
GET
/tw-v2/user/followers-idsPress ⌘ + Enter to execute
curl -X GET "https://api.tweetapi.com/tw-v2/user/followers-ids" \
-H "X-API-Key: YOUR_API_KEY"Response
Click "Try It!" to see the response