Public X (Twitter) profile data and tweets without logging in
X shows a logged-out visitor a public profile and a limited part of its timeline. The X (Twitter) Profile & Tweets Scraper reads that view: you give it usernames or profile URLs, and it returns each account's follower and following counts, bio and other profile details, plus up to 100 of its latest tweets.
No X account, cookies or API key is needed. It is not a full tweet history, and how many tweets come back depends on what X shows guests for that account.
What can you see on an X profile without logging in?
The Actor returns what X shows any logged-out visitor. For a public account that is:
- The profile: name, handle, bio, location, website, follower and following counts, tweet count, verification, avatar and banner.
- Recent tweets: text, timestamp, likes, retweets, replies, quotes, bookmarks, views, language, links, hashtags, photos and videos.
- Retweets and quote tweets, each with the original tweet and its author.
Two things are not visible in this view: replies the account wrote to other accounts, and the tweets of protected accounts.
How many tweets can you get per profile?
At most 100 per account per run. The count input sets the limit, from 0 to 100, and the form is prefilled with 20.
That number is a ceiling, not a promise. X decides how much of a timeline a logged-out visitor can see. Active accounts return recent tweets across several pages, and the Actor keeps loading older tweets until it reaches count or X stops serving more. Accounts that post rarely may return only their last few posts.
So this is a way to read an account's latest tweets, not its archive. How far back in time the guest timeline reaches for a given account: Data not currently verified.
How do I get tweets and follower counts, step by step?
- Open the Actor. Go to X (Twitter) Profile Scraper: Users & Tweets on Apify. A free Apify account is enough to try it.
- List the accounts.
usernamesis the only required field. Each entry is a username, with or without@, or a profile URL on x.com or twitter.com. - Set
count. This is the maximum number of tweets per account. Set it to0to get the profile only, which is all you need for follower counts. - Choose replies and retweets.
includeRetweetsis on by default.includeRepliesis off by default; turning it on keeps the account's replies within its own threads. - Leave the proxy as it is. The default is Apify residential proxy, which is recommended because X rate limits datacenter IPs quickly.
- Start the run and export. Download the dataset as JSON, CSV, Excel or XML from the Apify Console, or fetch it through the Apify API.
The input for two accounts and 20 tweets each looks like this:
{
"usernames": ["nasa", "https://x.com/github"],
"count": 20,
"includeReplies": false,
"includeRetweets": true,
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}
Two more optional fields pace a run: delayBetweenRequests is the pause in seconds between accounts (default 1), and batchSize groups accounts in the log (default 10).
What data do I get for each tweet and profile?
There is one dataset item per tweet, and every item carries the author's profile in a user object. An account with no visible tweets, or a run with count set to 0, produces one profile-only item with the same user object.
| Field | Type | What it contains |
|---|---|---|
username |
String | The username you asked for |
id |
String | Tweet ID |
text |
String | Full tweet text, long posts included |
created_at |
String | Publish time, ISO 8601 (UTC) |
retweet_count, favorite_count, reply_count, quote_count, bookmark_count, view_count |
Integer | Engagement counters as shown on X |
is_retweet, is_reply, is_quote |
Boolean | Tweet type flags |
language |
String | Language code detected by X |
tweet_url, profile_url |
String | Links to the tweet and the author's profile |
user |
Object | Author profile, including name, screen_name, verified, blue_verified, followers_count, following_count, tweet_count, description, location, website, protected and created_at |
urls |
Array | Expanded links in the tweet, when present |
hashtags |
Array | Hashtags in the tweet, when present |
media |
Array | Photos and videos, with a video URL for videos |
retweeted_tweet, quoted_tweet |
Object | The original tweet for retweets and quote tweets |
in_reply_to |
Object | The tweet and account being replied to |
Follower counts are in user.followers_count. They are the values X showed at the time of the run.
What does it cost?
The Actor is pay per event. On the Apify Free plan it costs $0.00199 per tweet or profile item, so 1,000 tweets cost $1.99, falling to $0.00169 per item on Gold and higher Apify plans (as listed on Apify on 2026-11-12). Accounts that returned nothing are not billed as results. Prices are set on the Actor's Apify listing and can change, so check the listing before a large run.
What are the limitations?
- No full history. The cap is 100 tweets per account per run, and X may show guests fewer. Quiet accounts can return only their last few posts.
- Protected accounts. Their tweets are not visible in guest mode. A protected account returns its profile only.
- No replies to other accounts.
includeRepliescovers replies within the account's own threads only. - No search. The input is a list of accounts. The Actor does not run keyword or hashtag search.
- Rate limits. X rate limits guest traffic per IP. The Actor switches to a fresh proxy and retries; an account that still returns nothing is listed with the reason under
ERRORSin the run's key-value store. - Run time and success rate. Data not currently verified.
Is it legal to collect tweets and profile data?
The Actor accesses only publicly available pages, but public does not mean free to use for any purpose. Tweets, names, bios and follower counts of individuals are personal data, so under laws such as GDPR and CCPA you need a lawful basis to collect, store and use them. You are also responsible for complying with X's terms of service and the laws in your jurisdiction. X has an official API; check X's developer documentation for its current terms.
FAQ
Do I need an X account, cookies or an API key?
No. The Actor reads what X shows a logged-out visitor, so there is nothing to log in with.
Can I get follower counts without any tweets?
Yes. Set count to 0 and each account returns one profile-only item with its follower and following counts, bio and other profile fields.
Can I get every tweet an account has posted?
No. The limit is 100 tweets per account per run, and X decides how much of a timeline a logged-out visitor sees, so some accounts return fewer.
Why did an account come back with no tweets?
Either it has no public tweets, it is protected, or X showed nothing to guests for it. The profile item is still saved, and an account that produced no result at all is listed under ERRORS in the run's key-value store.
Can I search tweets by keyword or hashtag?
Not with this Actor. It returns timeline posts for the accounts you list.
Try it
- X (Twitter) Profile & Tweets Scraper: profile data and recent tweets for a list of public accounts.
- Social listening use case: where account monitoring fits in tracking what is said in public.
- All scrapers: every Goldmine Actor.
Scrapers mentioned in this post
Need something this post didn't cover?
Browse every Goldmine scraper, or get in touch about a custom one.