X (Twitter) Following Scraper avatar

X (Twitter) Following Scraper

Pricing

Pay per event + usage

Go to Apify Store
X (Twitter) Following Scraper

X (Twitter) Following Scraper

Scrape the accounts a Twitter/X user follows — username, bio, follower counts, location. Provider-backed, cookieless, no login required.

Pricing

Pay per event + usage

Rating

0.0

(0)

Developer

Khadin Akbar

Khadin Akbar

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

3 days ago

Last modified

Share

Extract the public accounts a Twitter/X user follows — no API key, no login, no cookies required.

Best for: social graph research, brand monitoring, influencer discovery, competitor intelligence, and AI agent pipelines that need structured audience data.


What you get

FieldExample
username"nasa"
display_name"NASA"
bio"Explore the universe and discover our home planet."
follower_count98500000
following_count312
tweet_count74200
verifiedfalse
is_blue_verifiedtrue
location"Washington, DC"
website"https://www.nasa.gov"
created_at"Wed Jul 15 00:00:00 +0000 2009"
profile_image_url"https://pbs.twimg.com/profile_images/…"
user_id"11348282"
source_username"natgeo"
scraped_at"2026-08-19T12:34:56.789Z"

Usage

Input — minimal

{
"usernames": ["natgeo"],
"maxFollowingPerUser": 200
}

Input — multiple handles with global cap

{
"usernames": ["natgeo", "apify"],
"maxFollowingPerUser": 500,
"maxResults": 1000
}

API (via Apify)

curl -X POST \
"https://api.apify.com/v2/acts/khadinakbar~x-following-scraper/runs?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"usernames":["natgeo"],"maxFollowingPerUser":100}'

How it works

  1. SociaVault primary — provider-backed route resolves user IDs and paginates the following list server-side with no login or cookies.
  2. Browser fallback — if SociaVault is unavailable, a Playwright browser intercepts X's private GraphQL API. This path needs authToken + csrfToken from a logged-in session (store as secret env vars).
  3. Proxy: Apify Residential US by default — reliably bypasses X's rate-limits.

Pricing

Pay per event + platform usage

EventPrice
Actor start$0.00005
following-found (per account)$0.005

Typical cost: $1.00 per 200 following accounts plus ~$0.01–0.05 platform usage.


Limitations

  • Private accounts return zero rows (VALID_EMPTY) — X does not expose following lists for private profiles without login.
  • Following counts above ~5,000 may require longer runtimes; use maxFollowingPerUser to cap.
  • X may throttle or block unauthenticated requests. The actor retries automatically; persistent blocks are reported as UPSTREAM_FAILED.
  • This actor returns who a user follows, not who follows them. For followers use twitter-profile-followers-scraper.


This actor scrapes only publicly accessible data visible without login. Use responsibly and in compliance with X's Terms of Service and applicable data protection laws. The developer is not responsible for misuse.