# Audit Direct Substack URLs & Post Metrics

**Use case:** 

Demonstrates direct subdomain and custom-domain lookup on Substack, extracting contact emails, pricing tiers, and the 10 latest posts with reaction counts.

## Input

```json
{
  "queries": [
    "pragmaticengineer.substack.com",
    "https://www.lennysnewsletter.com"
  ],
  "paidNewslettersOnly": false,
  "withContactEmailOnly": false,
  "includeLatestPosts": true,
  "maxPostsPerPublication": 10,
  "maxPublicationsPerQuery": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "name": {
    "label": "Newsletter",
    "format": "text"
  },
  "authorName": {
    "label": "Creator",
    "format": "text"
  },
  "contactEmail": {
    "label": "Contact Email",
    "format": "text"
  },
  "substackReplyEmail": {
    "label": "Substack Reply Email",
    "format": "text"
  },
  "publicationUrl": {
    "label": "Publication URL",
    "format": "link"
  },
  "rankingDetail": {
    "label": "Paid / Scale Tier",
    "format": "text"
  },
  "freeSubscriberEstimate": {
    "label": "Free Subscribers",
    "format": "text"
  },
  "isPaid": {
    "label": "Paid",
    "format": "boolean"
  },
  "monthlyPriceUsd": {
    "label": "Monthly ($)",
    "format": "number"
  },
  "latestPostsCount": {
    "label": "Recent Posts",
    "format": "number"
  },
  "totalReactionsRecent": {
    "label": "Recent Reactions",
    "format": "number"
  },
  "latestPostDate": {
    "label": "Latest Post",
    "format": "date"
  },
  "agentSummary": {
    "label": "Agent Summary",
    "format": "text"
  }
}
```

## How it works

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

The Substack Scraper — Newsletter & Creator Email Leads Actor is ready to run with the inputs already set for "Audit Direct Substack URLs & Post Metrics". [Sign up or log in](https://console.apify.com/create-task-from-example/NUoKOaIagVzf2HD6o) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Audit Direct Substack URLs & Post Metrics" task

The Substack Scraper — Newsletter & Creator Email Leads Actor will start running based on the input automatically. You can also change all the input fields, like search queries or direct substack urls / subdomains, paid newsletters only, and more, to match your specific use case.

### 3. Receive the "Audit Direct Substack URLs & Post Metrics" 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, creator, contact email, 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 "Audit Direct Substack URLs & Post Metrics" task via API](https://apify.com/ttyan0111/substack-newsletter-creator-leads.md).

## FAQ

### Can the Direct Substack URL Auditor inspect custom domains?

The Direct Substack URL Auditor resolves both .substack.com subdomains and custom newsletter domains like lennysnewsletter.com seamlessly.

### How many recent posts can the Direct Substack URL Auditor fetch?

Setting maxPostsPerPublication between 1 and 20 lets the Direct Substack URL Auditor extract deep post engagement history per newsletter.

### Why set withContactEmailOnly false in the Direct Substack URL Auditor?

Disabling withContactEmailOnly in the Direct Substack URL Auditor guarantees every target newsletter URL still returns pricing and post metrics.

## About this Actor

This example demonstrates how to use [Substack Scraper — Newsletter & Creator Email Leads](https://apify.com/ttyan0111/substack-newsletter-creator-leads.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/ttyan0111/substack-newsletter-creator-leads.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/ttyan0111/substack-newsletter-creator-leads.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`).
