Go to example tasks

Build a Sentiment Dataset by Date Range

Builds a topic dataset from X (Twitter) for sentiment analysis. Set This_exact_phrase (here 'customer service') and a start/end date, and the scraper collects matching tweets day by day with 55 fields each: fullText, language, engagement, author stats and timestamps. Feed the text and metrics into sentiment and NLP pipelines. Export to CSV or JSON.

Try for free
Twitter Advanced Search Scraper - Export X Tweets & Media
Twitter Advanced Search Scraper - Export X Tweets & Mediadelicious_zebu/ultimate-x-twitter-advanced-search-scraper
Tweet URL
Created At
Author Handle
Author Name
+51 fields
Text
Number
Boolean
List
Object

Input

This exact phrase:customer service
Start date (optional):2026-08-01
End date (optional):2026-08-31
Sort by (Top / Latest):Latest
Split mode:day
Language:en
Max items (per search):80

Output fields

Tweet URL
Created At
Author Handle
Author Name
Author Followers
Verified
Verified Type
Text
Likes
Reposts (RT+Quote)
Retweets
Quotes
Replies
Views
Bookmarks
Hashtags
Mentions
Image URLs
Video URLs
External URLs
Cashtags
Language
Is Reply
Is Retweet
Is Quote
Is Ad
Possibly Sensitive
Conversation ID
Tweet ID
In-Reply-To Handle
In-Reply-To Name
In-Reply-To URL
In-Reply-To Tweet ID
Quoted Tweet URL
Quoted Tweet ID
Quoted Text
Quoted Author Handle
Card Title
Card Description
Card Domain
Source App
Author ID
Author URL
Author Website
Author Bio
Author Location
Author Following
Author Tweet Count
Author Likes Given
Author Listed Count
Author Media Count
Author Created At
Author Profile Image
Query String
Search URL

How it works

Sign up on Apify or log in

The Twitter Advanced Search Scraper - Export X Tweets & Media Actor is ready to run with the inputs already set for "Build a Sentiment Dataset by Date Range". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Build a Sentiment Dataset by Date Range" task

The Twitter Advanced Search Scraper - Export X Tweets & Media Actor will start running based on the input automatically. You can also change all the input fields, like this exact phrase, start date (optional), and more, to match your specific use case.

Receive the "Build a Sentiment Dataset by Date Range" 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, created at, author handle, 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 "Build a Sentiment Dataset by Date Range" task via API.

Image

Integrate "Build a Sentiment Dataset by Date Range" into your workflow

Connect "Build a Sentiment Dataset by Date Range" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay