How to Use Twitter (X.com) User Info Scraper: Profiles, Followers & Following, Step by Step

Twitter (X.com) User Info Scraper returns full X profiles from a username, a numeric user ID or a profile URL. It can also list the followers and following of any public account, and it filters those lists before they are delivered and charged. No X login is needed.

For this walkthrough I asked one question: @apify has 25,273 followers, so which of them run a website and have at least 1,000 followers of their own? The run took 7 seconds and returned 4 rows: the @apify profile plus 3 matching followers. The biggest match has 150,312 followers.

Below is every step with real Apify Console screenshots, the exact JSON input, a sample output row, and Python/Node code.

What you can scrape

Result type (type) Turn it on with What you get
userInfo shouldScrapeUserInfo (default true) The full profile of each user you list
follower shouldScrapeFollowers The followers of each user, up to maxItems per user
following shouldScrapeFollowings The accounts each user follows, up to maxItems per user

You can list users in three ways, and mix them in one run:

Every user record includes followersCount, followingCount, tweetCount, likeCount, mediaCount, description (bio), location, createdAt, verified, isBlueVerified, profileUrl, avatar and banner URLs, and two fields that help with lead generation: website (the expanded profile link) and emails (addresses found in the bio). Followers and following also carry sourceUser, the account you asked about.

Step 1: Open the Actor

Open Twitter (X.com) User Info Scraper on Apify and click Try for free. No account yet? Sign up here. Pricing is $6.00 / 1,000 profiles for members, and follower lists are much cheaper (see Pricing).

Twitter (X.com) User Info Scraper on the Apify Store with the Try for free button

Step 2: Name the account

Apify Console opens on the Input tab. Fill in at least one of Start URLs, Usernames or User IDs. I typed one username, apify. Use Bulk edit to paste many accounts, one per line.

Input form with Start URLs, Usernames (apify) and User IDs

Step 3: Pick the list and set filters

Under Scrape Options, choose what to collect for each user:

Max users per list (maxItems) caps followers or following per user. It is exact and duplicates are removed. I set it to 3 for this test.

Then open Filters. These apply to followers and following before anything is delivered or charged:

Scrape Options, Max users per list and the Filters section

Users removed by filters are not charged. If you get fewer results than expected, the first maxScanned profiles didn’t match: raise maxScanned or relax the filters.

Step 4: Or paste the input as JSON

Switch from Form to JSON to copy or paste the whole input. This is the exact input of the run:

{
  "usernames": ["apify"],
  "shouldScrapeUserInfo": true,
  "shouldScrapeFollowers": true,
  "shouldScrapeFollowings": false,
  "maxItems": 3,
  "minFollowers": 1000,
  "onlyVerified": false,
  "onlyWithEmail": false,
  "onlyWithWebsite": true
}

JSON input editor with the run’s input

Step 5: Save & start, then read the Users table

Click Save & start. The run succeeded in 7 seconds with 4 results: the @apify profile (type: userInfo) and 3 followers (type: follower). All three have a website, and they have 150,312, 33,078 and 24,398 followers.

The Users view shows avatar, username, name, profile URL, followers, following, tweets, blue verified, verified, location, website, emails from bio and bio:

Succeeded run with 4 users in the Users table

Scroll right for Joined (createdAt), Relation (type) and Source account (sourceUser):

Website, bio, joined date, relation and source account columns

A real follower row from this run (an organization’s public profile, shortened):

{
  "type": "follower",
  "id": "780319838187220993",
  "name": "Hlídač Státu",
  "username": "HlidacStatu",
  "followersCount": 24398,
  "followingCount": 903,
  "tweetCount": 8900,
  "createdAt": "Mon Sep 26 08:15:21 +0000 2016",
  "location": "Praha, Česká republika",
  "verified": false,
  "isBlueVerified": true,
  "profileUrl": "https://x.com/HlidacStatu",
  "website": "https://www.hlidacstatu.cz/",
  "emails": [],
  "sourceUser": "apify"
}

Step 6: Export to CSV, Excel or JSON

Click Export on the run page. Pick the Users view (flat columns, good for spreadsheets) or All fields, then download as JSON, CSV, XML, Excel, HTML Table, RSS or JSONL. You can also select or omit fields.

Export dataset dialog with JSON, CSV, XML, Excel, HTML Table, RSS and JSONL

Run it from code (Python & Node.js)

Get your token from Settings → API & Integrations in Apify Console.

Python (pip install apify-client):

from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run = client.actor("xtdata/twitter-x-user-info-scraper").call(run_input={
    "usernames": ["apify"],
    "shouldScrapeUserInfo": False,
    "shouldScrapeFollowers": True,
    "maxItems": 100,
    "minFollowers": 1000,
    "onlyWithWebsite": True,
})

for user in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(user["username"], user["followersCount"], user.get("website"), user.get("emails"))

Node.js (npm install apify-client):

import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });

const run = await client.actor('xtdata/twitter-x-user-info-scraper').call({
    userIds: ['44196397'],
    shouldScrapeUserInfo: false,
    shouldScrapeFollowings: true,
    maxItems: 50,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((u) => `${u.username} (${u.followersCount})`));

Pricing

Pay per event, with no separate Actor subscription. You pay for each delivered user. Users removed by filters are free.

Event Starter / Scale members (Bronze, Silver) Gold / Platinum / Diamond
Profile (userInfo) $6.00 / 1,000 $5.60 / 1,000
Follower (follower) $0.50 / 1,000 $0.40 / 1,000
Following (following) $1.00 / 1,000 $0.90 / 1,000
Actor start $0.00005 per run $0.00005 per run

The Actor is priced for paid Apify plans: on the Free plan each result costs $1, so test with a small maxItems and set Maximum cost per run under Run options as a hard budget cap.

Tips

FAQ

Do I need an X account or cookies? No. The Actor reads only publicly visible data, without logging in.

Does maxItems limit profile lookups? No. It caps followers and following per user. Every user you list gets one userInfo row when user info is on.

What if a username doesn’t exist? It is logged as not found and is not charged. The run fails only if every request fails.

Can I get protected accounts’ followers? No, only public data.

Ready to try your own question? Open Twitter (X.com) User Info Scraper on Apify.