Twitter Scraper

ENDPOINTS
GET/users/tweets

User Tweets

Get a user's pinned tweet and latest original tweets, newest first.

QUERY PARAMS

Username, numeric user ID or any x.com / twitter.com profile link.

Examples:

  • Username: nasa
  • ID: 44196397
  • URL: https://x.com/nasa

Maximum number of tweets to return.

Default: 20

Allowed values: 1-100

{
  "user": "nasa",
  "count": 5,
  "has_more": false,
  "note": "X shows a logged-out visitor the pinned post and the latest original posts only; use /twitter/users/top-tweets for the most-liked posts.",
  "tweets": [
    {
      "id": "2102502016610091359",
      "link": "https://x.com/NASA/status/2102502016610091359",
      "text": "Get in, we're going up! 🚀\n\nJoin us for MAX POWER, a new aerospace festival happening Nov. 7-8 at @NASAKennedy. With air shows, space exhibits, and NASA astronauts, it's a family adventure your entire crew can enjoy!\n\nPlan your visit: https://nasa.gov/maxpower",
      "language": "en",
      "created_at": "2026-09-22T20:55:18Z",
      "author": {
        "id": "11348282",
        "username": "NASA",
        "name": "NASA",
        "link": "https://x.com/NASA",
        "profile_image": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_400x400.jpg",
        "is_blue_verified": true,
        "is_verified": false,
        "followers_count": 92377451
      },
      "is_pinned": false,
      "is_reply": false,
      "reply_to": null,
      "is_quote": false,
      "quoted_tweet": null,
      "is_retweet": false,
      "retweeted_tweet": null,
      "conversation_id": null,
      "media": [
        {
          "type": "video",
          "id": "2102501945021763584",
          "link": "https://x.com/NASA/status/2102502016610091359/video/1",
          "image": "https://pbs.twimg.com/media/HS2WcM7WkAAcGqn.jpg",
          "width": 720,
          "height": 405,
          "alt_text": null,
          "duration_ms": 30030,
          "video_link": "https://video.twimg.com/amplify_video/2102501945021763584/vid/avc1/1920x1080/iQnT6FFYFX7Ia77o.mp4?tag=16",
          "video_variants": [
            {
              "link": "https://video.twimg.com/amplify_video/2102501945021763584/pl/inuCNyfdGByS-roa.m3u8?tag=16&v=0d9",
              "bitrate": null,
              "content_type": "application/x-mpegURL"
            },
            {
              "link": "https://video.twimg.com/amplify_video/2102501945021763584/vid/avc1/480x270/FW35L8y6g1BNRMiK.mp4?tag=16",
              "bitrate": 288000,
              "content_type": "video/mp4"
            },
            {
              "link": "https://video.twimg.com/amplify_video/2102501945021763584/vid/avc1/640x360/4K-deUYSQl10iqbM.mp4?tag=16",
              "bitrate": 832000,
              "content_type": "video/mp4"
            },
            {
              "link": "https://video.twimg.com/amplify_video/2102501945021763584/vid/avc1/1280x720/4BsKmifqI6R85YAe.mp4?tag=16",
              "bitrate": 2176000,
              "content_type": "video/mp4"
            },
            {
              "link": "https://video.twimg.com/amplify_video/2102501945021763584/vid/avc1/1920x1080/iQnT6FFYFX7Ia77o.mp4?tag=16",
              "bitrate": 10368000,
              "content_type": "video/mp4"
            }
          ]
        }
      ],
      "links": [
        {
          "link": "https://nasa.gov/maxpower",
          "display_text": "nasa.gov/maxpower"
        }
      ],
      "hashtags": [],
      "mentions": [
        {
          "id": "16580226",
          "username": "NASAKennedy",
          "name": null,
          "link": "https://x.com/NASAKennedy"
        }
      ],
      "cashtags": [],
      "card": null,
      "poll": null,
      "community": null,
      "community_note": null,
      "place": null,
      "stats": {
        "replies": 95,
        "retweets": 245,
        "likes": 1051,
        "quotes": 11,
        "bookmarks": 180,
        "views": 489251
      },
      "is_long_form": false,
      "is_possibly_sensitive": false,
      "is_edited": false,
      "edit_tweet_ids": [],
      "source": null
    },
    {
      "id": "2102425682286412261",
      "link": "https://x.com/NASA/status/2102425682286412261",
      "text": "Sept. 22 marks the fall equinox. That means day and night are nearly equal in length around the world, and in the Northern Hemisphere, fall begins. In the Southern Hemisphere, spring begins on this day.",
      "language": "en",
      "created_at": "2026-09-22T15:51:58Z",
      "author": {
        "id": "11348282",
        "username": "NASA",
        "name": "NASA",
        "link": "https://x.com/NASA",
        "profile_image": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_400x400.jpg",
        "is_blue_verified": true,
        "is_verified": false,
        "followers_count": 92377451
      },
      "is_pinned": false,
      "is_reply": false,
      "reply_to": null,
      "is_quote": false,
      "quoted_tweet": null,
      "is_retweet": false,
      "retweeted_tweet": null,
      "conversation_id": null,
      "media": [
        {
          "type": "photo",
          "id": "2102425671280553984",
          "link": "https://x.com/NASA/status/2102425682286412261/photo/1",
          "image": "https://pbs.twimg.com/media/HS1RAkdW8AAY1Mp.jpg",
          "width": 3216,
          "height": 2988,
          "alt_text": "A satellite's-eye view from October 2022 of the Adirondack Mountains of northeast New York during fall. The leaves on trees are a fiery orange and red. Some trees remain green. White fluffy clouds are visible at the edges of the image.",
          "duration_ms": null,
          "video_link": null,
          "video_variants": null
        }
      ],
      "links": [],
      "hashtags": [],
      "mentions": [],
      "cashtags": [],
      "card": null,
      "poll": null,
      "community": null,
      "community_note": null,
      "place": null,
      "stats": {
        "replies": 166,
        "retweets": 1117,
        "likes": 6507,
        "quotes": 89,
        "bookmarks": 286,
        "views": 815688
      },
      "is_long_form": false,
      "is_possibly_sensitive": false,
      "is_edited": false,
      "edit_tweet_ids": [],
      "source": null
    },
    {
      "id": "2102147059411263495",
      "link": "https://x.com/NASA/status/2102147059411263495",
      "text": "Welcome to the Artemis Accords, Albania 🇊🇱\n\nEarlier today, the Republic of Albania became the 73rd country to sign the Artemis Accords, expanding our international commitment to the peaceful exploration and use of space: https://go.nasa.gov/4yaGgO8",
      "language": "en",
      "created_at": "2026-09-21T21:24:49Z",
      "author": {
        "id": "11348282",
        "username": "NASA",
        "name": "NASA",
        "link": "https://x.com/NASA",
        "profile_image": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_400x400.jpg",
        "is_blue_verified": true,
        "is_verified": false,
        "followers_count": 92377451
      },
      "is_pinned": false,
      "is_reply": false,
      "reply_to": null,
      "is_quote": false,
      "quoted_tweet": null,
      "is_retweet": false,
      "retweeted_tweet": null,
      "conversation_id": null,
      "media": [
        {
          "type": "photo",
          "id": "2102147045431681024",
          "link": "https://x.com/NASA/status/2102147059411263495/photo/1",
          "image": "https://pbs.twimg.com/media/HSxTmaSXoAAcXE1.jpg",
          "width": 5775,
          "height": 5311,
          "alt_text": "Two men wearing suits smile and shake hands in front of a small table displaying miniature flags of the United States and Albania. Behind them is a large display of the countries which have signed the Artemis Accords.",
          "duration_ms": null,
          "video_link": null,
          "video_variants": null
        }
      ],
      "links": [
        {
          "link": "https://go.nasa.gov/4yaGgO8",
          "display_text": "go.nasa.gov/4yaGgO8"
        }
      ],
      "hashtags": [],
      "mentions": [],
      "cashtags": [],
      "card": null,
      "poll": null,
      "community": null,
      "community_note": null,
      "place": null,
      "stats": {
        "replies": 108,
        "retweets": 262,
        "likes": 2266,
        "quotes": 31,
        "bookmarks": 95,
        "views": 757312
      },
      "is_long_form": false,
      "is_possibly_sensitive": false,
      "is_edited": false,
      "edit_tweet_ids": [],
      "source": null
    },
    {
      "id": "2102099292072612070",
      "link": "https://x.com/NASA/status/2102099292072612070",
      "text": "Let’s get cosmic. 🌌\n\nWe brought NASA astronaut Chris Williams and Neil deGrasse Tyson together to discuss what we’re learning about our place in the universe. Listen to their conversation in our latest episode of Houston We Have a Podcast: https://go.nasa.gov/3V69PSj",
      "language": "en",
      "created_at": "2026-09-21T18:15:01Z",
      "author": {
        "id": "11348282",
        "username": "NASA",
        "name": "NASA",
        "link": "https://x.com/NASA",
        "profile_image": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_400x400.jpg",
        "is_blue_verified": true,
        "is_verified": false,
        "followers_count": 92377451
      },
      "is_pinned": false,
      "is_reply": false,
      "reply_to": null,
      "is_quote": false,
      "quoted_tweet": null,
      "is_retweet": false,
      "retweeted_tweet": null,
      "conversation_id": null,
      "media": [
        {
          "type": "photo",
          "id": "2102070287881707520",
          "link": "https://x.com/NASA/status/2102099292072612070/photo/1",
          "image": "https://pbs.twimg.com/media/HSwNyiIXoAAtDdx.jpg",
          "width": 1080,
          "height": 1080,
          "alt_text": "A view of a starfield shrouded in red, white, and blue gas and dust. A few particularly bright stars stand out in the bottom right quadrant of the photo. Text overlay on the photo reads: \"Houston We Have a Podcast\" and \"Episode 437 Cosmic Perspectives With Neil deGrasse Tyson.\" The NASA meatball is in the upper right corner.",
          "duration_ms": null,
          "video_link": null,
          "video_variants": null
        }
      ],
      "links": [
        {
          "link": "https://go.nasa.gov/3V69PSj",
          "display_text": "go.nasa.gov/3V69PSj"
        }
      ],
      "hashtags": [],
      "mentions": [],
      "cashtags": [],
      "card": null,
      "poll": null,
      "community": null,
      "community_note": null,
      "place": null,
      "stats": {
        "replies": 109,
        "retweets": 214,
        "likes": 1517,
        "quotes": 18,
        "bookmarks": 91,
        "views": 546306
      },
      "is_long_form": false,
      "is_possibly_sensitive": false,
      "is_edited": false,
      "edit_tweet_ids": [],
      "source": null
    },
    {
      "id": "2101295391119450588",
      "link": "https://x.com/NASA/status/2101295391119450588",
      "text": "LIVE: After lifting off on Sept. 16, the Progress 96 cargo spacecraft is arriving at the @Space_Station with food, fuel, and supplies. It is scheduled to dock at 9:46am ET (1346 UTC). https://x.com/i/broadcasts/1NxaroVmRBNKj",
      "language": "en",
      "created_at": "2026-09-19T13:00:36Z",
      "author": {
        "id": "11348282",
        "username": "NASA",
        "name": "NASA",
        "link": "https://x.com/NASA",
        "profile_image": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_400x400.jpg",
        "is_blue_verified": true,
        "is_verified": false,
        "followers_count": 92377451
      },
      "is_pinned": false,
      "is_reply": false,
      "reply_to": null,
      "is_quote": false,
      "quoted_tweet": null,
      "is_retweet": false,
      "retweeted_tweet": null,
      "conversation_id": null,
      "media": [],
      "links": [
        {
          "link": "https://x.com/i/broadcasts/1NxaroVmRBNKj",
          "display_text": "x.com/i/broadcasts/1
"
        }
      ],
      "hashtags": [],
      "mentions": [
        {
          "id": "1451773004",
          "username": "Space_Station",
          "name": null,
          "link": "https://x.com/Space_Station"
        }
      ],
      "cashtags": [],
      "card": {
        "type": "745291183405076480:broadcast",
        "title": null,
        "description": null,
        "link": "https://t.co/yduxA7HufN",
        "domain": null,
        "image": null
      },
      "poll": null,
      "community": null,
      "community_note": null,
      "place": null,
      "stats": {
        "replies": 232,
        "retweets": 519,
        "likes": 3291,
        "quotes": 45,
        "bookmarks": 159,
        "views": 1165002
      },
      "is_long_form": false,
      "is_possibly_sensitive": false,
      "is_edited": false,
      "edit_tweet_ids": [],
      "source": null
    }
  ]
}