Twitter (X.com) User Info Scraper
Pricing
from $0.40 / 1,000 follower data
Twitter (X.com) User Info Scraper
Extract comprehensive Twitter (X.com) data with our User Info Scraper. Scrape detailed profiles, followers, and following lists by username or numeric ID. Supports batch processing, pagination, and custom mapping. Reliable, high-speed, and requires no login. Perfect for professional lead generation.
Pricing
from $0.40 / 1,000 follower data
Rating
0.0
(0)
Developer
xtdata
Actor stats
0
Bookmarked
3
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share
Twitter X.com User Info Scraper — Profile, Followers & Following Extraction
Extract detailed user profile data, followers lists, and following lists from Twitter (X.com). Supports batch lookups by username or user ID.
Key Features
-
Three Powerful Actions:
- Get User Info — Retrieve full profile details for one or more users by username or user ID.
- Get Followers — Scrape the followers list for any public Twitter/X account with pagination.
- Get Following — Scrape the following (friends) list for any public Twitter/X account with pagination.
-
Flexible Input:
- Look up users by username (e.g.,
elonmusk) or user ID (e.g.,44196397). - Process multiple usernames and user IDs in a single run.
- Look up users by username (e.g.,
-
Rich Metadata:
- Followers and following results include
searchTermsmetadata showing which user was queried.
- Followers and following results include
-
Built-in Concurrency & Pagination:
- Efficiently paginates through large follower/following lists.
- Processes multiple targets concurrently for fast extraction.
-
Cost-Effective & Event-Driven:
- Pay-per-result charging model.
Use Cases
- Audience Analysis — Understand the followers of any public account.
- Influencer Research — Compare follower/following networks across accounts.
- Lead Generation — Extract user profiles that follow specific accounts.
- Network Mapping — Build social graphs by scraping followers and following lists.
- Academic Research — Gather user-centric data for social media studies.
Quick Start Examples
Get user profiles for multiple users:
{"startUrls": ["https://x.com/apify"],"usernames": ["elonmusk", "nasa"],"userIds": ["44196397"],"shouldScrapeUserInfo": true,"shouldScrapeFollowers": false,"shouldScrapeFollowings": false}
Get followers of a user (by username):
{"usernames": ["elonmusk"],"shouldScrapeUserInfo": false,"shouldScrapeFollowers": true,"shouldScrapeFollowings": false,"maxItems": 100}
Get following list (by user ID):
{"userIds": ["44196397"],"shouldScrapeUserInfo": false,"shouldScrapeFollowers": false,"shouldScrapeFollowings": true,"maxItems": 50}
Input Parameters
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
startUrls | string[] | ❌ | Twitter (X) Profile URLs. Usernames will be extracted automatically. | ["https://x.com/apify"] |
usernames | string[] | ❌ | Twitter/X usernames (without @). Provide usernames, userIds, or both. | ["elonmusk", "nasa"] |
userIds | string[] | ❌ | Twitter/X numeric user IDs. Provide usernames, userIds, or both. | ["44196397"] |
shouldScrapeUserInfo | boolean | ❌ | Enable to scrape user profile information (default: true). | true |
shouldScrapeFollowers | boolean | ❌ | Enable to also scrape the followers list for each user (default: false). | true |
shouldScrapeFollowings | boolean | ❌ | Enable to also scrape the following list for each user (default: false). | true |
maxItems | integer | ❌ | Max followers/following per user (default: 20). Only for followers/following extraction. | 100 |
customMapFunction | string | ❌ | JavaScript function to transform each result object. Not for filtering. | "(object) => { return {...object} }" |
Output Examples
Get User Info Output
[{"id": "44196397","name": "Elon Musk","username": "elonmusk","description": "nothing","followersCount": 137736948,"followingCount": 264,"tweetCount": 25314,"likeCount": 22381,"listedCount": 121312,"mediaCount": 1526,"createdAt": "Tue Jun 02 20:12:29 +0000 2009","location": "Trøllheim","verified": false,"isBlueVerified": false,"profileImageUrl": "https://pbs.twimg.com/profile_images/1590968738358079488/IY9Gx6Ok_normal.jpg","profileBannerUrl": "https://pbs.twimg.com/profile_banners/44196397/1576183471","profileUrl": "https://x.com/elonmusk","protected": false,"pinned_tweet_ids_str": ["1652849795336159233"]}]
Get Followers Output
[{"id": "2990041791","name": "🌟🌟 Bakr FARIS 🌟🌟🌟","username": "FarisBakr","description": "Faris Ahmed Bakr. ingénieur en informatique.","followersCount": 7385,"followingCount": 4047,"tweetCount": 86295,"likeCount": 138056,"listedCount": 0,"mediaCount": 5619,"createdAt": "Wed Jan 21 15:34:59 +0000 2015","location": "Casablanca, Grand Casablanca","verified": false,"isBlueVerified": false,"profileImageUrl": "https://pbs.twimg.com/profile_images/1614598066509602816/BKSi0VBD_normal.jpg","profileBannerUrl": "https://pbs.twimg.com/profile_banners/2990041791/1421944124","profileUrl": "https://x.com/FarisBakr","protected": false,"pinned_tweet_ids_str": ["755286242946904068"],"searchTerms": "elonmusk"}]
Get Following Output
Same structure as followers, with searchTerms indicating the queried user.
Usage Guidelines
- Data Limits: Ensure you understand the event limit configuration as the actor runs in pay-per-result mode.
- Respect Twitter's Terms of Service: Always use this tool ethically and responsibly.
- Concurrent Batches: If passing many usernames or IDs, the Actor natively parallelizes requests. Ensure memory settings can accommodate the payload.
Ethical Use and Data Practices
Our actor operates without logging in to X.com. This means it does not implicitly accept any Terms of Service (ToS) that require a login, as we only process data that is publicly displayed and accessible to everyone without authentication.
We are fully committed to the principle of privacy by design and by default. All data collected explicitly excludes sensitive personal information or non-public data.
Furthermore, our actor runs on Apify, an EU-based company, which means our operations are designed to be compliant with relevant EU data protection regulations, including GDPR, where applicable. You can find more information about the legality of web scraping on Apify's blog: https://blog.apify.com/is-web-scraping-legal/
We have implemented robust technical measures to ensure the actor operates gently and does not impose an undue burden on X.com's servers. Our sole purpose is to facilitate responsible research and public data analysis, and we strictly prohibit any use that could cause harm to any party or the platform itself.
Troubleshooting
- If you encounter rate limiting, check your Apify workspace event allocation limits.
- Ensure
usernamesare plain handles without the@prefix. Starting URLs can also be used. - The
maxItemsfield only applies whenshouldScrapeFollowersorshouldScrapeFollowingsis enabled. - For user ID lookups in followers/following mode, the actor first resolves the ID to a username.
Get Started
Start scraping Twitter user data today! This Actor provides a powerful, flexible, and cost-effective solution for targeted user profile and network extraction.
1. TikTok Actors
2. X.com (Twitter) Actors
| 🐦 X.com Twitter API Scraper | 🐦 X.com Twitter User Tweets Scraper | 🐦 X.com Twitter User Info Scraper |
3. YouTube Actors
| 📜 YouTube Transcript API |