
Twitter Search Scraper
Pricing
$20.00/month + usage

Twitter Search Scraper
Scrape any keyword or hashtag from Twitter. Extract tweets, replies, favorites, retweets, and conversation threads without limit. Gather user-related information such as verification, location, profile image, friends, followers, following, and much more! Get everything with no limits on Twitter!!
0.0 (0)
Pricing
$20.00/month + usage
6
Total users
889
Monthly users
14
Runs succeeded
84%
Issues response
11 days
Last modified
6 hours ago
You can access the Twitter Search Scraper programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1import { ApifyClient } from 'apify-client';2
3// Initialize the ApifyClient with your Apify API token4// Replace the '<YOUR_API_TOKEN>' with your token5const client = new ApifyClient({6 token: '<YOUR_API_TOKEN>',7});8
9// Prepare Actor input10const input = {11 "startUrls": [12 "https://x.com/search?q=real%20madrid&src=typed_query"13 ],14 "searchTerms": [15 "web scraping",16 "scraping from:apify"17 ],18 "maxItems": 1000,19 "sort": "Latest",20 "tweetLanguage": "en",21 "author": "apify",22 "inReplyTo": "webexpo",23 "mentioning": "elonmusk",24 "geotaggedNear": "Los Angeles",25 "withinRadius": "15km",26 "geocode": "37.7764685,-122.4172004,10km",27 "placeObjectId": "96683cc9126741d1",28 "minimumRetweets": 5,29 "minimumFavorites": 5,30 "minimumReplies": 5,31 "start": "2021-07-01",32 "end": "2021-07-02",33 "customMapFunction": (object) => { return {...object} }34};35
36// Run the Actor and wait for it to finish37const run = await client.actor("epctex/twitter-search-scraper").call(input);38
39// Fetch and print Actor results from the run's dataset (if any)40console.log('Results from dataset');41console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);42const { items } = await client.dataset(run.defaultDatasetId).listItems();43items.forEach((item) => {44 console.dir(item);45});46
47// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Twitter Search Scraper API in JavaScript
The Apify API client for JavaScript is the official library that allows you to use Twitter Search Scraper API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
$npm install apify-client
Other API clients include: