List tweets
Tweets from the members of a list, newest first.
/lists/tweetsParameters
listIdquery · string · requiredNumeric list ID, the number in the list URL (x.com/i/lists/<listId>).
countquery · integer · optional · default 20Number of tweets 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.
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/lists/tweets?listId=84839422' \
--header 'X-API-KEY: YOUR_API_KEY'from twittrapi import TwittrAPI
client = TwittrAPI(api_key="YOUR_API_KEY")
data = client.lists.tweets("84839422")import { TwittrAPI } from "twittrapi";
const client = new TwittrAPI({ apiKey: process.env.TWITTRAPI_API_KEY });
const data = await client.lists.tweets({ listId: "84839422" });curl 'https://twitter-aio.p.rapidapi.com/lists/tweets?listId=84839422' \
--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 ListLatestTweetsTimeline query.
Simple format (?format=simple or X-Response-Format: simple): Collection of Tweet objects: {data: [Tweet], nextCursor, previousCursor, hasNextPage}. Schema.
{
"data": {
"list": {
"tweets_timeline": {
"timeline": {
"instructions": [
{
"entries": [
{
"content": {
"__typename": "TimelineTimelineItem",
"clientEventInfo": {
"component": "suggest_organic_list_tweet",
"details": {
"timelinesDetails": {
"injectionType": "OrganicListTweet"
}
},
"element": "tweet"
},
"entryType": "TimelineTimelineItem",
"itemContent": {
"__typename": "TimelineTweet",
"itemType": "TimelineTweet",
"tweetDisplayType": "Tweet",
"tweet_results": {
"result": {
"__typename": "Tweet",
"core": {
"user_results": {
"result": {
"__typename": "User",
"affiliates_highlighted_label": {
"label": {
"badge": {
"url": "https://pbs.twimg.com/profile_images/1000000000000000000/example_normal.jpg"
},
"description": "Example",
"url": {
"url": "https://example.com",
"urlType": "DeepLink"
},
"userLabelDisplayType": "Badge",
"userLabelType": "BusinessLabel"
}
},
"avatar": {
"image_url": "https://pbs.twimg.com/profile_images/1000000000000000000/example_normal.jpg"
},
"core": {
"created_at": "Tue May 17 17:54:29 +0000 2011",
"name": "Example User 1",
"screen_name": "example_user_1"
},
"dm_permissions": {
"can_dm": false
},
"follow_request_sent": false,
"has_graduated_access": true,
"id": "VXNlcjoxMDAwMDAwMDAwMDAwMDAwMDAx",
"is_blue_verified": true,
"legacy": {
"default_profile": false,
"default_profile_image": false,
"description": "Example",
"entities": {
"description": {}
},
"fast_followers_count": 0,
"favourites_count": 30446,
"follow_request_sent": false,
"followers_count": 13830347,
"friends_count": 2351,
"has_custom_timelines": true,
"is_translator": false,
"listed_count": 8963,
"media_count": 6619,
"needs_phone_verification": false,
"normal_followers_count": 13830347,
"notifications": false,
"pinned_tweet_ids_str": [
"2092752406081634501"
],
"possibly_sensitive": false,
"profile_banner_url": "https://pbs.twimg.com/profile_banners/1000000000000000000/1700000000",
"profile_interstitial_type": "",
"statuses_count": 33558,
"time_zone": "",
"translator_type": "none",
"url": "",
"utc_offset": 0,
"want_retweets": false,
"withheld_description": "",
"withheld_scope": ""
},
"location": {
"location": ""
},
"media_permissions": {
"can_media_tag": true
},
"parody_commentary_fan_label": "None",
"privacy": {
"protected": false
},
"professional": {
"category": [
{
"icon_name": "IconBriefcaseStroke",
"id": 920,
"name": "Other"
}
],
"rest_id": "1446304510134169604"
},
"profile_bio": {
"description": "Example"
},
"profile_description_language": "en",
"profile_image_shape": "Square",
"relationship_perspectives": {
"blocked_by": false,
"blocking": false,
"followed_by": false,
"following": false,
"muting": false
},
"rest_id": "1000000000000000001",
"super_follow_eligible": false,
"super_followed_by": false,
"super_following": false,
"tipjar_settings": {},
"verification": {
"verified": false,
"verified_type": "Business"
}
}
}
},
"edit_control": {
"edit_control_initial": {
"edit_tweet_ids": [
"2108944664455676146",
"2000000000000000001"
],
"editable_until_msecs": "1791650164000",
"edits_remaining": "4",
"is_edit_eligible": true
},
"initial_tweet_id": "2108944664455676146"
},
"grok_analysis_button": true,
"is_translatable": false,
"legacy": {
"bookmark_count": 1,
"bookmarked": false,
"conversation_id_str": "2000000000000000001",
"created_at": "Sat Oct 10 15:36:16 +0000 2026",
"display_text_range": [
0,
55
],
"entities": {
"media": [
{
"display_url": "example.com",
"expanded_url": "https://example.com",
"ext_media_availability": {
"status": "Available"
},
"features": {
"all": {
"tags": [
{
"name": "Example User 2",
"screen_name": "example_user_2",
"type": "user",
"user_id": "1000000000000000002"
}
]
},
"large": {
"faces": [
{
"h": 47,
"w": 47,
"x": 372,
"y": 1040
},
{
"h": 76,
"w": 76,
"x": 376,
"y": 1078
},
{
"h": 260,
"w": 260,
"x": 377,
"y": 74
}
]
},
"medium": {
"faces": [
{
"h": 45,
"w": 45,
"x": 363,
"y": 1016
},
{
"h": 74,
"w": 74,
"x": 367,
"y": 1053
},
{
"h": 254,
"w": 254,
"x": 368,
"y": 72
}
]
},
"orig": {
"faces": [
{
"h": 47,
"w": 47,
"x": 372,
"y": 1040
},
{
"h": 76,
"w": 76,
"x": 376,
"y": 1078
},
{
"h": 260,
"w": 260,
"x": 377,
"y": 74
}
]
},
"small": {
"faces": [
{
"h": 26,
"w": 26,
"x": 206,
"y": 576
},
{
"h": 42,
"w": 42,
"x": 208,
"y": 597
},
{
"h": 144,
"w": 144,
"x": 208,
"y": 40
}
]
}
},
"id_str": "2108944661494566912",
"indices": [
56,
79
],
"media_key": "3_2108944661494566912",
"media_results": {
"result": {
"media_key": "3_2108944661494566912"
}
},
"media_url_https": "https://pbs.twimg.com/media/EXAMPLE.jpg",
"original_info": {
"focus_rects": [
{
"h": 550,
"w": 982,
"x": 0,
"y": 0
},
{
"h": 982,
"w": 982,
"x": 0,
"y": 0
},
{
"h": 1119,
"w": 982,
"x": 0,
"y": 0
},
{
"h": 1228,
"w": 614,
"x": 214,
"y": 0
},
{
"h": 1228,
"w": 982,
"x": 0,
"y": 0
}
],
"height": 1228,
"width": 982
},
"sizes": {
"large": {
"h": 1228,
"resize": "fit",
"w": 982
},
"medium": {
"h": 1200,
"resize": "fit",
"w": 960
},
"small": {
"h": 680,
"resize": "fit",
"w": 544
},
"thumb": {
"h": 150,
"resize": "crop",
"w": 150
}
},
"type": "photo",
"url": "https://t.co/example"
}
]
},
"extended_entities": {
"media": [
{
"display_url": "example.com",
"expanded_url": "https://example.com",
"ext_media_availability": {
"status": "Available"
},
"features": {
"all": {
"tags": [
{
"name": "Example User 2",
"screen_name": "example_user_2",
"type": "user",
"user_id": "1000000000000000002"
}
]
},
"large": {
"faces": [
{
"h": 47,
"w": 47,
"x": 372,
"y": 1040
},
{
"h": 76,
"w": 76,
"x": 376,
"y": 1078
},
{
"h": 260,
"w": 260,
"x": 377,
"y": 74
}
]
},
"medium": {
"faces": [
{
"h": 45,
"w": 45,
"x": 363,
"y": 1016
},
{
"h": 74,
"w": 74,
"x": 367,
"y": 1053
},{
"data": [
{
"id": "2000000000000000001",
"url": "https://x.com/example_user_1/status/2000000000000000001",
"text": "Example text.",
"createdAt": "2026-10-10T15:36:16Z",
"lang": "en",
"author": {
"id": "1000000000000000001",
"username": "example_user_1",
"name": "Example User 1",
"description": "Example",
"location": "",
"url": null,
"createdAt": "2011-05-17T17:54:29Z",
"avatarUrl": "https://pbs.twimg.com/profile_images/1000000000000000000/example.jpg",
"bannerUrl": "https://pbs.twimg.com/profile_banners/1000000000000000000/1700000000",
"verified": true,
"verifiedType": "Business",
"protected": false,
"counts": {
"followers": 13830347,
"following": 2351,
"tweets": 33558,
"likes": 30446,
"media": 6619,
"listed": 8963
},
"pinnedTweetIds": [
"2092752406081634501"
],
"isAutomated": false
},
"counts": {
"likes": 22,
"retweets": 6,
"replies": 4,
"quotes": 1,
"bookmarks": 1,
"views": 7500
},
"media": [
{
"type": "photo",
"url": "https://pbs.twimg.com/media/EXAMPLE.jpg",
"previewUrl": "https://pbs.twimg.com/media/EXAMPLE.jpg",
"width": 982,
"height": 1228,
"altText": null,
"durationMs": null
}
],
"urls": [],
"hashtags": [],
"mentions": [],
"replyTo": null,
"quoted": null,
"retweetOf": null,
"conversationId": "2000000000000000001",
"isPinned": false,
"source": null,
"article": null
}
],
"nextCursor": "DAABCgABHUS7Mid__58KAAIdQPHo7lqQcQgAAwAAAAIAAA",
"previousCursor": "DAABCgABHUS7MieAJxEKAAIdRI-M3ZvQJQgAAwAAAAEAAA",
"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
- 400listId is missing or 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.