GET /twitter/tweet/replies/v2

Changed on

Get tweet replies by tweet id (V2). Each page returns up to 20 replies. Use cursor for pagination. Supports sorting by Relevance, Latest, or Likes.

Request

  • Base URL
    https://api.twitterapi.io
  • URL
    https://api.twitterapi.io/twitter/tweet/replies/v2
  • Auth
    API key in header X-API-Key

Query parameters

tweetIdstring string required

The tweet ID to get replies for. eg. 1846987139428634858

cursorstring string

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

queryType'Relevance' | 'Latest' | 'Likes'

Sort order for replies. Default is Relevance.

Response

Tweet replies response

has_next_pageboolean

Indicates if there are more results available. If true, use next_cursor to fetch the next page.

next_cursorstring

Cursor for fetching the next page of results

status'success' | 'error'

Status of the request. success or error

msgstring

Message of the request (error message on failure)

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property /// to the response with the status