X (Twitter) User Tweets & Replies Scraper
Pricing
from $0.17 / 1,000 tweet saveds
X (Twitter) User Tweets & Replies Scraper
Export public X (Twitter) tweet history by username, profile URL, or user ID. Choose a date range, collect replies written by the account, or filter for images, videos, and GIFs. Save tweet text, author details, and engagement counts as CSV, Excel, or JSON. No X login required.
Pricing
from $0.17 / 1,000 tweet saveds
Rating
0.0
(0)
Developer
ArjunAI Data
Maintained by CommunityActor stats
1
Bookmarked
7
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Features
Share
Export public X (Twitter) tweet history by username, profile URL, or user ID. Collect recent tweets or choose a specific date range, then save tweet text, author details, engagement counts, and media links as CSV, Excel, or JSON. Run the prefilled NASA example to see up to 10 tweets. No X login or X API key is required.
At the Free rate and default memory, a 10-tweet export costs $0.0074, including the start event. Choose the weekly archive example below for a date range that moves with each scheduled run.
🔗 Ready-to-run examples
- Keep a weekly archive. Export posts from the seven completed UTC days before each run, then save and schedule your own copy. Archive the Last 7 Days of X Account Posts
- Review replies by date. Collect replies written by an account in a fixed UTC date range. Export X Replies by Account and Date
🎯 What you can do with a tweet export
- Archive a campaign or launch. Collect what several public accounts posted during the same date range and compare their text, media, and engagement.
- Review a brand’s replies. Collect public replies the account wrote to customers or other accounts. For comments received under one tweet, use the X Replies & Comments Scraper.
- Build a media dataset. Pick images, videos, or GIFs and keep the corresponding tweet text and source links for review.
- Save a rolling archive. Schedule a daily or weekly export with relative dates, or use the API or MCP to load the data into your workflow.
🚀 How to export tweets from an X account
- In Usernames or X profile links, enter an account such as
@NASA. If you have a numeric user ID, use Numeric X user IDs. To run by ID alone, clear the prefilled NASA link. - Set Tweets per account (0 = all available). Start with 10 to preview the results. Use
0with a single account to collect all available matches within the selected dates. - Use Tweet filters to select replies, retweets, or media. For original tweets and quotes, choose Exclude replies and turn off Include Retweets.
- In Date range (optional), select dates in UTC. Both days are included. Use the same date in both fields for one day. A blank start date begins at account creation. A blank end date goes up to the start of the run.
- Click Start. Open Tweets to review the result rows and Run summary to check what happened for each account. Use Export to download the dataset.
| Tweets to save per account | Accounts per run |
|---|---|
| 1–500 | Up to 25 |
| 0 (all available) or more than 500 | 1 |
Both account fields share the same allowance. NASA, @NASA, and https://x.com/NASA count as one username. A username and a numeric ID occupy separate input slots, so use one identifier per account.
⚙️ Input options
| Console setting | JSON field | What to enter |
|---|---|---|
| 👤 Usernames or X profile links | screenNames | One public account per line, or an array such as ["@NASA", "https://x.com/OpenAI"]. |
| 🆔 Numeric X user IDs | userIds | One ID per line, or an array of strings such as ["11348282"]. Supply at least one account across the two account fields. |
| 📥 Tweets per account | maxTweetsPerAccount | The maximum number of matching tweets to save for each account. Use 0 for all available matches. The JSON default is 100. |
| 💬 Replies | tweetType | all (Include replies, default), non_replies (Exclude replies), or replies (Replies only). This applies to replies written by the account. |
| 🔁 Include Retweets | includeRetweets | true by default. Set to false to skip retweets. Quote tweets remain eligible under either setting. |
| 🖼️ Media type | mediaType | any (Any content, default), media (Any media), images, videos, or gifs. Retweets can match media attached to the original tweet. Quotes are filtered by their own attachments. |
| 📅 Start date (UTC) | startDate | First day to include. Use YYYY-MM-DD or a relative date such as "7 days". Leave blank to start from account creation. |
| 🏁 End date (UTC) | endDate | Last day to include. Use YYYY-MM-DD or a relative date such as "1 day". Leave blank to include tweets up to the run start. |
🧪 Example inputs
Preview recent tweets from @NASA
Use the prefilled example to save up to 10 recent tweets, including replies and retweets.
{"screenNames": ["https://x.com/NASA"],"maxTweetsPerAccount": 10,"tweetType": "all"}
Export replies by user ID and date range
Collect replies written by NASA between November 10 and November 12, 2026, inclusive. This input uses NASA’s numeric X user ID.
{"userIds": ["11348282"],"maxTweetsPerAccount": 20,"tweetType": "replies","includeRetweets": false,"startDate": "2026-11-10","endDate": "2026-11-12"}
Compare original and quote tweets with photos
Export up to 20 matching tweets per account during the same week. The filters keep original and quote tweets with photos.
{"screenNames": ["@NASA", "@NASAJohnson"],"maxTweetsPerAccount": 20,"tweetType": "non_replies","includeRetweets": false,"mediaType": "images","startDate": "2026-11-06","endDate": "2026-11-12"}
📊 What data does the tweet export include?
Each tweet row includes the publication date, tweet type, text, and link. The Tweets table shows the main columns. Use JSON for the full tweet and its nested objects. Treat tweet IDs and user IDs as text when importing into spreadsheets to preserve every digit.
| Data you need | Where to find it |
|---|---|
| Tweet text and date | tweet_id, tweet_url, created_at (published time in UTC), text, display_text, language, and post_type. |
| Engagement | like_count, reply_count, retweet_count, quote_count, view_count, and bookmark_count when reported by X. Counts reflect the time of collection. |
| Author profile | author includes username, name, profile links, bio, account creation date, follower counts, and available badges. |
| Conversation and links | conversation_id, in_reply_to_*, reply_to_name, hashtags, mentions, urls, and an available link preview in card. |
| Quotes and retweets | quoted_post can include the quoted tweet. A retweet identifies the account in retweeter and includes the original tweet and its author in retweeted_post when available. |
| Media and X Articles | media includes available photo, video, and GIF links, plus details such as dimensions or video variants. article can include the title and available text of an X Article. |
Example output
This full row comes from the NASA input above. Counts reflect the time of collection. Empty arrays and null values indicate data that is unavailable or does not apply to this tweet. Replies can populate in_reply_to_* and reply_to_name. Quotes and retweets can include quoted_post, retweeted_post, or retweeter. X Articles can populate article.
{"status": "success","tweet_id": "2120974110335312297","tweet_url": "https://x.com/NASA/status/2120974110335312297","conversation_id": "2120974110335312297","created_at": "2026-11-12T20:16:48Z","text": "Tethys and Dione showed up for the group photo!\n \nIn addition to the two moons shown here, Saturn has a whole entourage of natural satellites—more than any other planet in our solar system. As of now, the ringed planet has 293 confirmed moons. https://t.co/gqwbCa1ATc","is_longform": false,"is_article": false,"article": null,"note_tweet_id": null,"language": "en","source_name": null,"reply_count": 189,"retweet_count": 790,"quote_count": 52,"like_count": 5380,"bookmark_count": 263,"view_count": 528446,"possibly_sensitive": false,"is_quote": false,"is_reply": false,"in_reply_to_tweet_id": null,"in_reply_to_user_id": null,"in_reply_to_username": null,"hashtags": [],"cashtags": [],"mentions": [],"urls": [],"media_count": 1,"media_types": ["photo"],"media_source_urls": ["https://pbs.twimg.com/media/HW82tqYWoAAnWCO.jpg?format=jpg&name=orig"],"media": [{"origin": "tweet","media_id": "2120974107613241344","media_key": "3_2120974107613241344","type": "photo","preview_image_url": "https://pbs.twimg.com/media/HW82tqYWoAAnWCO.jpg","source_url": "https://pbs.twimg.com/media/HW82tqYWoAAnWCO.jpg?format=jpg&name=orig","content_type": "image/jpeg","requested_quality": "original","selected_quality": "original","selected_resolution": "971x855","available_resolutions": ["971x855","680x599","150x150"],"media_page_url": "https://x.com/NASA/status/2120974110335312297/photo/1","availability_status": "Available","alt_text": "Saturn dominates the scene, filling the rightmost portion of the photo with its orange face and dramatic rings. Two white dots appear to the left side of Saturn, which are its moons Tethys and Dione.","width": 971,"height": 855,"duration_millis": null,"aspect_ratio": null,"hls_url": null,"video_variants": [],"sensitive_warnings": []}],"translation_available": false,"translated_text": null,"translation_source_language": null,"translation_target_language": null,"translated_entities": {"hashtags": [],"cashtags": [],"mentions": [],"urls": []},"is_edited": false,"edit_count": 0,"edit_tweet_ids": ["2120974110335312297"],"author": {"id": "11348282","username": "NASA","name": "NASA","profile_url": "https://x.com/NASA","description": "Making the seemingly impossible, possible. ✨","description_entities": {"hashtags": [],"cashtags": [],"mentions": [],"urls": []},"profile_language": "en","location": "Pale Blue Dot","created_at": "2007-12-19T20:20:32Z","followers_count": 92247411,"following_count": 115,"tweets_count": 74538,"media_count": 28248,"favourites_count": 17106,"verified": false,"verified_type": "Government","blue_verified": true,"protected": false,"possibly_sensitive": false,"account_label": null,"professional_type": null,"professional_categories": [],"affiliation_name": null,"affiliation_url": null,"affiliation_badge_url": null,"pinned_tweet_ids": [],"profile_image_url": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_normal.jpg","profile_banner_url": "https://pbs.twimg.com/profile_banners/11348282/1788992290","website_url": "http://www.nasa.gov/","can_media_tag": true,"super_follow_eligible": false,"profile_image_shape": "Square","profile_interstitial_type": null},"scraped_at": "2026-11-13T09:44:13Z","display_text": "Tethys and Dione showed up for the group photo!\n \nIn addition to the two moons shown here, Saturn has a whole entourage of natural satellites—more than any other planet in our solar system. As of now, the ringed planet has 293 confirmed moons.","display_text_range": [0,243],"content_disclosure": {"ai_generated_disclosure": {"has_ai_generated_media": false}},"post_type": "original","is_retweet": false,"reply_to_name": null,"card": null,"retweeter": null,"retweeted_post": null,"quoted_post": null,"quoted_tweet_id": null,"quoted_tweet_url": null}
💰 Pricing
Pay for the Actor start and the tweets saved. Platform usage is included. Replies, quotes, and retweets use the same result price as original tweets.
| Apify plan | Price per saved tweet | Price per 1,000 saved tweets |
|---|---|---|
| Free | $0.00024 | $0.24 |
| Starter | $0.00021 | $0.21 |
| Scale | $0.00019 | $0.19 |
| Business and above | $0.00017 | $0.17 |
The start fee is $0.005 per run at the default 512 MB. Runs above 1 GB have a higher start fee. On the Free plan, a run that saves 10 tweets costs $0.0074 and a run that saves 100 tweets costs $0.029 at default memory. If a run starts and finds no matches, only the start fee applies. For a partial export, the result fee applies to the tweets that were saved.
Set Maximum cost per run in the run options to control spending. The minimum value for this setting is $0.01. The charge depends on the start and the number of tweets actually saved.
📋 How to read the run summary
Open Run summary after an export to check the total saved and the outcome for each account. If zero tweets are saved, Tweets contains a status row with a message and suggested action. When tweets are saved, account issues appear in Run summary.
| Run summary status | What to do |
|---|---|
complete | Download the saved tweets. Check the per-account counts and statuses to see which accounts reached your requested limit. |
partial | Keep the saved tweets. Check the account messages and affected dates. If you retry a narrower date range, combine exports using tweet_id. |
no_results | Check whether the account is public and available. If it is, try a wider date range or relax the filters. |
invalid_input | Use message, fields, and suggested_field when present to fix the input. |
charge_limit_reached | Download any saved tweets. Increase your maximum cost per run if you need additional results. |
request_failed | Review the affected account and date range. If the summary includes retry_at, wait until that UTC time before retrying. |
setup_failed | Share the run link with the Actor developer through the Issues tab so they can check the service configuration. |
Check the account entries in Run summary for more specific outcomes, such as protected, suspended, not_found, or limit_reached.
🔌 API and scheduled exports
For a small export, call the Actor and retrieve the dataset in one request. Set APIFY_TOKEN to your Apify API token first.
curl --request POST \"https://api.apify.com/v2/actors/arjun_code~x-twitter-user-tweets-scraper/run-sync-get-dataset-items?maxTotalChargeUsd=0.01" \--header "Authorization: Bearer $APIFY_TOKEN" \--header "Content-Type: application/json" \--data '{"screenNames":["https://x.com/NASA"],"maxTweetsPerAccount":10,"tweetType":"all"}'
For a long historical export, send the same JSON input to POST /v2/actors/arjun_code~x-twitter-user-tweets-scraper/runs with your chosen maxTotalChargeUsd. Poll GET /v2/actor-runs/{runId} until the run finishes. Fetch output.tweets for the dataset and output.runSummary for the export status. Use the same Authorization header for each request. Run Actors with the Apify API
Schedule recurring exports
Save your input as an Apify Task and add it to a Schedule. To collect the seven completed UTC days before each weekly run, set startDate to "7 days" and endDate to "1 day". For a daily export of the previous UTC day, set both dates to "1 day". The dates are recalculated when the run starts.
🤖 Use this Actor with an MCP agent
-
In your agent’s MCP settings, add a remote HTTP server with the URL below. If your client accepts an
mcpServersconfiguration, copy this JSON.{"mcpServers": {"apify-tweets": {"type": "http","url": "https://mcp.apify.com/?tools=call-actor"}}} -
Sign in to Apify when prompted. If your client uses authentication headers, set
Authorization: Bearer <APIFY_TOKEN>in its secret settings. Use an Apify account that has access to this Actor. -
Enable the connector in your chat and try this prompt.
Run
arjun_code/x-twitter-user-tweets-scraperto export up to 10 tweets and replies from @NASA. Set the maximum run cost to $0.01. Wait for the run to finish, then retrieve the saved tweets and show their dates, text, and links. Check the run summary and flag any incomplete date ranges.
For a custom agent, pass these arguments to call-actor. The budget goes in callOptions.
{"actor": "arjun_code/x-twitter-user-tweets-scraper","input": {"screenNames": ["https://x.com/NASA"],"maxTweetsPerAccount": 10,"tweetType": "all"},"callOptions": {"maxTotalChargeUsd": 0.01,"timeout": 180,"memory": 512},"waitSecs": 0}
- Use
get-actor-runwith the returnedrunIdandwaitSecs: 30. If the run is still in progress, check the same run again. - Read the tweets with
get-dataset-items. Passstorages.datasets.default.idasdatasetId. Uselimitandoffsetfor larger exports. - Read Run summary with
get-key-value-store-record. Passstorages.keyValueStores.default.idaskeyValueStoreIdandRUN_SUMMARYasrecordKey. Checkstatusandsaved_tweetsbefore reporting the result.
MCP runs use the same pricing as runs from Apify Console. See the Apify agent quickstart for client-specific setup.
❓ FAQ and support
Can I get every tweet an account ever posted?
Use 0 to collect all matching tweets available from X. Historical coverage can vary by account and date. Only public tweets that X makes available can be exported.
Why did I get fewer tweets than requested?
Tweets per account sets an upper limit on saved matches. A narrow date range or filter can produce fewer rows. Run summary shows whether the run saved all available matches, found no results, ended with incomplete coverage, or reached its cost cap.
Can I save photos or videos as files?
This Actor exports media links and metadata. To store the media files from selected tweet URLs, use the X Video & Media Downloader.
How can I get help?
Open an issue from the Actor’s Issues tab and include the run link and the input you used, with any secrets removed.
🔗 Related X (Twitter) Actors
- Search public posts by keyword, hashtag, or account. X Advanced Search Scraper
- Export comments and replies under a specific post URL or ID. X Replies & Comments Scraper
- Save videos, photos, and GIFs from specific X posts. X Video & Media Downloader
- Track engagement changes on selected tweets over time. X Post Performance & Growth Monitor