← 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

ParameterTypeRequiredDescription
endtextNoReturns tweets sent before the given date.
sortselectNoSorts 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.
starttextNoReturns tweets sent after the given date.
authortextNoReturns tweets sent by the given user. It should be a Twitter (X) Handle.
geocodetextNoReturns tweets sent by users located within a given radius of the given latitude/longitude.
maxItemsnumberNoMaximum number of items that you want as output.
inReplyTotextNoReturns tweets that are replies to the given user. It should be a Twitter (X) Handle.
onlyImagebooleanNoIf selected, only returns tweets that contain images.
onlyQuotebooleanNoIf selected, only returns tweets that are quotes.
onlyVideobooleanNoIf selected, only returns tweets that contain videos.
startUrlsarrayNoTwitter (X) URLs. Paste the URLs and get the results immediately. Tweet, Profile, Search or List URLs are supported.
mentioningtextNoReturns tweets mentioning the given user. It should be a Twitter (X) Handle.
searchTermsarrayNoSearch terms you want to search from Twitter (X). You can refer to https://github.com/igorbrigadir/twitter-advanced-search.
withinRadiustextNoReturns tweets sent within the given radius of the given location.
geotaggedNeartextNoReturns tweets sent near the given location.
placeObjectIdtextNoReturns tweets tagged with the given place.
tweetLanguageselectNoRestricts tweets to the given language, given by an ISO 639-1 code.
minimumRepliesnumberNoReturns tweets with at least the given number of replies.
twitterHandlesarrayNoTwitter handles that you want to search on Twitter (X)
conversationIdsarrayNoConversation IDs that you want to search on Twitter (X)
minimumRetweetsnumberNoReturns tweets with at least the given number of retweets.
onlyTwitterBluebooleanNoIf selected, only returns tweets by users who are Twitter Blue subscribers.
minimumFavoritesnumberNoReturns tweets with at least the given number of favorites.
customMapFunctiontextNoFunction 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.
onlyVerifiedUsersbooleanNoIf selected, only returns tweets by users who are verified.
includeSearchTermsbooleanNoIf 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-scraperPublic
POST/v1/agents/resources/estimate/apify.apidojo.tweet-scraperPublic
POST/v1/agents/resources/run/apify.apidojo.tweet-scraperAgent key
GET/v1/agents/resources/runs/{run_id}Agent key

Quick 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.