X (Twitter) Search Scraper | $0.14/1K Results | Pay Per Result avatar

X (Twitter) Search Scraper | $0.14/1K Results | Pay Per Result

Pricing

from $0.14 / 1,000 results

Go to Apify Store
X (Twitter) Search Scraper | $0.14/1K Results | Pay Per Result

X (Twitter) Search Scraper | $0.14/1K Results | Pay Per Result

Search X (Twitter) and extract every matching post. Add a query and get ID, URL, text, author, timestamp, language, likes, retweets, replies, quotes, views, and media. Export to JSON or CSV. Free plans get 200 results a month. $0.14 per 1,000 results, pay per result. Served by AnyAPI.

Pricing

from $0.14 / 1,000 results

Rating

0.0

(0)

Developer

AnyAPI

AnyAPI

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

16 hours ago

Last modified

Share

Runs an X search and returns one row per post: post ID, URL, text, the author's handle, display name and verified flag, likes, retweets, replies, quotes, views, bookmarks, timestamp, language, whether it is a reply, the conversation ID, and any attached media. X advanced search operators work inside the query, so from:openai, min_faves:500, since:2026-01-01, lang:en, and -filter:replies all narrow the search. Bare words are ANDed, so use one short phrase or OR between alternatives. It keeps paging until it reaches the number of posts you asked for.

Input

FieldTypeRequiredDescription
querystringyesWhat to search X for. Bare words are ANDed, so a list of loosely related keywords matches nothing: use one short phrase, or OR between alternatives. Operators work here too, for example from:openai, min_faves:500, since:2026-01-01, lang:en, -filter:replies.
queryTypestringnoWhich search tab to read: newest posts, top posts, or only posts with photos or videos. One of: Latest, Top, Photos, Videos. Defaults to Latest.
maxItemsintegernoStop after this many results. Defaults to 100. Each result is charged once.

Output

Every result row is written to the dataset as one JSON object:

{
"id": "2097511807707738481",
"url": "https://x.com/i/web/status/2097511807707738481",
"text": "Search is quietly becoming the plumbing inside agents, and smart to get ahead of that shift.",
"authorUsername": "ShinkaIoT",
"authorName": "Shinka - AI",
"authorVerified": true,
"likeCount": 184,
"retweetCount": 21,
"replyCount": 9,
"quoteCount": 2,
"viewCount": 24810,
"bookmarkCount": 12,
"createdUtc": 1788920759,
"lang": "en",
"isReply": true,
"conversationId": "2097509962381713900",
"media": [],
"source": "AnyAPI"
}

Standby mode

This Actor also runs in Standby mode. Send the same input as a JSON body in a POST request and it answers with { "items": [ ... ] }, the same rows a standard run would write, charged the same way.

Pricing

This Actor is billed per result, plus one small fixed charge per run. A result event is charged for every row it writes, and the Actor Start event is charged once when the run begins. A run that finds nothing, or that comes back with an empty list, writes no rows and pays the start charge only. Both prices are on this Actor's Apify Store page.

Free Apify plans get 200 results a month from this Actor. The allowance resets on the first of every month (UTC), and a run that has used it up stops with a message saying so instead of writing rows. Paid Apify plans have no limit.

Support

Something wrong with this Actor, a field you need, or a platform you want added? Open an issue on this Actor, or email support@getanyapi.com and a human will answer.

One shape across every platform

This Actor belongs to a set of sixteen on this account that read YouTube, Instagram, TikTok, X, Reddit, Threads, Facebook Ads Library and Google News. They take the same kind of input, write the same kind of row, bill the same way, and stamp every row with "source": "AnyAPI", so a pipeline written against one of them reads all of them without a second parser.

PlatformActors
YouTubesearch, channel videos, comments, transcripts
Instagramprofile posts, post comments
TikTokprofile videos, keyword search, video comments
Xprofile, user tweets
Redditsearch, post comments
OtherThreads posts, Facebook Ads Library, Google News