X Feed Monitor avatar
X Feed Monitor

Pricing

Pay per usage

Go to Apify Store
X Feed Monitor

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

Quadruped

Maintained by Community

Actor stats

0

Bookmarked

6

Total users

3

Monthly active users

8 days ago

Last modified

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

  1. Go to console.x.ai
  2. Sign in with your X/Twitter account
  3. 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:

FieldDescription
post_idUnique post identifier
author_handleTwitter handle (@username)
textFull post content
created_atWhen the post was created
urlDirect link to the post
metricsLikes, retweets, replies, views

Input Options

FieldTypeDefaultDescription
queriesarrayrequiredKeywords, hashtags, or @mentions to search
maxResultsPerQuerynumber50Maximum posts per query (max 100)
modestringcollectcollect, analyze, or both
analysisLevelstringnonenone, light, or full
includeMetricsbooleantrueInclude engagement metrics
persistStatebooleantrueSave cursor for incremental runs
grokApiKeystring-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

ScenarioAPI CallsEst. Cost
5 queries, collect only5~$0.06
5 queries, with analysis10~$0.15
10 queries, full analysis30~$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