Twitter Posts Scraper avatar

Twitter Posts Scraper

Pricing

from $1.19 / 1,000 results

Go to Apify Store
Twitter Posts Scraper

Twitter Posts Scraper

Twitter Posts Scraper SD - Twitter Posts Scraper is a social media data tool that extracts public X (Twitter) posts from profiles, post URLs and search terms: text, date, likes, retweets, replies, quotes, bookmarks, views, media and author.

Pricing

from $1.19 / 1,000 results

Rating

0.0

(0)

Developer

Neuro Scraper

Neuro Scraper

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Twitter Posts Scraper

Twitter Posts Scraper collects public X (Twitter) posts from accounts, post URLs and search terms and returns each post with its full text, date, likes, reposts, replies, quotes, bookmarks, views, hashtags, links, media and author details - no X account and no API key needed.

Also popular: the Facebook Reels Scraper - reels, captions, plays and authors from Facebook in one run.

Twitter Posts Scraper runs in the cloud on Apify. You give it a list of inputs, Twitter Posts Scraper collects the data and you download a clean dataset as JSON, CSV, Excel or HTML, or read it through the Apify API.

What does Twitter Posts Scraper do?

Twitter Posts Scraper turns X (Twitter) data into structured rows. Each row is one post, with the same fields in the same order, so the output of Twitter Posts Scraper drops straight into a spreadsheet, a database or a Python script.

  • The newest posts of any public account
  • Any post by URL or id, optionally with the replies shown under it
  • Posts for keywords, hashtags and phrases
  • Engagement numbers: likes, reposts, replies, quotes, bookmarks and views
  • Media (photos, videos with MP4 links, GIFs), hashtags, mentions and links
  • Filters: minimum likes / reposts / replies, media type, replies, quotes, language, date range, verified authors

Why use Twitter Posts Scraper?

Copying X (Twitter) data by hand is slow and error-prone. Twitter Posts Scraper does it for many inputs at once, keeps the numbers as numbers and the dates in ISO-8601 UTC, and records which input produced each row.

Twitter Posts Scraper needs no X (Twitter) account, no login and no cookies. You do not share any password with Twitter Posts Scraper, and nothing is posted or changed on X (Twitter): Twitter Posts Scraper only reads public data.

Who uses Twitter Posts Scraper?

  • Brand monitoring of posts about a product or campaign
  • Collecting the latest posts of official accounts for dashboards
  • Research datasets of public posts on a topic
  • Saving the replies under a viral post

How to use Twitter Posts Scraper

  1. Open Twitter Posts Scraper in Apify Console and click Try for free.
  2. Fill in the input form (see the input table below). The prefilled example runs as it is.
  3. Click Start. Twitter Posts Scraper logs every step, so you can follow the progress in the Log tab.
  4. When Twitter Posts Scraper finishes, open the Output tab and export the dataset as JSON, CSV, Excel or HTML.
  5. Optional: schedule Twitter Posts Scraper, call it from the Apify API or connect it to Make, Zapier, n8n or Google Sheets.

Required: at least one of twitterHandles, startUrls or searchTerms. Everything else is optional.

What the log tells you: a line per handle with how many posts X shows and how many were kept after filters, a line per search page ("search "artemis moon" page 1: 10 results, 6 new post(s)"), a warning for every post that could not be opened, and the final status message with rows per input.

Input of Twitter Posts Scraper

Give at least one of twitterHandles, startUrls or searchTerms - you can mix all three in one run. Every other option has a safe default. Each option below says what it does, how the Twitter Posts Scraper uses it, the allowed values, an example and how it combines with the other options.

twitterHandles - X handles

What it does: Accounts whose newest posts you want, one per line: NASA, @NASA or https://x.com/NASA.

How it works: For each handle the Actor opens the public profile and returns its newest original posts with full text, counts, media and author. X shows visitors without an account the 5 newest original posts of a profile and no further pages, so a handle gives at most 5 posts. Handles, @handles and profile links all work.

Allowed values and default: a list of text values, one per line in the form; empty by default.

Example: "twitterHandles": ["NASA", "SpaceX"]

Tip and combinations: For more posts of one account, add its post URLs to startUrls or search for from-style phrases in searchTerms (e.g. the account name plus a topic).

startUrls - Post or profile URLs

