# Patreon Scraper & Creator Analytics Extractor (`haktelaren/patreon-scraper`) Actor

Extract Patreon creators, subscriber counts, membership tiers, posts, and engagement metrics (likes, comments). High-speed data collection via internal API.

- **URL**: https://apify.com/haktelaren/patreon-scraper.md
- **Developed by:** [Celal Tokmak](https://apify.com/haktelaren) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 scraped creator records

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Patreon Scraper & Creator Analytics Extractor 🎯🎨

A high-performance, lightweight, and reliable Apify Actor to extract Patreon creators, subscriber & patron counts, membership tiers, earnings visibility, and recent creator posts (**likes, comments, media**) directly from Patreon's internal REST APIs.

***

### 🌟 Key Features

- 🔍 **Dual-Mode Discovery:**
  - **Keyword Discovery (`search_keywords`):** Discover creators across niches and categories (e.g. `podcast`, `gaming`, `art`, `education`).
  - **Direct Creator URLs (`creator_urls`):** Resolve targeted creator pages (e.g. `https://www.patreon.com/coldones`).
- 👥 **Audience & Patron Analytics:** Active patron counts (`patrons_count`), active tiers count (`tiers_count`), NSFW status (`is_nsfw`), and earnings visibility mode.
- 📝 **Post & Engagement Extraction:** Recent posts, publish dates, post URLs, like counts, comment counts, and tier lock status.
- ⚡ **Zero-Browser Footprint:** Direct REST API consumption without headless browser overhead or heavy memory requirements.
- 📦 **Apify SDK v2+ & Storage Standards:** Full local storage sandbox support (`storage/`) and standard dataset output.

***

### 📥 Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `search_keywords` | `Array<String>` | `["podcast"]` | Keywords to discover Patreon creators. |
| `creator_urls` | `Array<String>` | `[]` | List of direct Patreon creator profile URLs. |
| `max_creators` | `Integer` | `10` | Maximum number of creators to scrape. |
| `include_posts` | `Boolean` | `true` | Whether to extract recent posts, likes, and comments for each creator. |
| `max_posts_per_creator` | `Integer` | `10` | Maximum number of recent posts to scrape per creator. |
| `proxy_configuration` | `Object` | `{"useApifyProxy": false}` | Optional Apify or custom proxy settings. |

***

### 📦 Output Dataset Schema

Each creator record pushed to the default dataset matches the official schema:

```json
{
  "creator_id": "2367908",
  "creator_name": "Cold Ones",
  "slug": "coldones",
  "url": "https://www.patreon.com/coldones",
  "creation_name": "a Podcast",
  "summary": "Everything we can't show you on YouTube...",
  "patrons_count": 28450,
  "avatar_url": "https://c10.patreonusercontent.com/...",
  "tiers_count": 4,
  "is_nsfw": false,
  "earnings_visibility": "private",
  "posts": [
    {
      "post_id": "98127391",
      "title": "Cold Ones Uncut - Episode 142",
      "published_at": "2026-09-12T18:00:00.000Z",
      "url": "https://www.patreon.com/posts/98127391",
      "like_count": 1420,
      "comment_count": 312,
      "is_paid": true
    }
  ],
  "scraped_at": "2026-09-14T12:00:00.000Z"
}
```

***

### 🧪 Local Testing

Run the Actor locally inside the isolated storage sandbox:

```bash
python test_local.py
```

Results are stored in `storage/datasets/default/`.

***

### 🚀 Deployment to Apify Cloud

Deploy and build on Apify platform with a single command:

```bash
python deploy.py --yes
```

# Actor input Schema

## `search_keywords` (type: `array`):

Keywords to discover Patreon creators (e.g. \['podcast', 'gaming', 'art']).

## `creator_urls` (type: `array`):

List of direct Patreon creator profile URLs (e.g. \['https://www.patreon.com/coldones']).

## `max_creators` (type: `integer`):

Maximum number of creators to scrape and save.

## `include_posts` (type: `boolean`):

Whether to extract recent posts, like counts, and comments for each creator.

## `max_posts_per_creator` (type: `integer`):

Maximum number of recent posts to scrape per creator.

## `proxy_configuration` (type: `object`):

Apify Proxy or Custom Proxy configuration (Residential recommended if enabled).

## Actor input object example

```json
{
  "search_keywords": [
    "podcast"
  ],
  "creator_urls": [],
  "max_creators": 10,
  "include_posts": true,
  "max_posts_per_creator": 10,
  "proxy_configuration": {
    "useApifyProxy": false
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("haktelaren/patreon-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("haktelaren/patreon-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call haktelaren/patreon-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,haktelaren/patreon-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/riCnTGqMBjKeHDrvh/builds/2TC1ohe174iBdTNjO/openapi.json
