xAPIs.dev
API Reference · v2
Free Tools{ }OpenAPI YAMLGet API key
API Reference / Tweet / Get thread

Get thread

GET/twitter/tweet/thread_context15 credits

Return the full conversation thread context for a tweet. The sample response below is captured from the live API. List endpoints paginate with `has_next_page` and `next_cursor`.

Authentication required
Send your key in the x-api-key header. Requests without a valid key return 401.

Query parameters

tweetId
stringrequired
The numeric ID of any tweet in the thread.

Response fields

tweetsarray
Array of tweet objects with engagement metrics and author info.
has_next_pageboolean
Whether another page of results is available.
next_cursorstring
Cursor for the next page; null or empty when exhausted.
statusstring
Request status: "success" or "error".
msgstring
Status message from the upstream.
Request
curl https://v2.xapis.dev/twitter/tweet/thread_context \
  -G --data-urlencode "tweetId=2074521451474895265" \
  -H "x-api-key: $XAPIS_KEY"
Response200 OK
application/json
{
  "tweets": [
    {
      "type": "tweet",
      "id": "2074521451474895265",
      "url": "https://x.com/elonmusk/status/2074521451474895265",
      "twitterUrl": "https://twitter.com/elonmusk/status/2074521451474895265",
      "text": "Why did the media push this lie so hard?",
      "source": "Twitter for iPhone",
      "retweetCount": 9321,
      "replyCount": 3850,
      "likeCount": 52516,
      "quoteCount": 251,
      "viewCount": 3098090,
      "createdAt": "Tue Jul 07 15:50:31 +0000 2026",
      "lang": "en",
      "bookmarkCount": 1622,
      "isReply": false,
      "inReplyToId": null,
      "conversationId": "2074521451474895265",
      "inReplyToUserId": null,
      "inReplyToUsername": null,
      "author": {
        "type": "user",
        "userName": "elonmusk",
        "url": "https://x.com/elonmusk",
        "twitterUrl": "https://twitter.com/elonmusk",
        "id": "44196397",
        "name": "Elon Musk",
        "isVerified": false,
        "isBlueVerified": true,
        "profilePicture": "https://pbs.twimg.com/profile_images/2053244804520427520/m8mdWZCG_normal.jpg",
        "coverPicture": "https://pbs.twimg.com/profile_banners/44196397/1774145451",
        "description": "Starmind",
        "location": "",
        "followers": 240742423,
        "following": 1366,
        "status": "",
        "canDm": false,
        "canMediaTag": false,
        "createdAt": "Tue Jun 02 20:12:29 +0000 2009",
        "entities": {
          "description": "…"
        },
        "fastFollowersCount": 0,
        "favouritesCount": 238191,
        "hasCustomTimelines": true,
        "isTranslator": false,
        "mediaCount": 4593,
        "…": "…"
      },
      "extendedEntities": {},
      "card": null,
      "place": {},
      "entities": {},
      "…": "…"
    }
  ],
  "has_next_page": true,
  "next_cursor": "DAAKCgABHMsY3vw__osLAAIAAAHIRW1QQzZ3QUFBZlEvZ0dKTjB2R3AvQUFBQUNnY3lpN0k1QmR3dWh6S1BQVmcxekROSE1xVlhT…",
  "status": "success",
  "msg": "success"
}
base url · https://v2.xapis.dev
Ready to call Get thread?