What it does: X post URLs (https://x.com/NASA/status/2121280846183137564), post ids or profile URLs, one per line.

How it works: Each post URL (or bare post id) is opened and returned as one row, plus up to maxRepliesPerPost of the replies X shows under it. A profile URL here works like a handle.

Allowed values and default: a list of text values, one per line in the form; empty by default.

Example: "startUrls": ["https://x.com/NASA/status/2121280846183137564"]

Tip and combinations: The best way to get specific posts or a reply thread. Filters still apply, so a strict filter can drop a post you asked for.

searchTerms - Search terms

What it does: Keywords, hashtags or phrases, one per line; public posts that match are returned.

How it works: For each term the Actor finds public posts that match it, then opens every found post for its full record - the same columns as posts from handles. Results are found by relevance, not date.

Allowed values and default: a list of text values, one per line in the form; empty by default.

Example: "searchTerms": ["artemis moon", "#AI"]

Tip and combinations: Specific phrases work best. Use start / end to keep a date range - the filter is applied to every found post.

maxTweetsPerQuery - Max posts per handle / search term

What it does: The maximum number of posts returned for each handle and for each search term.

How it works: The limit is per input: each handle and each search term returns at most this many posts. Paging stops as soon as it is reached. A handle is also capped by the 5 posts X shows on a profile.

Allowed values and default: whole number from 1 to 1,000; default 20.

Example: "maxTweetsPerQuery": 50

Tip and combinations: 20 x 2 terms = up to 40 rows. Filtered-out posts do not count, so a strict filter needs more maxSearchPages for the same number.

maxRepliesPerPost - Replies per post URL

What it does: For post URLs: also return the replies X shows under the post (0 = only the post).

How it works: For post URLs only: also return up to this many replies X shows under the post, each as its own row with isReply, inReplyToId and inReplyToUsername filled. 0 returns only the post.

Allowed values and default: whole number from 0 to 100; default 0.

Example: "maxRepliesPerPost": 20

Tip and combinations: X shows the most relevant replies first and not always all of them, so compare the rows with the post's replyCount. Replies count towards maxItems.

includeAuthorProfile - Full author profile

What it does: Add the author's full public profile to every post (bio, location, join date, media count, banner, verification reason ...): one profile read per new author. Switch off for a faster run.

How it works: On: the author's full public profile (bio, location, join date, post and media counts, banner, checkmark type and reason, birthday, affiliations ...) is added to every post - one profile read per new author, reused for the rest of the run. Off: only the author basics.

Allowed values and default: true or false; default true.

Example: "includeAuthorProfile": false

Tip and combinations: Keep it on for lead lists and research. Turn it off for faster, cheaper runs over many different authors.

maxSearchPages - Search depth (pages per term)

What it does: How many result pages to look through per search term (about 10 posts each).

How it works: How many result pages (about 10 posts each) are looked through per search term. Paging stops earlier when the term has no more results or maxTweetsPerQuery is reached.

Allowed values and default: whole number from 1 to 20; default 5.

Example: "maxSearchPages": 10

Tip and combinations: Raise it with maxTweetsPerQuery and when filters are strict. Only used by searchTerms.

minLikes - Minimum likes

What it does: Keeps only posts with at least this many likes.

How it works: Posts with fewer likes are dropped before they are saved or counted. 0 turns the filter off.

Allowed values and default: whole number 0 or more; default 0.

Example: "minLikes": 100

Tip and combinations: Combine with minRetweets / minReplies to keep only posts that went viral.

minRetweets - Minimum retweets

What it does: Keeps only posts with at least this many reposts.

How it works: Posts with fewer reposts are dropped before they are saved or counted. 0 turns the filter off.

Allowed values and default: whole number 0 or more; default 0.

Example: "minRetweets": 20

Tip and combinations: Reposts show reach; a value of 10-50 removes most low-reach posts.

minReplies - Minimum replies

What it does: Keeps only posts with at least this many replies.

How it works: Posts with fewer replies are dropped before they are saved or counted. 0 turns the filter off.

Allowed values and default: whole number 0 or more; default 0.

Example: "minReplies": 5

Tip and combinations: Useful to find posts that started a discussion.

mediaFilter - Media

What it does: Keeps posts by the media they carry: any, with media, with images, with videos, or text only.

How it works: any keeps everything; media keeps posts with any photo, video or GIF; images keeps posts with a photo; videos keeps posts with a video or GIF; none keeps text-only posts.

Allowed values and default: one of any, media, images, videos, none; default any.

Example: "mediaFilter": "videos"

Tip and combinations: Combine videos with minLikes to collect popular video posts for a topic.

replyFilter - Replies

What it does: Keeps, drops or only keeps replies.

How it works: include keeps replies and normal posts; exclude drops replies; only keeps only replies.

Allowed values and default: one of include, exclude, only; default include.

Example: "replyFilter": "exclude"

Tip and combinations: Use exclude with search terms to keep only original posts. With maxRepliesPerPost, only returns just the replies of your post URLs.

quoteFilter - Quote posts

What it does: Keeps, drops or only keeps quote posts.

How it works: include keeps quote posts and normal posts; exclude drops quote posts; only keeps only quote posts.

Allowed values and default: one of include, exclude, only; default include.

Example: "quoteFilter": "exclude"

Tip and combinations: Quote posts carry the quoted post in quoted_tweet, so only is a quick way to see how people comment on something.

What it does: Keeps only posts that contain a link.

How it works: Keeps only posts that contain at least one link (urls not empty).

Allowed values and default: true or false; default false.

Example: "onlyWithLinks": true

Tip and combinations: Good for collecting shared articles and product links on a topic.

onlyWithHashtags - Only posts with hashtags

What it does: Keeps only posts that contain a hashtag.

How it works: Keeps only posts that contain at least one hashtag (hashtags not empty).

Allowed values and default: true or false; default false.

Example: "onlyWithHashtags": true

Tip and combinations: Combine with a hashtag in searchTerms to drop posts that only mention the word.

onlyWithMentions - Only posts with mentions

What it does: Keeps only posts that @mention an account.

How it works: Keeps only posts that @mention at least one account (mentions not empty).

Allowed values and default: true or false; default false.

Example: "onlyWithMentions": true

Tip and combinations: Useful for finding conversations and shout-outs.

onlyVerifiedAuthors - Only verified authors

What it does: Keeps only posts whose author has a verified checkmark.

How it works: Keeps only posts whose author has a verified checkmark (authorVerified true).

Allowed values and default: true or false; default false.

Example: "onlyVerifiedAuthors": true

Tip and combinations: Removes most spam from busy search terms.

lang - Language

What it does: Keep posts in this language only (two-letter code, e.g. en, es, ja). Empty = all.

How it works: Keeps only posts whose language, as X detects it, matches this two-letter code. Empty keeps every language.

Allowed values and default: text; empty by default (option off).

Example: "lang": "en"

Tip and combinations: Short posts with only links or emojis are sometimes detected as "und" (undetermined) and are then dropped.

start - Posted on or after

What it does: Keeps posts published on or after this date, e.g. 2026-11-01.

How it works: Keeps only posts published on or after this date (UTC). Older posts are dropped before they are saved.

Allowed values and default: text; empty by default (option off).

Example: "start": "2026-11-01"

Tip and combinations: Combine with end for a date range. Search results come by relevance, so a narrow range may need more maxSearchPages.

end - Posted on or before

What it does: Keeps posts published on or before this date, e.g. 2026-11-30.

How it works: Keeps only posts published on or before this date (UTC). Newer posts are dropped before they are saved.

Allowed values and default: text; empty by default (option off).

Example: "end": "2026-11-30"

Tip and combinations: Leave it empty to keep everything up to now.

sort - Order of search results

What it does: Top keeps the relevance order of the results; Latest reads the newest found posts first.

How it works: With Latest the found posts of each search term are ordered by their id (ids grow with time) before they are read, so the limit keeps the newest ones.

Allowed values and default: one of Top, Latest; default Top.

Example: "sort": "Latest"

Tip and combinations: Combine Latest with start to collect only recent posts about a topic.

tweetLanguage - Language (alternative field)

What it does: Same as lang: keeps posts in this language (two-letter code).

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts whose detected language differs are dropped.

Allowed values and default: text; empty by default (option off).

Example: "tweetLanguage": "en"

Tip and combinations: Short posts may be detected as "und" and then dropped.

onlyTwitterBlue - Only checkmark authors

What it does: Keeps posts whose author has a checkmark (blue, gold or grey).

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so it works the same as onlyVerifiedAuthors.

Allowed values and default: true or false; default false.

Example: "onlyTwitterBlue": true

Tip and combinations: Combine with minLikes for high-reach posts.

onlyImage - Only posts with images

What it does: Keeps only posts that carry a photo.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts without a photo are dropped.

Allowed values and default: true or false; default false.

Example: "onlyImage": true

Tip and combinations: Same as mediaFilter images.

onlyVideo - Only posts with video

What it does: Keeps only posts that carry a video or GIF.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts without a video or GIF are dropped.

Allowed values and default: true or false; default false.

Example: "onlyVideo": true

Tip and combinations: Same as mediaFilter videos.

author - Posts by account (alternative field)

What it does: Same as from: keeps only posts by these accounts.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so only posts whose author is one of these handles remain; the handles are read like twitterHandles too.

Allowed values and default: a list of text values, one per line in the form; empty by default.

Example: "author": ["NASA"]

Tip and combinations: Use one of from and author, not both.

mentioning - Posts mentioning account

What it does: Keeps only posts that @mention one of these accounts.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so a post stays only when its mentions contain one of these handles.

Allowed values and default: a list of text values, one per line in the form; empty by default.

Example: "mentioning": ["NASA"]

Tip and combinations: Good for brand monitoring together with a search term of the brand name.

geotaggedNear - Near place (alternative field)

What it does: Same as near: keeps posts tagged with a matching place.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts without a matching place are dropped.

Allowed values and default: text; empty by default (option off).

Example: "geotaggedNear": "london"

Tip and combinations: Use one of near and geotaggedNear.

minimumFavorites - Minimum likes (alternative field)

What it does: Same as minLikes: keeps posts with at least this many likes.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts with fewer likes are dropped and not charged.

Allowed values and default: whole number 0 or more; no default.

Example: "minimumFavorites": 100

Tip and combinations: Use one of minLikes and minimumFavorites.

twitterContent - Search query (alternative field)

What it does: One search query, the same as one line of searchTerms.

How it works: The text is searched like a search term and every found post is read from its own page; it is added to the searchTerms list of the run.

Allowed values and default: text; empty by default (option off).

Example: "twitterContent": "artemis moon"

Tip and combinations: Use searchTerms for several queries; this field exists for inputs copied from other tools.

filterVerified - Only verified authors (operator)

What it does: Keeps only posts by authors with a checkmark.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts by other authors are dropped.

Allowed values and default: true or false; default false.

Example: "filterVerified": true

Tip and combinations: Same as onlyVerifiedAuthors.

near - Near place

What it does: Keeps only posts tagged with a place whose name contains this text, e.g. London.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts without a matching tagged place are dropped. Few posts carry a place, so expect few rows.

Allowed values and default: text; empty by default (option off).

Example: "near": "london"

Tip and combinations: Combine with a broad search term.

since_time - Posted after (unix time)

What it does: Keeps posts published after this moment, given as unix seconds.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so older posts are dropped. Used when start is empty.

Allowed values and default: whole number 0 or more; no default.

Example: "since_time": 1763683200

Tip and combinations: Example: 1763683200 = 2025-11-21 00:00 UTC.

until_time - Posted before (unix time)

What it does: Keeps posts published before this moment, given as unix seconds.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so newer posts are dropped. Used when end is empty.

Allowed values and default: whole number 0 or more; no default.

Example: "until_time": 1764288000

Tip and combinations: Combine with since_time for an exact window.

since_id - Newer than post id

What it does: Keeps posts whose id is greater than this id (posted later).

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts with a smaller or equal id are dropped. Ids grow with time.

Allowed values and default: whole number 0 or more; no default.

Example: "since_id": 2121280846183137564

Tip and combinations: Use the largest id of your last run to get only new posts.

within_time - Posted within the last

What it does: Keeps posts from the last minutes, hours or days, e.g. 30m, 12h or 3d.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts older than that period are dropped.

Allowed values and default: text; empty by default (option off).

Example: "within_time": "3d"

Tip and combinations: Faster to type than a date for daily monitoring runs.

filterNativeretweets - Only reposts

What it does: Keeps only reposts (native retweets).

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts that are not reposts are dropped. Profiles shown without an account list original posts only, so reposts come from post URLs.

Allowed values and default: true or false; default false.

Example: "filterNativeretweets": true

Tip and combinations: Usually leave it off.

includeNativeretweets - Include reposts

What it does: Lets reposts stay in the results.

How it works: Reposts are kept by default; the option exists for inputs copied from other tools. Profiles shown without an account list original posts only.

Allowed values and default: true or false; default true.

Example: "includeNativeretweets": true

Tip and combinations: Turn filterNativeretweets on to keep only reposts.

filterReplies - Only replies

What it does: Keeps only posts that are replies.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts that are not replies are dropped.

Allowed values and default: true or false; default false.

Example: "filterReplies": true

Tip and combinations: Same as replyFilter only.

filterQuote - Only quote posts (operator)

What it does: Keeps only quote posts.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts that quote nothing are dropped.

Allowed values and default: true or false; default false.

Example: "filterQuote": true

Tip and combinations: Same as quoteFilter only.

card_name - Card type

What it does: Keeps only posts whose link card is of this type, e.g. summary_large_image, player or poll2choice_text_only.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts without a matching card are dropped (matched on the card name).

Allowed values and default: text; empty by default (option off).

Example: "card_name": "summary_large_image"

Tip and combinations: Use poll to collect polls.

filterHasEngagement - Only posts with engagement

What it does: Keeps only posts with at least one like, repost, reply or quote.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts with no engagement at all are dropped.

Allowed values and default: true or false; default false.

Example: "filterHasEngagement": true

Tip and combinations: A quick way to drop bot noise.

filterMedia - Only posts with media

What it does: Keeps only posts with a photo, video or GIF.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so text-only posts are dropped.

Allowed values and default: true or false; default false.

Example: "filterMedia": true

Tip and combinations: Same as mediaFilter media.

filterTwimg - Only posts with uploaded images

What it does: Keeps only posts with an image uploaded to X.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts without an uploaded image are dropped.

Allowed values and default: true or false; default false.

Example: "filterTwimg": true

Tip and combinations: Same as onlyImage.

filterImages - Only posts with images (operator)

What it does: Keeps only posts with a photo.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts without a photo are dropped.

Allowed values and default: true or false; default false.

Example: "filterImages": true

Tip and combinations: Same as onlyImage.

filterVideos - Only posts with videos (operator)

What it does: Keeps only posts with a video or GIF.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts without a video are dropped.

Allowed values and default: true or false; default false.

Example: "filterVideos": true

Tip and combinations: Same as onlyVideo.

filterNativeVideo - Only posts with uploaded video

What it does: Keeps only posts with a video uploaded to X.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts without a video are dropped.

Allowed values and default: true or false; default false.

Example: "filterNativeVideo": true

Tip and combinations: Same as onlyVideo.

filterVine - Only posts with short video

What it does: Keeps only posts with a video.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts without a video are dropped (Vine itself no longer exists).

Allowed values and default: true or false; default false.

Example: "filterVine": true

Tip and combinations: Same as onlyVideo.

filterConsumerVideo - Only posts with user video

What it does: Keeps only posts with a video.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts without a video are dropped (X no longer separates user and pro video).

Allowed values and default: true or false; default false.

Example: "filterConsumerVideo": true

Tip and combinations: Same as onlyVideo.

filterProVideo - Only posts with pro video

What it does: Keeps only posts with a video.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts without a video are dropped (X no longer separates user and pro video).

Allowed values and default: true or false; default false.

Example: "filterProVideo": true

Tip and combinations: Same as onlyVideo.

filterSpaces - Only Spaces

What it does: Keeps only posts that share an X Space.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts without a Space card are dropped.

Allowed values and default: true or false; default false.

Example: "filterSpaces": true

Tip and combinations: Spaces are rare; expect few rows.

What it does: Keeps only posts with a link.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts without a link are dropped.

Allowed values and default: true or false; default false.

Example: "filterLinks": true

Tip and combinations: Same as onlyWithLinks.

filterMentions - Only posts with mentions (operator)

What it does: Keeps only posts that mention an account.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts without a mention are dropped.

Allowed values and default: true or false; default false.

Example: "filterMentions": true

Tip and combinations: Same as onlyWithMentions.

What it does: Keeps only posts that share a link with a preview card (articles).

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts without a linked article card are dropped.

Allowed values and default: true or false; default false.

Example: "filterNews": true

Tip and combinations: Good for collecting how a topic is covered in the press.

filterSafe - Only safe posts

What it does: Leaves out posts X marks as possibly sensitive.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts with possiblySensitive true are dropped.

Allowed values and default: true or false; default false.

Example: "filterSafe": true

Tip and combinations: Use it for brand-safe datasets.

filterHashtags - Only posts with hashtags (operator)

What it does: Keeps only posts with a hashtag.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts without a hashtag are dropped.

Allowed values and default: true or false; default false.

Example: "filterHashtags": true

Tip and combinations: Same as onlyWithHashtags.

from - Posts by account

What it does: Keeps only posts written by these accounts (handles); the accounts' own newest posts are read too.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so a search term then returns only posts of these authors. The handles are also read like twitterHandles.

Allowed values and default: a list of text values, one per line in the form; empty by default.

Example: "from": ["NASA"]

Tip and combinations: Example: search "rocket" with from NASA keeps NASA's posts about rockets.

to - Replies to account

What it does: Keeps only replies written to these accounts.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so only posts whose inReplyToUsername is one of these handles remain.

Allowed values and default: a list of text values, one per line in the form; empty by default.

Example: "to": ["NASA"]

Tip and combinations: Combine with a post URL and maxRepliesPerPost to get the replies an account received.

inReplyTo - Replies to account (alternative field)

What it does: Same as to: keeps only replies to these accounts.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so a post stays only when it replies to one of these handles.

Allowed values and default: a list of text values, one per line in the form; empty by default.

Example: "inReplyTo": ["NASA"]

Tip and combinations: Use one of to and inReplyTo.

minimumRetweets - Minimum reposts (alternative field)

What it does: Same as minRetweets: keeps posts with at least this many reposts.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts with fewer reposts are dropped.

Allowed values and default: whole number 0 or more; no default.

Example: "minimumRetweets": 100

Tip and combinations: Use one of minRetweets and minimumRetweets.

minimumReplies - Minimum replies (alternative field)

What it does: Same as minReplies: keeps posts with at least this many replies.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts with fewer replies are dropped.

Allowed values and default: whole number 0 or more; no default.

Example: "minimumReplies": 100

Tip and combinations: Use one of minReplies and minimumReplies.

onlyQuote - Only quote posts

What it does: Keeps only quote posts.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts that quote nothing are dropped.

Allowed values and default: true or false; default false.

Example: "onlyQuote": true

Tip and combinations: Same as quoteFilter only.

sinceDate - Posted on or after (alternative field)

What it does: Same as start: keeps posts from this date on.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so older posts are dropped.

Allowed values and default: text; empty by default (option off).

Example: "sinceDate": "london"

Tip and combinations: Use one of start and sinceDate.

max_id - Up to post id

What it does: Keeps posts whose id is at most this id (posted earlier or the same).

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts with a larger id are dropped.

Allowed values and default: whole number 0 or more; no default.

Example: "max_id": 2129999999999999999

Tip and combinations: Combine with since_id for an id window.

conversation_id - Only this conversation

What it does: Keeps only posts that belong to the thread with this id.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts of other threads are dropped (matched on conversationId).

Allowed values and default: text; empty by default (option off).

Example: "conversation_id": "2121280846183137564"

Tip and combinations: Combine with the thread's post URL and maxRepliesPerPost.

quoted_tweet_id - Only quotes of post id

What it does: Keeps only posts that quote the post with this id.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts whose quotedId differs are dropped.

Allowed values and default: text; empty by default (option off).

Example: "quoted_tweet_id": "2121280846183137564"

Tip and combinations: Search the post's text with this filter to collect its quotes.

quoted_user_id - Only quotes of account

What it does: Keeps only posts that quote a post of this account (handle).

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts whose quoted post has another author are dropped.

Allowed values and default: text; empty by default (option off).

Example: "quoted_user_id": "NASA"

Tip and combinations: Useful to see how people comment on an account.

placeObjectId - Place id

What it does: Keeps only posts tagged with the place that has this X place id.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts tagged with another place, or none, are dropped.

Allowed values and default: text; empty by default (option off).

Example: "placeObjectId": "07d9cd6afd884001"

Tip and combinations: Take the id from the place column of an earlier run.

filterBlueVerified - Only blue-check authors (operator)

What it does: Keeps only posts by authors with a checkmark.

How it works: Applied to every post found - from handles, post URLs and search terms - before it is saved or counted, so posts by other authors are dropped.

Allowed values and default: true or false; default false.

Example: "filterBlueVerified": true

Tip and combinations: Same as onlyVerifiedAuthors.

includeRaw - Include the raw post record

What it does: Adds the complete original post record (raw column). Off = smaller rows.

How it works: On (default) every post row carries the complete original post record in the raw column, for fields that have no own column. Off leaves raw empty and makes rows much smaller.

Allowed values and default: true or false; default true.

Example: "includeRaw": false

Tip and combinations: Turn it off for spreadsheet exports.

includeOriginalTweet - Include the original of a repost

What it does: For reposts, adds the original post (retweeted_tweet: id, link, text, date, author, likes).

How it works: For a repost, the retweeted_tweet column holds the original post (id, link, text, date, author, likes). Off leaves it empty.

Allowed values and default: true or false; default true.

Example: "includeOriginalTweet": true

Tip and combinations: Keep it on to analyse what was reposted.

includeArticles - Include X Articles

What it does: Adds the article block (title, preview) when a post is a long-form X Article.

How it works: When a post is a long-form X Article, the article column holds its title and preview. Off leaves it empty.

Allowed values and default: true or false; default true.

Example: "includeArticles": true

Tip and combinations: Only posts that are Articles have this block.

fieldStyle - Column name style

What it does: camelCase keeps the column names as documented; snake_case writes like_count, created_at ...

How it works: camelCase (default) keeps the documented column names (likeCount, createdAt). snake_case writes every top-level column as like_count, created_at ... for tools that expect that style.

Allowed values and default: one of camelCase, snake_case; default camelCase.

Example: "fieldStyle": "snake_case"

Tip and combinations: Use the style your database or dashboard already uses.

outputPreset - Row layout

What it does: Flat turns every object column into separate columns (author_userName ...) - handy for spreadsheets.

How it works: Nested (default) keeps objects such as author as one column. Flat turns every object column into separate columns (author_userName, author_followers ...), which suits CSV and Excel.

Allowed values and default: one of nested, flat; default nested.

Example: "outputPreset": "flat"

Tip and combinations: Flat + CSV export gives one clean spreadsheet row per post.

embedTheme - Embed code theme

What it does: Theme of the embed code in the embed column.

How it works: The embed column holds ready-to-paste embed code for every post. This sets its theme: light or dark (empty = the reader's default).

Allowed values and default: one of , `light`, `dark`; default .

Example: "embedTheme": "dark"

Tip and combinations: Match the theme of the page you embed on.

embedHideMedia - Embed code: hide media

What it does: The embed code shows the post without photos, videos and link cards.

How it works: The embed code shows the post without its photos, videos and link cards.

Allowed values and default: true or false; default false.

Example: "embedHideMedia": true

Tip and combinations: Useful for compact quote walls.

embedHideThread - Embed code: hide the parent post

What it does: For replies, the embed code shows only the reply, not the post it answers.

How it works: For replies, the embed code shows only the reply and not the post it answers.

Allowed values and default: true or false; default false.

Example: "embedHideThread": true

Tip and combinations: Keeps embedded replies short.

embedOmitScript - Embed code without script tag

What it does: Leaves the widgets script tag out of the embed code (when your page loads it once already).

How it works: Leaves the widgets script tag out of the embed code, for pages that load that script once already.

Allowed values and default: true or false; default false.

Example: "embedOmitScript": true

Tip and combinations: Add the script once per page when you embed many posts.

maxItems - Max posts in total

What it does: Optional cap for the whole run. 0 = no total cap.

How it works: A total cap over all handles, URLs and search terms together. The run stops when this many rows are saved. 0 means no total cap.

Allowed values and default: whole number from 0 to 1,000,000; default 0.

Example: "maxItems": 200

Tip and combinations: maxTweetsPerQuery controls each input, maxItems the whole run - use it as a budget guard.

proxyConfiguration - Proxy configuration

What it does: Chooses the Apify Proxy group and country the Actor connects through.

How it works: Every request goes through the proxy you pick here. The default residential group gives each session a real household IP address; when a session meets a rate limit the Actor drops it and continues on a fresh IP, so a long run keeps going without your input.

Allowed values and default: an Apify proxy settings object; default {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}.

Example: "proxyConfiguration": {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}

Tip and combinations: Keep the default. Datacenter proxies are cheaper but are limited much faster, which shows up as fewer rows and more retries in the log. A proxy country only matters when you want results as seen from that country.

Ready-to-copy inputs for the Twitter Posts Scraper

Paste one of these into the JSON tab of the input form, or send it as the body of an API run:

1. Newest posts of a few accounts - returns the newest original posts of NASA and SpaceX with full author profiles.

{
"twitterHandles": [
"NASA",
"SpaceX"
]
}

2. One post with its replies - returns the post and up to 20 replies shown under it.

{
"startUrls": [
"https://x.com/NASA/status/2121280846183137564"
],
"maxRepliesPerPost": 20
}

3. Popular English video posts about a topic - returns up to 30 matching posts with a video and 100+ likes from November 2026.

{
"searchTerms": [
"artemis moon"
],
"maxTweetsPerQuery": 30,
"maxSearchPages": 10,
"mediaFilter": "videos",
"minLikes": 100,
"lang": "en",
"start": "2026-11-01",
"end": "2026-11-30"
}

Output of Twitter Posts Scraper

One row is one public post (or reply) with its full text, all counts, media links, thread and quote information and - with includeAuthorProfile on - the author's full public profile. A value X does not publish for a post is null, never invented: many columns (poll, card, place, community ...) exist only for posts of that kind. Several columns repeat a value under the names other X tools use, so a sheet built for another tool keeps working.

FieldTypeWhat it meansExample from a test runWhen it can be empty
typetextAlways tweet for a post row"tweet"Filled in every row of our test run
idtextNumeric id of the post"2123794778978762778"Filled in every row of our test run
urltextLink to the post on x.com"https://x.com/esa/status/2123794778978762778"Filled in every row of our test run
twitterUrltextLink to the post on twitter.com"https://twitter.com/esa/status/2123794778978...Filled in every row of our test run
texttextFull text of the post (long posts are returned in full)"BepiColombo is about to enter orbit around M...Filled in every row of our test run
createdAttextWhen the post was published (ISO-8601, UTC)"2026-11-20T15:05:08Z"Filled in every row of our test run
langtextLanguage of the post as X detects it (two-letter code)"en"Filled in every row of our test run
likeCountnumberNumber of likes459Filled in every row of our test run
retweetCountnumberNumber of reposts94Filled in every row of our test run
replyCountnumberNumber of replies22Filled in every row of our test run
quoteCountnumberNumber of quote posts8Filled in every row of our test run
bookmarkCountnumberNumber of bookmarks20Filled in every row of our test run
viewCountnumberNumber of views17977Empty on very old posts, which have no view counter (empty in 2 of 25 test rows)
hashtagsnullHashtags in the post, without #nullEmpty when the post has no hashtag (empty in 25 of 25 test rows)
mentionslistAccounts @mentioned in the post["esaoperations"]Empty when the post mentions nobody (empty in 17 of 25 test rows)
urlslistLinks in the post, expanded to their real address["https://x.com/i/broadcasts/2evOEzWEYBkWyn"]Empty when the post has no link (empty in 16 of 25 test rows)
medialistEvery photo, video or GIF: type, url, width, height, video variants[{"type": "photo", "url": "https://pbs.twimg....Empty when the post has no media (empty in 8 of 25 test rows)
mediaUrlslistLinks to every photo, video cover and GIF of the post["https://pbs.twimg.com/media/HXa1-v6XoAAP0Ev...Empty when the post has no media (empty in 8 of 25 test rows)
isReplytrue/falsetrue when the post is a replyfalseFilled in every row of our test run
inReplyToIdnullId of the post this one replies tonullEmpty when the post is not a reply (empty in 20 of 25 test rows)
inReplyToUsernamenullHandle of the account replied tonullEmpty when the post is not a reply (empty in 22 of 25 test rows)
inReplyToUserIdnullUser id of the account replied tonullEmpty when the post is not a reply (empty in 22 of 25 test rows)
conversationIdtextId of the first post of the thread (the post's own id when it starts the thread)"2123794778978762778"Empty when the item has no such value (empty in 2 of 25 test rows)
isQuotetrue/falsetrue when the post quotes another posttrueFilled in every row of our test run
isQuoteStatustrue/falseQuote flag (same as isQuote)trueFilled in every row of our test run
quotedIdtextId of the quoted post"2123747708896751981"Empty when the post quotes nothing (empty in 22 of 25 test rows)
isRetweettrue/falsetrue when the row is a repost of another postfalseFilled in every row of our test run
full_texttextFull text (same as text)"BepiColombo is about to enter orbit around M...Filled in every row of our test run
entitiesobjectHashtags, mentions and links of the post as one object{"hashtags": [], "mentions": ["esaoperations"...Filled in every row of our test run
authorobjectThe author as one object: id, userName, name, followers, following, verified, picture ...{"id": "21436960", "userName": "esa", "name":...Filled in every row of our test run
favorite_countnumberNumber of likes (same as likeCount)459Filled in every row of our test run
followers_countnumberFollowers of the author1900467Filled in every row of our test run
following_countnumberAccounts the author follows994Filled in every row of our test run
user_idtextNumeric user id of the author"21436960"Filled in every row of our test run
usernametextHandle of the author (without @)"esa"Filled in every row of our test run
nametextDisplay name of the author"European Space Agency"Filled in every row of our test run
tweetUrltextLink to the post (same as url)"https://x.com/esa/status/2123794778978762778"Filled in every row of our test run
imageUrltextLink to the first image"https://pbs.twimg.com/media/HXa1-v6XoAAP0Ev....Empty when the post has no image (empty in 14 of 25 test rows)
imageUrlslistLinks to the images (same as mediaUrls for photo posts)["https://pbs.twimg.com/media/HXa1-v6XoAAP0Ev...Empty when the post has no image (empty in 14 of 25 test rows)
videoUrlsnullDirect MP4 links of the videos, best quality firstnullEmpty when the post has no video (empty in 19 of 25 test rows)
gifUrlsnullDirect MP4 links of animated GIFsnullEmpty when the post has no GIF (empty in 25 of 25 test rows)
extendedEntitiesobjectAll attached media as one object{"media": [{"type": "photo", "url": "https://...Empty when the post has no media (empty in 8 of 25 test rows)
user_mentionslistMentioned accounts (same as mentions)["esaoperations"]Empty when the post mentions nobody (empty in 17 of 25 test rows)
in_reply_to_status_idnullId of the replied-to post (same as inReplyToId)nullEmpty when the post is not a reply (empty in 20 of 25 test rows)
quotedTweetIdtextId of the quoted post (same as quotedId)"2123747708896751981"Empty when the post quotes nothing (empty in 22 of 25 test rows)
quotedTweetPermalinktextLink to the quoted post"https://x.com/esaoperations/status/212374770...Empty when the post quotes nothing (empty in 22 of 25 test rows)
quoted_tweetobjectThe quoted post as one object (text, author, counts){"id": "2123747708896751981", "url": "https:/...Empty when the post quotes nothing (empty in 22 of 25 test rows)
retweeted_tweetnullThe original post of a repostnullEmpty when the row is not a repost (profiles show original posts) (empty in 25 of 25 test rows)
retweetedAtnullWhen the repost was madenullEmpty when the row is not a repost (empty in 25 of 25 test rows)
sourceTweetIdnullId of the original post of a repostnullEmpty when the row is not a repost (empty in 25 of 25 test rows)
displayTextRangelistStart and end character of the visible text (the rest are reply handles or media links)[0, 132]Filled in every row of our test run
editobjectEdit information: the ids of every version of the post{"__typename": "EditControlInitial", "edit_tw...Filled in every row of our test run
contentDisclosureobjectContent disclosure labels of the post (e.g. AI-generated media){"ai_generated_disclosure": {"can_edit": true...Empty when the post carries no disclosure block (empty in 17 of 25 test rows)
aiDisclosureobjectAI-generated media disclosure of the post{"can_edit": true, "has_ai_generated_media": ...Empty when the post carries no disclosure block (empty in 17 of 25 test rows)
grokTranslatedPostobjectWhether X offers a machine translation of the post{"__typename": "ApiGrokTranslateResponse", "i...Filled in every row of our test run
possiblySensitivetrue/falsetrue when X marks the post as possibly sensitivefalseEmpty when the item has no such value (empty in 6 of 25 test rows)
isNoteTweettrue/falsetrue for a long post (over 280 characters)falseFilled in every row of our test run
noteTweetobjectThe long-post block with its full text and styling{"is_expandable": true, "note_tweet_results":...Empty for normal posts of up to 280 characters (empty in 22 of 25 test rows)
articlenullX Article attached to the post: title, preview text, covernullEmpty when the post is not an Article - most posts (empty in 25 of 25 test rows)
cardobjectLink preview card: title, description, image, link{"__typename": "Card", "id": "Q2FyZDpodHRwczo...Empty when the post has no link preview (empty in 23 of 25 test rows)
pollnullPoll options with vote counts and end timenullEmpty when the post has no poll (empty in 25 of 25 test rows)
placenullPlace attached to the post: name, country, typenullEmpty when the author attached no place - most posts (empty in 25 of 25 test rows)
geonullCoordinates attached to the postnullEmpty when the author shared no location - almost all posts (empty in 25 of 25 test rows)
coordinatesnullCoordinates (same as geo)nullEmpty when the author shared no location - almost all posts (empty in 25 of 25 test rows)
communityIdnullId of the X Community the post was published innullEmpty when the post is not in a Community (empty in 25 of 25 test rows)
communityNamenullName of that CommunitynullEmpty when the post is not in a Community (empty in 25 of 25 test rows)
communityNotenullCommunity Note shown under the post (text and link)nullEmpty when the post has no Community Note (empty in 25 of 25 test rows)
hasCommunityNotestrue/falsetrue when a Community Note is shown under the postfalseFilled in every row of our test run
conversationControlnullWho may reply (e.g. only mentioned accounts)nullEmpty when everyone may reply (empty in 25 of 25 test rows)
isConversationControlledtrue/falsetrue when replies are limitedfalseFilled in every row of our test run
isLimitedReplytrue/falsetrue when the reply setting excludes most accountsfalseFilled in every row of our test run
exclusiveContentnullSubscriber-only (Super Follows) markernullEmpty for normal public posts (empty in 25 of 25 test rows)
jetfuelAttachmentnullInteractive attachment of the postnullEmpty for posts without such an attachment - almost all (empty in 25 of 25 test rows)
grokShareAttachmentnullA shared Grok conversation attached to the postnullEmpty when no Grok conversation is attached (empty in 25 of 25 test rows)
postCtanullCall-to-action button of the postnullEmpty when the post has no button - almost all organic posts (empty in 25 of 25 test rows)
sportsContextnullSports event the post is linked tonullEmpty when the post is not linked to an event (empty in 25 of 25 test rows)
tombstonenullNotice shown instead of a removed or withheld postnullEmpty for normal visible posts (empty in 25 of 25 test rows)
textHighlightsnullHighlighted parts of the textnullEmpty when X highlights nothing (empty in 25 of 25 test rows)
unmentionedUserIdsnullUsers who removed themselves from the conversationnullEmpty when nobody did (empty in 25 of 25 test rows)
previousCountsnullLike / repost / reply counts of an earlier version of an edited postnullEmpty when the post was never edited (empty in 25 of 25 test rows)
paidPartnershipnulltrue when the post is marked as a paid partnershipnullEmpty on normal posts (empty in 25 of 25 test rows)
sourcenullThe app the post was sent fromnullX no longer publishes the app name for posts - empty on every row we measured (empty in 25 of 25 test rows)
engagementModenullEngagement setting of the postnullEmpty on normal posts - X publishes it only for special formats (empty in 25 of 25 test rows)
replyCoveragenullX's reply-coverage marker of the post (set on posts whose replies X limits or summarises)nullEmpty on normal posts - X sets it only on special posts (empty in 25 of 25 test rows)
descriptiontextDescription text of the link preview card of the post"NASA's SpaceX 35th Commercial Resupply Servi...Empty when the post has no link preview card (empty in 23 of 25 test rows)
authorDescriptiontextBio of the author"Elevating the future of Europe through space...Empty when includeAuthorProfile is off or the author has no bio (empty in 1 of 25 test rows)
authorProfileBiotextBio of the author (same as authorDescription)"Elevating the future of Europe through space...Empty when includeAuthorProfile is off or the author has no bio (empty in 1 of 25 test rows)
authorLocationtextLocation written in the author's profile"Europe"Empty when includeAuthorProfile is off or the author wrote none (empty in 2 of 25 test rows)
authorFollowingnumberAccounts the author follows994Empty when includeAuthorProfile is off
authorStatusesCountnumberTotal number of posts of the author64081Empty when includeAuthorProfile is off
authorMediaCountnumberNumber of photos and videos the author has posted14631Empty when includeAuthorProfile is off
authorCreatedAttextWhen the author's account was created"2009-02-20T21:38:25Z"Empty when includeAuthorProfile is off
authorIsBlueVerifiedtrue/falsetrue when the author has a paid blue checkmarktrueEmpty when includeAuthorProfile is off
authorIsVerifiednullLegacy verified flagnullX retired the legacy badge, so it is empty on every row - use authorVerified / authorVerifiedType (empty in 25 of 25 test rows)
authorVerifiedTypetextKind of checkmark: Business (gold), Government (grey) or empty for blue"Government"Empty when includeAuthorProfile is off or the author has a plain blue checkmark (empty in 5 of 25 test rows)
authorVerificationReasontextText X shows on the checkmark of the author"This account is verified because it is a gov...Empty when includeAuthorProfile is off or X shows no reason (empty in 3 of 25 test rows)
authorProtectedtrue/falsetrue when the author's posts are protectedfalseEmpty when includeAuthorProfile is off
authorProfilePicturetextLarge profile picture of the author"https://pbs.twimg.com/profile_images/2123416...Empty when includeAuthorProfile is off
authorCoverPicturetextHeader (banner) image of the author"https://pbs.twimg.com/profile_banners/214369...Empty when includeAuthorProfile is off or the author has no header image
authorProfileBannerUrltextHeader image (same as authorCoverPicture)"https://pbs.twimg.com/profile_banners/214369...Empty when includeAuthorProfile is off or the author has no header image
authorUrltextLink to the author's profile"https://x.com/esa"Empty when includeAuthorProfile is off
authorBirthdateobjectBirthday the author made public (day, month, year){"day": 1, "month": 10, "visibility": "Public...Empty when includeAuthorProfile is off or the author keeps it private (empty in 19 of 25 test rows)
authorBusinessAccountAffiliatesCountnumberNumber of affiliated accounts of a business account64Empty when includeAuthorProfile is off (empty in 10 of 25 test rows)
authorAffiliatesHighlightedLabelobjectAffiliation badge of the author (e.g. the organisation they belong to){"label": {"description": "NASA"}}Empty when includeAuthorProfile is off or the author has no affiliation badge (empty in 20 of 25 test rows)
authorCreatorSubscriptionsCountnumberNumber of creators the author subscribes to0Empty when includeAuthorProfile is off
authorSubscribersCountnumberNumber of paid subscribers of the author0Empty when includeAuthorProfile is off
authorGrokTranslatedBioobjectWhether X offers a translation of the author's bio{"is_available": false}Empty when includeAuthorProfile is off
authorHasHiddenSubscriptionsOnProfiletrue/falsetrue when the author hides their subscriptionsfalseEmpty when includeAuthorProfile is off
authorHighlightsInfoobjectHighlighted posts of the author: whether they can highlight and how many{"can_highlight_tweets": true, "highlighted_t...Empty when includeAuthorProfile is off
authorIsProfileTranslatabletrue/falsetrue when X can translate the profilefalseEmpty when includeAuthorProfile is off
authorParodyCommentaryFanLabeltextParody, commentary or fan account label ("None" when none)"None"Empty when includeAuthorProfile is off
authorPossiblySensitivetrue/falsetrue when X marks the author's profile as possibly sensitivefalseEmpty when includeAuthorProfile is off
authorProfileDescriptionLanguagetextLanguage of the author's bio"en"Empty when includeAuthorProfile is off (empty in 1 of 25 test rows)
authorProfileImageShapetextCircle for people, Square for organisations"Square"Empty when includeAuthorProfile is off
authorProfileInterstitialTypenullWarning shown before the author's profilenullEmpty when includeAuthorProfile is off or X shows no warning - nearly all accounts (empty in 25 of 25 test rows)
authorSuperFollowEligibletrue/falsetrue when the author offers subscriptionsfalseEmpty when includeAuthorProfile is off
authorWithheldScopenullCountries where the author is withheldnullEmpty when includeAuthorProfile is off or the author is not withheld anywhere - nearly all accounts (empty in 25 of 25 test rows)
authorDefaultProfileImagetrue/falsetrue when the author still has the default egg / avatar picturefalseEmpty when includeAuthorProfile is off
authorProfessionalobjectProfessional account info: type and category{"category": [{"name": "Science & Technology"...Empty when includeAuthorProfile is off or the author has no professional profile (empty in 14 of 25 test rows)
authorIdentityVerificationobjectID verification status of the author{"label": {"badge": {"url": "https://pbs.twim...Empty when includeAuthorProfile is off or the author did not verify their ID (empty in 20 of 25 test rows)
embedtextReady-to-paste embed code for the post"<blockquote class=\"twitter-tweet\" data-the...Filled in every row of our test run
rawobjectThe complete post record as X publishes it, for anything not split into its own column{"__isTweetResult": "Tweet", "__typename": "T...Filled in every row of our test run
statustextok for a readable post"ok"Filled in every row of our test run
resultTypetextAlways tweet for a post row"tweet"Filled in every row of our test run
sourceTargettextThe handle, post URL or search term from your input that produced this row"esa"Filled in every row of our test run
scrapedTimestamptextWhen the row was read (ISO-8601, UTC)"2026-11-21T19:10:13Z"Filled in every row of our test run
authorIdtextNumeric user id of the author (same as user_id)"21436960"Filled in every row of our test run
authorUsernametextHandle of the author"esa"Filled in every row of our test run
authorNametextDisplay name of the author"European Space Agency"Filled in every row of our test run
authorFollowersnumberFollowers of the author (same as followers_count)1900467Filled in every row of our test run
authorVerifiedtrue/falsetrue when the author has a verified (blue, gold or grey) checkmarktrueFilled in every row of our test run
authorProfileImageUrltextSmall profile picture of the author"https://pbs.twimg.com/profile_images/2123416...Filled in every row of our test run
inputTargettextThe input that produced this row (same as sourceTarget)"esa"Filled in every row of our test run
searchTermnullThe search term that found the postnullEmpty for rows from handles or post URLs (empty in 22 of 25 test rows)
scrapedAttextWhen the row was read (same as scrapedTimestamp)"2026-11-21T19:10:13Z"Filled in every row of our test run
inReplyToTweetIdnullId of the post this one replies to (same as inReplyToId)nullEmpty when the post is not a reply (empty in 20 of 25 test rows)
joinedAttextWhen the author's account was created (same as authorCreatedAt)"2009-02-20T21:38:25Z"Empty when includeAuthorProfile is off
mediaTypetextphoto, video, gif, or text for a post without media"text"Filled in every row
retweetedTweetIdnullId of the original post of a repostnullEmpty when the row is not a repost (empty in 25 of 25 test rows)
retweetedUsernamenullAuthor of the original post of a repostnullEmpty when the row is not a repost (empty in 25 of 25 test rows)
sourceUsernametextThe handle the row was collected for (the input handle, else the post author)"esa"Filled in every row
authorUnavailabletrue/falsetrue when the author of a removed or withheld post is not shownfalseFilled in every row
authorUnavailableReasonnullThe notice X shows for an unavailable authornullEmpty for normal posts - nearly all (empty in 25 of 25 test rows)
unavailableAuthorIdnullUser id of an author X does not shownullEmpty for normal posts - nearly all (empty in 25 of 25 test rows)
isTranslatabletrue/falsetrue when X offers a machine translation of the postfalseFilled in every row
translationobjectTranslation availability block of the post as X sends it{"__typename": "ApiGrokTranslateResponse", "i...Filled in every row

A real row from a Twitter Posts Scraper test run (long values shortened):

{
"id": "2123794778978762778",
"url": "https://x.com/esa/status/2123794778978762778",
"text": "BepiColombo is about to enter orbit around Mercury!\n\nFollow @esaoperations for live updates from Mission Control at E...",
"createdAt": "2026-11-20T15:05:08Z",
"lang": "en",
"likeCount": 459,
"retweetCount": 94,
"replyCount": 22,
"quoteCount": 8,
"bookmarkCount": 20,
"viewCount": 17977,
"mediaUrls": [],
"isReply": false,
"isQuote": true,
"authorUsername": "esa",
"authorName": "European Space Agency",
"authorFollowers": 1900467,
"authorVerified": true,
"authorLocation": "Europe",
"inputTarget": "esa"
}

Which columns of Twitter Posts Scraper can be empty

Measured on our latest test run: these columns were empty on more than 10% of the rows. Each line says why - in every case the value is not shown for those items (or belongs to another row type or option), so the Twitter Posts Scraper writes null instead of guessing.

  • hashtags: Empty when the post has no hashtag (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • mentions: Empty when the post mentions nobody (empty in 17 of 25 test rows) (empty in 17 of 25 rows of our test run).
  • urls: Empty when the post has no link (empty in 16 of 25 test rows) (empty in 16 of 25 rows of our test run).
  • media: Empty when the post has no media (empty in 8 of 25 test rows) (empty in 8 of 25 rows of our test run).
  • mediaUrls: Empty when the post has no media (empty in 8 of 25 test rows) (empty in 8 of 25 rows of our test run).
  • inReplyToId: Empty when the post is not a reply (empty in 20 of 25 test rows) (empty in 20 of 25 rows of our test run).
  • inReplyToUsername: Empty when the post is not a reply (empty in 22 of 25 test rows) (empty in 22 of 25 rows of our test run).
  • inReplyToUserId: Empty when the post is not a reply (empty in 22 of 25 test rows) (empty in 22 of 25 rows of our test run).
  • quotedId: Empty when the post quotes nothing (empty in 22 of 25 test rows) (empty in 22 of 25 rows of our test run).
  • imageUrl: Empty when the post has no image (empty in 14 of 25 test rows) (empty in 14 of 25 rows of our test run).
  • imageUrls: Empty when the post has no image (empty in 14 of 25 test rows) (empty in 14 of 25 rows of our test run).
  • videoUrls: Empty when the post has no video (empty in 19 of 25 test rows) (empty in 19 of 25 rows of our test run).
  • gifUrls: Empty when the post has no GIF (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • extendedEntities: Empty when the post has no media (empty in 8 of 25 test rows) (empty in 8 of 25 rows of our test run).
  • user_mentions: Empty when the post mentions nobody (empty in 17 of 25 test rows) (empty in 17 of 25 rows of our test run).
  • in_reply_to_status_id: Empty when the post is not a reply (empty in 20 of 25 test rows) (empty in 20 of 25 rows of our test run).
  • quotedTweetId: Empty when the post quotes nothing (empty in 22 of 25 test rows) (empty in 22 of 25 rows of our test run).
  • quotedTweetPermalink: Empty when the post quotes nothing (empty in 22 of 25 test rows) (empty in 22 of 25 rows of our test run).
  • quoted_tweet: Empty when the post quotes nothing (empty in 22 of 25 test rows) (empty in 22 of 25 rows of our test run).
  • retweeted_tweet: Empty when the row is not a repost (profiles show original posts) (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • retweetedAt: Empty when the row is not a repost (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • sourceTweetId: Empty when the row is not a repost (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • contentDisclosure: Empty when the post carries no disclosure block (empty in 17 of 25 test rows) (empty in 17 of 25 rows of our test run).
  • aiDisclosure: Empty when the post carries no disclosure block (empty in 17 of 25 test rows) (empty in 17 of 25 rows of our test run).
  • possiblySensitive: Empty when the item has no such value (empty in 6 of 25 test rows) (empty in 6 of 25 rows of our test run).
  • noteTweet: Empty for normal posts of up to 280 characters (empty in 22 of 25 test rows) (empty in 22 of 25 rows of our test run).
  • article: Empty when the post is not an Article - most posts (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • card: Empty when the post has no link preview (empty in 23 of 25 test rows) (empty in 23 of 25 rows of our test run).
  • poll: Empty when the post has no poll (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • place: Empty when the author attached no place - most posts (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • geo: Empty when the author shared no location - almost all posts (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • coordinates: Empty when the author shared no location - almost all posts (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • communityId: Empty when the post is not in a Community (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • communityName: Empty when the post is not in a Community (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • communityNote: Empty when the post has no Community Note (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • conversationControl: Empty when everyone may reply (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • exclusiveContent: Empty for normal public posts (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • jetfuelAttachment: Empty for posts without such an attachment - almost all (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • grokShareAttachment: Empty when no Grok conversation is attached (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • postCta: Empty when the post has no button - almost all organic posts (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • sportsContext: Empty when the post is not linked to an event (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • tombstone: Empty for normal visible posts (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • textHighlights: Empty when X highlights nothing (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • unmentionedUserIds: Empty when nobody did (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • previousCounts: Empty when the post was never edited (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • paidPartnership: Empty on normal posts (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • source: X no longer publishes the app name for posts - empty on every row we measured (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • engagementMode: Empty on normal posts - X publishes it only for special formats (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • replyCoverage: Empty on normal posts - X sets it only on special posts (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • description: Empty when the post has no link preview card (empty in 23 of 25 test rows) (empty in 23 of 25 rows of our test run).
  • authorIsVerified: X retired the legacy badge, so it is empty on every row - use authorVerified / authorVerifiedType (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • authorVerifiedType: Empty when includeAuthorProfile is off or the author has a plain blue checkmark (empty in 5 of 25 test rows) (empty in 5 of 25 rows of our test run).
  • authorVerificationReason: Empty when includeAuthorProfile is off or X shows no reason (empty in 3 of 25 test rows) (empty in 3 of 25 rows of our test run).
  • authorBirthdate: Empty when includeAuthorProfile is off or the author keeps it private (empty in 19 of 25 test rows) (empty in 19 of 25 rows of our test run).
  • authorBusinessAccountAffiliatesCount: Empty when includeAuthorProfile is off (empty in 10 of 25 test rows) (empty in 10 of 25 rows of our test run).
  • authorAffiliatesHighlightedLabel: Empty when includeAuthorProfile is off or the author has no affiliation badge (empty in 20 of 25 test rows) (empty in 20 of 25 rows of our test run).
  • authorProfileInterstitialType: Empty when includeAuthorProfile is off or X shows no warning - nearly all accounts (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • authorWithheldScope: Empty when includeAuthorProfile is off or the author is not withheld anywhere - nearly all accounts (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • authorProfessional: Empty when includeAuthorProfile is off or the author has no professional profile (empty in 14 of 25 test rows) (empty in 14 of 25 rows of our test run).
  • authorIdentityVerification: Empty when includeAuthorProfile is off or the author did not verify their ID (empty in 20 of 25 test rows) (empty in 20 of 25 rows of our test run).
  • searchTerm: Empty for rows from handles or post URLs (empty in 22 of 25 test rows) (empty in 22 of 25 rows of our test run).
  • inReplyToTweetId: Empty when the post is not a reply (empty in 20 of 25 test rows) (empty in 20 of 25 rows of our test run).
  • retweetedTweetId: Empty when the row is not a repost (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • retweetedUsername: Empty when the row is not a repost (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • authorUnavailableReason: Empty for normal posts - nearly all (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).
  • unavailableAuthorId: Empty for normal posts - nearly all (empty in 25 of 25 test rows) (empty in 25 of 25 rows of our test run).

Features of Twitter Posts Scraper compared with the top 5 Apify Store Actors

The table lists every feature the five most-used Store Actors of this type offer, how many of them offer it, and whether Twitter Posts Scraper has it. "No" always comes with the measured reason.

FeatureIn top 5Twitter Posts Scraper
Posts of a profile5 of 5Yes - the newest posts X shows to logged-out visitors (5 per account)
Post by URL / id4 of 5Yes
Search terms4 of 5Yes
Likes, reposts, replies, quotes, bookmarks, views5 of 5Yes
Media with video files3 of 5Yes
Replies of a post (conversation)2 of 5Yes - the replies X shows under the post
min_faves / min_retweets / min_replies4 of 5Yes (minLikes / minRetweets / minReplies)
filter:media / images / videos / links / replies / quote / hashtags / mentions / blue_verified2 of 5Yes
lang, since, until2 of 5Yes (lang, start, end)
Complete account history (thousands of posts)4 of 5No - logged-out X shows only the 5 newest posts of an account
geocode / near / within, list, card_name, spaces, news2-3 of 5No - these need X's own search, which requires a login

Limits of Twitter Posts Scraper

Twitter Posts Scraper reports what it can measure and nothing else. These limits were measured on live runs:

  • Logged-out visitors see the 5 newest original posts of an account, so a handle gives at most 5 posts; for more, add search terms (e.g. from:NASA topics) or post URLs.
  • Search terms find posts that are publicly indexed; very fresh posts can take a while to appear.
  • View counts are missing on very old posts (X did not count views before 2022).

Twitter Posts Scraper with the Apify API, Python and integrations

You can start Twitter Posts Scraper from your own code. The Apify API runs Twitter Posts Scraper with your input and returns the dataset when the run ends. This Python example uses the official apify-client package:

from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("neuro-scraper/twitter-posts-scraper").call(run_input={"twitterHandles": ["NASA"], "searchTerms": ["artemis moon"], "maxTweetsPerQuery": 20})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

The same run from Node.js with the apify-client package:

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('neuro-scraper/twitter-posts-scraper').call({"twitterHandles": ["NASA", "SpaceX"]});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Or with one HTTP call that runs the Twitter Posts Scraper and returns the rows when it finishes:

curl -X POST 'https://api.apify.com/v2/acts/neuro-scraper~twitter-posts-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{"twitterHandles": ["NASA", "SpaceX"]}'

The same run works from JavaScript, from a webhook, or with no code at all: Twitter Posts Scraper plugs into Make, Zapier, n8n, Google Sheets, Slack and Airbyte through the Apify integrations.

A schedule turns Twitter Posts Scraper into a monitor. Run Twitter Posts Scraper every day with the same input, export each dataset, and compare the numbers over time in a spreadsheet or a BI tool.

Export formats of Twitter Posts Scraper

FormatBest for
JSONdevelopers and APIs reading Twitter Posts Scraper rows
CSVspreadsheets and databases
Excelbusiness users and reports
HTML tablea quick look in the browser
RSS / XMLfeeds and older tools

Pricing of Twitter Posts Scraper

Twitter Posts Scraper uses pay-per-event pricing: you pay a small fee per post written to the dataset, plus a tiny start fee per run. There is no monthly rental. The limit inputs and the run's maximum cost setting keep every run of Twitter Posts Scraper inside your budget.

Cost example for the Twitter Posts Scraper: one result is one post written to the dataset. The price is $1.49 per 1,000 results on the Apify Free plan, $1.39 per 1,000 on Starter, $1.29 per 1,000 on Scale and $1.19 per 1,000 on Business. So 100 posts cost about $0.15 and 1,000 posts cost $1.49 on the Free plan. Example: 4 search terms x maxTweetsPerQuery 25 = up to 100 posts = about $0.15.

How to cap the cost: Lower maxTweetsPerQuery (per input) or set maxItems (whole run); filters also lower the cost because dropped posts are not charged. You can also set Maximum cost per run in the run options; the run stops cleanly when that budget is reached and keeps every row it already saved.

Limits we measured: X shows visitors without an account the 5 newest original posts of a profile and no further pages, so a handle gives at most 5 posts; search terms and post URLs have no such cap. View counts, bookmarks and the full author profile were filled on every post of our test run.

Apify's free plan includes monthly credit, enough to try Twitter Posts Scraper on real inputs. Free-plan runs of Twitter Posts Scraper are capped at 30 results per run.

Tips for better results with Twitter Posts Scraper

  • Start Twitter Posts Scraper with the prefilled input to see the output format, then add your own inputs.
  • Keep the default residential proxy: X (Twitter) limits anonymous visitors per IP address, and Twitter Posts Scraper switches to a fresh IP when it meets a limit.
  • Use the limit fields of Twitter Posts Scraper to control cost; the limits apply per input.
  • Read the run log: Twitter Posts Scraper names every input that failed and why, and the final status message sums it up.

Twitter Posts Scraper is part of a family of social media scrapers. Combine Twitter Posts Scraper with these Actors:

Twitter Posts Scraper reads only public data that any visitor can see without logging in. It does not access private accounts, messages or anything behind a login.

Results of Twitter Posts Scraper can still contain personal data. Personal data is protected by GDPR in the European Union and by similar laws elsewhere. Do not scrape personal data unless you have a legitimate reason, and ask a lawyer if you are unsure. Respect the X (Twitter) terms that apply to you.

Reviews and feedback for Twitter Posts Scraper

Did Twitter Posts Scraper save you time? A short review on the Apify Store helps other users find Twitter Posts Scraper. If something does not work, open an issue on the Issues tab of Twitter Posts Scraper and include the run link: every report is read and answered.

FAQ about Twitter Posts Scraper

How many posts does the Twitter Posts Scraper return per account?

The Twitter Posts Scraper returns the newest posts X shows to logged-out visitors - 5 per account. For more posts of one account, add search terms or post URLs.

Does the Twitter Posts Scraper need an X account or API key?

No. The Twitter Posts Scraper reads public posts without any login, cookie or API key.

Can the Twitter Posts Scraper read replies?

Yes: give a post URL and set maxRepliesPerPost. The Twitter Posts Scraper returns the post and the replies X shows under it.

Does the Twitter Posts Scraper return the same post twice?

No. Every post id is written once per run, even when it is found through a handle, a post URL and a search term at the same time. The inputTarget column shows the first input that found it.

Why do search results of the Twitter Posts Scraper include older posts?

Search terms find public posts by relevance, not only the newest ones. Use the start and end dates of the Twitter Posts Scraper to keep a time window.

Can I filter by engagement in the Twitter Posts Scraper?

Yes. minLikes, minRetweets and minReplies keep only posts above your thresholds, and the media, reply, quote, language and date filters narrow it further.

Do I need a X (Twitter) account to use Twitter Posts Scraper?

No. Twitter Posts Scraper works without a X (Twitter) account, login or cookies. It reads only public data.

How fast is Twitter Posts Scraper?

Twitter Posts Scraper paces its requests like a careful visitor and uses residential IPs. Small runs finish in about a minute; the run log shows the progress of Twitter Posts Scraper for every input.

Can I schedule Twitter Posts Scraper?

Yes. In Apify Console, create a task with your input for Twitter Posts Scraper and add a schedule (hourly, daily, weekly). Each scheduled run of Twitter Posts Scraper produces a new dataset.

Which export formats does Twitter Posts Scraper support?

Every dataset of Twitter Posts Scraper can be downloaded as JSON, CSV, Excel, HTML, XML or RSS, or read through the Apify API.

Why is a field of Twitter Posts Scraper empty?

Twitter Posts Scraper writes null when X (Twitter) does not publish that value for the post. Twitter Posts Scraper never fills a field with a guess.

Why did I get only 5 posts for a handle?

X shows visitors without an account the 5 newest original posts of a profile and no next page. The Twitter Posts Scraper never logs in, so for more posts of an account use searchTerms (topic words of that account) or startUrls.

Can I mix handles, URLs and search terms in one run?

Yes. All three work together; the limit applies to each handle and each search term, and inputTarget says which input produced a row.

How do I get only new posts?

Schedule the Twitter Posts Scraper with start set to the last run date, or compare id with your previous dataset - post ids are unique and grow over time.

Why are poll, card or place empty?

Those columns belong to posts that have a poll, a link preview or a tagged place. A normal text or photo post has none, so the Twitter Posts Scraper writes null.

How do I report a problem with Twitter Posts Scraper?

Open the Issues tab of Twitter Posts Scraper on the Apify Store, describe what you expected and paste the run link. Problems with Twitter Posts Scraper are usually fixed within days.