How to Scrape X Followers: 5 Proven Methods for 2026

Ever wondered how brands track competitor audience growth on X (formerly Twitter) or how creators analyze their follower demographics without scrolling for hours? Learning how to scrape X followers can unlock valuable insights—follower names, handles, growth trends, and audience composition—that fuel competitive analysis, influencer vetting, and social media strategy. X follower scraping means automatically extracting publicly visible follower data using tools or scripts instead of manually clic
- 1BrowserAct's login-aware technology detects when X requires authentication, pauses for manual login, then resumes extraction automatically—no ban risk.
- 2X's Official API costs $100+/month and enforces strict rate limits, making it impractical for large-scale follower scraping.
- 3Tweepy is the most popular Python library for X data but requires a paid API plan for follower list access.
- 4BeautifulSoup and Scrapy require reverse-engineering X's internal API endpoints and are easily blocked.
- 5Selenium can handle JavaScript-rendered follower modals but is extremely slow and easily detected by X's anti-bot systems.
Method 1: Using BrowserAct X Follower Scraper (No-Code Solution)
If you're searching for an easy X follower scraper that doesn't require coding or dealing with API pricing, BrowserAct is your best bet. This method leverages ready-made tools for quick setup, highlighting BrowserAct's Twitter/X Follower Growth Dashboard.
What sets BrowserAct apart is its "login-aware" approach: instead of blindly automating your X credentials (which triggers security locks and 2FA loops), it detects whether X requires login, pauses for you to authenticate manually if needed, then takes over the follower extraction automatically. This keeps your account safe while still automating the tedious scrolling and data collection.
Steps to Scrape X Followers with BrowserAct
- Register an Account: Create a free BrowserAct account to start a free trial.
- Select the Template: Go to the Twitter/X Follower Growth Dashboard template and create from it for instant setup.
- Configure Parameters: Set Targeted_Profile_Username (the handle without "@", e.g., "elonmusk"), the X base domain (https://x.com), and enable "Use Stored Credentials" so BrowserAct can reuse your saved session.
- Complete Login if Needed: When the workflow runs, it first visits x.com/login. If X requires authentication, BrowserAct pauses for up to 15 minutes while you log in manually and complete any 2FA. If you're already logged in, it skips this step automatically.
- Run and Export: BrowserAct navigates to the target profile, extracts follower counts and profile metrics, opens the Followers view, scrolls to load more entries, and exports the data. Results sync to Google Sheets via Make.com integration.
But if you're interested, you can also build your own follower scraping workflow with BrowserAct from scratch for even more customization—adding fields like bio text, verification status, or follower-to-following ratios.
What Data Can You Extract?
BrowserAct's X Follower Scraper allows you to pull a wide range of publicly visible follower data for analysis. The pre-built template comes with fixed extraction fields for common needs, such as:
- Profile Metrics: Username, display name, following count, followers count, and profile URL for the target account.
- Follower List: Follower display names and usernames, loaded via scroll-based pagination.
The tool fully supports customization—you can adjust or add fields by modifying the "Extract Data" nodes in the workflow (e.g., including bio text, profile image URLs, verified badges, or account creation dates). This flexibility lets you tailor the scraper to your specific project. Outputs sync directly to Google Sheets through Make.com, or you can export in CSV, JSON, XML, or Markdown for easy integration with your CRM or analytics tools.
Pros
- No coding needed—perfect for marketers, researchers, and non-technical users.
- Login-aware feature detects authentication requirements and pauses for manual login, preventing account bans.
- Handles X's scroll-based lazy loading automatically, extracting hundreds of followers per run.
- Free to use with trials, daily login for free credits, and lifetime deals (e.g., on AppSumo—pay once, use forever).
- Integrates with Make.com, n8n, and Zapier for automated workflows—sync follower data directly to Google Sheets, Slack, or Telegram.
- Built-in IP rotation avoids rate-limit blocks and temporary restrictions.
- Captures both profile-level metrics and individual follower entries in one run.
- No need to manage API keys, OAuth tokens, or developer portal approvals.
Cons
- Dependency on the tool, so updates or downtime could impact your workflow.
- Manual login step may be required when X session expires (though this is a security feature, not a limitation).
Ready to try it? Sign up for BrowserAct's free trial and start scraping X followers today!
Method 2: Using X's Official API
X's Official API is the most compliant way to access follower data programmatically. It provides authenticated access to follower lists and profile metrics through REST endpoints, though with significant tier-based limitations and pricing changes that have made it less accessible for many users.
Steps to Scrape X Followers with the Official API
- Apply for a Developer Account: Go to the X Developer Portal (developer.x.com) and apply for a developer account. Choose a plan (Free, Basic, Pro, or Enterprise) based on your needs and budget.
- Create an App and Get Keys: Create a new app to obtain your API Key, API Secret, Bearer Token, and Access Token.
- Authenticate: Use OAuth 2.0 or Bearer Token authentication to make API calls.
- Call the Followers Endpoint: Use the
GET /2/users/:id/followersendpoint to retrieve a user's followers, passing parameters likemax_results(up to 1000 per request) and pagination tokens for additional pages. - Handle Rate Limits and Pagination: Respect X's API rate limits (which vary by plan) and implement pagination using
next_tokento retrieve all followers.
Pros
- Official and compliant, with no risk of account bans when used within terms.
- Structured JSON data that's easy to integrate with databases and analytics tools.
- Reliable and maintained by X, with documentation and support.
- No anti-bot detection issues—API access is an approved method.
Cons
- Expensive—the Basic plan ($100/month) allows limited follower lookups, and Enterprise pricing is out of reach for most individuals.
- Rate limits are strict: the Basic plan allows 10,000 follower lookups per month, which may not cover large accounts.
- Free tier provides almost no useful follower access.
- Requires coding knowledge (Python, JavaScript, or HTTP requests) to implement.
- API changes and pricing shifts have historically reduced access without warning.
Method 3: Python Libraries Like Tweepy
For Python developers, Tweepy is the most popular library for interacting with X's API. It wraps the API endpoints in Python objects, making it easier to authenticate, paginate, and handle rate limits.
Steps to Scrape X Followers with Tweepy
- Install Tweepy: Run
pip install tweepyin your terminal. - Authenticate with API Credentials: Set up your API keys and access tokens from the X Developer Portal.
- Get the Target User's ID: Use
client.get_user(username=...)to retrieve the user's ID. - Fetch Followers with Pagination: Use
client.get_users_followers(id=user_id, max_results=1000)with pagination tokens to retrieve all followers. - Export Results: Save follower data (username, name, ID, description) to CSV, JSON, or a database.
Here's an example Python script to scrape followers from a target account:
import tweepy
import csv
# Authenticate with OAuth 2.0 Bearer Token
client = tweepy.Client(bearer_token="YOUR_BEARER_TOKEN")
# Get target user ID
user = client.get_user(username="elonmusk")
user_id = user.data.id
# Fetch followers with pagination
followers = tweepy.Paginator(
client.get_users_followers,
id=user_id,
max_results=1000
)
# Export to CSV
with open("followers.csv", "w", newline="") as f:
writer = csv.writer(f)
writer.writerow(["Name", "Username", "ID"])
for page in followers:
if page.data:
for follower in page.data:
writer.writerow([follower.name, follower.username, follower.id])
print(f"Name: {follower.name} | @{follower.username}")
This script authenticates with the X API, retrieves the target user's ID, paginates through their followers, and exports the results to a CSV file. You can extend it to include follower bios, verification status, or profile image URLs.
Pros
- Free to use with the open-source Tweepy library (API access costs still apply).
- Highly customizable—script complex queries, filters, and data transformations.
- Handles API pagination automatically with
tweepy.Paginator. - Structured data from the API makes parsing and storage straightforward.
- Integrates with Python data tools like pandas for analysis and deduplication.
Cons
- Requires a paid X API plan (Basic at $100/month minimum for follower access).
- Strict rate limits slow down large-scale follower extraction.
- Requires Python knowledge and API credential management.
- API plan changes can break your script or reduce access without notice.
Give your agent a real browser, then turn the workflow into a Skill.
- 1. Use browser-act when an agent needs to open, click, scroll, extract, or inspect a live site.
- 2. Use browser-act-skill-forge when the workflow should become reusable across runs and agents.
- 3. Keep the operational boundary simple: automate what the user can already do in the browser.
Method 4: Web Scraping with BeautifulSoup or Scrapy
If you want to avoid API costs entirely, BeautifulSoup or Scrapy let you parse X's HTML directly. This approach extracts follower data from the rendered page source, though X's heavy JavaScript rendering makes this more challenging than with traditional websites.
Steps to Scrape X Followers with BeautifulSoup or Scrapy
- Obtain Session Cookies: Log in to X in your browser and extract the
auth_tokenandct0cookies from the developer tools. - Fetch the Followers Page: Use the
requestslibrary with your session cookies to request the followers page HTML or X's internal JSON API endpoints. - Parse the Response: Load the response into BeautifulSoup (for HTML) or
json.loads()(for API endpoints) and identify the selectors or JSON paths for follower data. - Handle Pagination: Implement cursor-based pagination to retrieve additional follower pages.
- Export and Clean: Save results to CSV or JSON, then clean and deduplicate the data.
Pros
- Highly flexible—precisely target any data field available on the page or API response.
- No API subscription costs—works with a free X account.
- Free to use with open-source libraries.
- Scrapy supports large-scale crawling with built-in rate limiting and retry logic.
- Can access data fields not available through the official API.
Cons
- X's pages are heavily JavaScript-rendered—most follower data loads dynamically and won't appear in initial HTML.
- Requires reverse-engineering X's internal API endpoints and cursor tokens.
- Cookies expire frequently and need manual refresh.
- May trigger anti-bot measures like rate limiting or temporary account restrictions.
- Requires coding knowledge (Python, HTTP, and JSON parsing).
Method 5: Browser Automation with Selenium
Selenium simulates a real browser session, making it ideal for scraping X's JavaScript-heavy follower lists. It can handle logins, scroll through follower modals, and extract data that static scrapers simply cannot reach.
Steps to Scrape X Followers with Selenium
- Set Up WebDriver: Install Selenium and a browser driver (e.g., ChromeDriver). Configure options like headless mode and user-agent settings.
- Log In to X: Script the login flow—navigate to x.com/login, enter credentials, and handle any 2FA or verification prompts.
- Navigate to the Target Profile: Visit the profile URL of the account whose followers you want to scrape.
- Open Followers Modal and Scroll: Click the "Followers" link to open the follower list, then script scrolling to load more entries automatically.
- Extract and Export: Use XPath or CSS selectors to extract follower names, handles, and profile URLs from the loaded entries, then save to CSV or JSON.
Pros
- Handles JavaScript-rendered follower lists that BeautifulSoup misses.
- Supports login flows and 2FA handling.
- Free to use with the open-source Selenium WebDriver.
- Highly customizable—script waits, scrolls, clicks, and multi-page navigation.
- Can extract any visible data on the page, including bios, avatars, and verified badges.
Cons
- Very slow—scrolling through thousands of followers takes minutes per batch.
- Resource-intensive—each browser instance uses significant CPU and memory.
- Higher risk of account bans from X's anti-automation detection.
- X's follower modal has a scroll limit, capping the number of followers you can load per session.
- Requires coding knowledge (Python, XPath, and WebDriver management).
Comparison of 5 Effective X Follower Scraping Methods
This comparison table breaks down the 5 methods for how to scrape X followers, helping you choose the best X follower scraper based on your skills, budget, and needs. If you're a beginner avoiding code, start with no-code tools like BrowserAct X Follower Scraper for simplicity and safety. For developers, options like Tweepy or Selenium offer more control but require technical know-how and either API costs or significant setup—always prioritize ethical practices and X's terms to avoid issues.
Conclusion
We've covered five powerful methods for how to scrape X followers, from no-code tools to advanced scripting, each unlocking audience data for competitive analysis, influencer research, or growth tracking. Pick the one that best fits your skills and goals to get started efficiently.
- For Beginners and Marketers: Go with BrowserAct's no-code X follower scraper—it's fast, safe with login-aware detection, and handles everything from scroll automation to Google Sheets sync without programming.
- For Official Access: Developers with budget should use X's Official API for compliant, structured JSON data, though pricing and rate limits apply.
- For Python Fans: Leverage Tweepy for automated pagination and data transformation (requires paid API plan).
- For Custom Parsing: Opt for BeautifulSoup or Scrapy to reverse-engineer X's internal endpoints with maximum flexibility.
- For Dynamic Content: Use Selenium's browser simulation for JavaScript-rendered follower modals, though it's slower and carries higher detection risk.
For most users, starting with BrowserAct provides the best balance of ease, safety, and effectiveness—especially given X's increasingly aggressive anti-automation measures.
Whether you're a social media manager tracking competitor growth or a sales team building prospect lists, mastering how to scrape X followers with the right X follower scraper can supercharge your strategy.
Try BrowserAct's X follower scraper today and start extracting audience data safely!
Two Skills, One Repeatable Browser Workflow
Start with live browser execution when the agent needs to understand a page. Move to Skill Forge when the same scraper should run again without re-exploring the site.
Run once with browser-act
Give Codex, Claude Code, Cursor, Windsurf, or another agent a real browser for rendered pages, clicks, scrolling, screenshots, DOM extraction, and network inspection.
Open browser-act SkillPackage with Skill Forge
Explore the site once, verify the extraction path, then generate a callable Skill package that other agents can reuse for batch jobs or scheduled workflows.
Open Skill ForgeRelative Resources

Is Twitter / X Scraping Legal or Safe?

Twitter Scraper Troubleshooting: 429, Login Wall, Empty Results

Twitter Data for Sentiment Analysis and AI Workflows

Twitter Profile and Follower Research Workflow: Fields, Samples, and Limits
Latest Resources

How to Scrape Facebook Groups: Posts and Comments: 5 Proven Methods for 2026

How to Scrape Instagram Profiles and Followers: 5 Proven Methods for 2026

How to Scrape TikTok Profiles and Posts: 5 Proven Methods for 2026

