Get Started
User Endpoint
Tweet Endpoint
List Endpoint
Get User Followings
Get user followings. Each page returns exactly 200 followings. Use cursor for pagination.
curl --request GET \
--url https://api.twitterapi.io/twitter/user/followings \
--header 'X-API-Key: <api-key>'
{
"followings": [
{
"type": "user",
"userName": "<string>",
"url": "<string>",
"id": "<string>",
"name": "<string>",
"isBlueVerified": true,
"profilePicture": "<string>",
"coverPicture": "<string>",
"description": "<string>",
"location": "<string>",
"followers": 123,
"following": 123,
"canDm": true,
"createdAt": "<string>",
"fastFollowersCount": 123,
"favouritesCount": 123,
"hasCustomTimelines": true,
"isTranslator": true,
"mediaCount": 123,
"statusesCount": 123,
"withheldInCountries": [
"<string>"
],
"affiliatesHighlightedLabel": {},
"possiblySensitive": true,
"pinnedTweetIds": [
"<string>"
],
"isAutomated": true,
"automatedBy": "<string>",
"unavailable": true,
"message": "<string>",
"unavailableReason": "<string>",
"profile_bio": {
"description": "<string>",
"entities": {
"description": {
"urls": [
{
"display_url": "<string>",
"expanded_url": "<string>",
"indices": [
123
],
"url": "<string>"
}
]
},
"url": {
"urls": [
{
"display_url": "<string>",
"expanded_url": "<string>",
"indices": [
123
],
"url": "<string>"
}
]
}
}
}
}
],
"has_next_page": true,
"next_cursor": "<string>",
"status": "success",
"message": "<string>"
}
Authorizations
Query Parameters
screen name of the user
The cursor to paginate through the results. First page is "".
Response
Array of followings
user
The username of the Twitter user
The x.com URL of the user's profile
The unique identifier of the user
The display name of the user
Whether the user has Twitter Blue verification
URL of the user's profile picture
URL of the user's cover picture
The user's profile description
The user's location.for example: 東京の端っこ . may be empty
Number of followers
Number of accounts following
Whether the user can receive DMs
When the account was created.for example: Thu Dec 13 08:41:26 +0000 2007
Number of fast followers
Number of favorites
Whether the user has custom timelines
Whether the user is a translator
Number of media posts
Number of status updates
Countries where the account is withheld
Whether the account may contain sensitive content
IDs of pinned tweets
Whether the account is automated
The account that automated the account
Whether the account is unavailable
The message of the account.eg. "This account is unavailable" or "This account is suspended"
The reason the account is unavailable.eg. "suspended"
Indicates if there are more results available
Cursor for fetching the next page of results
Status of the request.success or error
success
, error
Message of the request.error message
curl --request GET \
--url https://api.twitterapi.io/twitter/user/followings \
--header 'X-API-Key: <api-key>'
{
"followings": [
{
"type": "user",
"userName": "<string>",
"url": "<string>",
"id": "<string>",
"name": "<string>",
"isBlueVerified": true,
"profilePicture": "<string>",
"coverPicture": "<string>",
"description": "<string>",
"location": "<string>",
"followers": 123,
"following": 123,
"canDm": true,
"createdAt": "<string>",
"fastFollowersCount": 123,
"favouritesCount": 123,
"hasCustomTimelines": true,
"isTranslator": true,
"mediaCount": 123,
"statusesCount": 123,
"withheldInCountries": [
"<string>"
],
"affiliatesHighlightedLabel": {},
"possiblySensitive": true,
"pinnedTweetIds": [
"<string>"
],
"isAutomated": true,
"automatedBy": "<string>",
"unavailable": true,
"message": "<string>",
"unavailableReason": "<string>",
"profile_bio": {
"description": "<string>",
"entities": {
"description": {
"urls": [
{
"display_url": "<string>",
"expanded_url": "<string>",
"indices": [
123
],
"url": "<string>"
}
]
},
"url": {
"urls": [
{
"display_url": "<string>",
"expanded_url": "<string>",
"indices": [
123
],
"url": "<string>"
}
]
}
}
}
}
],
"has_next_page": true,
"next_cursor": "<string>",
"status": "success",
"message": "<string>"
}