Twitter Cashtag Scraper: Stock & Crypto & Sentiment Analysis avatar

Twitter Cashtag Scraper: Stock & Crypto & Sentiment Analysis

Try for free

2 hours trial then $5.99/month - No credit card required now

Go to Store
Twitter Cashtag Scraper: Stock & Crypto & Sentiment Analysis

Twitter Cashtag Scraper: Stock & Crypto & Sentiment Analysis

fastcrawler/twitter-cashtag-scraper-stock-crypto-sentiment-analysis
Try for free

2 hours trial then $5.99/month - No credit card required now

Unlock Market Sentiment with the Twitter Cashtag Scraper! Get 1,000 results for just $0.01! Track symbols with lightning-fast speed and gain a deeper understanding of the bullish or bearish sentiment driving market trends with precise data extraction and sentiment analysis.

You can access the Twitter Cashtag Scraper: Stock & Crypto & Sentiment Analysis 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    "cashtag": "pepe",
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    "sentimentAnalysis": false,
19    "onlyVerifiedUsers": false,
20    "onlyBuleVerifiedUsers": false
21};
22
23// Run the Actor and wait for it to finish
24const run = await client.actor("fastcrawler/twitter-cashtag-scraper-stock-crypto-sentiment-analysis").call(input);
25
26// Fetch and print Actor results from the run's dataset (if any)
27console.log('Results from dataset');
28console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
29const { items } = await client.dataset(run.defaultDatasetId).listItems();
30items.forEach((item) => {
31    console.dir(item);
32});
33
34// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

Twitter Cashtag Scraper: Stock & Crypto & Sentiment Analysis API in JavaScript

The Apify API client for JavaScript is the official library that allows you to use Twitter Cashtag Scraper: Stock & Crypto & Sentiment Analysis 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

  • 14 monthly users

  • 3 stars

  • 94% runs succeeded

  • Created in Nov 2024

  • Modified 14 hours ago