Scrape Twitter / X with AI
Extract tweets, user profiles, follower data, and trending topics from Twitter/X using Apify and Claude Code.
How tweet data flows across your company
One scrape generates intelligence for every department — automatically
- → Social listening reports
- → Trending topic alerts
- → Content ideas from viral threads
- → Competitor narrative tracking
- → Brand sentiment scoring
- → Share of voice analysis
- → Audience growth tracking
- → Engagement benchmarking
- → Prospect activity monitoring
- → Engagement signal detection
- → Buying intent from tweets
- → Warm intro identification
- → Social profiles linked to contacts
- → Tweet history archived
- → Interaction timeline updated
- → Social listening reports
- → Trending topic alerts
- → Content ideas from viral threads
- → Competitor narrative tracking
- → Brand sentiment scoring
- → Share of voice analysis
- → Audience growth tracking
- → Engagement benchmarking
- → Prospect activity monitoring
- → Engagement signal detection
- → Buying intent from tweets
- → Warm intro identification
- → Social profiles linked to contacts
- → Tweet history archived
- → Interaction timeline updated
Cancel your Brandwatch subscription
Brandwatch
- × Subscription fees
- × Data locked in their dashboard
- × Per-seat pricing
- × Export limits
SoloStack + Claude Code
- ✓ Pay-per-use, no subscription
- ✓ Your data in your repo
- ✓ Zero vendor lock-in
- ✓ Unlimited exports
What this skill file teaches Claude
Drop one markdown file into your repo. Claude Code learns how to run this entire workflow.
Keyword & Hashtag Search
Scrape tweets matching any keyword, phrase, or hashtag with date range filters. Find every public conversation about your brand, product, or industry.
Account Timeline Scraping
Extract the full tweet history of any public account — original tweets, replies, retweets, and quote tweets with complete engagement data.
Thread & Reply Extraction
Capture full conversation threads including all replies and nested discussions. Essential for understanding context and sentiment depth.
Engagement Metrics
Pull likes, retweets, quote tweets, reply counts, bookmark counts, and impression estimates for every tweet.
Author Profile Data
Extract tweet author profiles — follower count, bio, location, verification status, and account creation date for credibility assessment.
Media & Link Extraction
Capture embedded images, videos, GIFs, and external links shared in tweets for content analysis and competitive research.
apidojo/tweet-scraper · ~$0.60 per 1,000 tweets Build it with plain English
Tell Claude Code what to do. It handles the rest.
Scraping brand mentions from the last 7 days... ✓ 342 tweets mentioning your brand found ✓ Sentiment breakdown: 67% positive, 21% neutral, 12% negative ✓ Top positive themes: customer support (34), product quality (28), ease of use (19) ✓ Top complaints: pricing (8), onboarding confusion (6), mobile app bugs (4) ✓ 3 tweets from accounts with 50K+ followers (high visibility) Full report saved to brand-mentions-weekly.json Next: Draft responses for negative mentions or create a PR monitoring dashboard?
Extracting thought leader tweets (500 each, 10 accounts)... ✓ 4,847 tweets collected (some accounts had fewer than 500) ✓ Top topics by volume: AI/ML (892), startup fundraising (634), remote work (421) ✓ Most engaging topic: AI regulation debate (avg 2,340 likes) ✓ Rising topic: "AI agents" (+340% mention increase this month) ✓ Avg engagement per thought leader: 1,245 likes/tweet Topic analysis saved to thought-leader-topics.json Next: Create content calendar based on trending topics?
Searching 'AI agents' tweets (100+ likes, last 30 days)... ✓ 1,456 qualifying tweets found ✓ Average likes: 487 ✓ Average retweets: 89 ✓ Top contributors: @ai_researcher (23 tweets), @techfounder (18), @venturecap (15) ✓ Key narratives: autonomous workflows (34%), job displacement fears (22%), developer tools (19%) ✓ Sentiment: 58% excited/positive, 28% cautious, 14% negative Data saved to ai-agents-discourse.json Next: Identify the most influential voices to engage with?
What you can build with this
Sentiment analysis & PR monitoring
Track every mention of your brand, product, or CEO in real-time. Detect PR crises early, measure campaign reception, and identify your most vocal advocates and critics.
Audience research
Understand what your target audience talks about, who they follow, and what content resonates. Use tweet data to build audience personas grounded in actual behavior, not surveys.
Trending topic discovery
Monitor emerging conversations in your industry before they hit mainstream. Identify rising hashtags, viral threads, and shifting narratives to inform timely content creation.
Competitive intelligence
Track competitor announcements, product launches, and customer feedback in real-time. Analyze their content strategy, posting frequency, and audience engagement patterns.
Things to know
Twitter/X frequently changes their anti-scraping measures. Expect occasional 24-48 hour periods where scraping throughput is reduced while Apify updates their actors.
Tweet impressions data is only available for recent tweets (last 30 days). Older tweets will have likes, retweets, and replies but not impression counts.
Be cautious with large keyword searches — common terms like 'AI' can return millions of results. Always use date ranges and engagement minimums to filter results to a manageable volume.
Get the full skill file
Everything above is 80% of the skill file. Download the complete version with full implementation details, agent prompts, and ready-to-run scripts.
Common questions
Keep building your stack
Related Solutions
More tools and workflows from across SoloStack
Free CRM
Unlimited contacts, zero per-seat pricing. AI-managed CRM in your repo.
Free ToolFree Email Marketing
Send campaigns with Resend API. No monthly fees, no subscriber limits.
Free ToolFree Scheduling
Booking pages with Google Calendar sync. Replace Cal.com for $0/mo.
Free ToolFree Website Builder
Build with Astro + AI. Static, fast, SEO-optimized, fully customizable.
Ready to automate?
SoloStack gives you every skill pre-installed — scraping, marketing, sales, CRM, and more. One repo. Every department.
Join Waitlist →