made by arjun
← Browse all Actors

Practical guide

Export X (Twitter) followers to CSV

Export X (Twitter) followers to CSV with account IDs, profile links and source relationships. Includes 10 verified historical profiles and an offline Python review worksheet.

Sample run: November 10, 2026 · Input, output and offline conversion checked: November 11, 2026

When researching an X account’s public audience, start by checking whether the exported profiles fit your analysis, rather than collecting every follower. This guide uses X Followers & Following Scraper to request 10 follower profiles from one account and export them to CSV.

Start with: a target username. Deliver: a public-profile table for Excel or Google Sheets, retaining the target account, relationship type, user ID and profile link. Followers and following describe opposite directions; keep them distinct.

Choose the right relationship

followers returns people who follow the target account. followings returns people the target account follows. This example collects followers of OpenAI, a public account used in the existing historical run records.

Starter input
{
  "screenNames": ["OpenAI"],
  "relationshipType": "followers",
  "maxItemsPerUser": 10,
  "includeRawUser": false
}

Paste this JSON into the Actor’s input page, or enter the same settings in the form. You do not need to provide X login credentials, but you do need your own Apify account. Check Pricing and set a maximum charge limit before starting. The quick start covers the steps.

maxItemsPerUser is a per-target result cap, not a guaranteed count. Leave verification, follower-count, and similar filters off for the first run. Otherwise, a short result set becomes harder to interpret: it may reflect the source or your filters.

A 10-profile sample you can trace back to its run

The worksheet below comes from an existing developer run on November 10, 2026: followers of OpenAI, a requested limit of 10, and build 0.2.29. During a read-only check on November 11, 2026, the run still showed SUCCEEDED, and all 10 cloud dataset records matched the saved local content. No new collection was started.

This is a developer validation sample, not a customer project, complete follower list, random sample or performance claim. Ten profiles do not establish whether the accounts are human, automated or potential customers. Your own inputs may return different counts and content.

Keep these fields in your export

Field Why it matters
status Separates profiles from error records. Filter for success before counting profiles.
source_screen_name Identifies the target account for this relationship, especially in multi-account runs.
relationship_type Records whether the row represents a follower or a following relationship.
user_id A stable profile identifier. Usernames can change.
screen_name / profile_url Readable identifiers and links for checking public profiles.
followers_count / friends_count The profile’s follower and following counts, as available at collection time.

Choose CSV and the fields you need in the dataset’s Export dialog. When importing into a spreadsheet, set long ID columns such as user_id to text so they do not become scientific notation or lose trailing digits. Record the run date and Run ID for later reference.

Analyze relationships without losing them

Count only rows with status = success. To count distinct followers per target, deduplicate on source_screen_name + relationship_type + user_id. Do not deduplicate a combined multi-target dataset on user_id alone: that would discard the fact that one person follows several targets.

A small export can help you inspect fields and discover relevant public accounts. It does not represent the full audience. Lists change, the source may limit accessible results, and the exported count is not guaranteed to match the total shown on a profile.

Follower counts, bios, and verification status alone do not establish that an account is a bot, a sales prospect, or a member of a particular group. Those are analytical judgments, not conclusions produced by this tool. Respect privacy, source-platform rules, and applicable requirements when using public profiles.

Turn the JSON into a worksheet someone can review

An export contains profiles, but it does not assign the review work. This example keeps the source account, relationship type, profile link and manual-review columns on the same row. A reviewer can open the public profile, explain why the record is relevant, choose a next action and assign an owner.

Download the worksheet with 10 historical profiles (CSV) · Download the Python example, original JSON and bilingual instructions

What to keep Why it matters
source_user_id + relationship_type + user_id The relationship deduplication key. If one account appears in different targets’ lists, keep each source relationship.
profile_url, bio and account counts Evidence for manual review, not an automatic customer score based on follower counts or bios.
account_created_at The account creation time, not collection time. The sample provenance records the run date.
review_reason, next_action, owner Blank fields for the reviewer; review_status starts as not_reviewed.

Extract the download and run:

python review_followers.py sample-output.json --out output

The script uses only the Python standard library. It needs no token and makes no network requests. The sample produces 10 review rows, zero status records and zero duplicate relationships: 10 distinct account IDs and one source-account/relationship-type combination. The status CSV still includes its header for use with your own exports. This sample does not demonstrate overlap between multiple accounts or describe a complete audience.

For your own unfiltered JSON export, replace the filename with my-export.json and the output directory with my-review. Non-success rows go into a separate status sheet; repeated relationships keep the first record in the file. Do not combine snapshots from different collection times. Running the script again overwrites the output files, so choose a new directory after adding manual notes.

Import ID columns as text and disable automatic conversion to numbers, dates or formulas. Missing source values stay blank rather than becoming zero. A public profile is not permission to send marketing messages; relevance to your task still needs human review.

View the run and data verification record · Download the input from the same run · Download the original output JSON. Code and original documentation use the MIT License; third-party account data is excluded.

Use the list for a specific task

For audience research, continue with finding accounts and organizing their followers. For partnership research, use the partner-shortlist example and keep evidence for your decisions instead of treating follower count as partnership value.

For more filters and all available fields, open the followers and following tool details. The export contains public profiles and relationships, not email addresses, contact details or people who have consented to marketing.

Open the follower Actor on Apify ↗

I build this paid Actor. This is a regular product link; current charges are shown on Apify and billed to your account.

Inputs and fields: Actor README. Export instructions: Apify Dataset documentation.

Related tool details