Tweets Endpoints

Get Tweet Thread by ID

Retrieve all tweets in a thread by tweet ID, sorted by latest.

post/twitter/tweets/thread_by_id

Request

  • Base URL: https://api.twexapi.io
  • URL: https://api.twexapi.io/twitter/tweets/thread_by_id
  • Auth: HTTP bearer

Request body

tweet_idstring required

The root tweet ID to fetch the thread for

max_itemsinteger

Max number of thread tweets to return

fieldsstring[] nullable

Optional JSON array of field names. Leave this input blank to omit fields and return all fields. To select fields, enter ["tweet_id","text"] (without wrapping the array in quotes).

Example request

{
  "tweet_id": "1621544497388875777",
  "fields": [
    "tweet_id",
    "text"
  ]
}

Response

A list of tweets in the thread, sorted by latest.

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.