# Scrape the latest posts from AI newsletters on Substack

**Use case:** 

Get the 10 newest posts from five widely read AI newsletters on Substack: One Useful Thing, Import AI, Don't Worry About the Vase, Marcus on AI and Interconnects. Each post has title, date, likes, comments, word count, paywall flag and the full text of free posts, in clean JSON. Add or swap any Substack. No login. A run returns about 50 posts and costs about $0.08.

## Input

```json
{
  "publications": [
    "https://www.oneusefulthing.org",
    "https://importai.substack.com",
    "https://thezvi.substack.com",
    "https://garymarcus.substack.com",
    "https://www.interconnects.ai"
  ],
  "maxPostsPerPublication": 10,
  "includeContent": true,
  "includeNotes": false,
  "includeAuthorDetails": false,
  "redactContactDetails": true
}
```

## Output

```json
{
  "type": {
    "label": "Type",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "publicationName": {
    "label": "Publication",
    "format": "string"
  },
  "publishedAt": {
    "label": "Published",
    "format": "string"
  },
  "reactionCount": {
    "label": "Likes",
    "format": "integer"
  },
  "commentCount": {
    "label": "Comments",
    "format": "integer"
  },
  "wordCount": {
    "label": "Words",
    "format": "integer"
  },
  "isPaywalled": {
    "label": "Paid",
    "format": "boolean"
  },
  "url": {
    "label": "Link",
    "format": "string"
  }
}
```

## How it works

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

The Substack Scraper: Posts, Full Text & Notes Actor is ready to run with the inputs already set for "Scrape the latest posts from AI newsletters on Substack". [Sign up or log in](https://console.apify.com/create-task-from-example/lWfujHcfqduoGhaAv) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Scrape the latest posts from AI newsletters on Substack" task

The Substack Scraper: Posts, Full Text & Notes Actor will start running based on the input automatically. You can also change all the input fields, like substack publications, max posts per publication, and more, to match your specific use case.

### 3. Receive the "Scrape the latest posts from AI newsletters on Substack" 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 type, title, publication, 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 the latest posts from AI newsletters on Substack" task via API](https://apify.com/talllabs/substack-posts-scraper.md).

## FAQ

### How much does the AI newsletters task cost?

The AI newsletters task costs $1.50 per 1,000 posts saved, full text included. A run returns about 50 posts, so about $0.08.

### Can I add other newsletters to the AI newsletters task?

Yes. The AI newsletters task is a starting point: add any Substack address, custom domain or post link to the publications list and run your own copy.

### Does the AI newsletters task get the text of paid posts?

No. The AI newsletters task returns the full text of free posts and only the free preview of paid posts. Each row has a paywall flag so you can tell them apart.

## About this Actor

This example demonstrates how to use [Substack Scraper: Posts, Full Text & Notes](https://apify.com/talllabs/substack-posts-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/talllabs/substack-posts-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/talllabs/substack-posts-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`).
