Twitter Hashtag Fast Scraper: For Hashtag Data
2 hours trial then $5.99/month - No credit card required now
Twitter Hashtag Fast Scraper: For Hashtag Data
2 hours trial then $5.99/month - No credit card required now
Get 1,000 results for just $0.01! Introducing the Twitter Hashtag Fast Scraper, your go-to solution for scraping Twitter hashtags. This powerful tool combines blazing-fast speed with advanced data extraction capabilities, making it perfect for social media analysts, marketers, and researchers.
You can access the Twitter Hashtag Fast Scraper: For Hashtag Data 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 "hashtag": "btc",
12 "startTime": "2024-12-07_00:00:00_UTC",
13 "endTime": "2024-12-08_23:59:59_UTC",
14 "cookies": [
15 "guest_id_ads=v1%3A173459103170387587; guest_id_marketing=v1%3A173459103170387587; twid=u%3D1831257309936537601; lang=en; night_mode=2; personalization_id=v1_U2Cdl2vRPkqTCNdZ1Q+4hg==; auth_token=a5aaafc6342a7ca1fa821e44e2a4a9f4e09d2b77; ct0=5fb0c3b8a4436d001d65d0c51e9452ba2fc38751ade084bbcc0e50d9449926fadb96b9c8bd56370fdf57b8d239fa7fb01a3553795b281025989fcf793b51bfe980620c491d2fc5dccf66461628edc1b3; kdt=WFwn9LJ767ejrUM2EarWg3oHEBYklSLTXOYNCL1C; g_state={i_l:0}; dnt=1; guest_id=v1%3A173459103170387587"
16 ],
17 "sortBy": "Latest",
18 "onlyVerifiedUsers": false,
19 "onlyBuleVerifiedUsers": false
20};
21
22// Run the Actor and wait for it to finish
23const run = await client.actor("fastcrawler/twitter-hashtag-fast-scraper-for-hashtag-data").call(input);
24
25// Fetch and print Actor results from the run's dataset (if any)
26console.log('Results from dataset');
27console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
28const { items } = await client.dataset(run.defaultDatasetId).listItems();
29items.forEach((item) => {
30 console.dir(item);
31});
32
33// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Twitter Hashtag Fast Scraper: For Hashtag Data API in JavaScript
The Apify API client for JavaScript is the official library that allows you to use Twitter Hashtag Fast Scraper: For Hashtag Data 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
36 monthly users
-
2 stars
88% runs succeeded
Created in Nov 2024
Modified 9 hours ago