Twitter Quote Tweets API - Get Posts Quoting a Tweet

Get the posts that quote a post

Get the posts that quote a given post on X, newest first by default (product Top for the most engaged). Each result carries the post it quotes in quotedTweet. Every search filter narrows the results; there is no query, the route sets the search. A post that does not exist, or that nobody quoted, answers 200 with itemCount 0 and a note.

POST /tweet-quotes Content
https://api.fetchlayer.dev/twitter/tweet-quotes
OpenAPI JSON

Headers

Authorization string required

Bearer token — your FetchLayer API key.

Parameters

tweetId string required

Numeric id of the quoted post (1-19 digits).

product string optional

Latest (newest first) or Top (most engaged first). (default: Latest)

count integer optional

Results per page, at most 20. Use nextCursor or maxItems for more. (default: 25)

cursor string optional

A previous response’s nextCursor, with the same other parameters, for the next page.

maxItems integer optional

Collect up to this many results in one call (1-500), following the pages for you. Each page of results returned bills one credit, and the last page comes back whole, so itemCount can exceed maxItems by less than a page. A call stops early at the end of the list or after about 90 seconds; hasMore and nextCursor then continue it. Leave it out for one page, billed one credit. Works with cursor and count.

from string optional

Only posts by this handle (with or without @).

to string optional

Only replies to this handle.

mentioning string optional

Only posts mentioning this handle.

since string optional

Only posts from this moment on: a date YYYY-MM-DD (00:00 UTC that day) or an ISO 8601 time with a zone, e.g. 2026-10-01T12:00:00Z.

until string optional

Only posts before this moment (exclusive), in the same forms as since. Must be later than since.

sinceTime integer optional

Only posts from this Unix time (seconds) on.

untilTime integer optional

Only posts before this Unix time (seconds). Must be later than sinceTime.

lang string optional

Only posts in this language: a two-letter ISO 639-1 code, e.g. en.

minLikes integer optional

Only posts with at least this many likes. Counts can lag slightly behind the live post, so a result may show a little under the minimum.

minRetweets integer optional

Only posts with at least this many reposts. Counts can lag slightly behind the live post, so a result may show a little under the minimum.

minReplies integer optional

Only posts with at least this many replies. Counts can lag slightly behind the live post, so a result may show a little under the minimum.

hasMedia boolean optional

true: only posts with media; false: only posts without.

hasImages boolean optional

true: only posts with images; false: only posts without.

hasVideos boolean optional

true: only posts with video; false: only posts without.

hasLinks boolean optional

true: only posts with links; false: only posts without.

verifiedOnly boolean optional

true: only posts by verified accounts.

excludeReplies boolean optional

true: leave replies out.

excludeRetweets boolean optional

true: leave reposts out.

sinceId string optional

Only posts newer than this post id.

maxId string optional

Only posts up to and including this post id.

timeoutMs integer optional

Time limit for the whole request, in milliseconds (1000–120000; values outside are brought into that range). It can only shorten the time a request may take, which is about 90 seconds at most. With maxItems, a call that runs out returns the pages it has, billed for those, with hasMore and nextCursor; a call with nothing to return yet fails with a 503 you can retry. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds), so you can set it to your own client’s timeout. Left out, the request takes the time it needs.

Response Fields

tweet-quotes

Get the posts that quote a post

scrapedAt string

ISO 8601 time the result was produced.

transport string

The data source: always the platform id, "twitter".

listingType string

Which list this is, e.g. twitter-user-tweets.

itemCount integer

Number of items returned on this page.

nextCursor string | null

Pass as cursor, with the same other parameters, for the next page; null when there is none.

hasMore boolean

Whether more results follow: repeat the call with cursor set to nextCursor while it is true. Always present on followers, following and verified-followers; on the other lists, present with maxItems.

pagesFetched integer

With maxItems: the pages of results in this response, one credit each. Absent without maxItems (one page, one credit).

note string

With maxItems, why the call stopped before maxItems (the end of the list, or the time or page limit of one call, in which case hasMore is true and nextCursor continues). On search, also present when nothing was found.

listingType string

Always twitter-tweet-quotes.

quotedTweetId string

The post whose quotes these are.

product string

Latest or Top.

query string

The search we ran for the quotes, without your filters.

effectiveQuery string

The search we ran, with your filters. Always present.

tweets object[]

The quoting posts; each has isQuote true and the quoted post in quotedTweet.

tweets[].id string | null

Tweet id, as a string (it does not fit a JavaScript number).

tweets[].conversationId string | null

Id of the thread’s first tweet.

tweets[].createdAt string | null

When it was posted, as X writes it: "Fri Oct 23 23:37:56 +0000 2026" (UTC).

tweets[].text string | null

Full tweet text, complete for a long post too (2026-11-13: for a post over 280 characters it used to stop at about 280). Links appear as t.co short links.

tweets[].lang string | null

Language X detected for the text (BCP 47, e.g. en), or null.

tweets[].source string | null

The posting client, when X says; usually null.

tweets[].inReplyToStatusId string | null

For a reply, the id of the tweet it answers; null otherwise.

tweets[].inReplyToUserId string | null

For a reply, the account id of the author it answers; null otherwise.

tweets[].url string | null

Link to the tweet: https://x.com/<handle>/status/<id>, or https://x.com/i/status/<id> when the author is missing (x.com redirects it). Null only when the tweet has no id.

tweets[].author object | null

Who posted it.

tweets[].author.id string | null

The author’s numeric account id, as a string.

tweets[].author.name string | null

Display name.

tweets[].author.handle string | null

Handle without the @.

tweets[].author.description string | null

Bio text, or null when the account has none.

tweets[].author.followersCount integer | null

Followers of the author; null only when X leaves it out.

tweets[].author.followingCount integer | null

Accounts the author follows; null only when X leaves it out.

tweets[].author.verified boolean | null

Whether the account carries a verification checkmark.

tweets[].author.avatarUrl string | null

Profile image URL (48x48).

tweets[].author.pinnedTweetIds string[]

Ids of the pinned posts; empty when none.

tweets[].author.website object | null

The website link on the profile; null when there is none.

tweets[].author.website.url string | null

The t.co short link.

tweets[].author.website.expandedUrl string | null

The full address it leads to.

tweets[].author.website.displayUrl string | null

The shortened form X displays, e.g. nasa.gov.

tweets[].author.descriptionUrls object[]

Links in the bio, expanded; empty when none.

tweets[].author.descriptionUrls[].url string | null

The t.co short link.

tweets[].author.descriptionUrls[].expandedUrl string | null

The full address it leads to.

tweets[].author.descriptionUrls[].displayUrl string | null

The shortened form X displays, e.g. nasa.gov.

tweets[].author.avatarUrlLarge string | null

The profile image at 400x400.

tweets[].author.verifiedType string | null

The kind of verification, e.g. Business or Government; null for none.

tweets[].author.protected boolean | null

True when the account’s posts are visible to its followers only.

tweets[].counts.replies integer | null

Replies.

tweets[].counts.reposts integer | null

Reposts (retweets).

tweets[].counts.likes integer | null

Likes.

tweets[].counts.quotes integer | null

Quote posts.

tweets[].counts.bookmarks integer | null

Bookmarks.

tweets[].counts.views integer | null

Views, or null when X shows none.

tweets[].media object[]

Attached photos, videos and GIFs; empty when there are none.

tweets[].media[].type string | null

photo, video or animated_gif.

tweets[].media[].mediaUrl string | null

Image URL; for a video, its preview frame.

tweets[].media[].expandedUrl string | null

Link to the media on x.com.

tweets[].fullText string | null

The complete text, with &amp;, &lt; and &gt; unescaped. For a long post it equals text, which carries the whole post.

tweets[].isLongPost boolean

True for a post in X’s long-post format. text carries all of it; fullText is the same text with &amp;, &lt; and &gt; unescaped.

tweets[].isQuote boolean

True when the post quotes another post.

tweets[].quotedTweetId string | null

Id of the quoted post, also when that post is no longer available.

tweets[].quotedTweet object | null

The quoted post, with the same fields as this one, one level deep (its own quotedTweet and retweetedTweet are null). Null when nothing is quoted or the quoted post is unavailable.

tweets[].isRetweet boolean

True when the post is a repost.

tweets[].retweetedTweet object | null

The reposted post, one level deep like quotedTweet; null otherwise.

tweets[].mediaDetails object[]

One entry per media item, in the same order: id, alt text, size and video files.

