X/Twitter Profile Scraper avatar

X/Twitter Profile Scraper

Pricing

from $0.25 / 1,000 results

Go to Apify Store
X/Twitter Profile Scraper

X/Twitter Profile Scraper

Extract tweets, replies, and engagement data from Twitter profiles. Scrape likes, reposts, views, media URLs, and more with date filtering, reply extraction, and custom data transformation. Run via API with no authentication or proxies required.

Pricing

from $0.25 / 1,000 results

Rating

0.0

(0)

Developer

Data Doping

Data Doping

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Share

X Profile Scraper New | Twitter Profile, Followers & Posts

Search X users and scrape profiles, posts, replies, followers, following, and media — in one configurable Actor.

This is an all-in-one X Scraper / Twitter Profile Scraper for the Apify platform. Paste profile URLs, usernames, or search keywords; choose exactly which datasets you need; export clean, structured JSON ready for CRM enrichment, analytics, monitoring, and AI pipelines.

Built for growth teams, researchers, agencies, and engineers who need a practical Twitter API alternative without stitching together five separate scrapers.


Why use this Actor

Most Twitter scrapers force a trade-off: either a narrow single-purpose tool, or a bloated run that fetches everything and burns cost. This Actor is designed like a product control panel — enable only Profile Details, Posts, Replies, Followers, Following, Media, or Profile Search.

Problems it solves

ProblemHow this Actor helps
You need leads from competitor audiencesScrape followers/following into structured rows
You track brands or executivesPull profile metadata + recent posts on a schedule
You discover influencers by nicheSearch people by keyword, then enrich profiles
You build social analyticsExport posts/replies with engagement fields
You feed AI / RAG systemsCollect consistent profile + content JSON
Official X API is expensive or restrictedUse this as a scraping-based Twitter API alternative
You run data pipelines on ApifyTyped datasets + default combined export

Who it's for

  • Growth marketers and demand-gen teams
  • Sales / SDR prospecting workflows
  • Influencer marketing and creator scouting
  • Competitive intelligence and brand monitoring
  • Journalists and OSINT researchers
  • Academic and social-science projects
  • Data engineers building enrichment pipelines
  • Product teams collecting training / evaluation datasets

Features

CapabilityIncluded
Profile search by keyword
Full profile details
Profile posts / timeline
Profile replies
Followers scraping
Following scraping
Media tab scraping
Date range filters for posts/replies
Include / exclude reposts
Media-only post filter
Reply scope (author / all)
Pagination + per-feature limits
Parallel profile processing
Rate limiting + empty-page retries
Typed Apify Output tabs
Combined default dataset
URL, @username, and user ID inputs
Works with Apify Tasks & Schedules

What can be scraped

Profile

  • Name
  • Username / screen name
  • User ID
  • Bio / description
  • Website
  • Location
  • Join date
  • Verification / blue verified status
  • Professional account category
  • Profile image
  • Banner image
  • Protected / suspended flags
  • Pinned tweet ID
  • Profile URL

Statistics

  • Followers count
  • Following count
  • Tweet count
  • Likes count
  • Media count
  • Highlights metadata (when available)

Content

  • Posts from the profile timeline
  • Replies from the Replies tab
  • Media-tab tweets (photos / videos)
  • Engagement counts on posts (likes, replies, reposts, quotes, views when present)
  • Author metadata attached to content rows
  • Media objects on tweets when present

Network

  • Follower accounts (relationship rows)
  • Following accounts (relationship rows)
  • Source profile context on each connection row

Discovery

  • People / profile search hits by keyword
  • Optional enrichment of search hits into full profile details

How it works

  1. Provide profiles (URLs, usernames, or IDs) and/or search queries.
  2. Toggle the datasets you want (details, posts, replies, followers, following, media, search).
  3. Set limits and filters (max items, date range, reposts, reply scope).
  4. Run the Actor.
  5. Download results from typed Output tabs or the combined dataset.

Disabled options are not fetched. That keeps runs faster and cheaper than “scrape everything” tools.


Input options

Sources

ParameterTypeDefaultDescriptionExample
profilesstring[]Profile URLs, @usernames, or numeric user IDs.["elonmusk", "https://x.com/openai"]
searchQueriesstring[]Keywords for people / profile search.["openai", "elon musk"]

