X Followers & Following Scraper — At Scale avatar

X Followers & Following Scraper — At Scale

Pricing

from $0.08 / 1,000 profile scrapeds

Go to Apify Store
X Followers & Following Scraper — At Scale

X Followers & Following Scraper — At Scale

Export followers and following from public X (Twitter) accounts for audience research and competitor analysis. Enter up to 25 usernames, profile URLs, or user IDs per run. Filter by verification, visibility, follower count, or post count, then download CSV, Excel, or JSON.

Pricing

from $0.08 / 1,000 profile scrapeds

Rating

5.0

(1)

Developer

ArjunAI Data

ArjunAI Data

Maintained by Community

Actor stats

2

Bookmarked

121

Total users

43

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Export X (Twitter) followers and following lists to CSV, Excel, or JSON. Start with a username, profile URL, or user ID. Get profile details for the accounts that follow a public profile or the accounts it follows, including bios, follower counts, and verification details when available.

Try the 10-profile export. Open the Export X Followers to CSV example to collect a sample of one public account's followers. At the Free rate and default memory, 10 saved profiles and the start event cost $0.00155.

🚀 Quick start

  1. Enter a username, profile link, or user ID.
  2. Choose Followers or Followings, then set Profiles per account (0 = all).
  3. Optionally select profile filters, then click Start.
  4. Review the Dataset and export JSON, CSV, or Excel.

Start with 10 profiles. To collect both relationship types, run once for each type.

{
"screenNames": [
"OpenAI"
],
"relationshipType": "followers",
"maxItemsPerUser": 10
}

🔗 Ready-to-run examples

Open an example, review its input and spending limit, then run it in your Apify account.

Use cases for X follower and following data

  • Compare audiences. Export followers from several accounts and compare the user IDs to see where their audiences overlap.
  • Research a brand's network. Export the accounts a brand follows and review their bios, websites, and profile links.
  • Build an account shortlist. Filter by verification, account visibility, follower count, or post count to focus the export on profiles that fit your criteria.

📊 Results

One successful row is one follower or following profile for a source account. The same profile can appear under different source accounts.

The default output includes:

  • Source account ID, screen name, profile URL, and requested identifier.
  • Relationship type: followers or followings.
  • User ID, screen name, name, bio, location, and account creation date.
  • Followers, following, posts, media posts, likes, and listed counts.
  • Legacy verification, Blue verification, Business or Government badge type, account label, protected-account, default-profile, and geo status.
  • Expanded website and bio links, profile image, banner, pinned post IDs, and country restrictions.

Enable includeRawUser to include the original X user object for each exported profile.

account_label contains X's parody, commentary, or fan-account label; accounts without one return null.

Normalized created_at values use ISO 8601 UTC, for example 2020-07-02T12:00:00Z. The optional raw_user object keeps X's original time representation unchanged.

Input and filters

Provide at least one value in screenNames, userIds, or both.

FieldDescriptionDefault
screenNamesUsernames, @handles, full x.com or twitter.com profile URLs, or numeric user IDs.None
userIdsOptional numeric X user IDs. You can use this field by itself or together with usernames and URLs.Empty
relationshipTypefollowers returns accounts following the source profile. followings returns accounts followed by it.followers
maxItemsPerUserMaximum matching profiles saved per source account. Keep 100 for a quick test, or set 0 to paginate through all profiles available from X. When filters are enabled, maxProfilesScannedPerUser still applies.100
verificationKeeps all accounts, any verified account, Blue verified accounts, Business or Government accounts, or accounts without a verification badge.any
visibilityKeeps all accounts, public accounts only, or protected accounts only.any
minFollowersMinimum follower count required for a result. Set 0 to disable.0
maxFollowersMaximum follower count allowed for a result. Leave empty for no maximum.Empty
minTweetsMinimum lifetime post count required for a result. Set 0 to disable.0
maxProfilesScannedPerUserProfiles checked per source account while filters are enabled. Set 0 to check until X ends the list.20000
includeRawUserAdds the complete original X user object as raw_user.false

Each run accepts up to 25 distinct input identifiers across screenNames and userIds combined. Equivalent username forms such as nasa, @nasa, and https://x.com/nasa count once; a username and ID for the same account count separately at input time, but are merged after lookup. Sources are processed sequentially. All enabled filters work together, so a saved profile must satisfy every selected condition. The scan limit is applied separately to each source account and is ignored when no result filter is enabled.

Profiles saved and profiles checked

maxItemsPerUser controls how many matching profiles are saved for each source account. Set it to 0 to collect all profiles X makes available.

With filters enabled, maxProfilesScannedPerUser limits the profiles checked while looking for matches. Its default is 20,000; use 0 to continue through the available list. Without filters, this check limit is ignored. A target result count is not a guarantee that enough matching profiles exist. Results keep the order returned by X.

💰 Pricing

This Actor uses pay-per-event pricing. Each profile saved with status: success counts as one relationship-result event.

Apify planPrice per successful profileExample: 1,000 profiles
Free$0.00015$0.15
Bronze$0.00010$0.10
Silver$0.00009$0.09
Gold, Platinum, or Diamond$0.00008$0.08

Apify also applies an Actor-start charge of $0.00005 per GB of allocated memory, with a minimum of one event per run. This charge can apply to runs that return only status rows. The Actor stops requesting pages when saving results reaches your run's maximum charge.

