# Scrape Substack newsletters on custom domains

**Use case:** 

Many Substack newsletters run on their own domain instead of name.substack.com. Paste the address of such a newsletter, or a link to any of its posts, and get its posts as clean data: title, date, authors, tags, reactions, comments and free or paid. No login needed. This example reads three newsletters that use their own domains.

## Input

```json
{
  "publications": [
    "https://newsletter.pragmaticengineer.com",
    "https://www.exponentialview.co",
    "https://newsletter.systemdesign.one"
  ],
  "maxPostsPerPublication": 10,
  "onlyFree": false,
  "includeBody": false,
  "onlyNewPosts": false,
  "monitorName": "default"
}
```

## Output

```json
{
  "publication": {
    "label": "Newsletter",
    "format": "text"
  },
  "date": {
    "label": "Date (UTC)",
    "format": "text"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "audience": {
    "label": "Audience",
    "format": "text"
  },
  "reactions": {
    "label": "Reactions",
    "format": "number"
  },
  "comments": {
    "label": "Comments",
    "format": "number"
  },
  "restacks": {
    "label": "Restacks",
    "format": "number"
  },
  "url": {
    "label": "Post link",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Substack Scraper: Newsletter Posts, Reactions & Monitor Actor is ready to run with the inputs already set for "Scrape Substack newsletters on custom domains". [Sign up or log in](https://console.apify.com/create-task-from-example/0u0Z2ouXmcb2aup5F) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Scrape Substack newsletters on custom domains" task

The Substack Scraper: Newsletter Posts, Reactions & Monitor Actor will start running based on the input automatically. You can also change all the input fields, like newsletters, max posts per newsletter, and more, to match your specific use case.

### 3. Receive the "Scrape Substack newsletters on custom domains" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as newsletter, date (utc), title, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Scrape Substack newsletters on custom domains" task via API](https://apify.com/webobsidians/substack-scraper.md).

## FAQ

### How do I scrape a Substack newsletter on its own domain?

The Substack custom domain task reads a newsletter on its own domain when you paste its address, for example https://newsletter.pragmaticengineer.com, or a link to any of its posts. It reads the same post list as any newsletter.

### What if the address is not a Substack newsletter?

The Substack custom domain task reports it in the run summary with an error and does not charge for it. Only newsletters that run on Substack have the post list it reads.

### How much does it cost to scrape custom domain newsletters?

The Substack custom domain task costs $1.00 per 1,000 posts plus $0.00005 per run start, with platform usage included. This example returns up to 30 posts, about $0.03.

## About this Actor

This example demonstrates how to use [Substack Scraper: Newsletter Posts, Reactions & Monitor](https://apify.com/webobsidians/substack-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/webobsidians/substack-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/webobsidians/substack-scraper.md

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`).