Accepted profile forms:

elonmusk
@openai
44196397
https://x.com/narendramodi
https://twitter.com/apify

What to scrape

ParameterTypeDefaultDescription
scrapeProfileSearchbooleanfalseSearch users by keyword. Auto-enabled when searchQueries is non-empty.
scrapeProfileDetailsbooleantrueFetch profile metadata for each resolved profile.
scrapePostsbooleanfalseScrape the posts timeline.
scrapeRepliesbooleanfalseScrape the replies tab.
scrapeFollowersbooleanfalseScrape followers.
scrapeFollowingbooleanfalseScrape following.
scrapeMediabooleanfalseScrape the Media tab.

Profile search options

ParameterTypeDefaultDescription
maxSearchResultsinteger20Max search hits kept per query.
enrichSearchResultsbooleantrueFollow up each hit with a full profile-details request.

Posts options

ParameterTypeDefaultDescription
maxPostsinteger100Max posts per profile.
includeRepostsbooleantrueKeep reposts/retweets in the posts timeline.
includeRepliesInPostsbooleanfalseKeep reply tweets that appear on the posts timeline.
includeMediaOnlybooleanfalseKeep only posts that contain media.
startDatestringKeep posts/replies on or after YYYY-MM-DD.
endDatestringKeep posts/replies on or before YYYY-MM-DD.

Replies options

ParameterTypeDefaultDescription
maxRepliesinteger100Max replies per profile.
replyScopestring"author""author" = only replies by the profile; "all" = every Replies-tab item.

Network & media limits

ParameterTypeDefaultDescription
maxFollowersinteger100Max followers per profile.
maxFollowinginteger100Max following accounts per profile.
maxMediainteger100Max media-tab tweets per profile.

Output

Results are written to typed Apify datasets plus a combined default dataset:

Dataset / tabContains
ProfilesProfile details + profile-search hits
ConnectionsFollowers + following rows
TweetsPosts + replies
MediaMedia-tab tweets
All Fields (combined)Every row in one place

Every row includes a type field such as profile, profileSearch, follower, following, post, reply, or media.

Sample profile output

{
"type": "profile",
"id": "44196397",
"name": "Elon Musk",
"username": "elonmusk",
"url": "https://x.com/elonmusk",
"bio": "...",
"profileImage": "https://pbs.twimg.com/profile_images/.../400x400.jpg",
"bannerImage": "https://pbs.twimg.com/profile_banners/...",
"verified": true,
"blueVerified": true,
"professional": {
"type": null,
"category": null
},
"website": "",
"location": "",
"joinDate": "2009-06-02T00:00:00.000Z",
"followersCount": 220000000,
"followingCount": 1200,
"tweetCount": 65000,
"likesCount": 180000,
"mediaCount": 4200,
"pinnedTweetId": "2066538446781382800",
"protected": false,
"suspended": false,
"input": "elonmusk"
}

Sample follower output

{
"type": "follower",
"relationship": "follower",
"sourceProfile": "openai",
"sourceProfileId": "4398626122",
"id": "123456789",
"username": "growthops",
"name": "Growth Ops",
"bio": "B2B SaaS growth",
"followersCount": 18420,
"followingCount": 812,
"tweetCount": 3901,
"verified": false,
"blueVerified": true,
"website": "https://example.com",
"avatar": "https://pbs.twimg.com/profile_images/.../normal.jpg",
"url": "https://x.com/growthops"
}

Sample post output

{
"type": "post",
"id": "2066538446781382800",
"url": "https://x.com/elonmusk/status/2066538446781382800",
"text": "Sample post text",
"createdAt": "Wed Jun 18 18:22:11 +0000 2025",
"likeCount": 15420,
"replyCount": 2103,
"retweetCount": 3401,
"quoteCount": 512,
"viewCount": 2400000,
"author": {
"id": "44196397",
"username": "elonmusk",
"name": "Elon Musk",
"verified": true
},
"media": [
{
"type": "photo",
"url": "https://pbs.twimg.com/media/....jpg",
"previewUrl": "https://pbs.twimg.com/media/....jpg"
}
],
"sourceProfile": "elonmusk",
"input": "elonmusk"
}

