# Substack Scraper: Newsletters, Subscriber Counts & Posts

> Scrape Substack newsletters by category leaderboard, keyword or URL: subscriber counts, bestseller rank, paid status, posting cadence, engagement, author socials and website. Plus full post archives with reactions, comments and optional full text. Only-new-posts monitoring. No login. $0.60/1K posts.

- Category: Jobs & content
- Price: $2 per 1,000 × newsletter profile, billed per result by Apify (no subscription); any other billed events are listed on the Store page. Cap any run with `maxTotalChargeUsd`.
- Store page: https://apify.com/wrenfield-data/substack-scraper?fpr=qx6tzs
- Human page: https://wrenfielddata.com/tools/substack-scraper/
- OpenAPI 3 spec: https://api.apify.com/v2/acts/wrenfield-data~substack-scraper/builds/default/openapi.json
- MCP tool: https://mcp.apify.com?tools=wrenfield-data/substack-scraper (appears as `wrenfield-data--substack-scraper`)

## Call it

Synchronous run that returns the dataset rows as JSON (use `/runs` for long jobs and poll; see the OpenAPI spec):

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/wrenfield-data~substack-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode": "publications", "categories": ["Technology"], "maxPerCategory": 25}'
```

## Input

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `mode` | string |  | `"publications"` | Newsletter profiles: one row per newsletter with subscriber count, bestseller tier, leaderboard rank, paid status, posting cadence, average engagement, author socials and website ($2 per 1,000). Posts: one row per post with date, audience, reactions, comments, restacks, word count, tags and preview ($0.60 per 1,000; $1.60 per 1,000 with full text). Both: profiles and posts in one run. |
| `categories` | array |  |  | Substack categories or subcategories, e.g. Technology, Business, Finance, Culture, Health & Wellness, Crypto, Food & Drink, Sports, Politics, Education. Each leaderboard runs hundreds deep. |
| `leaderboard` | string |  | `"paid"` | Bestsellers ranks newsletters by paid subscribers; Top includes free newsletters. |
| `maxPerCategory` | integer |  | `50` | How deep to go into each leaderboard (25 per page). |
| `searchTerms` | array |  |  | Find newsletters writing about these topics (Substack search over posts and profiles), e.g. 'AI agents', 'SaaS marketing', 'personal finance'. |
| `maxPerSearch` | integer |  | `25` | Maximum newsletters to collect for each keyword. |
| `newsletters` | array |  |  | Specific newsletters: https://name.substack.com, custom domains (www.lennysnewsletter.com), subdomains (lenny) or author handles (@lenny). |
| `maxPublications` | integer |  | `200` | Cap on newsletters processed per run, across all sources. |
| `maxPostsPerNewsletter` | integer |  | `20` | Posts mode: how many recent posts to return per newsletter (newest first). Full archives supported. |
| `postsNewerThanDays` | integer |  |  | Posts mode: skip older posts (e.g. 7 for a weekly digest). |
| `postsSince` | string |  |  | Posts mode: YYYY-MM-DD. Used when 'last N days' is empty. |
| `freePostsOnly` | boolean |  | `false` | Skip paywalled posts. |
| `includeFullText` | boolean |  | `false` | Adds bodyText (clean plain text, ready for AI pipelines) for each post. Paywalled posts return the public preview. $1.60 per 1,000 posts instead of $0.60. |
| `onlyNewPosts` | boolean |  | `false` | Remembers posts returned by earlier runs with the same inputs and returns only new ones. Schedule it daily or weekly. |

## Example input

```json
{
  "mode": "publications",
  "categories": [
    "Technology"
  ],
  "maxPerCategory": 25
}
```

## Notes

- Auth: an Apify API token as `Authorization: Bearer <token>`; the MCP server also supports OAuth sign-in.
- Failed or empty results are not charged on most tools; check the pricing on the Store page.
- Questions: hello@wrenfielddata.com
- Apify Store links on this page are referral links. They may earn us a commission, at no extra cost to you.
