X (Twitter) Profile Posts Scraper avatar

X (Twitter) Profile Posts Scraper

Pricing

from $0.35 / 1,000 results

Go to Apify Store
X (Twitter) Profile Posts Scraper

X (Twitter) Profile Posts Scraper

Scrape posts from public X (Twitter) profiles with no login or API key. Get text, hashtags, mentions, engagement counts, media and quoted posts. Filter by post type and date. Bulk profiles, auto proxy fallback. Export JSON, CSV or Excel.

Pricing

from $0.35 / 1,000 results

Rating

0.0

(0)

Developer

Data Minds

Data Minds

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 hours ago

Last modified

Categories

Features

Limited permissions

Share

📖 What is X (Twitter) Profile Posts Scraper?

🔎 Posts, likes and views · 📦 Export to JSON, CSV or Excel · 🔌 API ready · 🤖 Works with AI agents

X (Twitter) Profile Posts Scraper collects the latest public Twitter profile posts from any number of accounts and saves one clean row per post: text, date, likes, reposts, replies, views, media, hashtags, quoted posts and author details. It is built for marketers, analysts, researchers and developers who want X data in a spreadsheet, a database or an AI workflow. Paste profile links or @usernames, click Start, and download the results, with no login, cookies or coding needed.

  • 🏢 Watch what brands and competitors post. See every post of a company account with the likes, reposts and views it earned.
  • 📈 Compare creators side by side. Line up engagement for many profiles in a single run.
  • 📰 Follow news accounts and public figures. Collect their latest posts into a sheet you can sort and share.
  • 🔍 Learn what travels. View counts, bookmarks and quote counts show which posts people spread.
  • 🤖 Feed dashboards and AI tools. Every row is structured JSON with hashtags, mentions, links and media.
  • 🕒 Keep it fresh. Schedule the run and get new posts delivered on your timetable.

✨ What can X (Twitter) Profile Posts Scraper do?

  • 🧩 Take profile links, @usernames or bare usernames in the same list, as many as you like.
  • 🎯 Filter by date, keep original posts only, skip reposts or skip the pinned post.
  • 📦 Export the results as JSON, CSV, Excel, XML or HTML, or fetch them through the API.
  • 🔌 Connect the data to Make, Zapier, n8n, Google Sheets, webhooks and AI agents.

📦 What data can X (Twitter) Profile Posts Scraper extract?

Every row is one post. The author's profile details are attached to each row, so you get post data and account data together.

DataFields
🔗 Post identitypost_id, post_url, conversation_id, post_type, profile_url, input_url
📝 Text and linkspost_text, language, hashtags, mentions, expanded_urls
📅 Time and flagstimestamp, is_pinned, is_retweet, is_reply, is_quote_tweet
👍 Engagementreply_count, repost_count, like_count, quote_count, view_count, bookmark_count
💬 Replies and quotesreply_to_post_id, reply_to_user, quoted_post
🎬 Photos and videosmedia (type, link, video link, thumbnail, size, duration)
👤 Author profileauthor (name, screen_name, description, location, website, followers_count, following_count, tweet_count, like_count, created_at, verified_type, profile_image_url, profile_url)

❗ Note: A field stays empty when X does not provide it for that post, for example views on some older posts.

🚫 What data can't X (Twitter) Profile Posts Scraper extract?

  • ❌ Posts of private or protected profiles.
  • ❌ Replies to other people's posts. Only a profile's own thread replies are included, and you can switch them off.
  • ❌ Search results, follower lists, likes lists and anything that needs a logged-in account.
  • ❌ A guaranteed full history of very large accounts. The run status shows how many posts each profile returned.

For searches by keyword, single posts and threads, see X (Twitter) Scraper Unlimited further down this page.


🚀 How to scrape Twitter profile posts

  1. 🔑 Create a free Apify account with your email.
  2. 📥 Open X (Twitter) Profile Posts Scraper and go to the Input tab.
  3. 🔗 Add profile links, @usernames or bare usernames to Profile URLs or usernames.
  4. 🔧 Set Max posts per profile and, if you want, the post type, the date and the skip options.
  5. 🚀 Click Start and wait for the run to finish.
  6. 📤 Open the Output tab to browse the posts, or download them as JSON, CSV, Excel, XML or HTML.