tweets[].mediaDetails[].type string | null

photo, video or animated_gif.

tweets[].mediaDetails[].mediaId string | null

The media id.

tweets[].mediaDetails[].altText string | null

The alt text the author wrote; null when none.

tweets[].mediaDetails[].width integer | null

Width of the original upload, in pixels.

tweets[].mediaDetails[].height integer | null

Height of the original upload, in pixels.

tweets[].mediaDetails[].video object | null

For a video or GIF: durationMs (null for a GIF), aspectRatio as [width, height], and variants[] of MP4 files with url, contentType and bitrate. Null for a photo.

tweets[].entities object

What the text links to; for a long post, of fullText.

tweets[].entities.urls object[]

Links in the text, expanded (url, expandedUrl, displayUrl). Media links are in media instead.

tweets[].entities.hashtags string[]

Hashtags, without the #.

tweets[].entities.mentions object[]

Accounts mentioned: handle, id and name.

tweets[].entities.cashtags string[]

Cashtags, without the $.

tweets[].card object | null

The link preview: name (the card type, e.g. summary_large_image), url, title, description, domain and imageUrl. Null when there is none.

tweets[].poll object | null

For a poll: choices[] (label and votes so far as count), endsAt (ISO 8601), isFinal (true once closed) and durationMinutes. Null otherwise.

tweets[].editControl object | null

Edit history: editTweetIds (every version, oldest first; one id when never edited), isEditEligible, editableUntil (ISO 8601) and editsRemaining.

tweets[].possiblySensitive boolean | null

X’s sensitive-media flag on the post.

tweets[].communityNote object | null

The community note shown on the post: id, title (e.g. "Readers added context", it changes as the note is rated), text, language, url and urls[]. Null when there is none.

tweets[].isPromoted boolean

True for an ad X placed in the list. It is kept in place, only labelled.

profiles object[]

Always empty on this route.

Request

curl -X POST "https://api.fetchlayer.dev/twitter/tweet-quotes" \
  -H "Authorization: Bearer ss-your-key" \
  -H "Content-Type: application/json" \
  -d '{"tweetId":"2113776971603689874","product":"Latest"}'

Response

{
  "listingType": "twitter-tweet-quotes",
  "quotedTweetId": "2113776971603689874",
  "product": "Latest",
  "query": "quoted_tweet_id:2113776971603689874",
  "effectiveQuery": "quoted_tweet_id:2113776971603689874",
  "itemCount": 17,
  "nextCursor": "DAADDAABCgABHWCqp7yXYQAKAAIdVaZLPpewEQAIAAIAAAACCAADAAAAAAgABAAAAAAKAAUdaLBTBAAnEAoABh1osFMD_9jwCwAHAAAA0EVtUEM2d0FBQWZRL2dHSk4wdkdwL0FBQUFCRWRWbUs3Q0ZjZ2FSMVd3WnR1bWtFNkhWYkpsRlFhRWFVZFlLcW52SmRoQUIxVnpjS2VHNUhKSFZZeE1vMGFVVDRkVmFaTFBwZXdFUjFYUUcxWVd1R0JIVldudHZsV2NRZ2RWZkExTWR2QVRoMVdOZ0Y1bTVBK0hWYmJaME1iY1djZFZ0T09lWmJRaXgxV2ZPL3oya0VzSFZZZlU1OWFRQWNkVmFyV1Y5ZlJpaDFWN0g3QVdxR04AAA",
  "tweets": [
    {
      "id": "2113790412873064448",
      "createdAt": "Sat Oct 24 00:39:41 +0000 2026",
      "text": "Watching this crew train is the best thing on my feed this week. Go Artemis II!",
      "url": "https://x.com/spacefan/status/2113790412873064448",
      "author": {
        "id": "1520000000000000000",
        "name": "Space Fan",
        "handle": "spacefan"
      },
      "counts": {
        "replies": 2,
        "reposts": 1,
        "likes": 14,
        "quotes": 0,
        "bookmarks": 0,
        "views": 812
      },
      "isQuote": true,
      "quotedTweetId": "2113776971603689874"
    }
  ],
  "profiles": [],
  "scrapedAt": "2026-11-07T18:38:47.483Z",
  "transport": "twitter"
}
Product overview Twitter API: what it returns, pricing and use cases