# Patreon Posts API Documentation

Retrieve a page of public posts for one Patreon campaign: title, url, publish date (ISO 8601, UTC), post type, public and paid flags, like and comment counts, teaser text and image. Page with the cursor from the previous response next_cursor field. A valid empty post list is a successful response.

- **Documentation:** [https://scrappa.co/docs/patreon-api/patreon_posts](https://scrappa.co/docs/patreon-api/patreon_posts)
- **API group:** Patreon API
- **Endpoint:** `GET https://scrappa.co/api/patreon/posts`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `campaign_id` | integer | Yes | Patreon campaign id, e.g. 3918099. Example: 3918099. |
| `cursor` | string | No | Cursor from the previous response next_cursor field. Omit for the first page. |
| `page[count]` | integer | No | Posts per page, 1 to 100. Defaults to 20. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/patreon/posts?campaign_id=3918099"
```

## Example response

```json
{
    "success": true,
    "data": {
        "posts": [
            {
                "id": "172294518",
                "title": "A new episode is out",
                "url": "https://www.patreon.com/posts/172294518",
                "published_at": "2026-10-01T12:00:00Z",
                "post_type": "text",
                "is_public": false,
                "is_paid": true,
                "like_count": 42,
                "comment_count": 149
            }
        ],
        "has_more": true,
        "next_cursor": "abc123"
    },
    "meta": {
        "endpoint_family": "post_list",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required query parameter is missing or invalid. This response is not billable. |
| 404 | Resource Not Found | The requested Patreon campaign does not exist. This response is not billable. |
| 502 | Invalid Source Response | The upstream answered with a shape that no longer matches the documented contract. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
