Skip to main content
POST
/
twitter
/
following
/
page
Get Following by Page
curl --request POST \
  --url https://api.twexapi.io/twitter/following/page \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "screen_name": "<string>",
  "next_cursor": "1234567890"
}
'
{
  "data": [
    {
      "userId": "<string>",
      "isBlueVerified": true,
      "createdAt": "<string>",
      "defaultProfile": true,
      "defaultProfileImage": true,
      "description": "<string>",
      "location": "<string>",
      "fastFollowersCount": 123,
      "favouritesCount": 123,
      "followersCount": 123,
      "followingCount": 123,
      "hasCustomTimelines": true,
      "isTranslator": true,
      "listedCount": 123,
      "mediaCount": 123,
      "name": "<string>",
      "normalFollowersCount": 123,
      "possiblySensitive": true,
      "profileImageUrlHttps": "<string>",
      "username": "<string>",
      "statusesCount": 123,
      "verified": true,
      "protected": true,
      "createdAtDatetime": "<string>",
      "pinnedTweetIdsStr": [
        "<unknown>"
      ],
      "translatorType": "<string>",
      "withheldInCountries": [
        "<unknown>"
      ],
      "url": "<string>",
      "descriptionUrls": [
        "<unknown>"
      ],
      "urls": [
        "<unknown>"
      ],
      "pinnedTweetIds": [
        "<unknown>"
      ]
    }
  ],
  "has_next_page": true,
  "code": 200,
  "msg": "success",
  "next_cursor": "1234567890"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
screen_name
string
required

Twitter screen name of the target user (with or without @).

Example:

"elonmusk"

next_cursor
string | null

Cursor returned by the previous page. Leave empty to fetch the first page.

Example:

"1234567890"

Response

Current page data (up to 200 following users) and pagination metadata (has_next_page, next_cursor).

data
(UserInfo · object | null)[]
required

Current page following items.

User information structure

has_next_page
boolean
required

Whether another page is available.

code
integer
default:200

HTTP status code

msg
string
default:success

Response message

next_cursor
string | null

Use this cursor to fetch the next page when has_next_page is true.

Example:

"1234567890"