Twitter X Tweets Scraper Scraper avatar

Twitter X Tweets Scraper Scraper

Pricing

$19.99/month + usage

Go to Apify Store
Twitter X Tweets Scraper Scraper

Twitter X Tweets Scraper Scraper

πŸ¦πŸ”Ž Twitter (X) Tweets Scraper extracts public tweets by keyword, hashtag, or userβ€”plus timestamps, likes, retweets & links. ⚑ Real-time monitoring, pagination & rate-safe fetching. πŸ“€ Export CSV/JSON for research, brand tracking & sentiment. πŸš€ SEO-ready insights.

Pricing

$19.99/month + usage

Rating

0.0

(0)

Developer

ScrapAPI

ScrapAPI

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Twitter X Tweets Scraper Scraper

Twitter X Tweets Scraper Scraper is an Apify actor that extracts public tweets from Twitter/X user profiles at scale. It solves the pain of manual copy-paste by turning user timelines into clean, structured records you can analyze, enrich, and automate. This Twitter X tweets scraper works as a developer-ready Twitter tweet scraper tool and X Twitter data scraper for marketers, developers, data analysts, and researchers β€” enabling repeatable pipelines to download tweets from X and power data-driven decisions.

What data / output can you get?

Below are the exact fields this Twitter user tweets extractor returns in the dataset, with examples. You can export results to JSON, CSV, or Excel directly from Apify.

Data typeDescriptionExample value
idTweet ID (rest_id)"1988877569597260072"
urlCanonical Tweet URL"https://x.com/elonmusk/status/1988877569597260072"
user_postedUsername (screen_name)"elonmusk"
nameDisplay name"Elon Musk"
descriptionFull tweet text"Long press on any image to turn it into a video..."
date_postedISO timestamp (UTC)"2025-11-13T07:52:18.000Z"
likesFavorite count1729
repliesReply count554
repostsRepost (retweet) count368
quotesQuote count38
viewsView count (impressions)1399060
bookmarksBookmark count213
is_verifiedBlue verification flagtrue
followersAuthor followers229031060
followingAuthor following1226
posts_countAuthor total posts89153
profile_image_linkAuthor profile image"https://pbs.twimg.com/profile_images/..."
biographyAuthor bio text""
hashtagsHashtags found in tweet text["ai", "video"]
tagged_usersMentioned usernames["tetsuoai"]
photosFirst photo URL (if any)"https://pbs.twimg.com/media/abc123.jpg"
videosMP4 variants sorted by quality["https://video.twimg.com/.../576x856/...mp4"]
quoted_postQuoted tweet metadata{"data_posted": null, "description": null, ...}
external_urlAuthor profile external URLnull
inputSource URL reference for the record{"url": "https://x.com/elonmusk/status/1988.../"}

Notes:

  • photos is a single URL string when a photo is present; videos is an array of MP4 URLs (highest bitrate first).
  • hashtags, tagged_users, photos, videos, quoted_post fields may be null when not present in the tweet.
  • Results are returned recent-first by default to streamline analytics and reporting.

Key features

  • πŸ” Proxy fallback resilience Automatically falls back from no proxy β†’ datacenter β†’ residential proxies (with up to 3 retries) to reduce blocking and keep your X posts scraper running reliably.

  • 🧭 Cursor-based pagination Uses GraphQL pagination to traverse user timelines efficiently and collect the target number of tweets per profile.

  • πŸ” Dynamic authorization capture Captures the required authorization header from the Twitter/X web experience using Playwright to enable rate-safe fetching without official API keys.

  • 🎬 Media-aware extraction Extracts photos and MP4 video variants, plus hashtags, mentions, and quoted_post context for richer analytics in your Twitter data extraction tool.

  • πŸ“Š Structured analytics fields Collects likes, replies, reposts, quotes, views, bookmarks, and author metadata (followers, following, posts_count, verification, profile image) for downstream BI.

  • πŸ“¦ Export-friendly results Download results from the Apify dataset in JSON, CSV, or Excel to plug into dashboards, notebooks, or warehouses.

  • πŸ§‘β€πŸ’» Developer-ready by design Works seamlessly with the Apify API and platform SDKs so you can automate pipelines in Python and integrate this Twitter web scraping tool into your stack.

  • 🧱 Production-grade reliability Built with robust error handling, logging, and proxy management to minimize run failures at scale.

