/research:apify-scrapersfrom research
Scrapes social media and web content via Apify actors: Twitter/X, Reddit, LinkedIn, Instagram, Facebook, TikTok, YouTube, Google Maps, and contact enrichment from websites.
Ships in research. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Scrape content from major social platforms using Apify actors. Each platform has optimized settings for cost and quality.
What do you want to scrape?
│
├── Social Media Posts
│ ├── Twitter/X → references/twitter.md
│ │ └── Script: scripts/scrape_twitter_ai_trends.py
│ │
│ ├── Reddit → references/reddit.md
│ │ └── Script: scripts/scrape_reddit_ai_tech.py
│ │
│ ├── LinkedIn → references/linkedin.md
│ │ └── Script: scripts/scrape_linkedin_posts.py
│ │
│ ├── Instagram → references/instagram.md
│ │ └── Script: scripts/scrape_instagram.py
│ │ └── Modes: profile, posts, hashtag, reels, comments
│ │
│ ├── Facebook → references/facebook.md
│ │ └── Script: scripts/scrape_facebook.py
│ │ └── Modes: page, posts, reviews, groups, marketplace
│ │
│ ├── TikTok → references/multi-platform.md
│ │ └── Script: scripts/scrape_multi_platform.py
│ │
│ └── YouTube → references/multi-platform.md
│ └── Script: scripts/scrape_multi_platform.py
│
├── Business/Places
│ ├── Google Maps businesses → references/google-maps.md
│ │ └── Script: scripts/scrape_google_maps.py
│ │ └── Modes: search, place, reviews
│ │
│ └── Contact info from websites → references/contact-enrichment.md
│ └── Script: scripts/scrape_contact_info.py
│ └── Extract: emails, phone numbers, social profiles
│
├── Auto-detect URL type → references/url-detect.md
│ └── Script: scripts/scrape_content_by_url.py
│
├── Trend Analysis (NEW)
│ └── Enriched trend analysis → workflows/trend-analysis.md
│ └── Script: scripts/analyze_trends.py
│ └── Features: velocity scoring, lifecycle staging, opportunity scoring
│
└── Workflows (multi-step)
├── Lead generation → workflows/lead-generation.md
├── Influencer discovery → workflows/influencer-discovery.md
├── Competitor analysis → workflows/competitor-intel.md
├── Trend analysis → workflows/trend-analysis.md
└── Competitor Ads Intelligence (NEW) → workflows/competitor-ads.md
└── Script: scripts/scrape_competitor_ads.py
└── Platforms: Facebook Ads Library, Google Ads Transparency
└── Features: Spend estimates, creative analysis, benchmarking
# Required in .env
APIFY_TOKEN=apify_api_xxxxx
Get your API key: https://console.apify.com/account/integrations
python scripts/scrape_twitter_ai_trends.py --query "AI agents" --max-tweets 50
python scripts/scrape_reddit_ai_tech.py --subreddits "MachineLearning,LocalLLaMA" --max-posts 100
python scripts/scrape_linkedin_posts.py author "https://linkedin.com/in/username" --max-posts 30
python scripts/scrape_content_by_url.py "https://x.com/user/status/123456"
python scripts/scrape_instagram.py profile "https://instagram.com/username" --max-posts 20
python scripts/scrape_instagram.py hashtag "#artificialintelligence" --max-posts 50
python scripts/scrape_instagram.py reels "https://instagram.com/username" --max-reels 30
python scripts/scrape_facebook.py page "https://facebook.com/pagename" --max-posts 50
python scripts/scrape_facebook.py reviews "https://facebook.com/pagename" --max-reviews 100
python scripts/scrape_facebook.py marketplace "laptops in san francisco" --max-items 30
python scripts/scrape_google_maps.py search "AI consulting firms in New York" --max-results 50
python scripts/scrape_google_maps.py reviews "ChIJN1t_tDeuEmsRUsoyG83frY4" --max-reviews 100
python scripts/scrape_contact_info.py "https://example.com" --depth 2
python scripts/scrape_contact_info.py --urls-file companies.txt --output contacts.json
python scripts/scrape_competitor_ads.py "Nike" --platforms facebook google --country US --days 30
python scripts/scrape_competitor_ads.py "Nike" "Adidas" "Puma" --compare --output comparison.json
python scripts/scrape_competitor_ads.py --search "running shoes" --country US --max-ads 200
python scripts/scrape_competitor_ads.py "Netflix" "Disney+" --platforms facebook --media-types video --days 7
# Analyze specific topic with enrichments
python scripts/analyze_trends.py "artificial intelligence" --sources google instagram tiktok --days 90
# Discover trending topics in category
python scripts/analyze_trends.py --category technology --discover --top 50
# Compare multiple trends
python scripts/analyze_trends.py "AI" "blockchain" "metaverse" --compare
# Export HTML trend report
python scripts/analyze_trends.py "sustainable fashion" --format html --output trend_report.html
| Platform | Actor | Cost per Item |
|---|---|---|
| kaitoeasyapi/twitter-x-data-tweet-scraper | ~$0.00025 | |
| trudax/reddit-scraper | ~$0.001-0.005 | |
| harvestapi/linkedin-post-search | ~$0.01-0.05 | |
| YouTube | streamers/youtube-scraper | ~$0.01-0.05 |
| TikTok | clockworks/tiktok-scraper | ~$0.005 |
| Instagram (profile) | apify/instagram-profile-scraper | ~$0.005 |
| Instagram (posts) | apify/instagram-post-scraper | ~$0.002-0.005 |
| Instagram (hashtag) | apify/instagram-hashtag-scraper | ~$0.002-0.005 |
| Instagram (reels) | apify/instagram-reel-scraper | ~$0.005-0.01 |
| Instagram (comments) | apify/instagram-comment-scraper | ~$0.001-0.003 |
| Facebook (page) | apify/facebook-pages-scraper | ~$0.005-0.01 |
| Facebook (posts) | apify/facebook-posts-scraper | ~$0.003-0.005 |
| Facebook (reviews) | apify/facebook-reviews-scraper | ~$0.002-0.005 |
| Facebook (groups) | apify/facebook-groups-scraper | ~$0.005-0.01 |
| Facebook (marketplace) | apify/facebook-marketplace-scraper | ~$0.005-0.01 |
| Google Maps (search) | compass/crawler-google-places | ~$0.01-0.02 |
| Google Maps (place) | compass/google-maps-business-scraper | ~$0.01 |
| Google Maps (reviews) | compass/google-maps-reviews-scraper | ~$0.003-0.005 |
| Contact Enrichment | lukaskrivka/contact-info-scraper | ~$0.01-0.03 |
| Google Trends | apify/google-trends-scraper | ~$0.01 |
| Trend Analysis (multi) | Multiple actors | ~$0.50-1.50/run |
| Facebook Ads Library | apify/facebook-ads-scraper | ~$0.75/1K ads |
| Facebook Ads (alt) | curious_coder/facebook-ads-library-scraper | ~$0.50/1K ads |
| Google Ads Transparency | lexis-solutions/google-ads-scraper | ~$1.00/1K ads |
| Google Ads (alt) | xtech/google-ad-transparency-scraper | ~$0.80/1K ads |
All scraped data saves to .tmp/ with timestamped filenames:
.tmp/twitter_ai_trends_YYYYMMDD.json.tmp/reddit_ai_tech_YYYYMMDD.json.tmp/linkedin_posts_YYYYMMDD_HHMMSS.jsonAPIFY_TOKEN in .env file (never commit to git).tmp/ directorySymptoms: Script terminates with "Actor run failed" or timeout error Cause: Invalid actor ID, insufficient proxy credits, or actor configuration issue Solution:
Symptoms: Script completes but returns 0 items Cause: Content blocked by platform, invalid query, or proxy being detected Solution:
Symptoms: Script fails with 429 errors or "rate limited" messages Cause: Too many requests in a short time period Solution:
Symptoms: Authentication error or "invalid token" message Cause: Token expired, revoked, or incorrectly set Solution:
.env fileAPIFY_TOKEN environment variable is loadedSymptoms: Connection timeout or proxy errors Cause: Proxy pool exhausted or geo-restriction issues Solution:
Skills: apify-scrapers → parallel-research Use case: Scrape social media posts, then enrich with deep research Flow:
Skills: apify-scrapers → content-generation Use case: Create newsletter content from social media trends Flow:
Skills: apify-scrapers → google-workspace Use case: Save scraped data to Google Drive for team access Flow:
Skills: apify-scrapers (trend-analysis) → content-generation Use case: Identify trending topics and create content strategy Flow:
python scripts/analyze_trends.py "AI productivity" --sources allSkills: apify-scrapers (trend-analysis) → parallel-research Use case: Monitor competitor visibility in trending topics Flow:
python scripts/analyze_trends.py --category "your-industry" --discoverreferences/contact-enrichment.md (opens in a new tab)references/facebook.md (opens in a new tab)references/google-maps.md (opens in a new tab)references/instagram.md (opens in a new tab)references/linkedin.md (opens in a new tab)references/multi-platform.md (opens in a new tab)references/reddit.md (opens in a new tab)references/twitter.md (opens in a new tab)references/url-detect.md (opens in a new tab)references/workflows/audience-analysis.md (opens in a new tab)references/workflows/competitor-ads.md (opens in a new tab)references/workflows/competitor-intel.md (opens in a new tab)references/workflows/influencer-discovery.md (opens in a new tab)references/workflows/lead-generation.md (opens in a new tab)references/workflows/trend-analysis.md (opens in a new tab)scripts/analyze_audience.py (opens in a new tab)scripts/analyze_trends.py (opens in a new tab)scripts/discover_influencers.py (opens in a new tab)scripts/enrich_contacts.py (opens in a new tab)scripts/scrape_competitor_ads.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub casper-studios/casper-marketplace --plugin research2 skills in this plugin
Other plugins' skills for the same job