| success | true | Always true here; errors have success: false. |
| credits_remaining | number | Your balance after this call. On anonymous playground calls: free tries left today. |
| credits_charged | number | Credits this call cost; 0 on free endpoints. On anonymous playground calls: tries used (1). |
| tweets | object[] | One page of matching tweets, in sort order. |
| tweets[].id | string | Tweet id, e.g. 2104593672624886205. |
| tweets[].url | string | The tweet on x.com. |
| tweets[].text | string | The text as x.com shows it: long posts in full, t.co links expanded, without a reply's leading @mentions or the trailing media link. A retweet shows the original's text. Empty for media-only tweets. |
| tweets[].created_at | string | When it was posted, ISO 8601. |
| tweets[].lang | stringcan be null | Language as X detects it, e.g. en (und when it can't tell); null if unknown. |
| tweets[].source | stringcan be null | The app it was posted from, e.g. Twitter for iPhone; null if X doesn't say. |
| tweets[].author | object | Who posted it. |
| tweets[].author.id | string | Numeric user id. It stays the same when the handle changes. |
| tweets[].author.handle | string | Username (handle), without @. |
| tweets[].author.name | string | Display name. |
| tweets[].author.avatar | stringcan be null | Profile picture URL, 400×400; null if none. |
| tweets[].author.verified | boolean | Has the blue check (X Premium). |
| tweets[].author.verified_type | stringcan be null | Business (gold check, a verified organization) or Government (grey check); null otherwise. |
| tweets[].author.followers | numbercan be null | Followers when fetched; null when X's main source was busy and we used its embed data instead. |
| tweets[].counts | object | Engagement when fetched. Exact numbers, not rounded. A retweet shows the original's, as x.com does. |
| tweets[].counts.likes | number | Likes. |
| tweets[].counts.replies | number | Replies. |
| tweets[].counts.retweets | numbercan be null | Reposts (retweets); null when X's main source was busy and we used its embed data instead. |
| tweets[].counts.quotes | numbercan be null | Quote posts; null when X's main source was busy and we used its embed data instead. |
| tweets[].counts.bookmarks | numbercan be null | Bookmarks; null when X's main source was busy and we used its embed data instead. |
| tweets[].counts.views | numbercan be null | Views; null on tweets from before 2023 (X didn't count them then), and null when X's main source was busy and we used its embed data instead. |
| tweets[].media | object[] | Attached photos, videos and GIFs, in order. Empty if none. |
| tweets[].media[].type | string | photo, video or gif (X plays GIFs as silent looping MP4s). |
| tweets[].media[].url | string | The image; for videos and GIFs, the poster (thumbnail) image. |
| tweets[].media[].width | number | Original width in pixels. |
| tweets[].media[].height | number | Original height in pixels. |
| tweets[].media[].duration_ms | numbercan be null | Video length in milliseconds; null for photos and GIFs. |
| tweets[].media[].variants | object[] | Playable files for videos and GIFs: MP4s from highest to lowest bitrate, then the HLS playlist. Empty for photos. |
| tweets[].media[].variants[].url | string | File URL on video.twimg.com. |
| tweets[].media[].variants[].content_type | string | video/mp4, or application/x-mpegURL for the HLS playlist. |
| tweets[].media[].variants[].bitrate | numbercan be null | Bits per second; null for the HLS playlist. |
| tweets[].hashtags | string[] | Hashtags in the text, without #. |
| tweets[].mentions | string[] | Usernames @mentioned, including the ones a reply is addressed to. |
| tweets[].links | string[] | Links in the text, expanded (not t.co). The tweet's own photos and videos aren't included. |
| tweets[].poll | objectcan be null | The tweet's poll; null if it has none. |
| tweets[].poll.options | object[] | The choices, in order. |
| tweets[].poll.options[].label | string | The choice's text. |
| tweets[].poll.options[].votes | numbercan be null | Votes for it, exact; null if X doesn't show them. |
| tweets[].poll.ends_at | stringcan be null | When voting ends (or ended), ISO 8601; null if X doesn't say. |
| tweets[].poll.closed | boolean | Voting has ended, so the counts are final. |
| tweets[].article | objectcan be null | An X Article (long-form post): title, preview, body and cover. Its tweet's text is just the article's link. null for other tweets. |
| tweets[].article.title | string | The article's title. |
| tweets[].article.preview_text | stringcan be null | The opening lines X shows on the article's card; null if none. |
| tweets[].article.text | stringcan be null | The full body as plain text, blocks separated by blank lines. Only the tweet endpoint has it; null elsewhere, where X sends only the preview. |
| tweets[].article.cover | stringcan be null | Cover image URL; null if none. |
| tweets[].reply_to_id | stringcan be null | Id of the tweet this replies to; null if it isn't a reply. |
| tweets[].reply_to_handle | stringcan be null | Username of the account this replies to; null if it isn't a reply. |
| tweets[].conversation_id | stringcan be null | Id of the thread's first tweet (its own id if it starts one); null if X doesn't say. |
| tweets[].quoted_id | stringcan be null | Id of the tweet this one quotes; null if it isn't a quote. |
| tweets[].possibly_sensitive | boolean | X marks the media as possibly sensitive. |
| tweets[].quoted_tweet | objectcan be null | The tweet this one quotes (without its own quoted or retweeted tweet); null if none or it's no longer available. |
| tweets[].quoted_tweet.id | string | Tweet id, e.g. 2104593672624886205. |
| tweets[].quoted_tweet.url | string | The tweet on x.com. |
| tweets[].quoted_tweet.text | string | The text as x.com shows it: long posts in full, t.co links expanded, without a reply's leading @mentions or the trailing media link. A retweet shows the original's text. Empty for media-only tweets. |
| tweets[].quoted_tweet.created_at | string | When it was posted, ISO 8601. |
| tweets[].quoted_tweet.lang | stringcan be null | Language as X detects it, e.g. en (und when it can't tell); null if unknown. |
| tweets[].quoted_tweet.source | stringcan be null | The app it was posted from, e.g. Twitter for iPhone; null if X doesn't say. |
| tweets[].quoted_tweet.author | object | Who posted it. |
| tweets[].quoted_tweet.author.id | string | Numeric user id. It stays the same when the handle changes. |
| tweets[].quoted_tweet.author.handle | string | Username (handle), without @. |
| tweets[].quoted_tweet.author.name | string | Display name. |
| tweets[].quoted_tweet.author.avatar | stringcan be null | Profile picture URL, 400×400; null if none. |
| tweets[].quoted_tweet.author.verified | boolean | Has the blue check (X Premium). |
| tweets[].quoted_tweet.author.verified_type | stringcan be null | Business (gold check, a verified organization) or Government (grey check); null otherwise. |
| tweets[].quoted_tweet.author.followers | numbercan be null | Followers when fetched; null when X's main source was busy and we used its embed data instead. |
| tweets[].quoted_tweet.counts | object | Engagement when fetched. Exact numbers, not rounded. A retweet shows the original's, as x.com does. |
| tweets[].quoted_tweet.counts.likes | number | Likes. |
| tweets[].quoted_tweet.counts.replies | number | Replies. |
| tweets[].quoted_tweet.counts.retweets | numbercan be null | Reposts (retweets); null when X's main source was busy and we used its embed data instead. |
| tweets[].quoted_tweet.counts.quotes | numbercan be null | Quote posts; null when X's main source was busy and we used its embed data instead. |
| tweets[].quoted_tweet.counts.bookmarks | numbercan be null | Bookmarks; null when X's main source was busy and we used its embed data instead. |
| tweets[].quoted_tweet.counts.views | numbercan be null | Views; null on tweets from before 2023 (X didn't count them then), and null when X's main source was busy and we used its embed data instead. |
| tweets[].quoted_tweet.media | object[] | Attached photos, videos and GIFs, in order. Empty if none. |
| tweets[].quoted_tweet.media[].type | string | photo, video or gif (X plays GIFs as silent looping MP4s). |
| tweets[].quoted_tweet.media[].url | string | The image; for videos and GIFs, the poster (thumbnail) image. |
| tweets[].quoted_tweet.media[].width | number | Original width in pixels. |
| tweets[].quoted_tweet.media[].height | number | Original height in pixels. |
| tweets[].quoted_tweet.media[].duration_ms | numbercan be null | Video length in milliseconds; null for photos and GIFs. |
| tweets[].quoted_tweet.media[].variants | object[] | Playable files for videos and GIFs: MP4s from highest to lowest bitrate, then the HLS playlist. Empty for photos. |
| tweets[].quoted_tweet.media[].variants[].url | string | File URL on video.twimg.com. |
| tweets[].quoted_tweet.media[].variants[].content_type | string | video/mp4, or application/x-mpegURL for the HLS playlist. |
| tweets[].quoted_tweet.media[].variants[].bitrate | numbercan be null | Bits per second; null for the HLS playlist. |
| tweets[].quoted_tweet.hashtags | string[] | Hashtags in the text, without #. |
| tweets[].quoted_tweet.mentions | string[] | Usernames @mentioned, including the ones a reply is addressed to. |
| tweets[].quoted_tweet.links | string[] | Links in the text, expanded (not t.co). The tweet's own photos and videos aren't included. |
| tweets[].quoted_tweet.poll | objectcan be null | The tweet's poll; null if it has none. |
| tweets[].quoted_tweet.poll.options | object[] | The choices, in order. |
| tweets[].quoted_tweet.poll.options[].label | string | The choice's text. |
| tweets[].quoted_tweet.poll.options[].votes | numbercan be null | Votes for it, exact; null if X doesn't show them. |
| tweets[].quoted_tweet.poll.ends_at | stringcan be null | When voting ends (or ended), ISO 8601; null if X doesn't say. |
| tweets[].quoted_tweet.poll.closed | boolean | Voting has ended, so the counts are final. |
| tweets[].quoted_tweet.article | objectcan be null | An X Article (long-form post): title, preview, body and cover. Its tweet's text is just the article's link. null for other tweets. |
| tweets[].quoted_tweet.article.title | string | The article's title. |
| tweets[].quoted_tweet.article.preview_text | stringcan be null | The opening lines X shows on the article's card; null if none. |
| tweets[].quoted_tweet.article.text | stringcan be null | The full body as plain text, blocks separated by blank lines. Only the tweet endpoint has it; null elsewhere, where X sends only the preview. |
| tweets[].quoted_tweet.article.cover | stringcan be null | Cover image URL; null if none. |
| tweets[].quoted_tweet.reply_to_id | stringcan be null | Id of the tweet this replies to; null if it isn't a reply. |
| tweets[].quoted_tweet.reply_to_handle | stringcan be null | Username of the account this replies to; null if it isn't a reply. |
| tweets[].quoted_tweet.conversation_id | stringcan be null | Id of the thread's first tweet (its own id if it starts one); null if X doesn't say. |
| tweets[].quoted_tweet.quoted_id | stringcan be null | Id of the tweet this one quotes; null if it isn't a quote. |
| tweets[].quoted_tweet.possibly_sensitive | boolean | X marks the media as possibly sensitive. |
| tweets[].retweeted_tweet | objectcan be null | For retweets: the original tweet and its author. The retweet's own text, media, links and counts mirror it (as on x.com); its id, author and created_at are the retweet's. null for everything else. |
| tweets[].retweeted_tweet.id | string | Tweet id, e.g. 2104593672624886205. |
| tweets[].retweeted_tweet.url | string | The tweet on x.com. |
| tweets[].retweeted_tweet.text | string | The text as x.com shows it: long posts in full, t.co links expanded, without a reply's leading @mentions or the trailing media link. A retweet shows the original's text. Empty for media-only tweets. |
| tweets[].retweeted_tweet.created_at | string | When it was posted, ISO 8601. |
| tweets[].retweeted_tweet.lang | stringcan be null | Language as X detects it, e.g. en (und when it can't tell); null if unknown. |
| tweets[].retweeted_tweet.source | stringcan be null | The app it was posted from, e.g. Twitter for iPhone; null if X doesn't say. |
| tweets[].retweeted_tweet.author | object | Who posted it. |
| tweets[].retweeted_tweet.author.id | string | Numeric user id. It stays the same when the handle changes. |
| tweets[].retweeted_tweet.author.handle | string | Username (handle), without @. |
| tweets[].retweeted_tweet.author.name | string | Display name. |
| tweets[].retweeted_tweet.author.avatar | stringcan be null | Profile picture URL, 400×400; null if none. |
| tweets[].retweeted_tweet.author.verified | boolean | Has the blue check (X Premium). |
| tweets[].retweeted_tweet.author.verified_type | stringcan be null | Business (gold check, a verified organization) or Government (grey check); null otherwise. |
| tweets[].retweeted_tweet.author.followers | numbercan be null | Followers when fetched; null when X's main source was busy and we used its embed data instead. |
| tweets[].retweeted_tweet.counts | object | Engagement when fetched. Exact numbers, not rounded. A retweet shows the original's, as x.com does. |
| tweets[].retweeted_tweet.counts.likes | number | Likes. |
| tweets[].retweeted_tweet.counts.replies | number | Replies. |
| tweets[].retweeted_tweet.counts.retweets | numbercan be null | Reposts (retweets); null when X's main source was busy and we used its embed data instead. |
| tweets[].retweeted_tweet.counts.quotes | numbercan be null | Quote posts; null when X's main source was busy and we used its embed data instead. |
| tweets[].retweeted_tweet.counts.bookmarks | numbercan be null | Bookmarks; null when X's main source was busy and we used its embed data instead. |
| tweets[].retweeted_tweet.counts.views | numbercan be null | Views; null on tweets from before 2023 (X didn't count them then), and null when X's main source was busy and we used its embed data instead. |
| tweets[].retweeted_tweet.media | object[] | Attached photos, videos and GIFs, in order. Empty if none. |
| tweets[].retweeted_tweet.media[].type | string | photo, video or gif (X plays GIFs as silent looping MP4s). |
| tweets[].retweeted_tweet.media[].url | string | The image; for videos and GIFs, the poster (thumbnail) image. |
| tweets[].retweeted_tweet.media[].width | number | Original width in pixels. |
| tweets[].retweeted_tweet.media[].height | number | Original height in pixels. |
| tweets[].retweeted_tweet.media[].duration_ms | numbercan be null | Video length in milliseconds; null for photos and GIFs. |
| tweets[].retweeted_tweet.media[].variants | object[] | Playable files for videos and GIFs: MP4s from highest to lowest bitrate, then the HLS playlist. Empty for photos. |
| tweets[].retweeted_tweet.media[].variants[].url | string | File URL on video.twimg.com. |
| tweets[].retweeted_tweet.media[].variants[].content_type | string | video/mp4, or application/x-mpegURL for the HLS playlist. |
| tweets[].retweeted_tweet.media[].variants[].bitrate | numbercan be null | Bits per second; null for the HLS playlist. |
| tweets[].retweeted_tweet.hashtags | string[] | Hashtags in the text, without #. |
| tweets[].retweeted_tweet.mentions | string[] | Usernames @mentioned, including the ones a reply is addressed to. |
| tweets[].retweeted_tweet.links | string[] | Links in the text, expanded (not t.co). The tweet's own photos and videos aren't included. |
| tweets[].retweeted_tweet.poll | objectcan be null | The tweet's poll; null if it has none. |
| tweets[].retweeted_tweet.poll.options | object[] | The choices, in order. |
| tweets[].retweeted_tweet.poll.options[].label | string | The choice's text. |
| tweets[].retweeted_tweet.poll.options[].votes | numbercan be null | Votes for it, exact; null if X doesn't show them. |
| tweets[].retweeted_tweet.poll.ends_at | stringcan be null | When voting ends (or ended), ISO 8601; null if X doesn't say. |
| tweets[].retweeted_tweet.poll.closed | boolean | Voting has ended, so the counts are final. |
| tweets[].retweeted_tweet.article | objectcan be null | An X Article (long-form post): title, preview, body and cover. Its tweet's text is just the article's link. null for other tweets. |
| tweets[].retweeted_tweet.article.title | string | The article's title. |
| tweets[].retweeted_tweet.article.preview_text | stringcan be null | The opening lines X shows on the article's card; null if none. |
| tweets[].retweeted_tweet.article.text | stringcan be null | The full body as plain text, blocks separated by blank lines. Only the tweet endpoint has it; null elsewhere, where X sends only the preview. |
| tweets[].retweeted_tweet.article.cover | stringcan be null | Cover image URL; null if none. |
| tweets[].retweeted_tweet.reply_to_id | stringcan be null | Id of the tweet this replies to; null if it isn't a reply. |
| tweets[].retweeted_tweet.reply_to_handle | stringcan be null | Username of the account this replies to; null if it isn't a reply. |
| tweets[].retweeted_tweet.conversation_id | stringcan be null | Id of the thread's first tweet (its own id if it starts one); null if X doesn't say. |
| tweets[].retweeted_tweet.quoted_id | stringcan be null | Id of the tweet this one quotes; null if it isn't a quote. |
| tweets[].retweeted_tweet.possibly_sensitive | boolean | X marks the media as possibly sensitive. |
| cursor | stringcan be null | Pass as cursor for the next page; null on the last page. |