v1

latestOpenAPI 3.0.1MIT2026-07-26589101.4 KB

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.

get/twitter/tweet/thread_context

Query parameters

tweetIdstring string required

The tweet ID to get. Can be a reply tweet or a original tweet.

cursorstring string

The cursor to paginate through the results. First page is "".

Response

Tweet replies response

has_next_pageboolean

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_cursorstring

Cursor for fetching the next page of results

status'success' | 'error'

Status of the request.success or error

messagestring

Message of the request.error message