
Twitter X Scraper
Pay $0.50 for 1,000 results

Twitter X Scraper
Pay $0.50 for 1,000 results
Scrape Twitter (X) data efficiently with this powerful Apify Actor. Extract tweets, user profiles, and more using keywords, hashtags, URLs, and advanced search filters. Get historical data for analysis, research, and competitive intelligence. Fast, reliable, and cost-effective. #TwitterScraper
Actor Metrics
6 Monthly users
5.0 / 5 (1)
1 bookmark
>99% runs succeeded
Created in Mar 2025
Modified 12 hours ago
You can access the Twitter X 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 "startUrls": [
3 "https://twitter.com/apify",
4 "https://twitter.com/search?q=apify%20&src=typed_query"
5 ],
6 "searchTerms": [
7 "web scraping",
8 "scraping from:apify"
9 ],
10 "twitterHandles": [
11 "elonmusk",
12 "taylorswift13"
13 ],
14 "conversationIds": [
15 "1754067365707563045",
16 "1732037140111102460"
17 ],
18 "maxItems": 50,
19 "sort": "Latest",
20 "tweetLanguage": "en",
21 "start": "2021-07-01",
22 "end": "2021-07-02",
23 "customMapFunction": "(object) => { return {...object} }"
24}' |
25apify call xtdata/twitter-x-scraper --silent --output-dataset
Twitter X Scraper API through CLI
The Apify CLI is the official tool that allows you to use Twitter X 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: