X (Twitter) Scraper: Profiles, Tweets & Engagement Stats avatar

X (Twitter) Scraper: Profiles, Tweets & Engagement Stats

Pricing

from $0.20 / 1,000 results

Go to Apify Store
X (Twitter) Scraper: Profiles, Tweets & Engagement Stats

X (Twitter) Scraper: Profiles, Tweets & Engagement Stats

X tweets and Twitter profiles by handle or link: exact followers, bio, verification and join date, plus latest tweets with likes, reposts, replies, quotes, bookmarks and views, and top replies for tweet links. No account needed; no keyword search. Perfiles de Twitter.

Pricing

from $0.20 / 1,000 results

Rating

0.0

(0)

Developer

Philip Kirkbride

Philip Kirkbride

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

a day ago

Last modified

Categories

Features

Limited permissions

Share

X (Twitter) Scraper: Profiles, Posts & Replies

Turn X (Twitter) usernames, profile links and post links into clean, structured rows. Every profile comes with its exact follower, following and post counts, bio, location, website, verification type, join date, avatar and banner, plus its latest posts. Every post comes with its text, author, posting time, photos and videos, and exact likes, reposts, replies, quotes, bookmarks and views. No X account or login is needed.

Paste as many profiles and posts as you like in one run: a column from a spreadsheet, a comma-separated line or a list of links. Profiles bring their latest posts (up to 5, pinned post included), and post links bring the top replies X shows under them. A total row cap keeps big lists from running away. Profiles and posts that cannot be read are listed in the run summary and are not charged.

What it covers

  • Profiles by username or link: the profile itself and the latest posts X shows on it to visitors who are not signed in (up to 5).
  • Posts by link or id: the post with every public counter, plus the top replies X shows under it (usually 2 to 5).
  • Replies to a post link, as their own rows, with the same fields as any other post.

What it does not cover

X keeps some pages for signed-in members only. Those pages are not available to this Actor, however they are entered:

  • Search results (keyword, phrase, advanced queries) and hashtag or cashtag pages.
  • Explore and trending pages, and the /i/lists/… and /i/communities/… pages.
  • A profile's full post history: only the latest posts X shows (up to 5) are available. For older posts, add their post links.
  • The replies, media, likes, highlights and articles tabs of a profile, and follower or following lists.
  • Follower lists, likes and bookmarks as data (the counts are included on the profile and post rows).

A line like that is skipped, listed in OUTPUT.skippedSearches (and in OUTPUT.sourceErrors) with the reason, and the rest of your list still runs; that run still ends OUTPUT.status: "complete" and only delivered rows are charged. When nothing could be collected because every line is unusable, or every account or post is missing or suspended, the run ends green with status: "no_results" and noResultsReason instead of failing; only a source-side block with nothing read fails. An invalid limit ends green the same way, naming the field, before anything is fetched.

Use cases

  • Influencer and creator vetting: paste a shortlist of handles and compare exact follower counts, verification type, join date, bio and how well the latest posts perform. Sort the rows by followers or by the likes and views on the latest posts.
  • Account monitoring: put the accounts you watch in one input, run it on a schedule (daily or weekly), and compare followers, post counts and engagement against the previous run. Every row carries scrapedAt, so two runs line up in one table.
  • Campaign post reports: paste every post link from a campaign and get likes, reposts, replies, quotes, bookmarks and views for each one, plus the top replies, in a single table ready for a client report.
  • Lead and account enrichment: bio, location, website, verification and follower count for a list of X handles, to append to a CRM export.
  • Research and AI datasets: post text, media links, hashtags, mentions and top replies as clean rows.

Also available

The social media suite: pick the job.

ActorUse when
X (Twitter) (this Actor)Profiles and latest posts with views
Threads ProfilesThreads followers and post engagement
Bluesky Starter PacksBluesky packs, members, posts and profiles
RedditPosts and comments from subreddits and searches
Instagram ProfilesFollowers, bio and latest posts
Telegram Channel PostsPublic channel posts and channel info