How to use Twitter X Tweets Scraper Scraper - step by step

  1. Sign in to Apify
    Create a free Apify account or log in.

  2. Open the actor
    Search for β€œTwitter X Tweets Scraper Scraper” in the Apify Store and click Try.

  3. Add input data
    Provide one or more Twitter/X profile identifiers to startUrls. Accepted formats include:

  1. Configure limits and proxy
  • maxTweets: Control how many tweets to collect per profile.
  • proxyConfiguration: Optionally enable Apify Proxy; the actor includes built-in fallback logic if requests are rejected.
  1. Start the run
    Click Start. The actor initializes a connection, resolves user IDs when needed, paginates through timelines, and saves items progressively to the dataset.

  2. Monitor progress
    Watch the live logs for status like β€œStarting to process…”, page counts, and saved tweet totals.

  3. Download results
    Open the run’s Dataset tab to export results as JSON, CSV, or Excel for analysis or automation.

Pro tip: Use the Apify API to schedule runs, stream datasets into your BI tools, or trigger enrichment workflows in your data pipeline.

Use cases

Use case nameDescription
Social media analytics for brand insightsTrack engagement metrics and verified status across competitor or influencer profiles to quantify performance.
Brand monitoring on XMonitor official accounts and executives to capture changes in posting cadence, views, and audience reaction.
Journalism and research datasetsExport clean tweet timelines with timestamps and media for reproducible analysis and citations.
Market and trend analysisAnalyze hashtags and mentions found in user posts to uncover topic adoption and momentum.
Data warehouse ingestion (API pipeline)Automate scheduled collections via the Apify platform and flatten outputs into your warehouse or lake.
Product and comms benchmarkingCompare reposts/replies/quotes across campaigns to improve messaging and timing strategies.
Creator/influencer trackingCollect verified status, audience sizes, and media usage patterns for partnership selection.

Why choose Twitter X Tweets Scraper Scraper?

This is a precision-first Twitter tweet scraper tool built for automation and reliability.

  • βœ… Accurate, structured output ready for analytics β€” no post-processing required.
  • βš™οΈ Scales across multiple profiles with pagination and progressive saving.
  • πŸ§‘β€πŸ’» Developer access via the Apify platform β€” ideal for Python pipelines and APIs.
  • πŸ”’ Ethical by design β€” targets publicly available profile timelines.
  • 🌐 Robust proxy fallback β€” reduces blocking compared to unstable browser extensions.
  • πŸ’° Cost-conscious operations β€” engineered to minimize retries and failed requests.
  • πŸ”Œ Integration-friendly β€” export datasets to CSV/JSON/Excel and wire into your stack.

In short: a production-grade X Twitter data scraper you can trust for repeatable, automated workloads.

Yes β€” when used responsibly. This actor is designed to extract publicly available information from Twitter/X user profiles.

Guidelines for compliant use:

  • Scrape only public profile content and respect the platform’s terms.
  • Do not attempt to access private accounts or bypass protections.
  • Ensure your downstream usage complies with applicable laws (e.g., GDPR, CCPA).
  • Validate edge-case uses with your legal team, especially for large-scale or commercial deployments.

The responsibility for lawful use rests with you; this tool focuses on publicly accessible data.

Input parameters & output format

Example input

{
"startUrls": [
"elonmusk",
"@BarackObama",
"https://x.com/SpaceX"
],
"maxTweets": 10,
"proxyConfiguration": {
"useApifyProxy": false
}
}

Input parameters

