Returns user objects that follow the provided user ID
Returns a list of users that follow the provided user ID
Query parameters
-
The maximum number of results
Minimum value is
1
, maximum value is1000
. -
This value is populated by passing the 'next_token' or 'previous_token' returned in a request to paginate through results.
Responses
-
The request was successful
Hide response attributes Show response attributes object
-
The Twitter User object
Hide data attributes Show data attributes array[object]
-
Unique identifier of this User. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
Format should match the following pattern:
^[0-9]{1,19}$
. -
Creation time of this user.
-
The friendly name of this user, as shown on their profile.
-
The Twitter handle (screen name) of this user.
Format should match the following pattern:
^[A-Za-z0-9_]{1,15}$
. -
Indicates if this user has chosen to protect their Tweets (in other words, if this user's Tweets are private).
-
Indicate if this user is a verified Twitter User.
-
Indicates withholding details for withheld content.
Hide withheld attributes Show withheld attributes object
-
The URL to the profile image for this user.
-
The location specified in the user's profile, if the user provided one. As this is a freeform value, it may not indicate a valid location, but it may be fuzzily evaluated when performing searches with location queries.
-
The URL specified in the user's profile.
-
The text of this user's profile description (also known as bio), if the user provided one.
-
A list of metadata found in the user's profile description.
Hide entities attributes Show entities attributes object
-
Expanded details for the URL specified in the user's profile, with start and end indices.
Hide url attribute Show url attribute object
-
Represent the portion of text recognized as a URL.
At least
1
element.Hide urls attributes Show urls attributes array[object]
-
Index (zero-based) at which position this entity starts. The index is inclusive.
Minimum value is
0
. -
Index (zero-based) at which position this entity ends. The index is exclusive.
Minimum value is
0
. -
A validly formatted URL.
-
A validly formatted URL.
-
The URL as displayed in the Twitter client.
-
Fully resolved url
-
HTTP Status Code.
Minimum value is
100
, maximum value is599
. -
Title of the page the URL points to.
-
Description of the URL landing page.
-
Represent the information for the URL image
At least
1
element.
-
-
-
Hide description attributes Show description attributes object
-
Represent the portion of text recognized as a URL.
At least
1
element.Hide urls attributes Show urls attributes array[object]
-
Index (zero-based) at which position this entity starts. The index is inclusive.
Minimum value is
0
. -
Index (zero-based) at which position this entity ends. The index is exclusive.
Minimum value is
0
. -
A validly formatted URL.
-
A validly formatted URL.
-
The URL as displayed in the Twitter client.
-
Fully resolved url
-
HTTP Status Code.
Minimum value is
100
, maximum value is599
. -
Title of the page the URL points to.
-
Description of the URL landing page.
-
Represent the information for the URL image
At least
1
element.
-
-
Represent the portion of text recognized as a Hashtag, and its start and end position within the text.
At least
1
element.Hide hashtags attributes Show hashtags attributes array[object]
-
Represent the portion of text recognized as a User mention, and its start and end position within the text.
At least
1
element.Hide mentions attributes Show mentions attributes array[object]
-
Index (zero-based) at which position this entity starts. The index is inclusive.
Minimum value is
0
. -
Index (zero-based) at which position this entity ends. The index is exclusive.
Minimum value is
0
. -
The Twitter handle (screen name) of this user.
Format should match the following pattern:
^[A-Za-z0-9_]{1,15}$
. -
Unique identifier of this User. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
Format should match the following pattern:
^[0-9]{1,19}$
.
-
-
Represent the portion of text recognized as a Cashtag, and its start and end position within the text.
At least
1
element.Hide cashtags attributes Show cashtags attributes array[object]
-
-
-
Unique identifier of this Tweet. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
Format should match the following pattern:
^[0-9]{1,19}$
. -
A list of metrics for this user
Hide public_metrics attributes Show public_metrics attributes object
-
Number of users who are following this user.
-
Number of users this user is following.
-
The number of Tweets (including Retweets) posted by this user.
-
The number of lists that include this user.
-
-
-
Hide includes attributes Show includes attributes object
-
The Twitter User object
At least
1
element.Hide users attributes Show users attributes array[object]
-
Unique identifier of this User. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
Format should match the following pattern:
^[0-9]{1,19}$
. -
Creation time of this user.
-
The friendly name of this user, as shown on their profile.
-
The Twitter handle (screen name) of this user.
Format should match the following pattern:
^[A-Za-z0-9_]{1,15}$
. -
Indicates if this user has chosen to protect their Tweets (in other words, if this user's Tweets are private).
-
Indicate if this user is a verified Twitter User.
-
Indicates withholding details for withheld content.
Hide withheld attributes Show withheld attributes object
-
The URL to the profile image for this user.
-
The location specified in the user's profile, if the user provided one. As this is a freeform value, it may not indicate a valid location, but it may be fuzzily evaluated when performing searches with location queries.
-
The URL specified in the user's profile.
-
The text of this user's profile description (also known as bio), if the user provided one.
-
A list of metadata found in the user's profile description.
Hide entities attributes Show entities attributes object
-
Expanded details for the URL specified in the user's profile, with start and end indices.
Hide url attribute Show url attribute object
-
Represent the portion of text recognized as a URL.
At least
1
element.Hide urls attributes Show urls attributes array[object]
-
Index (zero-based) at which position this entity starts. The index is inclusive.
Minimum value is
0
. -
Index (zero-based) at which position this entity ends. The index is exclusive.
Minimum value is
0
. -
A validly formatted URL.
-
A validly formatted URL.
-
The URL as displayed in the Twitter client.
-
Fully resolved url
-
HTTP Status Code.
Minimum value is
100
, maximum value is599
. -
Title of the page the URL points to.
-
Description of the URL landing page.
-
Represent the information for the URL image
At least
1
element.
-
-
-
Hide description attributes Show description attributes object
-
Represent the portion of text recognized as a URL.
At least
1
element.Hide urls attributes Show urls attributes array[object]
-
Index (zero-based) at which position this entity starts. The index is inclusive.
Minimum value is
0
. -
Index (zero-based) at which position this entity ends. The index is exclusive.
Minimum value is
0
. -
A validly formatted URL.
-
A validly formatted URL.
-
The URL as displayed in the Twitter client.
-
Fully resolved url
-
HTTP Status Code.
Minimum value is
100
, maximum value is599
. -
Title of the page the URL points to.
-
Description of the URL landing page.
-
Represent the information for the URL image
At least
1
element.
-
-
Represent the portion of text recognized as a Hashtag, and its start and end position within the text.
At least
1
element.Hide hashtags attributes Show hashtags attributes array[object]
-
Represent the portion of text recognized as a User mention, and its start and end position within the text.
At least
1
element.Hide mentions attributes Show mentions attributes array[object]
-
Index (zero-based) at which position this entity starts. The index is inclusive.
Minimum value is
0
. -
Index (zero-based) at which position this entity ends. The index is exclusive.
Minimum value is
0
. -
The Twitter handle (screen name) of this user.
Format should match the following pattern:
^[A-Za-z0-9_]{1,15}$
. -
Unique identifier of this User. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
Format should match the following pattern:
^[0-9]{1,19}$
.
-
-
Represent the portion of text recognized as a Cashtag, and its start and end position within the text.
At least
1
element.Hide cashtags attributes Show cashtags attributes array[object]
-
-
-
Unique identifier of this Tweet. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
Format should match the following pattern:
^[0-9]{1,19}$
. -
A list of metrics for this user
Hide public_metrics attributes Show public_metrics attributes object
-
Number of users who are following this user.
-
Number of users this user is following.
-
The number of Tweets (including Retweets) posted by this user.
-
The number of lists that include this user.
-
-
-
At least
1
element.Hide tweets attributes Show tweets attributes array[object]
-
Unique identifier of this Tweet. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
Format should match the following pattern:
^[0-9]{1,19}$
. -
Creation time of the Tweet.
-
The content of the Tweet.
-
Unique identifier of this User. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
Format should match the following pattern:
^[0-9]{1,19}$
. -
Unique identifier of this User. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
Format should match the following pattern:
^[0-9]{1,19}$
. -
Unique identifier of this Tweet. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
Format should match the following pattern:
^[0-9]{1,19}$
. -
Shows who can reply a Tweet. Fields returned are everyone, mentioned_users, and following.
Format should match the following pattern:
^[A-Za-z]{1,12}$
. Values areeveryone
,mentionedUsers
,following
, orother
. -
A list of Tweets this Tweet refers to. For example, if the parent Tweet is a Retweet, a Quoted Tweet or a Reply, it will include the related Tweet referenced to by its parent.
At least
1
element.Hide referenced_tweets attributes Show referenced_tweets attributes array[object]
-
Specifies the type of attachments (if any) present in this Tweet.
Hide attachments attributes Show attachments attributes object
-
The Media Key identifier for this attachment.
At least
1
element. Format of each should match the following pattern:^([0-9]+)_([0-9]+)$
. -
Unique identifier of this poll.
At least
1
element. Format of each should match the following pattern:^[0-9]{1,19}$
.
-
-
Annotation inferred from the tweet text.
At least
1
element.Hide context_annotations attributes Show context_annotations attributes array[object]
-
Represents the data for the context annotation domain.
-
Represents the data for the context annotation entity.
-
-
Indicates withholding details for withheld content.
Hide withheld attributes Show withheld attributes object
-
Indicates if the content is being withheld for on the basis of copyright infringement.
-
A two-letter ISO 3166-1 alpha-2 country code
At least
1
element. Format of each should match the following pattern:^[A-Z]{2}$
. -
Indicates whether the content being withheld is the
tweet
or auser
.Values are
tweet
oruser
.
-
-
The location tagged on the Tweet, if the user provided one.
Hide geo attributes Show geo attributes object
-
A GeoJson Point geometry object.
Hide coordinates attributes Show coordinates attributes object
-
Value is
Point
. -
A GeoJson Position in the format
[longitude,latitude]
.At least
2
but not more than2
elements.
-
-
The identifier for this place
-
-
Hide entities attributes Show entities attributes object
-
Represent the portion of text recognized as a URL.
At least
1
element.Hide urls attributes Show urls attributes array[object]
-
Index (zero-based) at which position this entity starts. The index is inclusive.
Minimum value is
0
. -
Index (zero-based) at which position this entity ends. The index is exclusive.
Minimum value is
0
. -
A validly formatted URL.
-
HTTP Status Code.
Minimum value is
100
, maximum value is599
. -
A validly formatted URL.
-
The URL as displayed in the Twitter client.
-
Fully resolved url
-
Title of the page the URL points to.
-
Description of the URL landing page.
-
Represent the information for the URL image
At least
1
element.
-
-
Represent the portion of text recognized as a Hashtag, and its start and end position within the text.
At least
1
element.Hide hashtags attributes Show hashtags attributes array[object]
-
Represent the portion of text recognized as a User mention, and its start and end position within the text.
At least
1
element.Hide mentions attributes Show mentions attributes array[object]
-
Index (zero-based) at which position this entity starts. The index is inclusive.
Minimum value is
0
. -
Index (zero-based) at which position this entity ends. The index is exclusive.
Minimum value is
0
. -
The Twitter handle (screen name) of this user.
Format should match the following pattern:
^[A-Za-z0-9_]{1,15}$
. -
Unique identifier of this User. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
Format should match the following pattern:
^[0-9]{1,19}$
.
-
-
Represent the portion of text recognized as a Cashtag, and its start and end position within the text.
At least
1
element.Hide cashtags attributes Show cashtags attributes array[object]
-
-
Engagement metrics for the Tweet at the time of the request.
Hide public_metrics attributes Show public_metrics attributes object
-
Indicates if this Tweet contains URLs marked as sensitive, for example content suitable for mature audiences.
-
Language of the Tweet, if detected by Twitter. Returned as a BCP47 language tag.
-
The name of the app the user Tweeted from.
-
Nonpublic engagement metrics for the Tweet at the time of the request.
-
Promoted nonpublic engagement metrics for the Tweet at the time of the request.
Hide promoted_metrics attributes Show promoted_metrics attributes object
-
Organic nonpublic engagement metrics for the Tweet at the time of the request.
Hide organic_metrics attributes Show organic_metrics attributes object
-
Number of times this Tweet has been viewed.
-
Number of times this Tweet has been Retweeted.
-
Number of times this Tweet has been replied to.
-
Number of times this Tweet has been liked.
-
-
-
At least
1
element.Hide places attributes Show places attributes array[object]
-
Hide geo attributes Show geo attributes object
-
Value is
Feature
. -
At least
4
but not more than4
elements. Minimum value of each is-180
, maximum value of each is180
. -
A GeoJson Point geometry object.
Hide geometry attributes Show geometry attributes object
-
Value is
Point
. -
A GeoJson Position in the format
[longitude,latitude]
.At least
2
but not more than2
elements.
-
-
-
The identifier for this place
-
The human readable name of this place.
-
A two-letter ISO 3166-1 alpha-2 country code
Format should match the following pattern:
^[A-Z]{2}$
. -
Values are
poi
,neighborhood
,city
,admin
,country
, orunknown
. -
The full name of this place.
-
The full name of the county in which this place exists.
-
The identifier for this place
At least
1
element.
-
-
At least
1
element.Hide media attributes Show media attributes array[object]
-
Represent a Poll attached to a Tweet
At least
1
element.Hide polls attributes Show polls attributes array[object]
-
Unique identifier of this poll.
Format should match the following pattern:
^[0-9]{1,19}$
. -
Describes a choice in a Poll object.
At least
2
but not more than4
elements. -
Values are
open
orclosed
.
-
-
-
An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).
At least
1
element. -
Hide meta attributes Show meta attributes object
-
-
The request has failed.
curl \
-X GET https://api.twitter.com/2/users/2244994945/followers \
-H "Authorization: Bearer $ACCESS_TOKEN"
{
"data": [
{
"id": "2244994945",
"created_at": "2013-12-14T04:35:55Z",
"name": "Twitter Dev",
"username": "TwitterDev",
"protected": false
}
],
"includes": {
"users": [
{
"id": "2244994945",
"created_at": "2013-12-14T04:35:55Z",
"name": "Twitter Dev",
"username": "TwitterDev",
"protected": false
}
],
"tweets": [
{
"id": "1346889436626259968",
"created_at": "Wed Jan 06 18:40:40 +0000 2021",
"text": "Learn how to use the user Tweet timeline and user mention timeline endpoints in the Twitter API v2 to explore Tweet\\u2026 https:\\/\\/t.co\\/56a0vZUx7i",
"author_id": "2244994945"
}
],
"places": [
{
"id": "f7eb2fa2fea288b1",
"name": "Lakewood",
"country_code": "US",
"place_type": "city",
"full_name": "Lakewood, CO",
"country": "United States",
"contained_within": [
"f7eb2fa2fea288b1"
],
"geo": {
"type": "Feature",
"bbox": [
-105.193475,
39.60973,
-105.053164,
39.761974
],
"geometry": {
"type": "Point",
"coordinates": [
"-105.18816086351444",
"40.247749999999996"
]
},
"properties": {}
}
}
],
"media": [
{
"type": "string",
"media_key": "string",
"height": 42,
"width": 42
}
],
"polls": [
{
"id": "1365059861688410112",
"options": [
{
"position": 42,
"label": "string",
"votes": 42
}
],
"voting_status": "open",
"end_datetime": "2023-05-04T09:42:00+00:00",
"duration_minutes": 42
}
]
},
"errors": [
{
"type": "string",
"title": "string",
"detail": "string",
"status": 42
}
],
"meta": {
"previous_token": "string",
"next_token": "string",
"result_count": 42
}
}
{
"data": [
{
"id": "2244994945",
"name": "Twitter Dev",
"username": "TwitterDev",
"protected": false,
"created_at": "2013-12-14T04:35:55Z"
}
],
"includes": {
"users": [
{
"id": "2244994945",
"name": "Twitter Dev",
"username": "TwitterDev",
"protected": false,
"created_at": "2013-12-14T04:35:55Z"
}
],
"tweets": [
{
"id": "1346889436626259968",
"text": "Learn how to use the user Tweet timeline and user mention timeline endpoints in the Twitter API v2 to explore Tweet\\u2026 https:\\/\\/t.co\\/56a0vZUx7i",
"author_id": "2244994945",
"created_at": "Wed Jan 06 18:40:40 +0000 2021"
}
],
"places": [
{
"geo": {
"type": "Feature",
"bbox": [
-105.193475,
39.60973,
-105.053164,
39.761974
],
"geometry": {
"type": "Point",
"coordinates": [
"-105.18816086351444",
"40.247749999999996"
]
},
"properties": {}
},
"id": "f7eb2fa2fea288b1",
"name": "Lakewood",
"country_code": "US",
"place_type": "city",
"full_name": "Lakewood, CO",
"country": "United States",
"contained_within": [
"f7eb2fa2fea288b1"
]
}
],
"media": [
{
"type": "string",
"media_key": "string",
"height": 42,
"width": 42
}
],
"polls": [
{
"id": "1365059861688410112",
"options": [
{
"position": 42,
"label": "string",
"votes": 42
}
],
"voting_status": "open",
"end_datetime": "2025-05-04T09:42:00Z",
"duration_minutes": 42
}
]
},
"errors": [
{
"type": "string",
"title": "string",
"detail": "string",
"status": 42
}
],
"meta": {
"previous_token": "string",
"next_token": "string",
"result_count": 42
}
}
{
"code": 42,
"message": "string"
}
{
"code": 42,
"message": "string"
}