Apify Substack Scraper
VerifiedScrape Substack newsletters and articles. Use when user asks to search Substack, find newsletter posts, extract Substack content, or monitor Substack publica...
$ Add to .claude/skills/ About This Skill
# Substack Scraper
Scrape Substack newsletters using an Apify Actor via the REST API.
Actor ID `BULaGFURBV7WG3K81`
Prerequisites - `APIFY_TOKEN` environment variable must be set - `curl` and `jq` must be available
Workflow
Step 1: Confirm parameters with user Ask what they want to scrape. Supported input fields: - `urls` (array of strings) - Substack publication URLs to scrape - `maxArticles` (integer) - max articles per publication - `includeContent` (boolean) - include full article text
Step 2: Run the Actor ```bash RESULT=$(curl -s -X POST "https://api.apify.com/v2/acts/BULaGFURBV7WG3K81/run-sync-get-dataset-items?token=$APIFY_TOKEN" \ -H "Content-Type: application/json" \ -d '{"urls": ["https://example.substack.com"], "maxArticles": 20}') echo "$RESULT" | jq '.' ```
Step 3: Poll and fetch (if async) ```bash RUN_ID=$(curl -s -X POST "https://api.apify.com/v2/acts/BULaGFURBV7WG3K81/runs?token=$APIFY_TOKEN" \ -H "Content-Type: application/json" \ -d '{"urls": ["https://example.substack.com"], "maxArticles": 100}' | jq -r '.data.id') curl -s "https://api.apify.com/v2/actor-runs/$RUN_ID?token=$APIFY_TOKEN" | jq -r '.data.status' curl -s "https://api.apify.com/v2/actor-runs/$RUN_ID/dataset/items?token=$APIFY_TOKEN" | jq '.' ```
Step 4: Present results Summarize articles: titles, authors, dates, engagement. Offer JSON/CSV export.
Error Handling - If APIFY_TOKEN not set: `export APIFY_TOKEN=your_token` - If run FAILS: check log endpoint
Use Cases
- Scrape full article archives from a Substack publication for content analysis
- Monitor competitor newsletters to track topic trends and posting frequency
- Build a research corpus of long-form writing on a specific industry vertical
- Extract article metadata like titles, dates, and authors for a content database
- Aggregate multiple Substack publications into a single searchable dataset
Pros & Cons
Pros
- +Supports bulk extraction across multiple Substack URLs in one run
- +Can include full article text for deep content analysis
- +Structured JSON output simplifies integration with databases or analytics tools
Cons
- -Requires a paid Apify account and API token to operate
- -Cannot access paywalled or subscriber-only Substack content
- -Scraping speed is limited by Apify's actor execution queue
FAQ
What does Apify Substack Scraper do?
Scrape Substack newsletters and articles. Use when user asks to search Substack, find newsletter posts, extract Substack content, or monitor Substack publica...
What platforms support Apify Substack Scraper?
Apify Substack Scraper is available on Claude Code, OpenClaw.
What are the use cases for Apify Substack Scraper?
Scrape full article archives from a Substack publication for content analysis. Monitor competitor newsletters to track topic trends and posting frequency. Build a research corpus of long-form writing on a specific industry vertical.
100+ free AI tools
Writing, PDF, image, and developer tools — all in your browser.