FieldTypeRequiredDefaultDescription
startUrlsarray (stringList)Yesβ€”List one or more Twitter profile URLs (e.g., https://x.com/username) or usernames (e.g., username or @username). One entry per line.
maxTweetsintegerNo10Maximum number of tweets to fetch per user/profile (1-1000). UI maximum is 100.
proxyConfigurationobjectNo{"useApifyProxy": false}Choose which proxies to use. By default, no proxy is used. If Twitter/X rejects the request, it will automatically fallback to datacenter proxy, then residential proxy with 3 retries.

Notes:

  • The actor processes usernames and profile URLs; Tweet URLs are detected and skipped with a warning.
  • Results are returned recent-first by default.

Example output

[
{
"biography": "",
"bookmarks": 213,
"date_posted": "2025-11-13T07:52:18.000Z",
"description": "Long press on any image to turn it into a video...",
"external_url": null,
"followers": 229031060,
"following": 1226,
"hashtags": ["ai", "video"],
"id": "1988877569597260072",
"input": { "url": "https://x.com/elonmusk/status/1988877569597260072/" },
"is_verified": true,
"likes": 1729,
"name": "Elon Musk",
"photos": "https://pbs.twimg.com/media/abc123.jpg",
"posts_count": 89153,
"profile_image_link": "https://pbs.twimg.com/profile_images/1983681414370619392/oTT3nm5Z_normal.jpg",
"quoted_post": {
"data_posted": null,
"description": null,
"post_id": null,
"profile_id": null,
"profile_name": null,
"url": null,
"videos": null
},
"quotes": 38,
"replies": 554,
"reposts": 368,
"tagged_users": ["tetsuoai"],
"url": "https://x.com/elonmusk/status/1988877569597260072",
"user_posted": "elonmusk",
"videos": [
"https://video.twimg.com/amplify_video/1988877511368019968/vid/avc1/576x856/34pcJSQSXqqM4JRQ.mp4?tag=23"
],
"views": 1399060
}
]

Field notes:

  • hashtags, tagged_users, photos, videos, quoted_post, external_url can be null depending on the tweet.
  • views is provided as a count when available.

FAQ

Does this scrape Twitter tweets without the official API?

Yes. It does not require official API keys. The actor captures an authorization header from the web experience and fetches public profile timelines like a Twitter web scraping tool.

What inputs are supported β€” usernames or URLs?

You can provide usernames (elonmusk), @usernames (@BarackObama), or full profile URLs (https://x.com/SpaceX) in startUrls. Tweet URLs are detected and skipped with a warning.

How many tweets per user can I download?

Control this with maxTweets. The default is 10, and the UI maximum is 100 per profile. The actor paginates user timelines until it reaches the limit.

Which data fields are included in the output?

You’ll get tweet-level fields (id, url, description, date_posted, likes, replies, reposts, quotes, views, bookmarks, hashtags, tagged_users, photos, videos, quoted_post) plus author metadata (user_posted, name, is_verified, followers, following, posts_count, profile_image_link, biography) and an input reference.

Does it scrape replies or threads?

It returns replies, reposts, quotes, and views as counts and includes quoted_post metadata when present. It does not extract full reply threads. For thread or replies scraping, use a dedicated Twitter replies scraper or thread-specific workflow.

Do I need to be logged in to X to run this?

The actor dynamically captures an authorization header from x.com. If it cannot capture it, the run will stop with an initialization error stating β€œFailed to capture authorization header.” Ensure your environment allows loading x.com to proceed.

Can I integrate this with Python or my data pipeline?

Yes. Run the actor via the Apify API, then export the dataset to JSON/CSV/Excel or pull it programmatically. It’s a solid fit for building a Twitter user tweets extractor into automated pipelines.

Yes β€” for public data and when used responsibly. Scrape only publicly accessible content, respect platform terms, and ensure compliance with applicable laws like GDPR/CCPA.

Closing CTA / Final thoughts

Twitter X Tweets Scraper Scraper is built to turn public Twitter/X profile timelines into analysis-ready data at scale. With pagination, proxy fallback, media-aware extraction, and clean JSON/CSV/Excel exports, it’s a practical solution for marketers, developers, data analysts, and researchers. Use the Apify API to automate collection, pipe outputs into your warehouse or notebooks, and keep your insights fresh β€” start extracting smarter with a reliable Twitter user tweets extractor today.