Here is an input that collects the latest 10 posts of two accounts:

{
"profileUrls": ["https://x.com/natgeo", "@NASA"],
"maxItems": 10
}

💡 Tip: Start with a small Max posts per profile value, check the output, then raise it for the full run.

🚀 Quick start: Run X (Twitter) Profile Posts Scraper on Apify


💰 How much does it cost to scrape Twitter profile posts?

X (Twitter) Profile Posts Scraper costs from $0.0007 per post ($0.70 per 1,000 posts) on the Gold plan. You pay for each post saved to the dataset, so the bill follows the amount of data you collect. Apify platform usage is billed in addition.

PlanPrice per postPrice per 1,000 posts
🆓 Free$0.001$1.00
🥉 Bronze$0.0009$0.90
🥈 Silver$0.0008$0.80
🥇 Gold$0.0007$0.70

The billed event is main_result, shown as "result" on the Pricing tab, and covers one post in the dataset. Every run also has one start event of $0.00005 for the default 1 GB of memory. Profiles that are not found or return no posts add no result charges.

🧮 How much will it cost to scrape Twitter profile posts?

Posts multiplied by the price of your plan. The start event of $0.00005 per run is not included in this table.

Plan100 posts1,000 posts10,000 posts
🆓 Free100 x $0.001 = $0.101,000 x $0.001 = $1.0010,000 x $0.001 = $10.00
🥉 Bronze100 x $0.0009 = $0.091,000 x $0.0009 = $0.9010,000 x $0.0009 = $9.00
🥈 Silver100 x $0.0008 = $0.081,000 x $0.0008 = $0.8010,000 x $0.0008 = $8.00
🥇 Gold100 x $0.0007 = $0.071,000 x $0.0007 = $0.7010,000 x $0.0007 = $7.00

💳 Is scraping Twitter profile posts free?

You can start for free. The Apify Free plan includes $5 of monthly credit. At the Free price of $0.001 per post, $5 / $0.001 = about 5,000 posts before platform usage. Higher plans lower the price per post, so the same credit goes further.

See the Pricing tab for the current prices of every plan.


🔧 Input

You only need one thing to start: at least one profile link, @username or bare username. Everything else is optional and has a sensible default. Set the input in the Input tab or send it as JSON through the API. Max posts per profile applies to each profile separately, so five profiles with a limit of 100 return up to 500 posts. A profile listed twice is read once, and an entry that is not a profile link or username is skipped and reported in the log.

FieldTypeDefaultWhat it does
profileUrlsarraynone (required)Public X (Twitter) profile links, @usernames or bare usernames, one per entry. Add as many as you like.
maxItemsinteger10Posts to collect for each profile (0 to 100000). Use 0 for as many posts as are available.
postTypestringallall returns every available post, including a profile's own thread replies. tweets_only returns original posts only, with every reply left out.
dateFromstringnoneOnly posts on or after this date. Use an exact date such as 2026-01-31 or a look-back such as 30 days, 2 weeks, 3 months or 1 year. Empty means no date limit.
skipRetweetsbooleanfalseLeave out posts the profile reposted from others.
skipPinnedbooleanfalseLeave out the post pinned to the top of the profile.
proxyConfigurationobjectnoneOptional connection settings for the run. The default works for most runs.

📥 Minimal input

{
"profileUrls": ["https://x.com/natgeo"]
}

🎯 Advanced input

Original posts from three accounts in the last 30 days, without reposts or the pinned post, up to 50 posts per account:

{
"profileUrls": ["https://x.com/natgeo", "@NASA", "SpaceX"],
"maxItems": 50,
"postType": "tweets_only",
"dateFrom": "30 days",
"skipRetweets": true,
"skipPinned": true
}

❗ Note: For some very large accounts the available posts are a mix of popular and recent ones, so a date filter can return fewer posts there. See the Input tab for the full form.


📤 Output

Results are saved to the run's dataset, one row per post. Open the Output tab for ready-made views (Overview, Engagement, Content, Media and Author), or the Storage tab for the raw dataset. Download in JSON, CSV, Excel, XML or HTML, choose the fields you need, or read the rows through the API:

