Skip to content
Twexapi
English
Esc
navigateopen⌘Jpreview

Get Following (v3)

Get following list of a user. Page size 10-100; use cursor for more pages. $0.05/1000 users.

Back to API Reference
/Followers & Following Endpoints
POST/v3/twitter/users/following
Authorization
AuthorizationBearer token · headerrequired
Global API Bearer Token for TwexAPI. Included as: Authorization: Bearer <YOUR_TWEXAPI_KEY>.
Request Body
requiredapplication/json
usernamestringrequired
Twitter username (with or without @).
countinteger | any
Number of users to return per page (min 10, max 100).
default: 20
Show properties
Any of:
integer
integer
any
any
cursorstring | any
Cursor from previous next_cursor to fetch the next page.
Show properties
Any of:
string
string
any
any
Responses
200Following page with cursor pagination.
codeintegerrequired
Response code
msgstringrequired
Response message
dataVerifiedFollowersData | any
Followers page
Show properties
Any of:
VerifiedFollowersData
usersUserInfo[]required
Follower users on this page
Show properties
Array of UserInfo
userIdstringrequired
User ID
isBlueVerifiedbooleanrequired
Blue verification status
createdAtstringrequired
Account creation date
createdAtDatetimestring | any
Account creation datetime in ISO format
Show properties
Any of:
string
string
any
any
defaultProfilebooleanrequired
Default profile flag
defaultProfileImagebooleanrequired
Default profile image flag
descriptionstringrequired
Bio description
locationstringrequired
Location
fastFollowersCountintegerrequired
Fast followers count
favouritesCountintegerrequired
Likes count
followersCountintegerrequired
Followers count
followingCountintegerrequired
Following count
hasCustomTimelinesbooleanrequired
Has custom timelines flag
isTranslatorbooleanrequired
Is translator flag
listedCountintegerrequired
Listed count
mediaCountintegerrequired
Media count
namestringrequired
Display name
normalFollowersCountintegerrequired
Normal followers count
pinnedTweetIdsStrany[] | any
Pinned tweet IDs
Show properties
Any of:
any[]
Array of any
any
any
any
possiblySensitivebooleanrequired
Possibly sensitive flag
profileImageUrlHttpsstringrequired
Profile image URL
usernamestringrequired
Username
statusesCountintegerrequired
Tweets count
translatorTypestring | any
Translator type
Show properties
Any of:
string
string
any
any
verifiedbooleanrequired
Legacy verification status
verified_typestring | any
Verification badge type: blue, business, government, etc.
Show properties
Any of:
string
string
any
any
withheldInCountriesany[] | any
Withheld in countries
Show properties
Any of:
any[]
Array of any
any
any
any
protectedbooleanrequired
Protected account flag
urlstring | any
User profile URL
Show properties
Any of:
string
string
any
any
descriptionUrlsany[] | any
Description URLs
Show properties
Any of:
any[]
Array of any
any
any
any
urlsany[] | any
User URLs
Show properties
Any of:
any[]
Array of any
any
any
any
pinnedTweetIdsany[] | any
Pinned tweet IDs
Show properties
Any of:
any[]
Array of any
any
any
any
has_next_pagebooleanrequired
Whether another page is available
next_cursorstring | any
Pass as cursor to fetch the next page when has_next_page is true
Show properties
Any of:
string
string
any
any
any
any
422Validation Error
detailValidationError[]
Show properties
Array of ValidationError
locstring | integer[]required
Show properties
Array of string | integer
Any of:
string
string
integer
integer
msgstringrequired
typestringrequired
inputany
ctxobject
Interactive ConsolePOST
Interactive Console / Try APIPOST
Live Console
🌐Target Server:https://api.twexapi.io
● Production Ready
🔍
Public Data Read (TwexAPI Key Only, No Twitter Cookie Required)

This endpoint queries public Twitter data — no Twitter account or Cookie required! Simply enter your TwexAPI Platform Key (Bearer Token) in the "API Authorization" section below to test.

🔑API Authorization
📝Request Bodyapplication/json
📡
No Response Yet

Configure parameters in the Request tab and click Send Request below.

Request
curl -X POST "https://api.twexapi.io/v3/twitter/users/following" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "username": "elonmusk",
  "count": 20,
  "cursor": ""
}'
Response
{
  "code": 200,
  "msg": "success",
  "data": {
    "users": [
      {
        "userId": "string",
        "isBlueVerified": true,
        "createdAt": "string",
        "createdAtDatetime": "string",
        "defaultProfile": true,
        "defaultProfileImage": true,
        "description": "string",
        "location": "string",
        "fastFollowersCount": 0,
        "favouritesCount": 0,
        "followersCount": 0,
        "followingCount": 0,
        "hasCustomTimelines": true,
        "isTranslator": true,
        "listedCount": 0,
        "mediaCount": 0,
        "name": "string",
        "normalFollowersCount": 0,
        "pinnedTweetIdsStr": [
          null
        ],
        "possiblySensitive": true,
        "profileImageUrlHttps": "string",
        "username": "string",
        "statusesCount": 0,
        "translatorType": "string",
        "verified": true,
        "verified_type": "blue",
        "withheldInCountries": [
          null
        ],
        "protected": true,
        "url": "string",
        "descriptionUrls": [
          null
        ],
        "urls": [
          null
        ],
        "pinnedTweetIds": [
          null
        ]
      }
    ],
    "has_next_page": true,
    "next_cursor": ""
  }
}