Users who retweeted a tweet
Accounts that retweeted a tweet.
/tweet/{tweetId}/retweetsParameters
tweetIdpath · string · requiredNumeric tweet ID (digits only, up to 30), the number at the end of the tweet URL.
countquery · integer · optional · default 20Number of users to ask X for. Sent to X as is; X treats it as a hint and decides how many it returns (follower and following pages often hold 50 to 70 users for count=20). A value that is not a number falls back to 20.
cursorquery · string · optionalBottom cursor from the previous page. Leave it out for the first page. See Pagination.
rankingModequery · string · optionalRecency turns X's ranking off. Any other value, or none, keeps it on.
Paginated: pass the bottom cursor of one page as cursor to get the next. Each page is one billed call. See Pagination.
Example request
curl 'https://api.twittrapi.com/tweet/20/retweets' \
--header 'X-API-KEY: YOUR_API_KEY'from twittrapi import TwittrAPI
client = TwittrAPI(api_key="YOUR_API_KEY")
data = client.tweets.retweeters("20")import { TwittrAPI } from "twittrapi";
const client = new TwittrAPI({ apiKey: process.env.TWITTRAPI_API_KEY });
const data = await client.tweets.retweeters({ tweetId: "20" });curl 'https://twitter-aio.p.rapidapi.com/tweet/20/retweets' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
--header 'x-rapidapi-host: twitter-aio.p.rapidapi.com'Base URL https://api.twittrapi.com, key in the X-API-KEY header. Python and Node.js use the official SDKs.
Response
Raw JSON of X's Retweeters query.
Simple format (?format=simple or X-Response-Format: simple): Collection of User objects: {data: [User], nextCursor, previousCursor, hasNextPage}. Schema.
{
"data": {
"retweeters_timeline": {
"timeline": {
"instructions": [
{
"entries": [
{
"content": {
"__typename": "TimelineTimelineItem",
"entryType": "TimelineTimelineItem",
"itemContent": {
"__typename": "TimelineUser",
"itemType": "TimelineUser",
"userDisplayType": "User",
"user_results": {
"result": {
"__typename": "User",
"affiliates_highlighted_label": {},
"has_graduated_access": true,
"id": "VXNlcjoxMDAwMDAwMDAwMDAwMDAwMDAx",
"is_blue_verified": false,
"legacy": {
"blocked_by": false,
"blocking": false,
"can_dm": true,
"can_media_tag": true,
"created_at": "Sat Dec 25 21:19:29 +0000 2021",
"default_profile": true,
"default_profile_image": false,
"description": "Example",
"entities": {
"description": {}
},
"fast_followers_count": 0,
"favourites_count": 6190,
"follow_request_sent": false,
"followed_by": false,
"followers_count": 415,
"following": false,
"friends_count": 470,
"has_custom_timelines": true,
"is_translator": false,
"listed_count": 0,
"location": "Example",
"media_count": 102,
"muting": false,
"name": "Example User 1",
"needs_phone_verification": false,
"normal_followers_count": 415,
"notifications": false,
"possibly_sensitive": false,
"profile_banner_url": "https://pbs.twimg.com/profile_banners/1000000000000000000/1700000000",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/1000000000000000000/example_normal.jpg",
"profile_interstitial_type": "",
"protected": false,
"screen_name": "example_user_1",
"statuses_count": 1411,
"time_zone": "",
"translator_type": "none",
"url": "",
"utc_offset": 0,
"verified": false,
"want_retweets": false,
"withheld_description": "",
"withheld_scope": ""
},
"parody_commentary_fan_label": "None",
"profile_image_shape": "Circle",
"rest_id": "1000000000000000001",
"super_follow_eligible": false,
"super_followed_by": false,
"super_following": false,
"tipjar_settings": {}
}
}
}
},
"entryId": "user-1000000000000000001",
"sortIndex": "1878501968610066432"
},
{
"content": {
"__typename": "TimelineTimelineItem",
"entryType": "TimelineTimelineItem",
"itemContent": {
"__typename": "TimelineUser",
"itemType": "TimelineUser",
"userDisplayType": "User",
"user_results": {
"result": {
"__typename": "User",
"affiliates_highlighted_label": {},
"has_graduated_access": false,
"id": "VXNlcjoxMDAwMDAwMDAwMDAwMDAwMDAy",
"is_blue_verified": false,
"legacy": {
"blocked_by": false,
"blocking": false,
"can_dm": false,
"can_media_tag": true,
"created_at": "Wed Sep 30 22:33:12 +0000 2026",
"default_profile": true,
"default_profile_image": false,
"description": "",
"entities": {
"description": {}
},
"fast_followers_count": 0,
"favourites_count": 58,
"follow_request_sent": false,
"followed_by": false,
"followers_count": 2,
"following": false,
"friends_count": 48,
"has_custom_timelines": false,
"is_translator": false,
"listed_count": 0,
"location": "",
"media_count": 2,
"muting": false,
"name": "Example User 2",
"needs_phone_verification": false,
"normal_followers_count": 2,
"notifications": false,
"possibly_sensitive": false,
"profile_banner_url": "https://pbs.twimg.com/profile_banners/1000000000000000000/1700000000",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/1000000000000000000/example_normal.jpg",
"profile_interstitial_type": "",
"protected": false,
"screen_name": "example_user_2",
"statuses_count": 12,
"time_zone": "",
"translator_type": "none",
"url": "",
"utc_offset": 0,
"verified": false,
"want_retweets": false,
"withheld_description": "",
"withheld_scope": ""
},
"parody_commentary_fan_label": "None",
"profile_image_shape": "Circle",
"rest_id": "1000000000000000002",
"super_follow_eligible": false,
"super_followed_by": false,
"super_following": false,
"tipjar_settings": {}
}
}
}
},
"entryId": "user-1000000000000000002",
"sortIndex": "1877799247554805760"
},
{
"content": {
"__typename": "TimelineTimelineCursor",
"cursorType": "Top",
"entryType": "TimelineTimelineCursor",
"value": "HCaAgIDOzuXjkTQAAA=="
},
"entryId": "cursor-top-1878501968610066433",
"sortIndex": "1878501968610066433"
},
{
"content": {
"__typename": "TimelineTimelineCursor",
"cursorType": "Bottom",
"entryType": "TimelineTimelineCursor",
"stopOnEmptyResponse": true,
"value": "HBaAgIC+kLf1iDQAAA=="
},
"entryId": "cursor-bottom-1876007477626011647",
"sortIndex": "1876007477626011647"
}
],
"type": "TimelineAddEntries"
}
],
"responseObjects": {}
}
}
}
}{
"data": [
{
"id": "1000000000000000001",
"username": "example_user_1",
"name": "Example User 1",
"description": "Example",
"location": "Example",
"url": null,
"createdAt": "2021-12-25T21:19:29Z",
"avatarUrl": "https://pbs.twimg.com/profile_images/1000000000000000000/example.jpg",
"bannerUrl": "https://pbs.twimg.com/profile_banners/1000000000000000000/1700000000",
"verified": false,
"verifiedType": null,
"protected": false,
"counts": {
"followers": 415,
"following": 470,
"tweets": 1411,
"likes": 6190,
"media": 102,
"listed": 0
},
"pinnedTweetIds": [],
"isAutomated": false
},
{
"id": "1000000000000000002",
"username": "example_user_2",
"name": "Example User 2",
"description": "",
"location": "",
"url": null,
"createdAt": "2026-09-30T22:33:12Z",
"avatarUrl": "https://pbs.twimg.com/profile_images/1000000000000000000/example.jpg",
"bannerUrl": "https://pbs.twimg.com/profile_banners/1000000000000000000/1700000000",
"verified": false,
"verifiedType": null,
"protected": false,
"counts": {
"followers": 2,
"following": 48,
"tweets": 12,
"likes": 58,
"media": 2,
"listed": 0
},
"pinnedTweetIds": [],
"isAutomated": false
}
],
"nextCursor": "HBaAgIC+kLf1iDQAAA==",
"previousCursor": "HCaAgIDOzuXjkTQAAA==",
"hasNextPage": true
}In the raw format, field names and nesting come from X and can change without notice. See Response format; the simple format keeps a fixed schema.
Errors
- 422tweetId is not numeric.
Errors every endpoint can return (401, 402, 403, 404, 408, 409, 429, 5xx), and which of them are charged, are on the Errors page. Calls that fail with 400, 408, 409 or a 5xx error are refunded.