Skip to content
HoneyguideOpen on Apify (opens in a new tab)

X (Twitter)Bulk Handles, URLs & IDs

Twitter/X Profile Scraper

Extract public Twitter/X profile data from handles, profile URLs, or numeric user IDs. Export bios, follower and following counts, verification, images, location, account dates, and stable IDs to JSON, CSV, or Excel.

users, last 30 days
39
runs, last 30 days
3,527
runs, all time
124,423
users, all time
246

Live figures from Apify's public API, refreshed every hour.

Twitter/X Profile Scraper specifications

PlatformX (Twitter)
Apify actordata-slayer/twitter-user
Pricefrom $1.50 per 1,000 results, plus $0.002 per run start
InputsprofilesmaxItemsusernameusernamesprofileUrlsuserIds
Output16 documented fields per row
Export formatsJSON, CSV, Excel, XML, HTML
X (Twitter) login or cookiesNot required
IntegrationsApify REST API, JavaScript and Python clients, n8n, Make, Zapier
Last updatedOctober 8, 2026 (version 1.0.14)

Run it from code

Replace the example input with your own. You need an Apify API token, which you can create in your Apify account settings.

POST /v2/acts/data-slayer~twitter-user/run-sync-get-dataset-items
request
curl -X POST "https://api.apify.com/v2/acts/data-slayer~twitter-user/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "profiles": [
      "nasa",
      "https://x.com/apify"
    ]
  }'
each result row16 fields
{
  "record_type": string | null,
  "requested_input": string | null,
  "input_type": string | null,
  "user_id": string | null,
  "username": string | null,
  "display_name": string | null,
  "bio": string | null,
  "followers_count": integer | number | string | null,
  "following_count": integer | number | string | null,
  "posts_count": integer | number | string | null,
  "is_blue_verified": boolean | string | null,
  "is_protected": boolean | string | null,
  "profile_image_url": string | null,
  "banner_image_url": string | null,
  // + 2 more fields
}

Input parameters

6 parameters you can set for each run.

parametertypedescription
profilesarray

Profile handles, URLs, or IDs

One reference per line. Accepts nasa, @nasa, https://x.com/nasa, https://twitter.com/nasa, or a numeric user ID.

maxItemsinteger

Maximum profiles

Hard cap on unique profile references processed in this run.

default: 100

usernamestring

Legacy single username

Backward-compatible input. Existing API clients can continue sending username exactly as before.

usernamesarray

Legacy username list

Optional compatibility alias for batch handles.

profileUrlsarray

Legacy profile URL list

Optional compatibility alias for batch profile URLs.

userIdsarray

Legacy numeric user ID list

Optional compatibility alias for stable numeric user IDs.

Output fields

Each result is one row with these 16 fields, taken from the scraper's dataset schema.

fieldtypedescription
record_typestring | nullAlways "profile".
requested_inputstring | nullThe first input reference that produced this row.
input_typestring | nullhandle or user_id.
user_idstring | nullStable numeric user ID when available. Stored as text to preserve precision.
usernamestring | nullCurrent account handle.
display_namestring | nullDisplay name
biostring | nullBiography
followers_countinteger | number | string | nullFollowers
following_countinteger | number | string | nullFollowing
posts_countinteger | number | string | nullPosts
is_blue_verifiedboolean | string | nullBlue verified
is_protectedboolean | string | nullProtected
profile_image_urlstring | nullProfile image
banner_image_urlstring | nullBanner image
profile_urlstring | nullProfile URL
collected_atstring | nullCollected at

Pricing

Pay-per-event pricing, billed through your Apify account. Where plan tiers are listed, paid Apify plans get a lower price per event.

eventpriceper 1,000, by Apify plan
result

Single result in the default dataset.

$0.0025 each
Free
$2.50
Bronze
$2.17
Silver
$1.83
Gold
$1.50
Platinum
$1.50
Diamond
$1.50
Actor Start

Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event).

$0.002 per runCharged once per run

Questions

How much does Twitter/X Profile Scraper cost?

Twitter/X Profile Scraper uses pay-per-event pricing on Apify. The main charge is $0.0025 per result, which is $2.50 per 1,000. On higher Apify plans the price drops to $1.50 per 1,000. Each run also has a start fee of $0.002.

Do I need to log in to X (Twitter) or share cookies?

No. Twitter/X Profile Scraper works without your X (Twitter) login or cookies. You only need an Apify account to run it.

Can I use Twitter/X Profile Scraper through an API?

Yes. Send a POST request to the Apify API with your input and read the results as JSON, or use Apify's official clients for JavaScript and Python. The code examples on this page are ready to copy.

What data does Twitter/X Profile Scraper return?

Each result is a structured row. Its dataset schema lists 16 fields, including record_type, requested_input, input_type, user_id, and username.

What formats can I export?

Results are stored in an Apify dataset. You can read it through the API as JSON, or download it as CSV, Excel, XML or HTML.

More X (Twitter) scrapers

All X scrapers
  • Extract replies and comments from any tweet without login. Get comment text, author profiles, likes, retweets, bookmarks, views, timestamps, and conversation threads. Sentiment analysis ready. No cookies, no authentication, no API key. JSON/CSV/Excel export.

    runs/30d
    3,645
    users/30d
    33
    Xfrom $1.50 / 1K results
  • Twitter/X Search Scraper

    Small Jobs & Advanced Queries

    Search public Twitter/X posts and profiles by keyword, hashtag, mention, or documented advanced operator. Export unique results with bounded pagination, clear empty and partial outcomes, and no login or cookies.

    runs/30d
    2,053
    users/30d
    101
    Xfrom $1.50 / 1K results
  • Extract tweets from any public Twitter/X account without login. Get full tweet text, likes, retweets, replies, bookmarks, views, media attachments, hashtags, mentions, and author profiles. No cookies, no authentication, no API key. JSON/CSV/Excel export.

    runs/30d
    896
    users/30d
    21
    Xfrom $1.50 / 1K results
  • Extract trending topics from Twitter/X by country without login. Get trend names, post volumes, category context (Sports, Entertainment, Politics), and promotional tags. Monitor global or regional conversations in real-time. No cookies, no API key. JSON/CSV/Excel export.

    runs/30d
    547
    users/30d
    20
    Xfrom $1.50 / 1K results
  • Export a bounded, deduplicated list of accounts followed by a public Twitter/X profile. Accept usernames, profile URLs, and numeric user IDs; download profile records as JSON, CSV, or Excel.

    runs/30d
    138
    users/30d
    28
    Xfrom $1.50 / 1K results
  • Extract follower lists from any public Twitter/X account without login. Get usernames, bios, follower/following counts, verification status, profile images, locations, websites, and account creation dates. No cookies, no API key. JSON/CSV/Excel export.

    runs/30d
    82
    users/30d
    9
    Xfrom $1.50 / 1K results