X Feed Monitor
Pricing
Pay per usage
X Feed Monitor
Monitor X/Twitter in real-time using Grok's x_search API. Collect posts by keyword, hashtag, or @mention with engagement metrics. Optional sentiment analysis. Returns post IDs, timestamps, authors, and URLs. Perfect for brand monitoring, trend tracking, and social listening.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Quadruped
Actor stats
0
Bookmarked
6
Total users
3
Monthly active users
8 days ago
Last modified
Categories
Share
Monitor X/Twitter in real-time using Grok's x_search API. Collect posts by keyword, hashtag, or @mention with engagement metrics. Optional sentiment analysis. Perfect for brand monitoring, trend tracking, and social listening.
Features
- Real-time X/Twitter post collection via Grok x_search API
- Search by keywords, hashtags, or @mentions
- Engagement metrics (likes, retweets, replies, views)
- Optional AI-powered sentiment analysis
- Incremental sync with cursor persistence
- Webhook notifications on completion
- Cost controls and estimates
How to Use
Step 1: Get a Grok API Key
- Go to console.x.ai
- Sign in with your X/Twitter account
- Create an API key (free until June 2025)
Step 2: Configure the Actor
Enter your search queries and settings in the input:
{"queries": ["@anthropic", "#AI"],"maxResultsPerQuery": 50,"grokApiKey": "your-api-key"}
Step 3: Run and Get Results
The Actor outputs posts to the dataset with this structure:
| Field | Description |
|---|---|
post_id | Unique post identifier |
author_handle | Twitter handle (@username) |
text | Full post content |
created_at | When the post was created |
url | Direct link to the post |
metrics | Likes, retweets, replies, views |
Input Options
| Field | Type | Default | Description |
|---|---|---|---|
queries | array | required | Keywords, hashtags, or @mentions to search |
maxResultsPerQuery | number | 50 | Maximum posts per query (max 100) |
mode | string | collect | collect, analyze, or both |
analysisLevel | string | none | none, light, or full |
includeMetrics | boolean | true | Include engagement metrics |
persistState | boolean | true | Save cursor for incremental runs |
grokApiKey | string | - | Your xAI API key |
Use Cases
Brand Monitoring
Track mentions of your brand or product:
{"queries": ["@yourbrand", "\"your product\""],"mode": "both","analysisLevel": "light"}
Competitor Tracking
Monitor competitor activity:
{"queries": ["@competitor1", "@competitor2"],"mode": "collect","persistState": true}
Trend Analysis
Analyze trending topics:
{"queries": ["#trending"],"mode": "analyze","analysisLevel": "full","maxResultsPerQuery": 100}
Incremental Sync
Enable persistState to only fetch new posts on subsequent runs:
First run: Fetches latest posts, saves cursor Next runs: Only fetches posts newer than the last run
This is ideal for scheduled monitoring tasks.
Cost Estimation
| Scenario | API Calls | Est. Cost |
|---|---|---|
| 5 queries, collect only | 5 | ~$0.06 |
| 5 queries, with analysis | 10 | ~$0.15 |
| 10 queries, full analysis | 30 | ~$0.75 |
Output Example
{"post_id": "1234567890","author_handle": "username","text": "This is a post about AI","created_at": "2025-12-15T10:30:00Z","url": "https://x.com/username/status/1234567890","metrics": {"likes": 42,"retweets": 10,"replies": 5,"views": 1500},"query": "@anthropic"}
Resources
- xAI API Console - Get your API key
- Apify Documentation - Learn about scheduling and integrations