Twitter Scraper

ENDPOINTS
GET/tweets/details/batch

Tweet Details (Batch)

Get full details for up to 20 tweets in one call. Missing tweets come back with an error instead of failing the batch.

QUERY PARAMS

Comma-separated post IDs or post links (max 20).

Example: 1585841080431321088,1671370010743263233

{
  "count": 2,
  "tweets": [
    {
      "id": "1585841080431321088",
      "link": "https://x.com/elonmusk/status/1585841080431321088",
      "text": "the bird is freed",
      "language": "en",
      "created_at": "2022-10-28T03:49:11Z",
      "author": {
        "id": "44196397",
        "username": "elonmusk",
        "name": "Elon Musk",
        "link": "https://x.com/elonmusk",
        "profile_image": "https://pbs.twimg.com/profile_images/2053244804520427520/m8mdWZCG_400x400.jpg",
        "is_blue_verified": true,
        "is_verified": false,
        "followers_count": 241708050
      },
      "is_pinned": false,
      "is_reply": false,
      "reply_to": null,
      "is_quote": false,
      "quoted_tweet": null,
      "is_retweet": false,
      "retweeted_tweet": null,
      "conversation_id": "1585841080431321088",
      "media": [],
      "links": [],
      "hashtags": [],
      "mentions": [],
      "cashtags": [],
      "card": null,
      "poll": null,
      "community": null,
      "community_note": null,
      "place": null,
      "stats": {
        "replies": 121367,
        "retweets": 292894,
        "likes": 2165688,
        "quotes": 51733,
        "bookmarks": 8227,
        "views": null
      },
      "is_long_form": false,
      "is_possibly_sensitive": null,
      "is_edited": false,
      "edit_tweet_ids": [],
      "source": "Twitter for iPhone"
    },
    {
      "id": "1671370010743263233",
      "link": "https://x.com/FonsDK/status/1671370010743263233",
      "text": "Watching Twitter videos on my TV only took me a few seconds to set up🀯\n\nAn awesome feature, if you’re watching longer videos on X/Twitter @elonmusk",
      "language": "en",
      "created_at": "2023-06-21T04:10:37Z",
      "author": {
        "id": "2337692699",
        "username": "FonsDK",
        "name": "Mathias FÞns",
        "link": "https://x.com/FonsDK",
        "profile_image": "https://pbs.twimg.com/profile_images/1485391315819020292/1_3QNpYj_400x400.jpg",
        "is_blue_verified": true,
        "is_verified": false,
        "followers_count": 41048
      },
      "is_pinned": false,
      "is_reply": false,
      "reply_to": null,
      "is_quote": false,
      "quoted_tweet": null,
      "is_retweet": false,
      "retweeted_tweet": null,
      "conversation_id": "1671370010743263233",
      "media": [
        {
          "type": "video",
          "id": "1671367628504309761",
          "link": "https://x.com/FonsDK/status/1671370010743263233/video/1",
          "image": "https://pbs.twimg.com/amplify_video_thumb/1671367628504309761/img/WoU2L8IXtzfmhlq9.jpg",
          "width": 1080,
          "height": 1920,
          "alt_text": null,
          "duration_ms": 8333,
          "video_link": "https://video.twimg.com/amplify_video/1671367628504309761/vid/720x1280/YSMJaf2mPv_41IO7.mp4?tag=14",
          "video_variants": [
            {
              "link": "https://video.twimg.com/amplify_video/1671367628504309761/pl/i5UdEvopIWEUX7CF.m3u8?tag=14",
              "bitrate": null,
              "content_type": "application/x-mpegURL"
            },
            {
              "link": "https://video.twimg.com/amplify_video/1671367628504309761/vid/320x568/GgI9Wk58dUudZiOo.mp4?tag=14",
              "bitrate": 632000,
              "content_type": "video/mp4"
            },
            {
              "link": "https://video.twimg.com/amplify_video/1671367628504309761/vid/480x852/1FeerZHX_A4YwBec.mp4?tag=14",
              "bitrate": 950000,
              "content_type": "video/mp4"
            },
            {
              "link": "https://video.twimg.com/amplify_video/1671367628504309761/vid/720x1280/YSMJaf2mPv_41IO7.mp4?tag=14",
              "bitrate": 2176000,
              "content_type": "video/mp4"
            }
          ]
        }
      ],
      "links": [],
      "hashtags": [],
      "mentions": [
        {
          "id": "44196397",
          "username": "elonmusk",
          "name": "Elon Musk",
          "link": "https://x.com/elonmusk"
        }
      ],
      "cashtags": [],
      "card": null,
      "poll": null,
      "community": null,
      "community_note": null,
      "place": null,
      "stats": {
        "replies": 1273,
        "retweets": 1938,
        "likes": 16167,
        "quotes": 206,
        "bookmarks": 827,
        "views": null
      },
      "is_long_form": false,
      "is_possibly_sensitive": false,
      "is_edited": false,
      "edit_tweet_ids": [],
      "source": "Twitter for iPad"
    }
  ]
}