Docs
List tweets

List tweets

Tweets from the members of a list, newest first.

GET/lists/tweets

Parameters

  • listIdquery · string · required

    Numeric list ID, the number in the list URL (x.com/i/lists/<listId>).

  • countquery · integer · optional · default 20

    Number 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 · optional

    Bottom 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'

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
                                        },

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.