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
| Field | Type | Description |
|---|---|---|
| startUrls | array | Twitter (X) URLs. Paste the URLs and get the results immediately. Tweet, Profile, Search or List URLs are supported. |
| searchTerms | array | Search terms you want to search from Twitter (X). You can refer to https://github.com/igorbrigadir/twitter-advanced-search. |
| twitterHandles | array | Twitter handles that you want to search on Twitter (X) |
| conversationIds | array | Conversation IDs that you want to search on Twitter (X) |
| maxItems | integer | Maximum number of items that you want as output. |
| sort | string (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. |
| tweetLanguage | string (ab | aa | af | ak | sq | am) | Restricts tweets to the given language, given by an ISO 639-1 code. |
| onlyVerifiedUsers | boolean | If selected, only returns tweets by users who are verified. |
| onlyTwitterBlue | boolean | If selected, only returns tweets by users who are Twitter Blue subscribers. |
| onlyImage | boolean | If selected, only returns tweets that contain images. |
| onlyVideo | boolean | If selected, only returns tweets that contain videos. |
| onlyQuote | boolean | If selected, only returns tweets that are quotes. |
| author | string | Returns tweets sent by the given user. It should be a Twitter (X) Handle. |
| inReplyTo | string | Returns tweets that are replies to the given user. It should be a Twitter (X) Handle. |
| mentioning | string | Returns tweets mentioning the given user. It should be a Twitter (X) Handle. |
| geotaggedNear | string | Returns tweets sent near the given location. |
| withinRadius | string | Returns tweets sent within the given radius of the given location. |
| geocode | string | Returns tweets sent by users located within a given radius of the given latitude/longitude. |
| placeObjectId | string | Returns tweets tagged with the given place. |
| minimumRetweets | integer | Returns tweets with at least the given number of retweets. |
| minimumFavorites | integer | Returns tweets with at least the given number of favorites. |
| minimumReplies | integer | Returns tweets with at least the given number of replies. |
| start | string | Returns tweets sent after the given date. |
| end | string | Returns tweets sent before the given date. |
| includeSearchTerms | boolean | If selected, a field will be added to each tweets about the search term that was used to find it. |
| customMapFunction | string | Function 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 120mcp
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.