---
title: "GET /substack/posts"
method: GET
path: "/substack/posts"
tags: ["Substack"]
---

# GET /substack/posts

`GET /substack/posts`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/substack/posts`
- Auth: API key in header `X-API-KEY`

## Query parameters

- `publication` string, required
- `sort` 'new' | 'top'
- `offset` integer
- `limit` integer

## Response `200`

- string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `404`: The requested Substack publication was not found. This response is not billable.
- `422`: A parameter is missing or invalid (publication, sort, offset or limit). This response is not billable.
- `503`: The Substack archive could not be fetched. Failed requests are never billed; retry after a moment.

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/1e1aa78ff103?raw)