Large exports take longer and cost more. Keep the default limit of 100 while testing a new target, then increase it or set it to 0 after confirming the expected result volume.

Missing, unavailable, and partial results

Malformed usernames, profile URLs, and user IDs produce uncharged invalid_input records. Valid inputs in the same run are still processed. If no usable account was provided, the run ends without sending an X request and leaves an invalid_input record explaining why.

When X explicitly reports that an account does not exist or is unavailable, the Actor writes an uncharged not_found record and continues with the remaining source profiles:

{
"status": "not_found",
"requested_identifier": "missing-user",
"relationship_type": "followers",
"error": "X user @missing-user was not found or is unavailable."
}

Reversed follower count limits produce an invalid_input row with instructions for correcting the range. A valid export with zero matching profiles produces a no_results row.

If a later page fails after saving profiles, the run can finish with saved results and a partial row for that account. Its results_saved and failed_page fields show how far the export got. When all requested accounts fail before returning usable results, the run fails with an explanation in the log and output.

FAQ

Do I need an X account or API key?

No. You do not need to submit an X login, cookies, bearer token, or X API key.

Can one run collect both followers and following?

One run collects one relationship type. Run it once with followers and once with followings when you need both datasets.

How do I export all available followers or following accounts?

Set Profiles per account (0 = all) to 0 to save all profiles X makes available. If you use filters and want to check the full available list, also set maxProfilesScannedPerUser to 0. Protected, suspended, restricted, or changing accounts may return fewer records.

What is the difference between results saved and profiles checked?

maxItemsPerUser limits how many matching profiles are written to the Dataset. maxProfilesScannedPerUser limits how many followers or following profiles are inspected while filters are enabled. For example, the Actor can check up to 20,000 profiles to save the first 100 that match every filter.

Can the Dataset contain duplicate profiles?

Usually X result pages do not repeat users. During a long export, however, the relationship list can change while it is being read. If X returns the same profile on different pages, the Actor preserves those rows as returned.

Why can the result count differ from the number shown on X?

X relationship counts change continuously and can include accounts that are protected, suspended, restricted, withheld, or otherwise unavailable in the available relationship data.

What happens if a later page fails?

The Actor saves each completed page. Look for a partial row to identify an account whose export ended early and see how many profiles are available to download.

Result examples

This follower profile came from a successful export for OpenAI on November 10, 2026. Profile details and counts can change over time.

Follower profile

{
"status": "success",
"source_user_id": "4398626122",
"source_screen_name": "OpenAI",
"source_profile_url": "https://x.com/OpenAI",
"requested_identifier": "OpenAI",
"relationship_type": "followers",
"user_id": "1640759131731812352",
"screen_name": "chaoXu245194412",
"profile_url": "https://x.com/chaoXu245194412",
"name": "Waluolaa",
"description": "",
"location": "",
"created_at": "2023-03-28T16:54:18Z",
"followers_count": 0,
"friends_count": 9,
"listed_count": 0,
"favourites_count": 1,
"tweets_count": 0,
"media_count": 0,
"pinned_tweet_ids": [],
"verified": false,
"is_blue_verified": false,
"verified_type": "",
"account_label": null,
"protected": false,
"profile_interstitial_type": "",
"can_media_tag": true,
"default_profile": true,
"geo_enabled": false,
"advertiser_account_type": "none",
"business_profile_state": "none",
"withheld_in_countries": [],
"website_url": "",
"bio_urls": [],
"profile_image_url": "https://pbs.twimg.com/profile_images/1640759227194171393/0SGIh4mF_normal.png",
"profile_image_shape": "Circle",
"profile_banner_url": "",
"default_profile_image": false
}

🤖 Use with AI via MCP

  1. Add https://mcp.apify.com/?tools=arjun_code/x-twitter-followers-followings-scraper as a remote Streamable HTTP server in your MCP client. Authorize with your Apify account using OAuth or a securely stored Apify API token, as supported by the client. Apify MCP setup

  2. Select the Followers & Following Actor tool and pass {"screenNames":["OpenAI"],"relationshipType":"followers","maxItemsPerUser":10}.

    Export up to 10 followers of @OpenAI. Show usernames, profile links, and follower counts. Include the Apify run link so I can download the CSV.

If the tool returns a run ID, check it with get-actor-run. Use that run's defaultDatasetId with get-dataset-items to read the profiles. Calls use your Apify account and the Actor's listed pricing. MCP tool reference

API and integrations

Use your Apify API token in the request header.

curl -X POST \
"https://api.apify.com/v2/actors/arjun_code~x-twitter-followers-followings-scraper/runs" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"screenNames":["OpenAI"],"relationshipType":"followers","maxItemsPerUser":10}'

This starts a run and returns its ID. After the run finishes, use its defaultDatasetId to download the results. You can also save the input as a Task, schedule it, or use Apify integrations.

Privacy and limitations

The Actor works with relationship data exposed by X for public profiles. It does not require an X login, cookies, API key, or proxy configuration, and no internal authentication data is written to the Dataset.

Protected, suspended, restricted, or withheld accounts may return limited or no relationship data. This unofficial Actor is not affiliated with or endorsed by X. Use the data lawfully and follow X, Apify, and applicable privacy requirements.

Support

If a run fails or the output changes, open an issue on the Actor page and include the Apify run ID, input, and expected behavior. Do not include passwords, cookies, tokens, or other secrets.