Skip to main content
Glama
get_tweet_thread_context.md3.96 kB
# Get Tweet Thread Context Source: https://docs.twitterapi.io/api-reference/endpoint/get_tweet_thread_context ## Endpoint - Method: `GET` - Path: `/twitter/tweet/thread_context` - API URL: `https://api.twitterapi.io/twitter/tweet/thread_context` ## Description 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. ## Example (curl) ```bash curl --request GET \ --url https://api.twitterapi.io/twitter/tweet/thread_context \ --header 'X-API-Key: <api-key>' ``` ## Example Response ```json { "replies": [ { "type": "tweet", "id": "<string>", "url": "<string>", "text": "<string>", "source": "<string>", "retweetCount": 123, "replyCount": 123, "likeCount": 123, "quoteCount": 123, "viewCount": 123, "createdAt": "<string>", "lang": "<string>", "bookmarkCount": 123, "isReply": true, "inReplyToId": "<string>", "conversationId": "<string>", "displayTextRange": [ 123 ], "inReplyToUserId": "<string>", "inReplyToUsername": "<string>", "author": { "type": "user", "userName": "<string>", "url": "<string>", "id": "<string>", "name": "<string>", "isBlueVerified": true, "verifiedType": "<string>", "profilePicture": "<string>", "coverPicture": "<string>", "description": "<string>", "location": "<string>", "followers": 123, "following": 123, "canDm": true, "createdAt": "<string>", "favouritesCount": 123, "hasCustomTimelines": true, "isTranslator": true, "mediaCount": 123, "statusesCount": 123, "withheldInCountries": [ "<string>" ], "affiliatesHighlightedLabel": {}, "possiblySensitive": true, "pinnedTweetIds": [ "<string>" ], "isAutomated": true, "automatedBy": "<string>", "unavailable": true, "message": "<string>", "unavailableReason": "<string>", "profile_bio": { "description": "<string>", "entities": { "description": { "urls": [ { "display_url": "<string>", "expanded_url": "<string>", "indices": [ 123 ], "url": "<string>" } ] }, "url": { "urls": [ { "display_url": "<string>", "expanded_url": "<string>", "indices": [ 123 ], "url": "<string>" } ] } } } }, "entities": { "hashtags": [ { "indices": [ 123 ], "text": "<string>" } ], "urls": [ { "display_url": "<string>", "expanded_url": "<string>", "indices": [ 123 ], "url": "<string>" } ], "user_mentions": [ { "id_str": "<string>", "name": "<string>", "screen_name": "<string>" } ] }, "quoted_tweet": "<unknown>", "retweeted_tweet": "<unknown>", "isLimitedReply": true } ], "has_next_page": true, "next_cursor": "<string>", "status": "success", "message": "<string>" } ``` _Scraped at: 2025-12-18T10:06:21.185Z_

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dorukardahan/twitterapi-io-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server