Twitter Fast Scraper: The Ultimate Twitter Data Retrieval Tool avatar

Twitter Fast Scraper: The Ultimate Twitter Data Retrieval Tool

Try for free

3 days trial then $15.00/month - No credit card required now

View all Actors
Twitter Fast Scraper: The Ultimate Twitter Data Retrieval Tool

Twitter Fast Scraper: The Ultimate Twitter Data Retrieval Tool

fastcrawler/tweet-fast-scraper
Try for free

3 days trial then $15.00/month - No credit card required now

1000 tweets only cost 0.05$. Unlock the full potential of Twitter data with Tweet Fast Scraper! Our cutting-edge tool offers lightning-fast search, all enhanced by customizable filters to suit your needs.

You can access the Twitter Fast Scraper: The Ultimate Twitter Data Retrieval Tool 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    "startTime": "2024-10-20_00:00:00_UTC",
12    "endTime": "2024-10-20_23:59:59_UTC",
13    "searchTerms": [
14        "from:elonmusk until:2024-10-08_23:59:59_UTC since:2024-10-08_00:00:00_UTC -filter:replies"
15    ],
16    "cookies": [
17        "auth_token=5f45eda1b32ec30c38ffc03a35f09993f9ed9279;guest_id=v1%3A172733156939614471;twid=u%3D1479073844589895680;external_referer=padhuUp37zjaCVW9CFFy1MXz35J9qwIKnhdpbcxuaHuU9wkWfMnJ%2Fg%3D%3D|0|8e8t2xd8A2w%3D;night_mode=2;ct0=3585a38c8af0b6d78485bc7bee8a766a16edac3a90ea4d45cc7d8ca719976f2b73b8607786289972565d8803c5c4dbfbfbcbb33be82aa26e2f3c7c61b225e4da9d9ff11f85c9b3fa7d0b590a60afc9d3;guest_id_ads=v1%3A172733156939614471;guest_id_marketing=v1%3A172733156939614471;kdt=sX3joOVuHlM3TGRo9UzOCTOhGNJXZ4S0rJKMoyaZ;personalization_id=v1_BZRq0u8e9t7wzUakk1gdNg=="
18    ],
19    "nextCursor": "",
20    "sortBy": "Latest",
21    "onlyVerifiedUsers": false,
22    "onlyBuleVerifiedUsers": false,
23    "onlyImage": false,
24    "onlyVideo": false,
25    "onlyQuote": false,
26    "onlyReply": false
27};
28
29// Run the Actor and wait for it to finish
30const run = await client.actor("fastcrawler/tweet-fast-scraper").call(input);
31
32// Fetch and print Actor results from the run's dataset (if any)
33console.log('Results from dataset');
34console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
35const { items } = await client.dataset(run.defaultDatasetId).listItems();
36items.forEach((item) => {
37    console.dir(item);
38});
39
40// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

Twitter Fast Scraper: The Ultimate Twitter Data Retrieval Tool API in JavaScript

The Apify API client for JavaScript is the official library that allows you to use Twitter Fast Scraper: The Ultimate Twitter Data Retrieval Tool 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:

Developer
Maintained by Community
Actor metrics
  • 5 monthly users
  • 4 stars
  • 93.2% runs succeeded
  • Created in Oct 2024
  • Modified 2 days ago