Twitter Scraper
This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?
See alternative ActorsTwitter Scraper
Twitter Scraper searches and extracts data from Twitter (with historic data from 2006) - parses and converts the data to structured formats: HTML table, JSON, CSV, Excel and XML.
You can access the Twitter Scraper programmatically from your own applications by using the Apify API. You can 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.
1echo '{
2 "searchTerms": [
3 "apify"
4 ],
5 "searchMode": "live",
6 "maxTweets": 1000,
7 "maxTweetsPerQuery": 1000,
8 "maxRequestRetries": 6,
9 "handle": [
10 "@cnn"
11 ],
12 "urls": [
13 "https://twitter.com/search?q=gpt&src=typed_query&f=live"
14 ]
15}' |
16apify call microworlds/twitter-scraper --silent --output-dataset
Twitter Scraper API through CLI
The Apify CLI is the official tool that allows you to use Twitter Scraper locally, providing convenience functions and automatic retries on errors.
Install the Apify CLI
1npm i -g apify-cli
2apify login
Other API clients include: