VOOZH about

URL: https://apify.com/xtcodetech/twitter-x-followers-scraper

⇱ Twitter/X Followers Scraper Β· Apify


Pricing

$19.00/month + usage

Go to Apify Store

Twitter/X Followers Scraper

Scrape any Twitter/X account’s Followers, Following, and Verified Followers via a single API call, it outputs clean CSV/JSON datasets ready for analysis.

Pricing

$19.00/month + usage

Rating

0.0

(0)

Developer

πŸ‘ XTCodeTech

XTCodeTech

Maintained by Community

Actor stats

2

Bookmarked

61

Total users

0

Monthly active users

9 months ago

Last modified

Share

What You Can Scrape

  • Followers: Everyone who follows the target user.
  • Following: Accounts the user follows.
  • Verified followers: All verified followers of a specific User
  • Rich profile metadata for every retrieved user (ID, username, name, bio, stats, creation date, …)

Why Scrape Followers/Following

With 400 M+ active users, Twitter/X is a goldmine for social-graph intelligence. Teams use this actor to:

  • Discover influencers & outreach targets within a niche
  • Map competitor audiences and refine ad-targeting or content strategy
  • Generate lead lists from followers that match specific intent signals
  • Build research datasets for academic or sentiment analysis

Output Data Fields

Each exported user contains the following 18 fields:

FieldTypeDescription
πŸ†” IDstringTwitter user unique identifier
πŸ‘€ HandlestringTwitter user handle (e.g., "elonmusk")
πŸ“› NamestringDisplay name of the user
πŸ“ BiostringUser biography/description
πŸ’¬ CanDMbooleanWhether the user can receive direct messages
πŸ“… AccountCreateDatestringAccount creation date in ISO format
πŸ“ LocationstringUser location as specified in profile
πŸ‘₯ FollowersCountnumberNumber of followers
πŸ”— FollowingCountnumberNumber of accounts following
❀️ TotalFavouritesByUsernumberTotal number of likes given by user
πŸ–ΌοΈ MediaCountnumberNumber of media files posted
🌐 UserPageURLstringDirect URL to user profile page
πŸ–ΌοΈ ProfileBannerURLstringURL to profile banner image
πŸ“· ProfileURLstringURL to profile image
🎭 AvatarURLstringURL to user avatar image
πŸ“Š PostCountnumberTotal number of posts/tweets
βœ… VerifiedbooleanLegacy verification status
πŸ”΅ IsBlueVerifiedbooleanTwitter Blue verification status

Example output (JSON)

{
"TaskId":"20250907104346422435",
"ID":"2285608116",
"Handle":"TheMarriageFdn",
"Name":"The Marriage Foundation",
"Bio":"A one-time divorce mediator I became a marriage healer in 2003 and founded the nonprofit in 2009. We helped thousands achieve a permanently happy marriage.",
"CanDM":true,
"AccountCreateDate":"1/11/2014, 4:34:22 AM",
"Location":"San Diego, CA",
"FollowersCount":794,
"FollowingCount":1938,
"TotalFavouritesByUser":403,
"MediaCount":325,
"UserPageURL":"https://x.com/TheMarriageFdn",
"ProfileBannerURL":"https://pbs.twimg.com/profile_banners/2285608116/1677992995",
"ProfileURL":"https://t.co/NIYKSSM9Cx",
"AvatarURL":"https://pbs.twimg.com/profile_images/1632246989739159554/exnm2NBP_normal.png",
"PostCount":794,
"Verified":false,
"IsBlueVerified":false
}

Getting Started

1.Getting Twitter/X Cookies

Install the Cookie Editor Chrome extension.

Log in to your Twitter/X account in the same browser window.

Click the Cookie-Editor icon in the toolbar.

In the popup, click Export button (at bottom-right corner).

Choose β€œHeader String”.

Paste that string into the cookie field of this actor’s input (or pass it in your API call).

πŸ‘ Getting Twitter/X Cookies

πŸ›‘οΈ note:Your cookie is stored as a secret input on Apifyβ€”automatically encrypted and never exposed in logs, so it remains completely secure.

2. Configure Your Actor Run

Now you're ready to configure the actor. Here's how to set up your input parameters:

FieldTypeRequiredDescription
handlestringβœ…Twitter user handle (e.g., @elonmusk)
exportTypestringβœ…Type of data to export: "followers", "followings", or "verified_followers"
cookiestringβœ…Complete Twitter cookie string for authentication
maxResultsnumber❌Maximum number of users to export (default: 1000, you can set a large number for extensive scraping)
delaynumber❌Delay between requests in seconds (default: 10, recommended: 10s)
proxyConfigurationobject❌Optional proxy settings. Leave empty for default behavior, configure only if needed for special cases

3. Run it through APIFY Console or API

3.1 Run in Apify Console (very easy to use)

  • Open Apify Console, go to this Actor page, and click β€œRun” (or create a Task first and run it).
  • In the Input panel, fill in:
    • handle: Target username (without @), e.g., elonmusk.
    • exportType: Select from the dropdown: Followers / Following / Verified Followers.
    • cookie: Paste the cookie obtained with the Cookie Editor extension described above.
    • maxResults: Number of users to export for this run, e.g., 10000.
    • delay: Request interval in seconds; recommended 10–20 (default 10).
    • proxyConfiguration: Usually not required; leave empty unless you have special needs.
  • Click β€œRun”.

During the run and reviewing results:

  • Dataset tab: View/download results as JSON/CSV/NDJSON.
  • Logs: Check logs

3.2 Run via API

  • handle: Target username (without @), e.g., elonmusk.
  • exportType must be one of: "followers", "following", "verified_followers".
  • cookie: Paste the cookie obtained with the Cookie Editor extension described above.

JavaScript:

import{ ApifyClient }from'apify-client';
// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client =newApifyClient({
token:'<YOUR_API_TOKEN>',
});
// Prepare Actor input
const input ={
handle:'elonmusk',
exportType:'Followers',
cookie:'auth_token=...; ct0=...; ...',
maxResults:1000,
};
// Run the Actor and wait for it to finish
const run =await client.actor('xtcodetech/twitter-x-followers-scraper').call(input);
// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`πŸ’Ύ Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const{ items }=await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item)=>{
console.dir(item);
});

Python:

from apify_client import ApifyClient
# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")
# Prepare the Actor input
run_input ={
"handle":"elonmusk",
"exportType":"Followers",
"cookie":"auth_token=...; ct0=...; ...",
"maxResults":1000,
}
# Run the Actor and wait for it to finish
run = client.actor("xtcodetech/twitter-x-followers-scraper").call(run_input=run_input)
# Fetch and print Actor results from the run's dataset (if there are any)
print("πŸ’Ύ Check your data here: https://console.apify.com/storage/datasets/"+ run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

You might also like

X (Twitter) Followers & Following Scraper β€” No Login

seemuapps/x-followers-following-scraper

Extract the full followers and following lists of any public X (Twitter) profile in one run. No cookies, no login β€” bio, location, verification, and follower counts.

Twitter followers scraper

curious_coder/twitter-scraper

Scrape followers, following and subscriptions list of any twitter profile

2.7K

1.2

X (Twitter) Followers Scraper

api-ninja/x-twitter-followers-scraper

πŸ”₯ Scrape X(Twitter) followers, following, affiliates, list members, list followers, and community members. Get structured Twitter user data (handles, bios, follower counts, verification, and more)

639

5.0

X (Twitter) Profile Scraper

api-ninja/x-twitter-profile-scraper

🐦 Scrape tweets, followers, following, affiliates, and profile data from X (Twitter) accounts.

300

5.0

Twitter Follower/Following/Verified Scraper

dead00/twitter-follower-following-verified-scraper

A Twitter Scraper that scrapes followers/following and verified follower/following data.

Twitter X Follower Scraper

igview-owner/twitter-x-follower-scraper

Scrape followers from any public Twitter (X) profile with pagination, Blue-verified filter, and batch usernames. Export clean CSV/JSON with bios, counts, images, locations, and verification. Ideal for influencer discovery, lead gen, and audience analytics on Apify.

πŸ‘ User avatar

Sachin Kumar Yadav

46

Snapchat Scraper

saswave/snapchat-scraper

Snapchat scraper collects data on the discover and spotlight page. Browse snapchat posts and collect information. The web crawler also provide a feature to extract profile informations

Snapchat Followers Scraper

alpha-scraper/snapchat-followers-scraper

πŸ‘»Snapchat Followers Scraper ✨ Instantly collect username, display name & badge Grab subscribers, bio, website & profile pics Extract location & last update time Organized in structured JSON for fast analysis Save time, boost research & work like a pro .

153

5.0

Snapchat Profile Scraper

scraper-mind/snapchat-profile-scraper

Snapchat Profile Scraper lets you extract public profile data like πŸ‘€ usernames, πŸ‘₯ followers, πŸ”— Snapcodes & 🀝 related accounts in JSON. Ideal for πŸ“Š marketing, 🧠 research & πŸ“ˆ influencer insights. Fast, accurate & easy to use!

141

Snapchat Profile Scraper

karamelo/snapchat-profile-scraper

Extract 1 or 1000s of public Snapchat profiles data, including username, bio, subscriber count, profile picture, and much much more. Scrape Spotlight content to analyze trends and understand user engagement. Works with public, private, and any type of accounts.

798

4.0