# Substack recommendation network scraper example

**Use case:** 

Scrape public Substack recommendations into a clean newsletter graph with source and target URLs, authors, blurbs, and traversal depth.

## Input

```json
{
  "publicationUrls": [
    {
      "url": "https://newsletter.pragmaticengineer.com"
    }
  ],
  "maxDepth": 1,
  "maxPublications": 10,
  "maxItems": 100,
  "includePublicationMetadata": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "sourcePublicationName": {
    "label": "Source publication",
    "format": "text"
  },
  "targetPublicationName": {
    "label": "Recommended publication",
    "format": "text"
  },
  "targetAuthor": {
    "label": "Target author",
    "format": "text"
  },
  "depth": {
    "label": "Depth",
    "format": "number"
  },
  "sourcePublicationUrl": {
    "label": "Source URL",
    "format": "link"
  },
  "targetPublicationUrl": {
    "label": "Target URL",
    "format": "link"
  },
  "targetDescription": {
    "label": "Target description",
    "format": "text"
  },
  "recommendationBlurb": {
    "label": "Recommendation blurb",
    "format": "text"
  },
  "recommendationAttribution": {
    "label": "Blurb attribution",
    "format": "text"
  },
  "sourceRecommendationsUrl": {
    "label": "Source page",
    "format": "link"
  },
  "edgeId": {
    "label": "Edge ID",
    "format": "text"
  },
  "scrapedAt": {
    "label": "Scraped at",
    "format": "date"
  }
}
```

## About this Actor

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