https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json

A run summary with the final counts is also saved under the key RUN_SUMMARY in the run's key-value store.

📝 Post fields

FieldTypeDescription
post_idstringPost ID.
post_urlstringLink to the post.
conversation_idstringID of the conversation thread.
post_typestringtweet, reply, retweet or quote_tweet.
post_textstringFull post text.
timestampstringWhen the post was published (ISO 8601, UTC).
languagestringLanguage code of the post.
is_pinnedbooleanTrue when the post is pinned to the profile.
hashtagsarrayHashtags used, for example #WolvesUpClose.
mentionsarrayAccounts mentioned, for example @hulu.
expanded_urlsarrayLinks in the post as objects with short, expanded and display addresses.
reply_count, repost_count, like_count, quote_countintegerReplies, reposts, likes and quote posts.
view_count, bookmark_countintegerViews and bookmarks.
is_retweet, is_reply, is_quote_tweetbooleanTrue for a repost, a reply or a post that quotes another post.
reply_to_post_id, reply_to_userstringThe post and the user a reply answers.
quoted_postobjectThe quoted post: post_id, post_url, post_text and author_handle.
mediaarrayPhotos and videos as objects with type, url, video_url, thumbnail_url, width, height and duration_ms.
authorobjectThe profile that wrote the post, see the table below.
profile_urlstringLink to the profile.
input_urlstringThe entry you gave for this profile.

👤 Author fields

FieldTypeDescription
author.namestringDisplay name.
author.screen_namestringHandle without @.
author.descriptionstringBio text.
author.location, author.websitestringLocation and website from the profile.
author.followers_count, author.following_countintegerFollowers and accounts followed.
author.tweet_count, author.like_countintegerPosts written and posts liked.
author.created_atstringAccount creation date (ISO 8601).
author.verified_typestringVerification type (blue, gold, gray) or empty.
author.profile_image_url, author.profile_urlstringProfile picture and profile link.

📊 Run summary

The RUN_SUMMARY record in the key-value store looks like this:

FieldTypeDescription
inputsintegerProfiles you entered.
rowsintegerPosts saved to the dataset.
ok, skipped, failedintegerProfiles read successfully, skipped (invalid, duplicate or not found) and failed.
secondsintegerRun time in seconds.
spendLimitReachedbooleanTrue when the run stopped because your spending limit was reached.
messagestringThe final status message shown on the run.

📝 JSON example

One post from the first input example above (shortened):

{
"post_id": "2123144209284657378",
"post_url": "https://x.com/NatGeo/status/2123144209284657378",
"post_type": "tweet",
"post_text": "The wolf pack is on the prowl, and we have a pack of our own ready to see what they're up to ...",
"language": "en",
"hashtags": ["#WolvesUpClose"],
"mentions": ["@DisneyPlus", "@hulu"],
"reply_count": 15,
"repost_count": 21,
"like_count": 202,
"quote_count": 6,
"view_count": 59488,
"bookmark_count": 16,
"is_retweet": false,
"is_reply": false,
"is_quote_tweet": false,
"media": [
{
"type": "video",
"thumbnail_url": "https://pbs.twimg.com/amplify_video_thumb/2123112668449964032/img/aa8v6dX8lLiokNZj.jpg",
"duration_ms": 79621
}
],
"author": {
"name": "National Geographic",
"screen_name": "NatGeo",
"website": "http://www.nationalgeographic.com",
"followers_count": 28082261,
"verified_type": "blue",
"profile_url": "https://x.com/NatGeo"
},
"profile_url": "https://x.com/NatGeo",
"input_url": "https://x.com/natgeo"
}

💡 Tips and advanced usage

🔎 How to scrape tweets from a profile

To scrape tweets from a Twitter profile, add the link or @username of a public account and set Max posts per profile. Each post becomes one row that you can sort by date, likes or views. To download all tweets from a user that X makes available, set the limit to 0.

Add a long list of accounts for a bulk Twitter profile scraper run. Every row carries an input_url field, so you can tell which entry produced it.

🔑 Can you scrape Twitter without the API?

Yes. You do not need an X developer account or an API key to scrape tweets without API access. An Apify account is enough.

