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 "night_mode=2; twid=u%3D1831257309936537601; guest_id_ads=v1%3A173373551718749812; guest_id_marketing=v1%3A173373551718749812; personalization_id=v1_aKAcj9gErREiJ+BsfZbFHg==; lang=en; ct0=1b56179552a980139704386d00527c52cf0fbe081ac88b8375671a80229b6ce01efe47b24ed3cb90876511721f71df638e334b0cc7535f69f216eac9c8119730514b9265516ae133b069e8bea7a362cd; auth_token=f2eb7411f55b5c2490e87097a39cfbf526d707cd; kdt=WFwn9LJ767ejrUM2EarWg3oHEBYklSLTXOYNCL1C; g_state={i_l:0}; gt=1866048128824308117; guest_id=173373551718749812"
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
42 monthly users
-
2 stars
80% runs succeeded
Created in Nov 2024
Modified 5 days ago