Twitter/X User Scraper: Metadata, Followers, Followings & More! avatar

Twitter/X User Scraper: Metadata, Followers, Followings & More!

Pricing

from $0.12 / 1,000 results

Go to Apify Store
Twitter/X User Scraper: Metadata, Followers, Followings & More!

Twitter/X User Scraper: Metadata, Followers, Followings & More!

ScrapeBadger's Twitter/X User Profile Scraper extracts public user data: IDs, profiles, followers, followings, & latest tweets. Perfect for market research, influencer ID, and building datasets. It's cost-effective, easy to use, and requires no API key. Get powerful user insights today!

Pricing

from $0.12 / 1,000 results

Rating

4.9

(7)

Developer

ScrapeBadger

ScrapeBadger

Maintained by Community

Actor stats

15

Bookmarked

516

Total users

54

Monthly active users

16 days

Issues response

5 days ago

Last modified

Categories

Share

Scrapebadger Twitter Scraper

ScrapeBadger provides powerful data extraction capabilities to scrape Twitter/X user profiles, offering an incredibly affordable solution for comprehensive user data collection. Dive deep into public Twitter profiles, from fetching specific user details by Twitter user ID or username to extracting followers, followings, and even their latest tweets. All this starts at just $0.20 per 1,000 results.

Unleash the potential of public Twitter (now X) user data with ScrapeBadger's Twitter profiles scraper. Whether you're a market researcher, a social media analyst, a developer, or simply aiming to get Twitter user IDs and associated profile information, our tool provides a streamlined and cost-effective way to collect valuable insights. Gain reliable access to structured user information without the complexities of direct APIs, ideal for competitor analysis, influencer identification, audience segmentation, and more.

What can X User Scraper do?

  • Effortless User Data Retrieval: Designed for ease of use, ScrapeBadger allows you to select a Mode and provide its corresponding identifier (e.g., User ID for "Get User by ID", username for "Get User by Username", search query for "Search Users").
  • Comprehensive User Profile Acquisition:
    • Get Twitter user ID and detailed profile information for any public user by their ID or username. Access data points like name, screen name, profile image, bio, location, follower/following counts, and more.
    • Get User About information including account location, username history, and verification details.
    • Efficiently scrape Twitter profile data to build rich datasets for analysis.
  • Network Analysis & Engagement:
    • Extract lists of followers and followings for any public user.
    • Get verified followers and followers you know (mutual connections).
    • Retrieve latest followers and latest following for recent network changes.
    • Access user's highlighted tweets and subscriptions (premium content).
  • Targeted User Search: Perform powerful searches to discover Twitter/X users by keywords.
  • Flexible and Structured Output: Data is delivered in Apify's standard Dataset, ready for export in CSV, JSON, etc.
  • Enterprise-Grade Reliability: Built on the robust Apify platform for consistent results.
  • Cost-Effective Solution: Just $0.20 per 1,000 results.

Why scrape X (Twitter) profiles?

  • Social Media Marketing: Identify influencers, analyze audience demographics, and track competitor followers.
  • Market Research: Build datasets of users interested in specific topics, products, or services.
  • Academic & Research: Gather data for social network analysis, demographic studies, and behavioral patterns.
  • Lead Generation: Discover potential leads or connections based on their Twitter activity and connections.
  • Cybersecurity & OSINT: Investigate public profiles for relevant information.
  • Developers & Data Scientists: Integrate structured user data into your applications and analytical models.

How to scrape X user profiles

ModeDescriptionKey Input ParameterJSON ParameterOptional
Get User by IDRetrieve profile details using unique User IDUser IDuser_id-
Get User by UsernameObtain profile information using usernameUsernameusername-
Get User AboutGet extended about info (location, username history, verification)Usernameusername-
Get User FollowersExtract all users who follow a specified usernameUsernameusernamemax_results
Get User FollowingsRetrieve all users that a username followsUsernameusernamemax_results
Get User Latest TweetsFetch recent tweets posted by a usernameUsernameusernamemax_results
Get User HighlightsGet a user's highlighted/pinned tweetsUser IDuser_idmax_results
Get User SubscriptionsGet premium accounts a user subscribes toUser IDuser_idmax_results
Get Verified FollowersExtract only verified followers of a userUser IDuser_idmax_results
Get Followers You KnowGet mutual followers (followers you also follow)User IDuser_idmax_results
Get Latest FollowersGet most recent followers of a userUsernameusernamemax_results
Get Latest FollowingGet accounts a user most recently followedUsernameusernamemax_results
Search UsersSearch for users by keywordsSearch Queryquerymax_results

Request and response examples

1. Get User by ID

Request:

{
"mode": "Get User by ID",
"user_id": "183543469142"
}