Export formats available via Apify: JSON, CSV, Excel, XML, and API access to dataset items.


Examples

1) Scrape a single profile

{
"profiles": ["https://x.com/openai"],
"scrapeProfileDetails": true
}

2) Search users by keyword

{
"searchQueries": ["ai startup founder"],
"scrapeProfileSearch": true,
"maxSearchResults": 50,
"enrichSearchResults": true
}

3) Download profile posts (no reposts, date-bounded)

{
"profiles": ["elonmusk"],
"scrapeProfileDetails": true,
"scrapePosts": true,
"maxPosts": 200,
"includeReposts": false,
"includeRepliesInPosts": false,
"startDate": "2025-01-01",
"endDate": "2025-12-31"
}

4) Get followers for lead gen

{
"profiles": ["competitor_handle"],
"scrapeProfileDetails": true,
"scrapeFollowers": true,
"maxFollowers": 1000
}

5) Map an account’s following list

{
"profiles": ["@brandaccount"],
"scrapeFollowing": true,
"maxFollowing": 500,
"scrapeProfileDetails": false
}

6) Collect replies only

{
"profiles": ["44196397"],
"scrapeReplies": true,
"maxReplies": 300,
"replyScope": "author",
"scrapeProfileDetails": false
}

7) Media catalog for a creator

{
"profiles": ["https://x.com/nasa"],
"scrapeMedia": true,
"maxMedia": 250,
"scrapeProfileDetails": true
}

8) Full profile intelligence pack

{
"profiles": ["openai", "anthropicai"],
"scrapeProfileDetails": true,
"scrapePosts": true,
"scrapeReplies": true,
"scrapeFollowers": true,
"scrapeFollowing": false,
"scrapeMedia": true,
"maxPosts": 100,
"maxReplies": 100,
"maxFollowers": 200,
"maxMedia": 100
}

Use cases

  1. Sales prospecting — pull followers of competitor or community accounts into outreach lists.
  2. Recruiting — find specialists via profile search, then enrich bios and links.
  3. Influencer marketing — shortlist creators by niche keyword and compare follower counts.
  4. Brand monitoring — schedule profile + posts scrapes for executives or brand handles.
  5. Competitor research — track posting cadence, media mix, and audience growth.
  6. Due diligence — archive public profile metadata and recent activity for investigations.
  7. Journalism / OSINT — collect public posts, replies, and network edges for reporting.
  8. Market research — sample industry voices and map who follows whom.
  9. Social listening prep — seed watchlists of accounts from search + enrichment.
  10. Trend analysis — date-filter posts to study campaign windows or event periods.
  11. Agency reporting — export clean JSON/CSV for client dashboards.
  12. CRM enrichment — append X bio, website, and follower counts to contact records.
  13. AI / RAG datasets — build structured corpora of profiles and posts.
  14. Academic research — collect reproducible public-data snapshots for analysis.
  15. Growth experiments — test which audience segments engage with similar accounts.
  16. Partnership scouting — inspect following lists for potential collaborators.
  17. Content strategy — analyze top posts and media from category leaders.
  18. Risk / trust & safety — monitor public accounts of interest at scale.
  19. Product analytics — feed social signals into internal BI tools.
  20. Automation — chain Apify Tasks so profile exports land in Sheets, webhooks, or warehouses.

Performance

This Actor is built for production Apify runs:

  • Parallel scraping across multiple profiles (bounded concurrency)
  • Cursor pagination for posts, replies, media, followers, and following
  • Automatic empty-page retries on flaky first pages
  • Client-side rate limiting to avoid request bursts
  • Selective fetching — disabled datasets are skipped entirely
  • Deduping of profile inputs and output rows where applicable

Throughput depends on which options you enable, account size, and network conditions. Start with modest limits, then scale.


