X (Twitter) Following Scraper
Pricing
Pay per event + usage
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
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
3 days ago
Last modified
Categories
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
| Field | Example |
|---|---|
username | "nasa" |
display_name | "NASA" |
bio | "Explore the universe and discover our home planet." |
follower_count | 98500000 |
following_count | 312 |
tweet_count | 74200 |
verified | false |
is_blue_verified | true |
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
- SociaVault primary — provider-backed route resolves user IDs and paginates the following list server-side with no login or cookies.
- Browser fallback — if SociaVault is unavailable, a Playwright browser intercepts X's private GraphQL API. This path needs
authToken+csrfTokenfrom a logged-in session (store as secret env vars). - Proxy: Apify Residential US by default — reliably bypasses X's rate-limits.
Pricing
Pay per event + platform usage
| Event | Price |
|---|---|
| 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
maxFollowingPerUserto 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.
Related actors
twitter-profile-followers-scraper— scrape followers of an X accountx-tweet-scraper— scrape tweets from a profile or search querytwitter-profile-followers-scraper— profiles, followers, and following in one run
Legal
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.