📦 How to export Twitter posts to CSV or Excel

Open the Output tab and download the Twitter posts as CSV or Excel. To export tweets to Excel with only the columns you need, pick the fields before you download, or use the Engagement view for likes, reposts and views. JSON works for scripts and databases.

Prefer the cloud? Connect the Google Sheets integration to send Twitter posts to Google Sheets, or pass them to Zapier or n8n with a webhook when a run finishes.

🏢 Brands and competitors

Follow your own account and your rivals' accounts and compare how often they post and how much each post earns. Sort the rows by like_count or view_count to see which posts work, with Twitter post likes and views next to the post text.

📈 Creators, news accounts and public figures

Compare creators by like_count, repost_count and view_count, and read Twitter author followers and bio, website and join date from the author fields. The engagement columns show who gets reach and who gets replies.

Collect the latest posts of news outlets, journalists and public figures, then watch hashtags, mentions and links. Use Posts since to scrape tweets by date range and keep a clean record of one story.

🤖 AI workflows and research

Pass Twitter posts for LLM prompts or retrieval as JSON, with hashtags, mentions, quoted posts, media links and author details in each row. The same rows support trend analysis, content research and market research when you collect posts over time.

⚡ How to get faster or cheaper results

  • 🎯 Set Max posts per profile to the number you need. Every saved post is a billed result.
  • 🕒 Use Posts since to collect only recent posts instead of filtering a large export later.
  • 🧩 Put many profiles in one run. You pay one start event per run, not per profile.
  • 🔁 Skip reposts and the pinned post when you only want a profile's own new content.

🔔 How to schedule Twitter profile scraping

Create a schedule that runs the scraper every day or hour with Posts since set to 1 week. Each run returns the recent posts of every profile, so you can pass fresh rows to a sheet or database and drop duplicates by post_id.

🧰 Troubleshooting and known issues

For some very large accounts the available posts are a mix of popular and recent ones, so a date filter can return few posts there. Some fields, such as view_count, can be empty for older posts.

If a run returns fewer posts than you asked for, check the run status and the log first. They show how many posts each profile returned and list profiles that were private, renamed, suspended or not found. Widen the Posts since date, switch Post type to all, or turn off Skip reposts. For anything else, open an issue from the Issues tab.


🔌 Integrations and API

🔌 Can I use X (Twitter) Profile Posts Scraper as an API?

Yes. Start runs, read results and schedule jobs through the Apify API. Use your token from Settings > API & Integrations.

ActionMethod and URL
Start a runPOST https://api.apify.com/v2/actors/data_minds~x-twitter-profile-posts-scraper/runs
Run and get the results in one callPOST https://api.apify.com/v2/actors/data_minds~x-twitter-profile-posts-scraper/run-sync-get-dataset-items
Read results of a runGET https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json
OpenAPI definitionGET https://api.apify.com/v2/actors/data_minds~x-twitter-profile-posts-scraper/builds/default/openapi.json

The one-call endpoint suits runs that finish in about five minutes. Use the start-a-run endpoint for longer jobs.

curl

curl -X POST "https://api.apify.com/v2/actors/data_minds~x-twitter-profile-posts-scraper/run-sync-get-dataset-items" \
-H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"profileUrls": ["https://x.com/natgeo", "@NASA"], "maxItems": 10}'

🐍 How to scrape Twitter profile posts with Python

Install the apify-client package, call the Actor and read the dataset. It replaces a hand-written Twitter scraper Python script, so you can scrape X posts with Python in a few lines.

