Twitter/X Profile & Tweet Scraper
Pricing
from $2.90 / 1,000 results
Twitter/X Profile & Tweet Scraper
Scrape Twitter/X profiles and tweet. Get clean JSON with profile stats, media URLs, captions, comments, tagged users, and more.
Pricing
from $2.90 / 1,000 results
Rating
0.0
(0)
Developer
Headless Agent
Actor stats
0
Bookmarked
6
Total users
4
Monthly active users
3 days ago
Last modified
Categories
Share
Twitter Profile & Tweet Scraper
Scrape Twitter/X user profiles and tweets β no API key or login required. Get clean, formatted JSON with only the important fields. Supports usernames and tweet URLs as input.
π€ What can Twitter Profile & Tweet Scraper do?
This Actor lets you extract public data from Twitter/X profiles and tweets in one place. Just provide usernames or tweet URLs and get structured results:
π€ Scrape any public Twitter/X profile β name, bio, followers, following, tweet count, verification status, and more
π Extract tweet data β text, timestamps, engagement stats (likes, retweets, replies, quotes, bookmarks)
πΈ Extract media attachments β photos and videos with direct URLs
π Get user information embedded in tweets β name, screen name, verification status, profile picture
π·οΈ Get hashtags and URLs mentioned in tweets
π¦ Download results in JSON, CSV, XML, or Excel from the Apify Dataset
π¦Ύ Integrate via API, webhooks, SDKs (Python & Node.js), or connect with tools like Zapier, n8n, Make, and more
β What data can I scrape from Twitter/X?
From profiles:
- π€ User ID, name, screen name, description
- π Bio URLs / links
- π Followers count, following count, tweet count, listed count
- β Verification status (blue verified, legacy verified)
- π Private account status
- πΌοΈ Profile picture URL and banner URL
- π Location
- π Account creation date
- β€οΈ Favourites count, media count
From tweets:
- π Tweet ID, text, timestamp
- β€οΈ Like count, retweet count, reply count, quote count, bookmark count
- π Language
- πΈ Photo URLs and video URLs (highest quality)
- π¬ Video duration (in milliseconds)
- π€ User info β ID, name, screen name, profile picture, verification status
- π·οΈ Hashtags mentioned
- π URLs mentioned
- π¬ Reply and quote tweet status
π§ How to scrape data from Twitter/X
- Create a free Apify account.
- Open Twitter Profile & Tweet Scraper.
- Add usernames and/or tweet URLs β use any combination.
- Optionally set a proxy URL to avoid rate limiting.
- Click Save & Start and wait for the data to be extracted.
- Download your data in JSON, CSV, XML, Excel, or access it via API.
β¬οΈ Input
Both main fields are optional, but at least one must be provided. You can use them independently or together in a single run.
| Field | Type | Description |
|---|---|---|
usernames | string[] | Twitter/X usernames or profile URLs (e.g. elonmusk or https://x.com/elonmusk) |
tweetUrls | string[] | Twitter/X tweet URLs (e.g. https://x.com/SawyerMerritt/status/2040823819162575055) |
proxy | string | Optional proxy URL (http:// format) to avoid rate limiting |
Example input
{"usernames": ["elonmusk", "sama"],"tweetUrls": ["https://x.com/SawyerMerritt/status/2040823819162575055"],"proxy": "http://user:pass@host:port"}
β¬οΈ Output
Results are pushed to the Apify Dataset. Each item has a type field ("user" or "tweet") so you can easily filter and process them. You can export data in JSON, CSV, XML, Excel, or access it programmatically via the Apify API.
π€ User profile data sample
{"type": "user","id": "44196397","name": "Elon Musk","screen_name": "elonmusk","description": "https://t.co/dDtDyVssfm","profile_image_url": "https://pbs.twimg.com/profile_images/2035314704307081216/71U1ftM3_normal.jpg","profile_banner_url": "https://pbs.twimg.com/profile_banners/44196397/1774145451","followers_count": 237803015,"following_count": 1309,"tweet_count": 100697,"listed_count": 167977,"is_blue_verified": true,"is_verified": false,"is_private": false,"created_at": "Tue Jun 02 20:12:29 +0000 2009","location": "","url": null,"bio_urls": [{"url": "Terafab.ai","expanded_url": "http://Terafab.ai"}],"favourites_count": 221306,"media_count": 4434}
π Tweet data sample
{"type": "tweet","url": "https://x.com/SawyerMerritt/status/2040823819162575055","id": "2040823819162575055","text": "Positive Tesla Diner review from Forbes' Brooke Crothers:\n\n\"On Saturday, the Tesla Diner was busy if not packed at times. And obviously not failing, though some blogs and reports want you desperately to believe otherwise.\n\nContrary to all these eatery blogs and car blogs that say https://t.co/5Y6Pon3bQ8","created_at": "Sun Apr 05 16:08:09 +0000 2026","lang": "en","like_count": 1658,"retweet_count": 177,"reply_count": 73,"quote_count": 9,"bookmark_count": 53,"is_quote_status": false,"is_reply": false,"in_reply_to_status_id": null,"in_reply_to_user_id": null,"source": null,"user": {"id": "243013409","name": "Sawyer Merritt","screen_name": "SawyerMerritt","profile_image_url": "https://pbs.twimg.com/profile_images/1837744842715082752/xH9vYixL_normal.jpg","is_blue_verified": true},"media": [{"type": "photo","media_url": "https://pbs.twimg.com/media/HFJzX8fXUAAK059.jpg","expanded_url": "https://x.com/SawyerMerritt/status/2040823819162575055/video/1"},{"type": "photo","media_url": "https://pbs.twimg.com/media/HFJzbQTbsAA0n41.jpg","expanded_url": "https://x.com/SawyerMerritt/status/2040823819162575055/video/1"},{"type": "video","media_url": "https://pbs.twimg.com/amplify_video_thumb/2040823657275252736/img/1tIN4N6eIr52r-zf.jpg","expanded_url": "https://x.com/SawyerMerritt/status/2040823819162575055/video/1","video_url": "https://video.twimg.com/amplify_video/2040823657275252736/vid/avc1/1920x1080/rbtbKbejNboeBdZp.mp4?tag=21","duration_ms": 185386}],"hashtags": null,"urls": null}
π Integrations
You can connect Twitter Profile & Tweet Scraper with almost any cloud service or web app through Apify integrations. Connect with Zapier, n8n, Make, Slack, Google Sheets, Google Drive, Airbyte, GitHub, and many more.
You can also use webhooks to trigger actions whenever a run finishes β for example, getting a notification or automatically processing the scraped data.
π¦Ύ Using the Apify API
The Apify API gives you programmatic access to Twitter Profile & Tweet Scraper. You can start runs, fetch datasets, monitor execution, and integrate the scraper into your own workflows.
- Python: Use the
apify-clientPyPI package - Node.js: Use the
apify-clientNPM package
β FAQ
Can I scrape multiple profiles and tweets in one run?
Yes. Both input fields (usernames, tweetUrls) accept arrays. You can provide multiple items in each field, and even use both fields together in a single run. Each result will have a type field so you can tell them apart.
What format is the created_at timestamp?
Twitter returns human-readable date strings like "Sun Apr 05 16:08:09 +0000 2026". You can parse these with any standard date library.
Why are some tweet fields null?
Some tweets may not be accessible via guest session if they require login, are from protected accounts, or have been deleted. When data is not available, fields will be null.
Does the scraper work with private accounts?
No. The scraper can only extract data from public Twitter/X accounts. Protected/private profiles and tweets are not accessible.
Can I use a proxy?
Yes. The optional proxy input field accepts HTTP proxy URLs. This is useful to avoid rate limiting or IP blocks when scraping at higher volumes.
Is it legal to scrape Twitter/X?
This scraper only extracts publicly available data. It does not access private accounts, login credentials, or any data behind authentication. However, scraped results could contain personal data protected by GDPR and other regulations. Ensure you have a legitimate reason for scraping and consult legal counsel if unsure. See also Apify's blog post on the legality of web scraping.