← API Catalog
Apify·Async
Tweet Scraper V2 - X / Twitter Scraper
Social$0.0004 / tweet
What it does
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!
Returns: 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!
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
end | text | No | Returns tweets sent before the given date. |
sort | select | No | 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. |
start | text | No | Returns tweets sent after the given date. |
author | text | No | Returns tweets sent by the given user. It should be a Twitter (X) Handle. |
geocode | text | No | Returns tweets sent by users located within a given radius of the given latitude/longitude. |
maxItems | number | No | Maximum number of items that you want as output. |
inReplyTo | text | No | Returns tweets that are replies to the given user. It should be a Twitter (X) Handle. |
onlyImage | boolean | No | If selected, only returns tweets that contain images. |
onlyQuote | boolean | No | If selected, only returns tweets that are quotes. |
onlyVideo | boolean | No | If selected, only returns tweets that contain videos. |
startUrls | array | No | Twitter (X) URLs. Paste the URLs and get the results immediately. Tweet, Profile, Search or List URLs are supported. |
mentioning | text | No | Returns tweets mentioning the given user. It should be a Twitter (X) Handle. |
searchTerms | array | No | Search terms you want to search from Twitter (X). You can refer to https://github.com/igorbrigadir/twitter-advanced-search. |
withinRadius | text | No | Returns tweets sent within the given radius of the given location. |
geotaggedNear | text | No | Returns tweets sent near the given location. |
placeObjectId | text | No | Returns tweets tagged with the given place. |
tweetLanguage | select | No | Restricts tweets to the given language, given by an ISO 639-1 code. |
minimumReplies | number | No | Returns tweets with at least the given number of replies. |
twitterHandles | array | No | Twitter handles that you want to search on Twitter (X) |
conversationIds | array | No | Conversation IDs that you want to search on Twitter (X) |
minimumRetweets | number | No | Returns tweets with at least the given number of retweets. |
onlyTwitterBlue | boolean | No | If selected, only returns tweets by users who are Twitter Blue subscribers. |
minimumFavorites | number | No | Returns tweets with at least the given number of favorites. |
customMapFunction | text | No | 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. |
onlyVerifiedUsers | boolean | No | If selected, only returns tweets by users who are verified. |
includeSearchTerms | boolean | No | If selected, a field will be added to each tweets about the search term that was used to find it. |
Endpoints
GET
/v1/agents/resources/inspect/apify.apidojo.tweet-scraperPublicPOST
/v1/agents/resources/estimate/apify.apidojo.tweet-scraperPublicPOST
/v1/agents/resources/run/apify.apidojo.tweet-scraperAgent keyGET
/v1/agents/resources/runs/{run_id}Agent keyQuick start
Run it with one Agent One Key over the OpenAI-compatible resource rail.
curl -X POST https://api.deva.me/v1/agents/resources/run/apify.apidojo.tweet-scraper \
-H "Authorization: Bearer deva_i1_your_key_here" \
-H "Content-Type: application/json" \
--data '{
"params": {}
}'Related in Social
Instagram Scraper
Extract Instagram posts, reels, profiles, places, hashtags, carousels, and comments. Get data from Instagram using one or more Instagram URLs or search queries: content, context, metrics, metadata. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.
TikTok Scraper
Extract data from TikTok videos, hashtags, and users. Use URLs or search queries to scrape TikTok profiles, hashtags, posts, URLs, shares, followers, hearts, names, video, and music-related data. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.
Instagram Profile Scraper
Scrape all Instagram profile info. Just add Instagram usernames, IDs or URLs and extract name, join date, number of followers, location, bio, website, related profiles, video&post count, latest posts. Export scraped data, schedule scraper via API, and integrate with other tools or AI workflows.
Instagram Post Scraper
Scrape Instagram posts. Just add one or more Instagram usernames and get your data in seconds including caption, metrics, images, mentions, coauthors, recent comments, sponsored status, video duration, views. Export scraped data, schedule scraper via API, integrate with other tools or AI workflows.
Facebook Posts Scraper
Extract posts, videos, and engagement metrics from Facebook pages. Get text captions, reactions, video transcripts, images, external links, collaborators, and more from Facebook pages and profiles. Export ad data, schedule runs via API, and integrate with other tools or AI workflows.
YouTube Scraper
YouTube crawler and video scraper. Alternative YouTube API with no limits or quotas. Extract and download channel name, likes, number of views, and number of subscribers.