How it works

  1. Paste your usernames (NASA, @NASA), profile links (https://x.com/NASA) or post links (https://x.com/NASA/status/2112553116390269175) — one per line, or separated by commas.
  2. Choose whether profiles bring their latest posts and whether post links bring their top replies.
  3. Set the total row cap if you are working with a big list.
  4. Run it, then download the dataset as JSON, CSV or Excel, or keep it in Apify and connect it to your own workflow.

Quick start

{
"startUrls": ["NASA", "https://x.com/jack/status/20"],
"maxItems": 100
}

That gives NASA's profile and its 5 latest posts, the jack/status/20 post and the 3 replies X shows under it: 10 rows in about 10 seconds, about $0.007. Press Start with the form as it opens to get exactly this sample.

Bulk input: paste a list

startUrls takes one entry per line, and also splits on commas, semicolons, tabs and newlines inside a single entry. So all of these work:

NASA
SpaceX
ESA
NASA, SpaceX, @ESA
"NASA","https://x.com/jack/status/20"

Copying a column straight out of a spreadsheet or a CSV export is fine, quotes included. Duplicates collapse: NASA, @nasa and https://x.com/NASA are one profile, and a post that appears both as a profile's latest post and as its own link is delivered and charged once. Up to 5,000 profiles and posts fit in one run.

Two things to know before a big run:

  • A profile with its latest posts is up to 6 rows (1 profile + 5 posts). maxItems is a total cap on rows, so 500 accounts with latest posts need maxItems of about 3,000, or the run stops early and says so in OUTPUT.stoppedBy.
  • Space-separated handles are not split (NASA SpaceX is read as a search phrase and refused), because two words can just as well be a search you meant. Use a newline or a comma between entries.

Input

InputTypeDefaultMeaning
startUrlsarray—One entry per line: a username (NASA or @NASA), a profile link (https://x.com/NASA), a post link (https://x.com/NASA/status/2112553116390269175) or a post id. twitter.com, mobile.twitter.com and share links (?s=20, /photo/1) work too. Commas, semicolons, tabs and newlines also separate entries inside one line.
includeLatestPostsbooleantrueAlso collect the latest posts each profile shows to visitors, with their exact counts.
maxPostsPerProfileinteger5How many of each profile's latest posts to keep, 1 to 5.
includeRepliesbooleantrueAlso collect the top replies X shows under each post link. Each reply is one row.
maxItemsinteger1000Total cap on rows (profiles plus posts) across every input line, up to 100,000. A profile with its latest posts is up to 6 rows.

Give at least one username, profile link or post link. Lines that are not a profile or post are reported in OUTPUT.sourceErrors (code UNSUPPORTED_INPUT) and never charged. If you leave startUrls out completely, the run collects the example profile (NASA) so you can see the output shape; an explicitly empty list now uses the same sample and logs that the field was treated as omitted.

Example inputs

  • {"startUrls": ["NASA", "SpaceX", "ESA"], "includeLatestPosts": false}: three profiles, one row each, about $0.015 including the run start.
  • {"startUrls": ["https://x.com/nike", "https://x.com/adidas", "https://x.com/PUMA"], "maxPostsPerProfile": 3}: competitor profiles with their 3 latest posts, 12 rows.
  • {"startUrls": ["https://x.com/NASA/status/2112553116390269175", "https://x.com/jack/status/20"], "includeReplies": false}: counters for a list of posts, no replies.
  • {"startUrls": ["2112553116390269175"]}: a post by its id, with its top replies.
  • {"startUrls": ["@BarackObama", "@taylorswift13", "@elonmusk"], "maxItems": 50}: three accounts in one line, capped at 50 rows.

What it returns

The dataset has one row per profile and one row per post. The type field tells them apart, and origin says why a row is there: requested (from your input), latest (a profile's latest post) or reply (a top reply under a post link).

Profiles ("type": "profile"):

FieldMeaning
idX's numeric account id.
username, nameHandle without @, and display name.
urlThe profile on X.
bio, location, websiteAs shown on the profile, with links expanded.
createdAtJoin date (UTC, ISO 8601).
followers, following, postsCountExact counts.
isBlueVerified, verifiedTypeBlue check, and Business or Government for organisation badges.
isProtectedtrue for protected accounts (their posts are hidden).
avatarUrl, bannerUrlProfile picture (400 x 400) and header image.
professionalType, affiliatesCount, subscribersCountCreator or business label, affiliated accounts and subscribers, when shown.
latestPostIdsIds of the latest posts found on the profile, which are the post rows delivered when includeLatestPosts is on.

Posts ("type": "post"):

FieldMeaning
id, urlX's post id and the post link.
textFull post text (long posts included) with links expanded.
lang, createdAtLanguage code and posting time (UTC, ISO 8601).
authorId, authorUsername, authorName, authorFollowers, authorIsBlueVerified, authorVerifiedType, authorAvatarUrlWho posted it.
likes, reposts, replies, quotes, bookmarksExact counts.
viewsExact view count; null for older posts that X shows without one.
mediaPhotos, videos and GIFs: type, url, width, height, altText, and for videos videoUrl (best quality MP4) and durationMs.
hashtags, mentions, linksHashtags, mentioned usernames and expanded links.
isReply, inReplyToId, inReplyToUsernameReply details.
isQuote, quotedPostThe quoted post with its text, author and counts.
isPinnedtrue for a profile's pinned post.
possiblySensitiveX's sensitive-content flag.
countsPartialtrue on the rare post where X showed only its likes and reply count (the other counters are null).

Every row also has source (the input line it came from) and scrapedAt (collection time, UTC).

The run summary (OUTPUT) reports profiles, posts, replies, and any profile or post that could not be read in sourceErrors, each with a short code and message (for example NOT_FOUND for a misspelled handle or a deleted post, SUSPENDED, UNAVAILABLE, UNSUPPORTED_INPUT for a line that is not a profile or post, or TIME_LIMIT for inputs the run had no time left for). It also says why collection stopped: stoppedBy is maxItems, chargeLimit or timeLimit. A post that appears twice (say as a profile's latest post and as a post link) is delivered and charged once.

Output example

{"type": "profile", "id": "11348282", "username": "NASA", "name": "NASA", "url": "https://x.com/NASA", "bio": "Making the seemingly impossible, possible. ✨", "location": "Pale Blue Dot", "website": "http://www.nasa.gov/", "createdAt": "2007-12-19T20:20:32Z", "followers": 92317762, "following": 115, "postsCount": 74443, "isBlueVerified": true, "verifiedType": "Government", "isProtected": false, "avatarUrl": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_400x400.jpg", "bannerUrl": "https://pbs.twimg.com/profile_banners/11348282/1788992290", "professionalType": null, "affiliatesCount": 85, "subscribersCount": 0, "latestPostIds": ["2112604875452223824"], "origin": "requested", "source": "NASA", "scrapedAt": "2026-10-20T18:40:12.345Z"}
{"type": "post", "id": "2112604875452223824", "url": "https://x.com/NASA/status/2112604875452223824", "text": "LIVE: Get a preview of two upcoming spacewalks set for Oct. 29 and Nov. 5. @astro_anil and CSA (Canadian Space Agency) astronaut Joshua Kutryk will use both spacewalks to finish installing solar arrays. https://x.com/i/broadcasts/1jxXgBNWypPJZ", "lang": "en", "createdAt": "2026-10-20T18:00:27Z", "authorId": "11348282", "authorUsername": "NASA", "authorName": "NASA", "authorFollowers": 92317762, "authorIsBlueVerified": true, "authorVerifiedType": "Government", "authorAvatarUrl": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_400x400.jpg", "likes": 151, "reposts": 25, "replies": 13, "quotes": 0, "bookmarks": 5, "views": 78493, "media": [], "hashtags": [], "mentions": ["astro_anil"], "links": ["https://x.com/i/broadcasts/1jxXgBNWypPJZ"], "possiblySensitive": false, "isReply": false, "inReplyToId": null, "inReplyToUsername": null, "isQuote": false, "quotedPost": null, "isPinned": false, "origin": "latest", "source": "NASA", "scrapedAt": "2026-10-20T18:40:12.345Z"}
{"type": "post", "id": "20", "url": "https://x.com/jack/status/20", "text": "just setting up my twttr", "lang": "en", "createdAt": "2006-03-21T20:50:14Z", "authorId": "12", "authorUsername": "jack", "authorName": "jack", "authorFollowers": 12533196, "authorIsBlueVerified": true, "authorVerifiedType": null, "authorAvatarUrl": "https://pbs.twimg.com/profile_images/1661201415899951105/azNjKOSH_400x400.jpg", "likes": 309156, "reposts": 124596, "replies": 18107, "quotes": 7325, "bookmarks": 21982, "views": null, "media": [], "hashtags": [], "mentions": [], "links": [], "possiblySensitive": null, "isReply": false, "inReplyToId": null, "inReplyToUsername": null, "isQuote": false, "quotedPost": null, "origin": "requested", "source": "https://x.com/jack/status/20", "scrapedAt": "2026-10-20T18:40:12.345Z"}
{"type": "post", "id": "1770888775830262034", "url": "https://x.com/derbederdusler/status/1770888775830262034", "text": "@jack", "lang": "qme", "createdAt": "2024-03-21T19:02:40Z", "authorId": "1420469290369789958", "authorUsername": "derbederdusler", "authorName": "𝕯𝖊𝖗𝖇𝖊𝖉𝖊𝖗", "authorFollowers": 3922, "authorIsBlueVerified": true, "authorVerifiedType": null, "authorAvatarUrl": "https://pbs.twimg.com/profile_images/2068802435938689025/Iqb-7nQc_400x400.jpg", "likes": 8012, "reposts": 139, "replies": 22, "quotes": 7, "bookmarks": 95, "views": 462713, "media": [{"type": "photo", "url": "https://pbs.twimg.com/media/GJN19MHXQAAeNDq.jpg", "width": 1080, "height": 786}], "hashtags": [], "mentions": ["jack"], "links": [], "possiblySensitive": false, "isReply": true, "inReplyToId": "20", "inReplyToUsername": "jack", "isQuote": false, "quotedPost": null, "origin": "reply", "source": "https://x.com/jack/status/20", "scrapedAt": "2026-10-20T18:40:12.345Z"}

Keeping a list up to date

X counts move all day, so the useful signal is the difference between two runs:

  1. Save your list of handles and post links as the input (or keep it in a task you reuse).
  2. Schedule the run daily or weekly.
  3. Compare followers, following, postsCount, likes, reposts and views with the previous run, keyed on id. Each row's scrapedAt says when it was read.

To report on a campaign, collect the post links once at the end of the campaign; to monitor an account, keep includeReplies off so the run stays short.

How fast

About 250 profiles or post links a minute. A profile with its 5 latest posts is 6 rows, so a list of 100 profiles gives about 600 rows in under a minute, and 1,000 profiles in about four minutes.

Price

$0.0002 per row delivered (one profile or one post), that is $0.20 per 1,000 rows, plus $0.005 per run start. The run-start event is charged per GB of memory; the default 512 MB run is one start event. The start is charged even if the run saves no results. Profiles and posts that could not be read are not charged. Platform usage is included in these prices.

What that means for a run:

RunRowsCost
The sample on this page (2 inputs, latest posts and replies on)about 10about $0.007
100 profiles with their 5 latest postsup to 600up to $0.125
100 profiles, latest posts off100$0.025
500 post links with repliesup to 2,000up to $0.405

FAQ

Do I need an X account or a login? No. It reads the public pages that X shows to any visitor without an account.

Can it search X for keywords or hashtags? No. X shows search results and hashtag pages only to signed-in members. If you paste a search phrase or a hashtag link, that line is reported in OUTPUT.sourceErrors with UNSUPPORTED_INPUT and the rest of your list still runs. For a campaign, collect the post links (for example from X's own search while you are signed in) and paste those.

Why do I get only 5 posts per profile? That is what a profile shows to visitors who are not signed in: its latest posts, pinned post included. For older posts, add their post links to the same run; replies and counters work the same way for them.

Can I get a full timeline of one account? Not from this Actor. X does not offer a profile's older posts on its public pages. Paste the post links you need, or the ones you collected elsewhere.

Why did the run stop at exactly 1,000 rows? maxItems is a total cap on rows, and the default is 1,000. A profile with its latest posts is up to 6 rows, so a list of 500 accounts needs about 3,000. OUTPUT.stoppedBy says maxItems when the cap is what stopped it; raise it and re-run.

A handle was misspelled, or the post was deleted. That input appears in OUTPUT.sourceErrors with NOT_FOUND and is not charged. A suspended account is reported as SUSPENDED; a protected account gives its profile row, and its posts are hidden.

Are the counts exact? Yes, they are X's full numbers, not rounded estimates, read at collection time. Two exceptions: posts from before X counted views have views: null, and a rare post shows only its likes and reply count, in which case countsPartial is true and the missing counters are null.

Why is a pinned post first among the latest posts? Because that is where X shows it. It carries isPinned: true.

Do reposts appear among a profile's latest posts? No: a profile's own posts and quote posts do. Reposts a profile made are not part of the latest posts X shows.

The same post is in my list twice. It is delivered and charged once, whether it came in as a post link or as a profile's latest post.

Can I run it on a schedule? Yes. Keep the same input in a task and schedule it daily or weekly; use scrapedAt to line up runs. Runs that hit maxItems say so, so a schedule can be sized once and left alone.

What happens if the run's time limit is close? It stops starting new inputs, saves every row it has, lists the inputs it did not reach under TIME_LIMIT, and ends as succeeded with a status message. Raise the timeout for very long lists.

Is a poll or a link card returned? Polls and preview cards are not separate fields; the post text and its links are, and media appears in media. The quoted post, when there is one, is in quotedPost.

Good to know

  • Counts are a snapshot at collection time; X updates them continuously.
  • If X temporarily slows requests down, the run may take longer or return partial results. Rows already collected are kept, and if nothing at all can be read the run fails with a clear message (an input problem with nothing to read ends green with no_results instead).
  • Output is one row per profile or post, so it loads into a spreadsheet as a flat table; media, hashtags, mentions, links and quotedPost are the nested fields.