Followers Ids

GET/tw-v2/user/followers-ids

Description

Get a paginated list of the specified account's follower IDs. Returns string IDs in data and next and previous cursors in pagination.

Parameters

ParameterTypeRequiredDescription
userIdstringrequiredUnique platform user ID (e.g., '90013690')
countstringoptionalNumeric result count string (default: 20; no explicit backend maximum)
cursorstringoptionalPagination cursor for fetching next page of results. Obtained from previous response.

Code Examples

const params = new URLSearchParams({
  userId: '90013690'
});

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"
  }
}