from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("data_minds/x-twitter-profile-posts-scraper").call(run_input={
"profileUrls": ["https://x.com/natgeo", "@NASA"],
"maxItems": 10,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["post_url"], item["like_count"])

📝 How to scrape Twitter profile posts with JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('data_minds/x-twitter-profile-posts-scraper').call({
profileUrls: ['https://x.com/natgeo', '@NASA'],
maxItems: 10,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

🔧 How to run X (Twitter) Profile Posts Scraper from the command line

$echo '{"profileUrls": ["https://x.com/natgeo"], "maxItems": 10}' | apify call data_minds/x-twitter-profile-posts-scraper --silent --output-dataset

🧩 Can I integrate X (Twitter) Profile Posts Scraper with other apps?

Yes. Connect it to almost any cloud service through Apify integrations: Make, Zapier, n8n, Slack, Google Sheets, Google Drive, Airbyte, GitHub and LangChain. Use webhooks to start a workflow when a run finishes, and schedules to run it every day or hour.

🤖 Can I use X (Twitter) Profile Posts Scraper with AI agents (MCP server)?

Yes. AI agents can call it directly through the hosted Apify MCP server, and Claude can use it this way too. The Server tab of this Actor shows the same connection settings.

{
"mcpServers": {
"apify": {
"type": "http",
"url": "https://mcp.apify.com?tools=data_minds/x-twitter-profile-posts-scraper"
}
}
}

The hosted server signs you in with OAuth the first time you connect, so no API token belongs in this configuration. If your client cannot use OAuth, send the header Authorization: Bearer <YOUR_APIFY_TOKEN>.


🔗 Other X and Reddit scrapers

ScraperWhat it does
🔗 X (Twitter) Scraper Unlimited - No LimitsX (Twitter) posts, profiles, articles, threads and lead lists from handles, links, post ids or search terms.
🔗 Reddit Scraper - Posts, Comments, Search & SubredditsReddit posts, comments, communities and users from search terms, links or whole subreddits.
🔗 Reddit Post Comments ScraperEvery comment of Reddit posts by link, subreddit, search or user, with replies, scores, authors and post details.

❓ FAQ

Scraping publicly available data is generally legal, but rules differ by country and by use. Collect only public data, handle personal data in line with laws such as GDPR, have a legitimate reason for using it, and respect X's Terms of Service. If you are unsure, ask a legal professional before you start.

🔧 How does X (Twitter) Profile Posts Scraper work?

You enter profile links or usernames, choose how many posts you want and any filters, and start the run. It saves the public posts of each account to a dataset, one row per post. Profiles it cannot read, such as private or renamed ones, are listed in the log.

🔑 Does it need a login or cookies?

No. It collects only public information that can be seen without an account, so you never share a password, cookie or credentials with it. Private or protected profiles cannot be scraped, and anything that needs a logged-in account is out of reach. You only need an Apify account to run it.

🔌 Can I use X (Twitter) Profile Posts Scraper as an API?

Yes. Every run can be started and read through the Apify API, so you can call it from your own code. Read the results as Twitter posts data in JSON or CSV, with the one-call endpoint for short jobs or the start-a-run endpoint for long ones.

🤖 Can I use it with AI agents (MCP)?

Yes. AI agents and assistants can call the Actor through the hosted Apify MCP server, using the configuration shown in the Integrations and API section. The agent sends an input like the examples above and receives the posts as data, so you can ask for the latest posts of an account in plain language.

🧩 Can I connect it to other tools?

Yes. Send results to Google Sheets, Make, Zapier, n8n, Slack or your own app through Apify integrations and webhooks. A common setup is a daily schedule with a Posts since window, so each run adds fresh posts to a sheet, and a webhook tells your workflow when the run has finished.

📉 Why am I getting fewer results than my limit?

The limit is a maximum, not a promise. An account may have fewer public posts, a Posts since date, Post type or skip option can remove posts before they are counted, and very large accounts may return fewer posts than you ask for. Check the run status and the log to see how many posts each profile returned.

📊 Why do the numbers differ from what X shows?

Each row is a snapshot taken when the run read the post. Likes, reposts, replies and views keep changing, so the numbers can differ from the app later. Some fields, such as views on older posts, can be empty when X does not provide them.

🧰 X (Twitter) Profile Posts Scraper is not working, what should I do?

Check the log first, which lists every skipped or failed profile and why. Confirm the profile is public and spelled correctly, and try a small test run. If the problem remains, open an issue on the Issues tab with the run link.


💬 Support and feedback

Found a bug or have a feature request? Please open an issue on the Issues tab.

Need a custom solution or more data? Email hello.dataminds@gmail.com.

Built and maintained by data_minds. X (Twitter) Profile Posts Scraper is an independent tool and is not affiliated with, endorsed by or sponsored by X Corp. or Twitter. Use it in line with X's terms and applicable law.