2. Get User by Username

Request:

{
"mode": "Get User by Username",
"username": "elonmusk"
}

3. Get User About

Request:

{
"mode": "Get User About",
"username": "elonmusk"
}

Response includes:

  • Account location/region
  • Username change history
  • Verification status and type
  • Extended profile metadata

4. Get User Followers

Request:

{
"mode": "Get User Followers",
"username": "elonmusk",
"max_results": 1000
}

5. Get User Followings

Request:

{
"mode": "Get User Followings",
"username": "elonmusk",
"max_results": 1000
}

6. Get User Latest Tweets

Request:

{
"mode": "Get User Latest Tweets",
"username": "elonmusk",
"max_results": 100
}

7. Get User Highlights

Request:

{
"mode": "Get User Highlights",
"user_id": "44196397",
"max_results": 50
}

8. Get User Subscriptions

Request:

{
"mode": "Get User Subscriptions",
"user_id": "44196397",
"max_results": 100
}

9. Get Verified Followers

Request:

{
"mode": "Get Verified Followers",
"user_id": "44196397",
"max_results": 500
}

10. Get Followers You Know

Request:

{
"mode": "Get Followers You Know",
"user_id": "44196397",
"max_results": 100
}

11. Get Latest Followers

Request:

{
"mode": "Get Latest Followers",
"username": "elonmusk",
"max_results": 200
}

12. Get Latest Following

Request:

{
"mode": "Get Latest Following",
"username": "elonmusk",
"max_results": 200
}

13. Search Users

Request:

{
"mode": "Search Users",
"query": "data scientist",
"max_results": 100
}

What data can X User Scraper extract?

User profile objects include:

  • Core: id, username, name, description, location, url
  • Metrics: followers_count, following_count, tweet_count, listed_count, favourites_count, media_count
  • Profile: profile_image_url, profile_banner_url
  • Verification: verified, verified_type, is_blue_verified
  • Account: created_at, protected, possibly_sensitive
  • Relationships: followed_by, following, blocking, muting, can_dm

Important Note: To prevent API abuse and ensure fair resource allocation, you will be charged for requests that return an empty results set.

How much does it cost to scrape X profiles?

  • Highly Targeted User Data: Precisely extract the Twitter/X user information you need.
  • Efficient and Reliable: Built for speed and stability on the Apify platform.
  • Unbeatable Value: Just $0.20 per 1,000 results.
  • User-Friendly: Easy to configure regardless of technical expertise.
  • Seamless Integration: Output data readily available for analysis.

About ScrapeBadger

This actor is powered by ScrapeBadger - a reliable Twitter/X data extraction service.

  • Official Website: scrapebadger.com
  • Faster Support: Get priority support directly through the ScrapeBadger website
  • SDK & API Access: Want to use ScrapeBadger outside of Apify? The Python SDK and REST API are available for direct integration into your own applications

Ready-to-run examples

Each of these is a live, pre-configured task — open one and press Start, no setup:

What can you do with X (Twitter) profiles data?

Influencer vetting

Follower count alone is worthless. Pull the profile, the About panel and the recent timeline together and you can see a bought audience, a rebranded account or a creator whose reach has quietly collapsed — before a contract is signed.

B2B lead generation

A competitor's followers are your prospects, and verified followers skew heavily towards real businesses. Export either, score by bio and follower count, and you have a list built on declared interest.

Audience overlap analysis

Pull the follower lists of two accounts and intersect them. High overlap means a partnership reaches the same people twice; low overlap means genuine expansion.

Hiring and recruitment signals

Search profiles by role rather than posts by keyword. 'devrel', 'growth marketer', 'founder' surface people by what they actually do.

Account authenticity checks

Country, join date and former usernames are the fastest tells for an impersonation or a resold handle — all in one cheap call.

This Actor requests only public X fields — the same content any logged-out visitor can see. It does not access private accounts, direct messages or anything behind a login.

Results can still contain personal data. Personal data is protected by the GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers.

Frequently asked questions

Do I need an X (Twitter) API key?

No. You need a ScrapeBadger API key, which has a free tier, and nothing from X.

Can I look up a user by ID instead of handle?

Yes — Get User by ID takes the numeric ID. Modes that need an ID also accept a username and resolve it for you.

What happens if an account is suspended or protected?

The run writes a record with reason: "unavailable" and completes normally, so one bad handle in a list never fails the whole run.

How large can a follower export get?

Set Max Results to whatever you need. Large accounts page for a long time, so cap it deliberately — each page is a charged request.

Your feedback and support

Found a bug, missing a field, or need a mode that is not here? Open a ticket on the Issues tab, or email support@scrapebadger.com.