Best practices

  1. Enable only what you need. Profile Details alone is far cheaper than Followers + Posts + Media.
  2. Cap network scrapes. maxFollowers / maxFollowing grow quickly on celebrity accounts.
  3. Use date filters when you only care about a campaign window.
  4. Turn off reposts (includeReposts: false) if you want original content only.
  5. Prefer usernames or IDs you already know when possible; search is for discovery, not bulk export of every match on X.
  6. Batch thoughtfully. Large multi-profile runs with every toggle enabled can be long-running — split by dataset type if you need faster feedback.
  7. Schedule incremental jobs. Daily/hourly Tasks with smaller maxPosts beat giant monthly dumps.
  8. Validate with a single profile first, then expand.
  9. Store typed datasets separately in downstream systems (profiles, connections, tweets, media) for cleaner schemas.
  10. Respect platform rules and privacy laws for your jurisdiction and use case.

FAQ

Does this require an X / Twitter login?

No end-user X login is required in the Actor input. Scraping is performed through the Actor’s configured backend. You still need your Apify run environment set up (including any required API key env vars for the deployment).

Is this a Twitter API alternative?

Yes — for many public-data workflows it functions as a Twitter API alternative focused on scraping public profiles, posts, and networks into Apify datasets. It is not an official X API product.

How many profiles can I scrape?

There is no hard coded marketplace ceiling in the input schema. Practical limits come from run timeout, memory, enabled features, and per-feature max settings. Use concurrency-friendly batches for large lists.

Can I scrape Twitter followers?

Yes. Enable scrapeFollowers and set maxFollowers. Output rows appear under the Connections tab with type: "follower".

Can I scrape following lists?

Yes — enable scrapeFollowing and set maxFollowing.

Can I search users?

Yes. Provide searchQueries (and optionally set scrapeProfileSearch). Results can be enriched into full profiles via enrichSearchResults.

Can I export JSON / CSV?

Yes. Apify datasets support JSON, CSV, Excel, and more from the Console or API.

How is pagination handled?

Timelines and connection lists are paginated with cursors until your max limit is reached or no further page is available.

Can I scrape private / protected accounts?

Protected and non-public content is generally unavailable. Public metadata may still appear in limited form depending on account state.

What’s the difference between Posts and Media?

Posts uses the profile tweets timeline. Media uses the Media tab endpoint (media-centric listing). Use both when you need complete coverage.

Can I run this on a schedule?

Yes. Create an Apify Task and Schedule for recurring brand / competitor monitoring.

Does it support both x.com and twitter.com URLs?

Yes. Profile URL normalization accepts both hosts.


Limitations

  • Public data only. Protected accounts, suspended accounts, and geo-/auth-restricted content may return incomplete results or errors.
  • Search is discovery-oriented. Profile search uses available people/typeahead-style endpoints; it is not a guarantee of exhaustive global people search coverage.
  • Follower / following completeness depends on what X exposes publicly for that account and how deep you paginate.
  • Counts can change quickly. Follower and engagement numbers are snapshots at scrape time.
  • Not an official X product. Field availability can change when upstream response shapes change.
  • Legal / ToS responsibility remains with you. Use this Actor only for lawful purposes and in line with Apify and platform policies.
  • Very large network scrapes (hundreds of thousands of followers) should be planned as multi-run jobs with progressive cursors/limits rather than one unbounded run.

Why this Actor vs narrow scrapers

NeedNarrow scrapersX Profile Scraper New
Profile metadata onlySeparate ActorToggle Profile Details
Followers onlySeparate ActorToggle Followers
Posts + repliesSeparate ActorToggle Posts / Replies
People search + enrichOften missingBuilt-in
One pipeline, many datasetsGlue codeSingle run, typed tabs

If you already use focused Actors for one job, keep them. Use this Actor when you want one marketplace entry point to search, enrich, and expand X profile intelligence without rewriting orchestration.


SEO keywords (naturally covered)

X Scraper · Twitter Scraper · X Profile Scraper · Twitter Profile Scraper · Scrape Twitter followers · Twitter search scraper · Export X data · Twitter API alternative · X/Twitter profile posts scraper


Getting started

  1. Open X Profile Scraper New on Apify.
  2. Add a profile URL or search keyword.
  3. Enable the datasets you need.
  4. Click Start.
  5. Open the Output tabs (Profiles, Connections, Tweets, Media) or download the combined dataset.

You should have structured X/Twitter profile data in minutes — ready for analysis, enrichment, or automation.