Apify Store
AS
Apify Store
/apidojo/tweet-scraper

Search X Posts

Lightning-fast search, URL, list, and profile scraping, with customizable filters. At $0.40 per 1000 tweets, and 30-80 tweets per second, it is ideal for researchers, entrepreneurs, and businesses! Get comprehensive insights from Twitter (X) now!

liveverifiedasyncdegraded · 22.5s~30s typical
twitterxtweetssearch
$0.0020
per result + $0.01 call
plus $0.001 platform fee per run
Usage-based actor: event charges passed through at cost plus 25%
Bring your own Apify Store key: provider portion drops to $0.
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run apify /apidojo/tweet-scraper for me.

Input

FieldTypeDescription
startUrlsarrayTwitter (X) URLs. Paste the URLs and get the results immediately. Tweet, Profile, Search or List URLs are supported.
searchTermsarraySearch terms you want to search from Twitter (X). You can refer to https://github.com/igorbrigadir/twitter-advanced-search.
twitterHandlesarrayTwitter handles that you want to search on Twitter (X)
conversationIdsarrayConversation IDs that you want to search on Twitter (X)
maxItemsintegerMaximum number of items that you want as output.
sortstring (Top | Latest | Latest + Top)Sorts search results. If you are getting low results, try Top instead of Latest. Latest + Top runs both simultaneously to maximize results but may return some duplicate tweets.
tweetLanguagestring (ab | aa | af | ak | sq | am)Restricts tweets to the given language, given by an ISO 639-1 code.
onlyVerifiedUsersbooleanIf selected, only returns tweets by users who are verified.
onlyTwitterBluebooleanIf selected, only returns tweets by users who are Twitter Blue subscribers.
onlyImagebooleanIf selected, only returns tweets that contain images.
onlyVideobooleanIf selected, only returns tweets that contain videos.
onlyQuotebooleanIf selected, only returns tweets that are quotes.
authorstringReturns tweets sent by the given user. It should be a Twitter (X) Handle.
inReplyTostringReturns tweets that are replies to the given user. It should be a Twitter (X) Handle.
mentioningstringReturns tweets mentioning the given user. It should be a Twitter (X) Handle.
geotaggedNearstringReturns tweets sent near the given location.
withinRadiusstringReturns tweets sent within the given radius of the given location.
geocodestringReturns tweets sent by users located within a given radius of the given latitude/longitude.
placeObjectIdstringReturns tweets tagged with the given place.
minimumRetweetsintegerReturns tweets with at least the given number of retweets.
minimumFavoritesintegerReturns tweets with at least the given number of favorites.
minimumRepliesintegerReturns tweets with at least the given number of replies.
startstringReturns tweets sent after the given date.
endstringReturns tweets sent before the given date.
includeSearchTermsbooleanIf selected, a field will be added to each tweets about the search term that was used to find it.
customMapFunctionstringFunction that takes each of the objects as argument and returns data that will be mapped by the function itself. This function is not intended for filtering, please don't use it for filtering purposes or you will get banned automatically.

Call it

curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
  -H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
  -d '{"provider":"apify","endpoint":"/apidojo/tweet-scraper","input":{"searchTerms":["AI agents"],"maxItems":20},"wait":false}'
poll
curl "https://cracked-ai-pearl.vercel.app/v1/runs/<runId>?wait=30" -H "Authorization: Bearer ck_live_..."
cli
npx cracked-ai run -p apify -e /apidojo/tweet-scraper -i '{"searchTerms":["AI agents"],"maxItems":20}' -w 120
mcp
run_tool({ provider: "apify", endpoint: "/apidojo/tweet-scraper", input: {"searchTerms":["AI agents"],"maxItems":20}, wait: false })

Try it

Runs against your signed-in workspace balance. Sign in if you have not.