X (Twitter) Search Scraper - Posts, Likes, Replies
Pricing
from $0.55 / 1,000 posts
X (Twitter) Search Scraper - Posts, Likes, Replies
Scrape X (Twitter) search results for any keyword, hashtag or query: post text, URL, author, likes, reposts, replies and date. Export to JSON, CSV or Excel, or call it as an API. No login or X API key needed. For brand research, trend analysis and lead discovery. $1 per 1,000 posts.
Pricing
from $0.55 / 1,000 posts
Rating
0.0
(0)
Developer
Khandji Omar
Maintained by CommunityActor stats
0
Bookmarked
5
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Security
Limited permissionsShare
X (Twitter) Search Scraper — Posts, Likes, Replies
Scrape X (Twitter) search results for any keyword, hashtag or query: post text, URL, author, likes, reposts, replies and date. Export to JSON, CSV or Excel, or call it as an API. No login or X API key needed. For brand research, trend analysis and lead discovery.
Price: $1 per 1,000 posts ($0.001 per post). The first 10 results of every run are free.
In short: what you give, what you get, what it costs
| You give | Keywords, hashtags or X search queries |
| We do | Search X (Twitter), then clean and check every post |
| You get | One row per post: text, link, author, likes, reposts, replies and date, as JSON, CSV or Excel |
| It costs | $1 per 1,000 posts. Apify also bills the supplier Actor this robot runs for you, at its own price (about $0.25 per 1,000), so about $1.25 per 1,000 in total. The first 10 results of every run are free of this robot's fee |
| It does not | Sign in to X or need an X API key |
A real result row is shown further down this page.
Free tier — 10 results free on every run
The free results waive this Actor's own fee; the source Actor (scraper_one/x-posts-search) still bills its own price for every row it returns.
The first 10 results of every run are free, on every run you ever make — not a one-off trial. Run it on your own subjects and see the real output before you are billed for a single result.
One guard: the free allowance never covers more than half of a run, so a run returning 6 results gets 3 free. That keeps the offer sustainable.
What it does
Run it once and get the full, current data as clean rows you can export to JSON, CSV or Excel, or pull through the API. Need only fresh data? Turn on monitorEnabled and schedule it: every later run returns only what is new or changed since the previous one, so you never re-download or re-pay for the same rows.
Compared with api-ninja/x-twitter-advanced-search
Read on the Store on 2026-10-23 (X (Twitter) Advanced Search Scraper 𝕏). Where it does better, this section says so.
- Data source: this Actor runs scraper_one/x-posts-search for you, then cleans and checks every row.
- This Actor's fee is free on the first results of every run, and a hard cost cap (
maxTotalChargeUsd) limits it. - Price: about $1.25 per 1,000 in total here ($1 for this Actor + $0.25 for scraper_one/x-posts-search), $15 at api-ninja/x-twitter-advanced-search.
Why this scraper
- Try before you pay. The first 10 results of every run are free, on every run.
- Pay only for data delivered. Failed sources and failed inputs are never billed.
- Hard cost cap. Set
maxTotalChargeUsdand a run can never cost more than you allow. - Only-new mode. With
monitorEnabledon a schedule, you get just the new or changed rows, plus a spike signal when volume suddenly jumps. - Clean, normalized rows with the same field names every run, plus a
RUN_SUMMARY.json— ready for spreadsheets, databases, n8n/Make/Zapier and AI agents (MCP).
Example input
{"keywords": ["openai","anthropic"],"maxTotalChargeUsd": 1.0}
This returns the full current data right away. To receive only what is new on a schedule, add "monitorEnabled": true: the first monitored run stores a free baseline, later runs return only new or changed rows. Pin a monitorId to keep separate targets from sharing state.
Output
Each row is one post on X. A real row from a run on Apify (long texts are cut here and people's names hidden; your dataset has them in full):
A real row from this Actor's latest run on Apify (2026-10-24; long texts are cut and people's names hidden here, your dataset has them in full):
{"record_id": "2114106678157459532","query_id": "your brand","url": "https://x.com/hallwayhighway/status/2114106678157459532","text": "@piersmorgan Let's just remember who you had on your show after allegations. Fiona Harvey, Kevin Spacey, Russell Brand, Cuba Gooding Jr,...","author": "(hidden here)","published_at": "1792877284000","timestamp": 1792877284000,"conversationId": "2114085104536699014","replyCount": 0,"quoteCount": 0,"repostCount": 0,"favouriteCount": 0,"author_userId": "(hidden here)","author_screenName": "(hidden here)","author_profileImageUrl": "(hidden here)"}
| Field | What it holds |
|---|---|
text | post text |
author | account |
timestamp | post time |
favouriteCount | likes |
repostCount | reposts |
replyCount | replies |
quoteCount | quotes |
url | post link |
Each row also keeps the other fields the source returns, so you get everything above and more. In the Output tab, the Overview table shows these columns, readable without any code; export them as CSV, Excel, JSON or HTML.
How you're charged
- Source Actor charge: this Actor runs scraper_one/x-posts-search inside your run, and Apify bills that run to your account at scraper_one/x-posts-search's own price (about $0.25 per 1,000 results, read on 2026-10-23), on top of this Actor's price. Each call to it is capped at $0.50.
- Post — $0.001 per post ($1 per 1,000), billed for each post delivered to your dataset. With scheduled monitoring on, only posts that are new since the last check are delivered and billed.
- Scheduled monitoring check ($0.05) — only when you turn on scheduled monitoring (
monitorEnabled), once per target per run, and only when the source responded. One-off runs never pay it: you pay only per result. - One-off runs pay only per result. The monitoring check applies only to scheduled monitoring; every upstream call is capped, so a run can never cost more than you allow.
Related tools
- Already know the account? Watch it directly instead of searching. → X (Twitter) Profile Scraper - Posts, Likes, Views
How to use it in 3 steps
- Click Try for free and fill in Search keywords (
keywords). - Optional: adjust the other fields; every one has a description and a sensible default.
- Click Start and download the results as JSON, CSV or Excel, or read them from the API.
Use cases
- Brand research
- Trend analysis
- Lead discovery
Use it from code (API)
Every Apify Actor is an API. Start a run and read the results with one call.
Python
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("om_kh/twitter-x-search-scraper").call(run_input={"keywords": ["openai", "anthropic"]})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
JavaScript
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('om_kh/twitter-x-search-scraper').call({"keywords": ["openai","anthropic"]});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
One HTTP call (cURL) — runs the Actor and returns the dataset in the same response:
curl -X POST "https://api.apify.com/v2/acts/om_kh~twitter-x-search-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \-H "Content-Type: application/json" \-d '{"keywords": ["openai", "anthropic"]}'
Integrations: n8n, Make, Zapier, Google Sheets
- n8n — the official Apify node, operation Run Actor and get dataset, Actor
om_kh/twitter-x-search-scraper. - Make — Apify › Run an Actor, then Apify › Get Dataset Items.
- Zapier — Apify › Run Actor; map the dataset items into your next step.
- Google Sheets, webhooks, Slack — add an integration from the Integrations tab of this Actor.
- Schedules — run it every hour or day from Schedules in Apify Console.
Use it from an AI agent (MCP and x402)
Connect Claude Desktop, Cursor, VS Code or any MCP client to Apify's MCP server
at https://mcp.apify.com and add this Actor, om_kh/twitter-x-search-scraper, as a tool — the
agent passes the same JSON as the run input and gets the dataset back.
AI agents that pay with x402 can run it too, without an Apify account: the Actor charges only per result delivered, so an agent pays exactly for what it gets.
FAQ
Is it legal to scrape X (Twitter)? This Actor collects only publicly available X (Twitter) data and never logs in. You are responsible for how you use it; check X (Twitter)'s terms and your local law (GDPR, CCPA) if you store personal data, and ask a lawyer if unsure.
Do I need an account, cookies or an API key? No. You only need an Apify account to run it.
What data do I get? Matching posts with text, likes, reposts, replies and author. Download it as JSON, CSV, Excel, HTML or XML, or read it from the API.
Am I charged when something fails? No. An input that fails is listed with its reason in the run summary and is never charged.
Can I run it on a schedule? Yes. Create a schedule in Apify Console (hourly, daily, weekly) and connect webhooks, Google Sheets, Slack, n8n, Make or Zapier.
Can I use it from Python, JavaScript or an AI agent?
Yes: see the code samples above, or connect AI agents through MCP with the x_search_new_posts tool.
All input fields
The main fields are described above; these are the others the form accepts:
currentItems(Bring your own items (optional)) — Skip the chained fetch and pass records directly (no upstream call, no fetch fee).
Your feedback
Did this Actor save you time? A short review on the Reviews tab helps other people find it, and every review is read. Something missing or broken? Open an issue on the Issues tab: it is answered and fixed fast.