Scrape tweets by hashtag
xtdata
Collects the latest tweets for one or more hashtags with full text, view count, likes, retweets, replies and author profile. Use it to measure campaign reach, follow an event or build a dataset for sentiment analysis.
Input
Output fields
Sign up on Apify or log in
The X.com Twitter API Scraper Actor is ready to run with the inputs already set for "Scrape tweets by hashtag". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Scrape tweets by hashtag" task
The X.com Twitter API Scraper Actor will start running based on the input automatically. You can also change all the input fields, like search terms, sort by, and more, to match your specific use case.
Receive the "Scrape tweets by hashtag" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as tweet url, text, author, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Scrape tweets by hashtag" task via API.

Yes. Add each hashtag as a separate search term. This task returns up to maxItems tweets per hashtag.
Yes. Set start and end dates in the full input of this task, or use since: and until: operators in the search term.
This task saves results to a dataset you can download as JSON, CSV, Excel or XML, or read through the Apify API.