
Twitter Scraper - Unlimited Tweets, Fixed Price
2 hours trial then $40.00/month - No credit card required now

Twitter Scraper - Unlimited Tweets, Fixed Price
2 hours trial then $40.00/month - No credit card required now
Extract unlimited Twitter data with fixed monthly pricing. Scrape user tweets, conversations, and search results with advanced filtering options. Features multi-lang support, geo-targeting, and detailed user analytics. Perfect for researchers, analysts, and businesses needing reliable Twitter data.
You can access the Twitter Scraper - Unlimited Tweets, Fixed Price programmatically from your own JavaScript 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 token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11 "startUrls": [
12 "https://x.com/KMbappe",
13 "https://x.com/search?q=real%20madrid&src=typed_query",
14 "https://x.com/realmadrid/status/1877491794000412879"
15 ],
16 "searchTerms": [
17 "web scraping",
18 "scraping from:apify"
19 ],
20 "twitterHandles": [
21 "elonmusk",
22 "taylorswift13"
23 ],
24 "conversationIds": [
25 "1754067365707563045",
26 "1732037140111102460"
27 ],
28 "maxItems": 1000,
29 "sort": "Latest",
30 "tweetLanguage": "en",
31 "author": "apify",
32 "inReplyTo": "webexpo",
33 "mentioning": "elonmusk",
34 "geotaggedNear": "Los Angeles",
35 "withinRadius": "15km",
36 "geocode": "37.7764685,-122.4172004,10km",
37 "placeObjectId": "96683cc9126741d1",
38 "minimumRetweets": 5,
39 "minimumFavorites": 5,
40 "minimumReplies": 5,
41 "start": "2021-07-01",
42 "end": "2021-07-02",
43 "customMapFunction": (object) => { return {...object} }
44};
45
46// Run the Actor and wait for it to finish
47const run = await client.actor("epctex/twitter-scraper").call(input);
48
49// Fetch and print Actor results from the run's dataset (if any)
50console.log('Results from dataset');
51console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
52const { items } = await client.dataset(run.defaultDatasetId).listItems();
53items.forEach((item) => {
54 console.dir(item);
55});
56
57// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Twitter Scraper - Unlimited Tweets, Fixed Price API in JavaScript
The Apify API client for JavaScript is the official library that allows you to use Twitter Scraper - Unlimited Tweets, Fixed Price 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:
Actor Metrics
5 monthly users
-
0 No bookmarks yet
>99% runs succeeded
Created in Dec 2024
Modified 21 hours ago