# Substack Newsletter Posts Scraper (`myagizm/substack-scraper`) Actor

Collect public Substack newsletter posts by publication. Export post titles, canonical links, authors, dates, descriptions, and public reaction or comment counts when available. No Substack login is required.

- **URL**: https://apify.com/myagizm/substack-scraper.md
- **Developed by:** [MYM](https://apify.com/myagizm) (community)
- **Categories:** News, Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 92.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.25 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Substack Newsletter Posts Scraper (No API Key, No Login)

<p align="center">
  <a href="https://apify.com/myagizm"><img src="https://img.shields.io/badge/Apify-Actor-00a2ff" alt="Apify Actor"></a>
  <img src="https://img.shields.io/badge/no-API%20key-green" alt="No API key">
  <img src="https://img.shields.io/badge/no-login-green" alt="No login">
  <img src="https://img.shields.io/badge/public-data-only-blue" alt="Public data only">
  <img src="https://img.shields.io/badge/pay-per-result-orange" alt="Pay per result">
  <img src="https://img.shields.io/badge/JSON%20%7C%20CSV%20%7C%20Excel-export-blue" alt="Export formats">
</p>

**Substack Newsletter Posts Scraper** collects public substack content and places each result in an Apify dataset row. Use it for source discovery, editorial research, public content monitoring, and repeatable exports. You do not need to provide a platform login or API key. Every row keeps its source URL so you can review the underlying page.

> Start with one small input. You pay per result row returned, not for an empty request.

### Table of contents

- [What it does](#what-it-does)
- [Who uses it](#who-uses-it)
- [Output fields](#output-fields)
- [How to run it](#how-to-run-it)
- [Input recipes](#input-recipes)
- [Output example](#output-example)
- [Pricing](#pricing)
- [Limits and data quality](#limits-and-data-quality)
- [Automation and API](#automation-and-api)
- [MCP and integrations](#mcp-and-integrations)
- [FAQ](#faq)
- [Related searches](#related-searches)
- [Disclaimer](#disclaimer)
- [Resources](#resources)

### What it does

Substack Newsletter Posts Scraper collects public posts from one or more publication feeds. Rows include the post title, canonical link, byline, date, and public summary or counts when the publication exposes them. It does not sign in or retrieve member-only article text.

- Finds public records from the inputs supported by the form.
- Returns structured rows instead of a page of unlabelled text.
- Keeps the source query or publication alongside each row where that field applies.
- Provides canonical links for review and downstream enrichment.
- Stops at the requested cap; it does not promise that every source contains that many records.
- Leaves fields null or empty when the public source does not provide them.

This Actor is for public information. It does not sign in, access private profiles, bypass a paywall, or claim to reproduce hidden analytics. Data availability depends on the public source at run time.

### Who uses it

- Researchers who need a small, repeatable sample from a public content source.
- Editorial and trend teams comparing public topics and publication feeds.
- Product teams building a dataset for manual review or a separate analysis step.
- Developers who want JSON rows instead of writing a one-off feed request.
- Analysts who schedule periodic snapshots and compare the source links over time.

### Output fields

The dataset view is designed for quick inspection. Full JSON retains the same row fields.

| Field | Type | Description |
|---|---|---|
| `publication` | string | Publication slug or host supplied in the input. Always populated. |
| `publicationUrl` | URL | Resolved public publication origin. Always populated for accepted rows. |
| `title` | string | Post title from the public response. Always populated for accepted rows. |
| `url` | URL | Canonical post link when supplied; otherwise a public URL formed from the post slug. |
| `subtitle` | string | Public subtitle or description when present. |
| `description` | string | Plain-text public summary when the source provides it. |
| `author` | string | Public byline names, when included. |
| `publishedAt` | date string | Publication timestamp supplied by the source. |
| `likes` | integer or null | Public reaction total when the source exposes it; RSS fallback may leave it null. |
| `commentCount` | integer or null | Public comment count when available. |

Always-populated fields identify the returned item and its public source. Fields described as “when present” follow the source response; the Actor does not infer missing engagement numbers, authors, categories, or text. Empty categories and null counts are valid source outcomes.

### How to run it

1. Open the Input tab and choose one or more public targets.
2. Keep the default maximum for a first test or lower it for a short sample.
3. Click **Start** and wait for the run to finish.
4. Open the default dataset. Use the `posts` view for a readable table or download the full JSON.
5. Check a few canonical URLs before using the rows in another system.

The prefilled input is a working example. Replace it with your target values; do not paste account passwords, cookies, or private data into the input.

#### Input example

```json
{
  "publications": [
    "platformer"
  ],
  "maxPerPub": 3
}
```

Each list entry is a separate source. `maxItems` or `maxPerSource` / `maxPerPub` is a maximum, not a promise of that many rows. The Actor preserves the source label on each returned item so multi-source runs remain auditable.

### Input recipes

| Goal | Input pattern | What to expect |
|---|---|---|
| Read one newsletter | `publications=["platformer"], maxPerPub=10` | Returns recent public posts from a Substack publication. |
| Read several publications | `publications=["platformer","bigtechnology"], maxPerPub=10` | Each row keeps the publication slug and resolved public origin. |
| Use a custom domain | `publications=["example.com"], maxPerPub=10` | A public custom-domain publication can be entered as a hostname or URL. |
| Collect a quick sample | `publications=["theprofile"], maxPerPub=3` | A small per-publication cap is useful for checking output fields. |
| Track a newsletter list | `publications=["notboring","thehustle","chartr"], maxPerPub=5` | The cap is applied per publication; the free-plan quota still limits the total requested rows. |

For repeat use, save a task with the input you have validated. Keep the cap close to the size of the dataset you actually need; a larger cap does not make a source return more data than it exposes.

### Output example

The example below is a real row from a live source run. Optional values can differ on later runs.

```json
{
  "publication": "platformer",
  "publicationUrl": "https://platformer.substack.com",
  "title": "Why Platformer is leaving Substack",
  "subtitle": "We’ve seen this movie before — and we won’t stick around to watch it play out",
  "description": "We’ve seen this movie before — and we won’t stick around to watch it play out",
  "url": "https://platformer.substack.com/p/why-platformer-is-leaving-substack",
  "author": "Casey Newton",
  "publishedAt": "2024-01-12T01:00:49.665Z",
  "likes": 728,
  "commentCount": 58
}
```

A result row is not a license to republish the source material. Follow the linked source’s terms and any applicable rights or privacy rules.

### Pricing

This Actor uses pay-per-event pricing. The event is one result row in the default dataset. There is no separate Actor-start event.

| Item | Price |
|---|---:|
| One returned result row | $0.00025 |
| 1,000 returned result rows | $0.25 |
| Empty or rejected request | $0 in result events |

The run’s input cap and Apify’s run charge limit help you control spend. On the free Apify plan, this Actor allows up to 40 requested result rows per Apify user per UTC day. The requested amount counts even when the source returns fewer rows, and the allowance resets at 00:00 UTC. Paid Apify plans are not limited by this free-plan rule. Result charges are based on rows delivered, not on a guessed count.

### Limits and data quality

- Only data available publicly at run time is returned.
- Search ranking, feed windows, publication settings, and fields can change without notice.
- Optional fields may be null. This is preferable to manufacturing a value that the source did not provide.
- A run cap limits output work; it cannot force a source to produce more results.
- Invalid or empty targets return no billable rows and fail clearly rather than showing a successful zero-row result.
- A transient source error can prevent a run from completing. Retry later with the same public input; do not add credentials to get around an explicit access wall.
- A free-plan daily allowance counts requested results. Repeating the same request does not refund previously reserved quota.

### Automation and API

#### Start an asynchronous run

```bash
curl -X POST   "https://api.apify.com/v2/acts/ACTOR_ID/runs?token=$APIFY_TOKEN&maxTotalChargeUsd=0.05"   -H "Content-Type: application/json"   -d '{  "publications": [    "platformer"  ],  "maxPerPub": 3}'
```

#### Wait for a run

```bash
curl -X POST   "https://api.apify.com/v2/acts/ACTOR_ID/runs?waitForFinish=300&token=$APIFY_TOKEN"   -H "Content-Type: application/json"   -d '{  "publications": [    "platformer"  ],  "maxPerPub": 3}'
```

#### Download the dataset

```bash
curl "https://api.apify.com/v2/datasets/DATASET_ID/items?clean=true&format=json&token=$APIFY_TOKEN"
```

Use your own Apify API token in your shell or secret manager. Do not paste it into Actor input, public issues, or shared logs. The API examples use placeholders; `ACTOR_ID`, `DATASET_ID`, and `APIFY_TOKEN` must be replaced with values from your Apify account.

### MCP and integrations

You can run the Actor from Apify Console, the Apify API, an Apify schedule, or a workflow tool that can call Apify Actors. If your AI client is connected to Apify MCP, invoke this Actor by its Apify actor ID and pass the same JSON input shown above. Treat the returned URLs as source links and review them before sending data to another service.

For an automation, store the Apify token in the platform’s secret store. Keep the input small while testing, then increase the cap only after checking actual row counts and run costs. A saved task is useful when the source list and cap stay the same between runs.

### FAQ

#### What does one billable result mean?

One post row pushed to the dataset. The Actor does not charge for a publication request that returns no valid post rows.

#### Does it require a Substack login?

No. It reads public publication data and does not ask for an account, session cookie, or password.

#### Does it return the entire paid article?

No. It returns public post metadata and any short public description exposed by the source. It does not bypass member access.

#### What publication value should I use?

Use a Substack slug such as platformer, a full host such as example.com, or a public publication URL.

#### Can I collect posts from a custom domain?

Yes, if the public site exposes the post API or RSS feed. Supply the hostname or full URL.

#### Why are likes or comments null?

Those values are not present in every public response. The Actor leaves missing counts null rather than inventing them.

#### Why do some rows have source values missing?

This version does not expose the retrieval method in customer rows. It returns the content fields supplied by the public source.

#### Does it include publication subscriber counts?

No. The output schema focuses on post rows, not private subscriber metrics or publication analytics.

#### Can I scrape comments?

This version returns post-level metadata and public comment counts when present. It does not collect comment text.

#### How many posts can one input request?

maxPerPub is capped at 100 for each publication. The free Apify plan also has a daily requested-result allowance; paid plans are not capped by that free-plan rule.

#### Why did an older newsletter return no rows?

A publication can have an empty feed, a changed host, or no public posts. Confirm the slug and try the public publication URL.

#### Are drafts included?

No. Only posts exposed publicly by the publication are returned.

#### Can I schedule this Actor?

Yes. Use a saved task or schedule, choose a cadence, and keep maxPerPub bounded to the number of new rows you need.

#### Can I export the dataset?

Yes. Apify can export dataset rows as JSON, CSV, Excel, and other supported formats.

#### What happens with an invalid publication?

The Actor fails cleanly with no dataset result rows, so an invalid target does not create a result charge.

#### Is the publication URL always Substack.com?

No. A publication may use a custom domain. The resolved publicationUrl shows the public origin used for the row.

#### Can I call it through an API?

Yes. Use the Apify Actor run and dataset endpoints or an Apify MCP client.

#### How current is publishedAt?

It is the timestamp supplied by the publication. Time zones and formatting may reflect the source response.

#### Can I use the content for commercial mailing?

Check the publication’s terms and applicable privacy rules. Public access is not permission to republish or send unsolicited mail.

#### Where should I report a regression?

Use the Actor’s Issues tab and include the run ID, publication input, and a public example URL.

### Related searches

substack scraper · substack posts scraper · substack newsletter scraper · substack publication scraper · substack post metadata scraper · substack article links exporter · substack newsletter posts api · substack public posts json · substack author byline scraper · substack post date export · substack reaction count scraper · substack comment count scraper · platformer newsletter posts · big technology newsletter posts · the profile newsletter posts · not boring newsletter posts · the hustle newsletter archive · chartr newsletter posts · the generalist newsletter posts · one useful thing newsletter · every newsletter posts · the ankler newsletter posts · net interest newsletter posts · morning brew newsletter posts · public substack feed reader · substack rss to json · substack posts csv export · substack newsletter monitoring · substack content research dataset · substack public post links

### Disclaimer

This is an independent data utility and is not affiliated with or endorsed by Substack. It accesses public information only. You are responsible for following the source platform’s terms, respecting creator rights, and complying with privacy and data-protection laws such as GDPR and CCPA. Do not use the output to identify, profile, or contact people in ways that violate law or the source’s rules.

### Resources

- [Apify API documentation](https://docs.apify.com/api/v2)
- [Run Actors and retrieve data](https://docs.apify.com/platform/integrations/actor-run)
- [Dataset exports](https://docs.apify.com/platform/storage/dataset)
- [Schedules](https://docs.apify.com/platform/schedules)
- [Apify MCP](https://docs.apify.com/platform/integrations/mcp)
- [Other public Actors by myagizm](https://apify.com/myagizm)

***

### 中文说明

## Substack Newsletter Posts Scraper：公开内容采集器

本工具通过公开页面或订阅源读取 Substack 内容，并将每条结果保存为 Apify 数据集中的独立记录。可用于内容研究、公开信息监控、编辑选题和定期导出。输入中不需要账号密码、Cookie 或平台 API 密钥。每条记录都会保留公开来源链接，方便人工核对。

> 建议先用一个小输入运行。只按实际写入数据集的结果行计费；空结果不会产生结果事件费用。

#### 目录

- [功能](#功能)
- [适用人群](#适用人群)
- [输出字段](#输出字段-1)
- [运行步骤](#运行步骤)
- [输入示例](#输入示例)
- [结果示例](#结果示例)
- [价格与额度](#价格与额度)
- [数据范围与质量](#数据范围与质量)
- [API 与自动化](#api-与自动化)
- [常见问题](#常见问题)
- [相关搜索](#相关搜索)
- [免责声明](#免责声明)
- [资源](#资源)

#### 功能

Substack Newsletter 帖子采集器可读取一个或多个公开出版物 Feed，并返回文章标题、规范链接、作者署名、日期及来源公开提供的摘要或互动数。它不会登录，也不会读取仅会员可见的正文。

- 按输入表单支持的公开目标查询数据。
- 将结果整理成字段明确的 JSON 数据行，便于筛选和导出。
- 在适用时保留搜索词、作者、标签或出版物等来源信息。
- 为每条结果提供公开页面链接，便于复核。
- 按输入上限控制返回行数；上限不是结果数量保证。
- 来源没有公开某个字段时保留空值，不猜测互动数或作者信息。

本工具只处理公开数据，不登录账号、不访问私人资料、不绕过付费墙，也不声称可以取得隐藏的分析数据。结果取决于来源在运行时公开提供的内容。

#### 适用人群

- 需要从公开内容源获取少量结构化样本的研究人员。
- 对比公开主题、文章或出版物 Feed 的编辑与内容团队。
- 将公开数据送入人工审阅或后续分析流程的产品团队。
- 希望直接获取 JSON 行，而不想维护一次性抓取代码的开发者。
- 需要按固定周期保存快照并比较公开链接的分析人员。

#### 输出字段

| 字段 | 类型 | 说明 |
|---|---|---|
| `publication` | 字符串 | 输入中的出版物 slug 或主机名。有效结果始终提供。 |
| `publicationUrl` | 链接 | 解析出的公开出版物站点。有效结果始终提供。 |
| `title` | 字符串 | 公开响应中的文章标题。有效结果始终提供。 |
| `url` | 链接 | 规范文章链接；来源提供时直接使用，否则根据公开 slug 组成链接。 |
| `subtitle` | 字符串 | 公开副标题或描述（如有）。 |
| `description` | 字符串 | 来源提供的纯文本公开摘要（如有）。 |
| `author` | 字符串 | 公开署名名称（如有）。 |
| `publishedAt` | 日期字符串 | 来源提供的发布时间。 |
| `likes` | 整数或空值 | 来源公开的互动总数；RSS 回退时可能为空。 |
| `commentCount` | 整数或空值 | 公开评论数量（如有）。 |

标记为始终提供的字段用于识别结果和公开来源。标记为“来源提供时出现”的字段取决于原始公开响应；工具不会补造缺失的作者、类别、互动数或正文。空类别和空互动数属于有效结果。

#### 运行步骤

1. 打开 Input 页面，填写一个或多个公开目标。
2. 首次运行可保留预填输入，或将上限调小以便快速检查。
3. 点击 **Start** 并等待运行结束。
4. 打开默认数据集，使用 `posts` 视图查看表格，或下载完整 JSON。
5. 在把数据送入其他系统之前，抽查几条规范链接。

表单中的预填值是可运行示例。请替换成自己的公开目标，不要在输入中粘贴密码、Cookie 或私人数据。

#### 输入示例

```json
{
  "publications": [
    "platformer"
  ],
  "maxPerPub": 3
}
```

每个列表元素代表一个来源。`maxItems`、`maxPerSource` 或 `maxPerPub` 是上限，不保证来源一定有这么多结果。多来源运行会在记录中保留来源标识，便于复核。

#### 输入场景

| 读取一个 Newsletter | `publications=["platformer"], maxPerPub=10` | 返回 Substack 出版物的公开文章。 |
| 读取多个出版物 | `publications=["platformer","bigtechnology"], maxPerPub=10` | 每行保留出版物 slug 和解析出的公开站点。 |
| 使用自定义域名 | `publications=["example.com"], maxPerPub=10` | 若公开自定义域名提供文章 API 或 RSS，可填写主机名或 URL。 |
| 快速抽样 | `publications=["theprofile"], maxPerPub=3` | 小上限适合检查输出字段和公开链接。 |
| 跟踪一组 Newsletter | `publications=["notboring","thehustle","chartr"], maxPerPub=5` | 上限按出版物计算，免费计划额度仍会限制总请求行数。 |

如果会重复运行同一组来源，可以保存为 Task。只设置实际需要的结果上限；提高上限不会让来源返回它本来没有公开的数据。

#### 结果示例

以下是一次真实公开来源运行中的结果行。后续运行的可选字段可能不同。

```json
{
  "publication": "platformer",
  "publicationUrl": "https://platformer.substack.com",
  "title": "Why Platformer is leaving Substack",
  "subtitle": "We’ve seen this movie before — and we won’t stick around to watch it play out",
  "description": "We’ve seen this movie before — and we won’t stick around to watch it play out",
  "url": "https://platformer.substack.com/p/why-platformer-is-leaving-substack",
  "author": "Casey Newton",
  "publishedAt": "2024-01-12T01:00:49.665Z",
  "likes": 728,
  "commentCount": 58
}
```

结果行不代表你获得了重新发布原始内容的权利。请遵守来源条款、创作者权利和隐私要求。

#### 价格与额度

本 Actor 使用按事件计费，事件是写入默认数据集的一条结果行，不收单独的启动事件费。

| 项目 | 价格 |
|---|---:|
| 每条返回结果 | $0.00025 |
| 每 1,000 条结果 | $0.25 |
| 空结果或被拒绝的输入 | 结果事件费用为 $0 |

输入上限和 Apify 运行费用上限可用于控制开销。Apify 免费计划每个用户对每个 Actor 每个 UTC 日最多请求 40 条结果；即使来源返回较少，请求数量仍按所请求的结果数计入额度，额度在 UTC 00:00 重置。付费 Apify 计划不受该免费额度限制。结果费用按实际写入的数据行计算。

#### 数据范围与质量

- 只返回运行时公开可见的数据。
- 排序、Feed 保留范围、出版物设置和可用字段可能变化。
- 可选字段可能为空；这比伪造来源没有提供的数值更可靠。
- 输入上限限制处理量，但不能要求来源生成更多结果。
- 无效或空目标不会产生结果行，运行会明确失败，不会把零行显示成成功抓取。
- 来源临时错误可能导致运行失败。可以稍后用相同公开输入重试，不要用凭证绕过明确的访问限制。
- 免费计划额度按请求数量计算；重复请求不会返还已经预留的额度。

#### API 与自动化

##### 异步启动运行

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/ACTOR_ID/runs?token=$APIFY_TOKEN&maxTotalChargeUsd=0.05" \
  -H "Content-Type: application/json" \
  -d '{  "publications": [    "platformer"  ],  "maxPerPub": 3}'
```

##### 等待运行结束

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/ACTOR_ID/runs?waitForFinish=300&token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{  "publications": [    "platformer"  ],  "maxPerPub": 3}'
```

##### 下载数据集

```bash
curl "https://api.apify.com/v2/datasets/DATASET_ID/items?clean=true&format=json&token=$APIFY_TOKEN"
```

请把 Apify API Token 保存在终端环境变量或密钥管理器中，不要放进 Actor 输入、公开 issue 或共享日志。以上命令中的 `ACTOR_ID`、`DATASET_ID` 和 `APIFY_TOKEN` 都是需要替换的占位符。

#### MCP 与集成

可以从 Apify Console、Apify API、Apify Schedule，或支持调用 Actor 的工作流工具运行本工具。如果 AI 客户端已连接 Apify MCP，可按 Actor ID 调用，并传入上面的相同 JSON 输入。将返回链接视为来源链接，在转交给其他服务前先核对。

自动化时，请把 Apify Token 放在平台的密钥存储中。先用小输入检查字段和行数，再逐步提高上限。若来源与上限固定，保存为 Task 可避免每次重复填写。

#### 常见问题

#### 一条可计费结果是什么意思？

一条写入数据集的文章记录。没有有效文章行的出版物请求不会产生结果事件费用。

#### 需要 Substack 登录吗？

不需要。工具读取公开出版物数据，不要求账号、会话 Cookie 或密码。

#### 会返回完整付费文章吗？

不会。输出是公开文章元数据和来源提供的公开短摘要，不会绕过会员访问。

#### publication 应该填写什么？

可填写 platformer 这样的 Substack slug、完整主机名或公开出版物 URL。

#### 可以使用自定义域名吗？

可以，只要公开站点提供文章 API 或 RSS。输入主机名或完整 URL 即可。

#### 为什么 likes 或 commentCount 为空？

并非所有公开响应都包含这些计数；来源没有提供时会保留空值。

#### 为什么输出不显示抓取方式？

面向客户的记录隐藏了内部读取方式，只保留来源公开提供的内容字段。

#### 会返回订阅人数吗？

不会。当前输出是文章记录，不包含私人订阅者或出版物分析数据。

#### 会采集评论正文吗？

不会。当前版本返回文章元数据和来源提供的公开评论计数，不采集评论文字。

#### 每个 publication 最多请求多少篇？

maxPerPub 上限为 100。免费 Apify 计划另有每日请求结果额度；付费计划不受该免费额度规则限制。

#### 为什么较旧的 Newsletter 没有结果？

出版物可能没有公开文章、Feed 已更改或主机名不正确。请检查 slug 并尝试公开 URL。

#### 会包含草稿吗？

不会。只返回出版物公开暴露的文章。

#### 可以定时运行吗？

可以。用保存的 Task 或 Schedule，设置合适周期，并限制每出版物行数。

#### 可以导出数据集吗？

可以。Apify 支持将数据集导出为 JSON、CSV、Excel 等格式。

#### 无效 publication 会怎样？

运行会清楚失败且不写入数据集结果行，因此无效目标不会产生结果事件费用。

#### publicationUrl 一定是 substack.com 吗？

不一定。出版物可能使用自定义域名；publicationUrl 会显示该记录的公开站点。

#### 可以通过 API 调用吗？

可以。使用 Apify Actor 运行和数据集 API，也可以通过 Apify MCP 调用。

#### publishedAt 的时区是什么？

时间戳由来源提供，时区和格式可能反映原始响应。

#### 可以把内容用于商业邮件吗？

请先检查出版物条款和隐私规则。公开访问不等于获得转载或群发许可。

#### 如何报告回归问题？

请在 Apify Issues 页附上 run ID、出版物输入和公开示例 URL。

#### 相关搜索

Substack Newsletter 文章采集器 · Substack 公开帖子采集 · Substack 出版物文章抓取 · Substack 文章元数据 JSON · Substack Newsletter 链接导出 · Substack 作者署名提取 · Substack 发布日期导出 · Substack 反应数采集 · Substack 评论数采集 · Platformer Newsletter 文章 · Big Technology Newsletter 文章 · The Profile Newsletter 文章 · Not Boring Newsletter 文章 · The Hustle Newsletter 文章 · Chartr Newsletter 文章 · The Generalist Newsletter 文章 · One Useful Thing 文章 · Every Newsletter 文章 · The Ankler Newsletter 文章 · Net Interest Newsletter 文章 · Morning Brew Newsletter 文章 · Substack 公开 Feed 读取 · Substack RSS 转 JSON · Substack 文章 CSV 导出 · Substack Newsletter 监控 · Substack 公开文章链接 · Substack 内容研究数据 · Substack Newsletter 归档 · Substack post API · Substack 数据集导出

#### 免责声明

这是独立的数据工具，与 Substack 无关联，也未获得其背书。工具只读取公开信息。你需要自行遵守来源平台条款、创作者权利以及 GDPR、CCPA 等适用的隐私和数据保护法律。不得将输出用于违反法律或来源规则的识别、画像或联系行为。

#### 资源

- [Apify API 文档](https://docs.apify.com/api/v2)
- [运行 Actor 并获取数据](https://docs.apify.com/platform/integrations/actor-run)
- [数据集导出](https://docs.apify.com/platform/storage/dataset)
- [Apify Schedules](https://docs.apify.com/platform/schedules)
- [Apify MCP](https://docs.apify.com/platform/integrations/mcp)
- [myagizm 的其他公开 Actor](https://apify.com/myagizm)

### Errors & billing

Input errors finish with status SUCCEEDED, no results and no charge; see the OUTPUT record for the reason.

#### 错误与计费

输入错误会以 SUCCEEDED 状态结束，无结果且不收费；原因请查看 OUTPUT 记录。

# Actor input Schema

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

Public Substack publication slugs, full hosts, or public publication URLs. Examples: platformer, bigtechnology, example.com.

## `maxPerPub` (type: `integer`):

Maximum public post rows to return per publication. Allowed range: 1–100.

## Actor input object example

```json
{
  "publications": [
    "platformer"
  ],
  "maxPerPub": 10
}
```

# Actor output Schema

## `posts` (type: `string`):

Readable result table.

## `fullJson` (type: `string`):

All fields from the default dataset.

# 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": [
        "platformer"
    ],
    "maxPerPub": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("myagizm/substack-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": ["platformer"],
    "maxPerPub": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("myagizm/substack-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": [
    "platformer"
  ],
  "maxPerPub": 10
}' |
apify call myagizm/substack-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,myagizm/substack-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/pG8Z5BheGTZgrYZay/builds/UWSxLZN5vLBcbVIsb/openapi.json
