---
title: "GET /twitter/tweet/thread_context"
method: GET
path: "/twitter/tweet/thread_context"
---

# GET /twitter/tweet/thread_context

`GET /twitter/tweet/thread_context`

Get the thread context of a tweet.Suppose a tweet thread consists of t1, t2 (replying to t1), t3 (replying to t2), and t4, t5, t6 (all replying to t3). If we provide an API where you input t3 and receive t1, t2, t3, t4, t5, t6.Pagination is supported.The pagination size cannot be set (due to Twitter's limitations), and the data returned per page is not fixed.

## Query parameters

- `tweetId` string, string, required
- `cursor` string, string

## Response `200`

Tweet replies response

- object
  - `replies` Tweet[] — Array of tweets
    - `type` 'tweet'
    - `id` string — The ID of the tweet
    - `url` string — The URL of the tweet
    - `text` string — The text of the tweet
    - `source` string — The source of the tweet.eg. "Twitter for iPhone"
    - `retweetCount` integer — The number of times the tweet has been retweeted
    - `replyCount` integer — The number of times the tweet has been replied to
    - `likeCount` integer — The number of times the tweet has been liked
    - `quoteCount` integer — The number of times the tweet has been quoted
    - `viewCount` integer — The number of times the tweet has been viewed
    - `createdAt` string — The date and time the tweet was created.eg. Tue Dec 10 07:00:30 +0000 2024
    - `lang` string — The language of the tweet.eg. "en".may be empty
    - `bookmarkCount` integer — The number of times the tweet has been bookmarked
    - `isReply` boolean — Indicates if the tweet is a reply
    - `inReplyToId` string — The ID of the tweet being replied to.may be empty
    - `conversationId` string — The ID of the conversation the tweet is part of.may be empty
    - `displayTextRange` integer[] — specifies the UTF-16 code unit indices in full_text that define the visible portion of a Tweet.eg"@jack Thanks for the update!",display_text_range is [6, 28]
    - `inReplyToUserId` string — The ID of the user being replied to.may be empty
    - `inReplyToUsername` string — The username of the user being replied to.may be empty
    - `author` UserInfo
      - `type` 'user'
      - `userName` string — The username of the Twitter user
      - `url` string — The x.com URL of the user's profile
      - `id` string — The unique identifier of the user
      - `name` string — The display name of the user
      - `isBlueVerified` boolean — Whether the user has Twitter Blue verification
      - `verifiedType` string — The type of verification. eg. "government" ,can be empty
      - `profilePicture` string — URL of the user's profile picture
      - `coverPicture` string — URL of the user's cover picture
      - `description` string — The user's profile description
      - `location` string — The user's location.for example: 東京の端っこ . may be empty
      - `followers` integer — Number of followers
      - `following` integer — Number of accounts following
      - `canDm` boolean — Whether the user can receive DMs
      - `createdAt` string — When the account was created.for example: Thu Dec 13 08:41:26 +0000 2007
      - `favouritesCount` integer — Number of favorites
      - `hasCustomTimelines` boolean — Whether the user has custom timelines
      - `isTranslator` boolean — Whether the user is a translator
      - `mediaCount` integer — Number of media posts
      - `statusesCount` integer — Number of status updates
      - `withheldInCountries` string[] — Countries where the account is withheld
      - `affiliatesHighlightedLabel` object
      - `possiblySensitive` boolean — Whether the account may contain sensitive content
      - `pinnedTweetIds` string[] — IDs of pinned tweets
      - `isAutomated` boolean — Whether the account is automated
      - `automatedBy` string — The account that automated the account
      - `unavailable` boolean — Whether the account is unavailable
      - `message` string — The message of the account.eg. "This account is unavailable" or "This account is suspended"
      - `unavailableReason` string — The reason the account is unavailable.eg. "suspended"
      - `profile_bio` object
        - `description` string
        - `entities` object
          - `description` object
            - `urls` object[]
              - …
          - `url` object
            - `urls` object[]
              - …
    - `entities` TweetEntities
      - `hashtags` object[]
        - `indices` integer[]
        - `text` string
      - `urls` object[]
        - `display_url` string
        - `expanded_url` string
        - `indices` integer[]
        - `url` string
      - `user_mentions` object[]
        - `id_str` string — The ID of the user being mentioned
        - `name` string — The name of the user being mentioned
        - `screen_name` string — The screen name of the user being mentioned
    - `quoted_tweet` Tweet — recursive
    - `retweeted_tweet` Tweet — recursive
    - `isLimitedReply` boolean — Whether the tweet is a limited reply. Possible restrictions: only mentioned users, verified users, or followed accounts can reply
  - `has_next_page` boolean — Indicates if there are more results available. If true, use next_cursor to fetch the next page. Warning: Due to Twitter API inconsistency, has_more might return true even when no additional data exists. In such cases, subsequent requests will return empty results - this is a known platform limitation.
  - `next_cursor` string — Cursor for fetching the next page of results
  - `status` 'success' | 'error' — Status of the request.success or error
  - `message` string — Message of the request.error message

## Other responses

- `400` — Unexpected error

---

[API](https://skmtc.net/twitterapi/apis/twitterapi-io-the-most-stable-fastest-cheapest-twitter-api.md) · [All operations](https://skmtc.net/twitterapi/apis/twitterapi-io-the-most-stable-fastest-cheapest-twitter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/twitterapi/twitterapi-io-the-most-stable-fastest-cheapest-twitter-api/versions/1b1afaf3df76/schema)
