Tweets

Quote tweets

Tweets that quote a tweet.

Paginated: pass the bottom cursor of one page as cursor to get the next. Each page is one billed call.

Reference: https://www.twittrapi.com/docs/reference/tweet-tweetid-quotes

get/tweet/{tweetId}/quotes

Request

  • Base URL: https://api.twittrapi.com
  • URL: https://api.twittrapi.com/tweet/{tweetId}/quotes
  • Auth: API key in header X-API-KEY

Path parameters

tweetIdstring required

Numeric tweet ID (digits only, up to 30), the number at the end of the tweet URL.

Query parameters

countinteger

Number of tweets to ask X for. Sent to X as is; X treats it as a hint and decides how many it returns (follower and following pages often hold 50 to 70 users for count=20). A value that is not a number falls back to 20.

cursorstring

Bottom cursor from the previous page. Leave it out for the first page. See Pagination.

rankingModestring

Recency returns the newest quotes first (Latest tab). Anything else uses the Top tab.

format'raw' | 'simple'

raw (default): X's JSON passed through. simple: flat camelCase JSON with a fixed schema and a {data, nextCursor, previousCursor, hasNextPage} envelope. Same price. The header X-Response-Format: simple does the same.

Response

Raw JSON of X's SearchTimeline for quoted_tweet_id:<tweetId>. Unlike /search, it is not wrapped in {category, entries}.

With format=simple: Collection of Tweet objects: {data: [Tweet], nextCursor, previousCursor, hasNextPage}. Each item quotes the tweet (quoted).

OR
RawPassthrough required

X's own JSON (raw format, the default), passed through unchanged. The shape is X's and can change; see https://www.twittrapi.com/docs/response-format.

Changes

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