# Substack API – Scrape Any Newsletter's Data to JSON/CSV

**Use case:** 

Turn any Substack newsletter into structured data—publication details, subscriber counts, author info and posts. Export to JSON, CSV or Excel via API.

## Input

```json
{
  "newsletterUrls": [
    {
      "url": "https://platformer.substack.com"
    },
    {
      "url": "https://www.lennysnewsletter.com/"
    },
    {
      "url": "https://newsletter.pragmaticengineer.com"
    }
  ],
  "postScrapingMode": "information",
  "maxPostsPerNewsletter": 12,
  "delayBetweenRequests": 3000,
  "maxRetries": 2
}
```

## Output

```json
{
  "publication_name": {
    "label": "Newsletter",
    "format": "text"
  },
  "publication_subscriber_count_string": {
    "label": "Subscribers",
    "format": "text"
  },
  "author_name": {
    "label": "Author",
    "format": "text"
  },
  "email": {
    "label": "Email",
    "format": "text"
  },
  "publication_is_paid": {
    "label": "Paid",
    "format": "boolean"
  },
  "publication_created_at": {
    "label": "Created",
    "format": "date"
  },
  "publication_url": {
    "label": "URL",
    "format": "link"
  },
  "publication_description": {
    "label": "Description",
    "format": "text"
  }
}
```

## About this Actor

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