# Substack Scraper: Newsletter Posts & Full Text (`lowcountrytech/substack-posts-scraper`) Actor

Scrape the latest posts from any Substack newsletter: title, subtitle, link, date, author, cover image, a paywall flag, and the full text of free posts. Reads each publication's public RSS feed, custom domains included. No login. Pay only per post.

- **URL**: https://apify.com/lowcountrytech/substack-posts-scraper.md
- **Developed by:** [Lowcountry Tech Solutions LLC](https://apify.com/lowcountrytech) (community)
- **Categories:** News, Marketing, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 1,000 posts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

Scrape recent posts from any list of Substack newsletters into clean, structured data: titles, subtitles, dates, bylines, cover images, a paywall flag, and the full text of free posts.

**No login · No proxy needed · JSON, CSV, Excel or API · Tested daily**

Sample output from the default input:

| Publication | Title | Published at | Author | Is paywalled |
|---|---|---|---|---|
| Marcus on AI | Generative AI in disarray | 2026-10-15 | Gary Marcus | yes |
| Marcus on AI | It remains “very difficult \[to find] actual, ma… | 2026-10-14 | Gary Marcus | no |
| Marcus on AI | Could this be the Frontier Labs’ WeWork moment? | 2026-10-13 | Gary Marcus | yes |

### What does Substack Scraper do?

Give the actor a list of Substack publications (names, addresses, custom domains or post links). For each one it reads the publication's public RSS feed, the same feed newsletter readers subscribe to, and returns one record per post. Free posts come with their full text; for paid posts the feed carries only the preview, and the actor flags them. It never logs in and never touches anything behind the paywall.

- Works with `name.substack.com` publications and custom domains
- Full plain text of free posts, cleaned of subscribe buttons and widgets; HTML optional
- Paywall flag on every post, so you can separate free from paid content
- Keyword and date filters for monitoring
- No login, no cookies, no browser

### Who is it for?

- Newsletter analysts tracking what a set of writers publish, how often, and how much is paywalled
- Marketing and PR teams monitoring newsletters in their industry for mentions of a brand or topic
- Researchers building a corpus of recent posts from selected publications
- AI agents and pipelines that need clean post text and metadata instead of raw feed XML
- Writers benchmarking their publishing cadence against peers

### How much does it cost?

This actor uses **pay-per-event** pricing, so you pay only for what you get:

| Event | Price |
|---|---|
| Post (per post) | $0.001 ($1.00 per 1,000) |
| Actor start (per run) | $0.00005 |

Paid Apify plans get the Store's discount tiers on the post price: $0.90 per 1,000 at Bronze, $0.80 at Silver, and $0.70 at Gold and above.

The default input returns up to 30 posts, which costs about $0.03. Apify's free plan includes monthly credit that covers thousands of posts. Set **Maximum posts** or a maximum cost per run to cap spending.

### How to use it

1. Click **Try for free**.
2. Add publications to **Publications** (names like `garymarcus` or full URLs).
3. Optionally add keywords or a **Published after** date.
4. Click **Start**, then download the posts as JSON, CSV, Excel or HTML, or read them via the API.
5. Schedule it daily with **Published after** set to a recent date to collect only new posts.

### Input

| Field | Type | Description | Default |
|---|---|---|---|
| `publications` | array of strings | Substack publication names (`garymarcus`), addresses (`https://garymarcus.substack.com`), custom domains (`https://www.lennysnewsletter.com`), or any post link from the publication. | `["garymarcus","https://www.lennysnewsletter.com"]` |
| `includeContent` | boolean | Include the post body as plain text. For paid posts the feed carries only the free preview. | `true` |
| `includeHtml` | boolean | Also include the post body as HTML, exactly as the feed provides it. | `false` |
| `keywords` | array of strings | Keep only posts whose title, subtitle or text contains any of these words (case-insensitive). Leave empty for all posts. | `[]` |
| `publishedAfter` | string | Keep only posts published after this date, e.g. `2026-01-01` or `2026-10-01T00:00:00Z`. Leave empty for all. Useful for scheduled runs. | `""` |
| `maxItems` | integer | Stop after this many posts. You are charged per post, so this also caps the cost of a run. Use 0 for no limit. | `30` |
| `proxyConfiguration` | object | Optional. The target is a public page or API and normally works without a proxy. | `{"useApifyProxy":false}` |

Example input:

```json
{
  "publications": [
    "garymarcus",
    "https://www.lennysnewsletter.com"
  ],
  "includeContent": true,
  "includeHtml": false,
  "keywords": [],
  "publishedAfter": "",
  "maxItems": 30
}
```

### Output

Each post is one record in the dataset:

| Field | Type | Description |
|---|---|---|
| `publication` | string | Publication name from the feed. |
| `publicationUrl` | string or null | Publication home page. |
| `feedUrl` | string | The RSS feed the post was read from. |
| `title` | string | Post title. |
| `subtitle` | string or null | Post subtitle (the feed's description). |
| `url` | string | Link to the post. |
| `publishedAt` | string or null | Publication date (ISO 8601). |
| `author` | string or null | Byline as published in the feed. |
| `imageUrl` | string or null | Cover image of the post. |
| `isPaywalled` | boolean | Heuristic: true when the feed carries only a preview of the post that ends in a "Read more" link, which Substack does for paid posts. |
| `contentText` | string or null | Post body as plain text (the free preview for paid posts). Null when Include post text is off. |
| `contentHtml` | string or null | Post body as HTML. Null unless Include post HTML is on. |
| `scrapedAt` | string | When this record was scraped (ISO 8601). |

Sample:

```json
[
  {
    "publication": "Marcus on AI",
    "publicationUrl": "https://garymarcus.substack.com",
    "feedUrl": "https://garymarcus.substack.com/feed",
    "title": "Generative AI in disarray",
    "subtitle": "Seven brief items from Delhi.",
    "url": "https://garymarcus.substack.com/p/generative-ai-in-disarray",
    "publishedAt": "2026-10-15T01:32:36.000Z",
    "author": "Gary Marcus",
    "imageUrl": "https://substackcdn.com/image/fetch/$s_!pw7W!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fpbs.substack.com%2Fmedia%2FHUmNsg0aEAAaJzy.jpg",
    "isPaywalled": true,
    "contentText": "Tech stocks were hit hard yesterday. CoreWeave, with its growing debt problems, took the hardest hit, down over 15% in one day.",
    "contentHtml": null,
    "scrapedAt": "2026-10-20T12:00:00.000Z"
  },
  {
    "publication": "Marcus on AI",
    "publicationUrl": "https://garymarcus.substack.com",
    "feedUrl": "https://garymarcus.substack.com/feed",
    "title": "It remains “very difficult [to find] actual, materially measurable financial impacts” from spending on AI, per new study",
    "subtitle": "Yet another study pointing in the same direction",
    "url": "https://garymarcus.substack.com/p/it-remains-very-difficult-to-find",
    "publishedAt": "2026-10-14T01:29:11.000Z",
    "author": "Gary Marcus",
    "imageUrl": "https://substackcdn.com/image/fetch/$s_!JdDw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169fb08d-1d9e-4738-a78e-7848573e43ca_1009x1422.png",
    "isPaywalled": false,
    "contentText": "Greetings from New Delhi.\n\nIn an emailed newsletter, Laura Bratton at The Information has reported on a new study (direct link not available):\n\nAnybody remember back in early 2023, when people imagined that ChatGPT was going to 10x every employee’s productivity and radically boost the GDP’s of entir…",
    "contentHtml": null,
    "scrapedAt": "2026-10-20T12:00:00.000Z"
  }
]
```

### Limitations

- Only the posts in the public RSS feed (usually the latest 20 per publication); no archive, comments, likes or subscriber counts.
- Paid posts include only the free preview text.
- Author is the byline exactly as the feed gives it.

### FAQ

**How many posts do I get per publication?**

As many as the publication's RSS feed lists, which on Substack is usually the most recent 20 posts. The actor reads the feed only, so it does not reach older archive posts.

**Can it read paid posts?**

Substack Scraper reads only what Substack publishes in the public feed, so a paid post comes with its free preview only and is flagged with `isPaywalled: true`.

**How is isPaywalled worked out?**

Substack truncates paid posts in the feed and ends them with a "Read more" link to the post. The flag is true when a post's feed content ends that way. It is a heuristic, not an official field.

**Is it legal to scrape this data?**

Substack Scraper reads only publicly available, non-personal newsletter-post data from each Substack publication's public RSS feed, without logging in and at a polite request rate. It respects robots.txt. You are responsible for how you use the results; check the target's terms and the laws that apply to you. If you are unsure, ask a lawyer.

**Can I call it from my own code, Make, Zapier, n8n, or an AI agent?**

Substack Scraper has an HTTP API, official JavaScript and Python clients, and integrations with Make, Zapier, n8n and LangChain. AI agents can run it as a tool through the Apify MCP server: add `https://mcp.apify.com?tools=lowcountrytech/substack-posts-scraper` to your MCP client and the actor becomes the tool `lowcountrytech--substack-posts-scraper`. Set `maxTotalChargeUsd` in the call options to cap what one run can cost.

**Something broke or a field is missing. What now?**

Open an issue on the Issues tab with the input you used. The actor is tested daily and repaired quickly when the source site changes.

***

Substack Scraper is an independent tool. It is not affiliated with, endorsed by, or sponsored by Substack. Substack is a trademark of its owner.

# Actor input Schema

## `publications` (type: `array`):

Substack publication names (`garymarcus`), addresses (`https://garymarcus.substack.com`), custom domains (`https://www.lennysnewsletter.com`), or any post link from the publication.

## `includeContent` (type: `boolean`):

Include the post body as plain text. For paid posts the feed carries only the free preview.

## `includeHtml` (type: `boolean`):

Also include the post body as HTML, exactly as the feed provides it.

## `keywords` (type: `array`):

Keep only posts whose title, subtitle or text contains any of these words (case-insensitive). Leave empty for all posts.

## `publishedAfter` (type: `string`):

Keep only posts published after this date, e.g. `2026-01-01` or `2026-10-01T00:00:00Z`. Leave empty for all. Useful for scheduled runs.

## `maxItems` (type: `integer`):

Stop after this many posts. You are charged per post, so this also caps the cost of a run. Use 0 for no limit.

## `proxyConfiguration` (type: `object`):

Optional. The target is a public page or API and normally works without a proxy.

## Actor input object example

```json
{
  "publications": [
    "garymarcus",
    "https://www.lennysnewsletter.com"
  ],
  "includeContent": true,
  "includeHtml": false,
  "keywords": [],
  "publishedAfter": "",
  "maxItems": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "publications": [
        "garymarcus",
        "https://www.lennysnewsletter.com"
    ],
    "maxItems": 30,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("lowcountrytech/substack-posts-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "publications": [
        "garymarcus",
        "https://www.lennysnewsletter.com",
    ],
    "maxItems": 30,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("lowcountrytech/substack-posts-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "publications": [
    "garymarcus",
    "https://www.lennysnewsletter.com"
  ],
  "maxItems": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call lowcountrytech/substack-posts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lowcountrytech/substack-posts-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/0UHUHTouSfSvLP62h/builds/lStX5aLvjRPmNhOAe/openapi.json
