This repo reads public Patreon data with Python or curl. You can browse creators by category and read a creator's profile, membership tiers, and public posts. You need one EveryInfra API key. You do not need a Patreon account or cookie. The same API also works as an MCP tool in Claude and Cursor. Billing is per call: these 3 capabilities cost $1.39 per 1,000 calls (about $0.0014 per call). Failed calls and empty results are not charged. The EveryInfra Patreon API has 4 capabilities, all listed on the platform page: https://everyinfra.com/en/patreon-api?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api
git clone https://github.com/everyinfra/patreon-api.git
cd patreon-api
pip install -r requirements.txt
export EVERYINFRA_API_KEY=<your API key>
python main.py explore podcasts --out creators.csv
python main.py profile "<creator vanity>" --out profile.json
python main.py posts "<creator vanity>" --out posts.csv- For
explore, the categories are listed in the API docs; top-1000 is the overall ranking. - For
profileandposts, pass the creator's vanity name (thevanityof anexplorerow) or a link with /c/. Only public profile data and public posts are returned, nothing behind the paywall. - Without
--out, the command prints the first 3 rows as JSON. With--out, it saves a .csv or .json file. The CSV has a BOM, so Excel opens it without garbled text. - Register at everyinfra.com, then create the API key in the console. Steps: https://everyinfra.com/en/docs?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api#quickstart
curl -X POST https://api.everyinfra.com/api/v1/social \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"platform":"patreon","action":"explore","params":{"category":"podcasts"}}'All capabilities use the same URL. Change action and params to call another one. Examples for profile and user_posts are in examples/curl.sh.
The remote MCP URL is https://api.everyinfra.com/mcp. Add the Authorization: Bearer header with your API key. EveryInfra runs the server, so you install no local program.
Claude Code:
claude mcp add --transport http everyinfra https://api.everyinfra.com/mcp --header "Authorization: Bearer <API Key>"Cursor and other clients that read mcp.json (examples/mcp.json):
{
"mcpServers": {
"everyinfra": {
"url": "https://api.everyinfra.com/mcp",
"headers": {
"Authorization": "Bearer <API Key>"
}
}
}
}Custom connectors in Claude on the web and desktop, and ChatGPT, accept only a URL. Enter https://api.everyinfra.com/mcp/all, sign in to EveryInfra when asked, and allow access. You do not need to enter a key. Full steps: https://everyinfra.com/en/mcp-server?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api
action |
Per 1,000 calls |
|---|---|
explore |
$1.39 |
profile |
$1.39 |
user_posts |
$1.39 |
- Billing is per call, about $0.0014 each. Failed calls, empty results, parameter errors, and authentication failures are not charged.
exploreis billed by the rows you ask for: every 20 rows count as one call, and blocks that come back with no rows are not charged.user_postsis billed by the rows you ask for: every 20 rows count as one call, and blocks that come back with no rows are not charged.- A new account gets a $1 trial allowance, valid for 24 hours. No credit card is needed. How to claim it: https://everyinfra.com/en/pricing?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api
- Prices for the 1 other Patreon capability are on the platform page: https://everyinfra.com/en/patreon-api?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api
These are the fields that the 3 capabilities returned in our test. Each meaning is the first sentence of the field's entry in the API documentation. The link under each table has the full text.
| Field | Meaning |
|---|---|
name |
Name of the object itself, for account, product and business capabilities. |
vanity |
Vanity name (short name) of the page. |
url |
Link to the record on the platform. |
tagline |
Tagline. |
patron_count |
Total number of patrons. |
rank |
Ranking position. |
category |
Category name in the platform's own taxonomy, not normalized across platforms. |
days_running |
Number of days the page has been running. |
published_at |
Publish time. |
platform |
Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
All parameters and fields: https://everyinfra.com/en/patreon-api/explore?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api
| Field | Meaning |
|---|---|
id |
The record's unique ID on the platform. |
name |
Name of the object itself, for account, product and business capabilities. |
vanity |
Vanity name (short name) of the page. |
url |
Link to the record on the platform. |
creation_name |
Name of what the creator is making (the XX in "Creating XX"). |
summary |
Summary. |
currency |
Currency code of the price (for example CNY, USD). |
patron_count |
Total number of patrons. |
paid_member_count |
Number of paid members. |
post_count |
Total posts. null means not disclosed, not 0. |
pay_per |
Billing unit (per month or per creation). |
is_monthly |
Whether payment is charged monthly. |
is_nsfw |
Whether the content is adult (NSFW). |
published_at |
Publish time. |
pledge_url |
Pledge link. |
avatar_url |
Avatar image link. |
cover_url |
Cover image. |
platform |
Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
tiers |
Membership tiers (profile): each entry has id, title, description, amount_cents (price in cents), amount_usd, currency, is_free, post_count (posts available to that tier) and url (join link), each only when it has a value. |
tier_count |
Total number of membership tiers (profile); present only when tiers is present. |
socials |
The creator's listed social accounts: an object whose keys are platform names (such as twitter or youtube) and whose values are the handle or profile link on that platform, as given; absent when none are listed. |
All parameters and fields: https://everyinfra.com/en/patreon-api/profile?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api
| Field | Meaning |
|---|---|
id |
The record's unique ID on the platform. |
title |
Title. null when the platform has no titles (for example text-only posts). |
url |
Link to the record on the platform. |
post_type |
Content type. |
like_count |
Likes. null means the platform or this capability does not disclose it; it is not 0. |
comment_count |
Comments. null means not disclosed, not 0. |
author_vanity |
Author's vanity name (short name). |
posted_at |
Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). |
platform |
Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
All parameters and fields: https://everyinfra.com/en/patreon-api/user_posts?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api
Do I need a Patreon account or cookie to call the API?
No. Send the Authorization: Bearer header with your API key. The request body holds platform, action, and the capability parameters. You do not scan a QR code, keep a login session, or open a browser.
How much does it cost? Are failed calls charged? Is there a free allowance?
Billing is per call, from $1.39 per 1,000 calls. Failed calls, empty results, parameter errors, and authentication failures are not charged. A new account gets a $1 trial allowance, valid for 24 hours. No credit card is needed. How to claim it: https://everyinfra.com/en/pricing?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api
Can I connect the Patreon API to Claude or Cursor?
Yes. The remote MCP URL is https://api.everyinfra.com/mcp. Add the Authorization: Bearer header with your API key. You install no local program. Setup for Claude, Cursor, ChatGPT, and Claude Code: https://everyinfra.com/en/mcp-server?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api.
What legal points apply when I use Patreon data?
The EveryInfra Terms of Service require you to make sure your use of the data follows applicable law and the terms of the relevant platform. Do not use the data for anything illegal or anything that violates privacy or intellectual property rights. Do not use bulk scraping for harassment, fraud, or other abuse. When you use personal information such as nicknames and avatars, keep only the fields your business needs.
Which Patreon data can I get?
The EveryInfra Patreon API has 4 capabilities:
- keyword search
- explore
- profile or object details
- user content
Parameters and return fields for each capability are on the platform page: https://everyinfra.com/en/patreon-api?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api
Before release, we ran the 3 commands in Quick start against the live API with this repo's code.
| Command | Time (Singapore, UTC+8) | Rows | Charged |
|---|---|---|---|
python main.py explore podcasts --out creators.csv |
2026-12-06 09:37 | 20 | $0.001389 |
python main.py profile "<creator vanity>" --out profile.json |
2026-12-06 09:37 | 1 | $0.001389 |
python main.py posts "<creator vanity>" --out posts.csv |
2026-12-06 09:37 | 20 | $0.001389 |
本仓库用 Python 或 curl 读 Patreon 公开数据:按分类浏览创作者,读创作者资料、会员档位和公开帖子。只需一把 EveryInfra API Key,不用 Patreon 账号和 Cookie,也能作为 MCP 工具接进 Claude、Cursor。按调用次数计费,这 3 个能力每千次 $1.39(每次约 $0.0014),失败和空结果不收费。Patreon 共 4 个能力:https://everyinfra.com/patreon-api?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api
git clone https://github.com/everyinfra/patreon-api.git
cd patreon-api
pip install -r requirements.txt
export EVERYINFRA_API_KEY=<你的 API Key>
python main.py explore podcasts --out creators.csv
python main.py profile "<创作者短名>" --out profile.json
python main.py posts "<创作者短名>" --out posts.csvexplore的分类见接口文档的允许值,top-1000 是综合榜。profile和posts传创作者短名(explore结果里的vanity),也可以传含 /c/短名 的链接;只读公开资料和公开帖子,不含付费墙内正文。- 不加
--out时打印前 3 条 JSON;加--out存成 .csv 或 .json。CSV 带 BOM,Excel 直接打开不乱码。 - API Key 在 everyinfra.com 注册后到控制台创建,步骤见 https://everyinfra.com/docs?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api#quickstart
curl -X POST https://api.everyinfra.com/api/v1/social \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"platform":"patreon","action":"explore","params":{"category":"podcasts"}}'所有能力都发到同一个地址,换 action 和 params 就行;profile、user_posts 的写法见 examples/curl.sh。
远程 MCP 地址是 https://api.everyinfra.com/mcp,请求头加 Authorization: Bearer 和 API Key;服务器由 EveryInfra 运行,不用装本地程序。
Claude Code:
claude mcp add --transport http everyinfra https://api.everyinfra.com/mcp --header "Authorization: Bearer <API Key>"Cursor 等读 mcp.json 的客户端(examples/mcp.json):
{
"mcpServers": {
"everyinfra": {
"url": "https://api.everyinfra.com/mcp",
"headers": {
"Authorization": "Bearer <API Key>"
}
}
}
}Claude 网页版和桌面版的自定义连接器、ChatGPT 只能填网址:填 https://api.everyinfra.com/mcp/all,连接时登录 EveryInfra 并允许,不用填 Key。完整步骤见 https://everyinfra.com/mcp-server?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api
| 能力 | action |
每千次 |
|---|---|---|
| 创作者发现 | explore |
$1.39 |
| 主页或对象详情 | profile |
$1.39 |
| 用户内容 | user_posts |
$1.39 |
- 按调用次数计费,每次约 $0.0014;失败、空结果、参数错误和鉴权失败都不收费。
explore按要的条数计费,每 20 条算一次调用,没返回数据的部分不收费。user_posts按要的条数计费,每 20 条算一次调用,没返回数据的部分不收费。- 新账号有 $1 试用额度,24 小时内有效,不用信用卡,领取方式见 https://everyinfra.com/pricing?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api
- Patreon 其他 1 个能力的单价见平台页 https://everyinfra.com/patreon-api?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api
下面是这 3 个能力实测返回的字段,含义取自接口文档每条说明的第一句,完整说明在每张表下面的链接里。
| 字段 | 含义 |
|---|---|
name |
名称。 |
vanity |
主页短名。 |
url |
该记录在原平台上的可访问链接。 |
tagline |
标语。 |
patron_count |
赞助者总数。 |
rank |
排行榜名次。 |
category |
分类名称,取值为原平台的分类体系,未做跨平台归一。 |
days_running |
运营天数。 |
published_at |
发布时间。 |
platform |
数据来源平台标识,与请求里的 platform 一致(如 xiaohongshu、tiktok)。 |
| 字段 | 含义 |
|---|---|
id |
该记录在原平台上的唯一标识。 |
name |
名称。 |
vanity |
主页短名。 |
url |
该记录在原平台上的可访问链接。 |
creation_name |
创作项目名(「正在创作 XX」里的 XX)。 |
summary |
简介。 |
currency |
价格币种代码(如 CNY、USD)。 |
patron_count |
赞助者总数。 |
paid_member_count |
付费会员数。 |
post_count |
发布内容总数。 |
pay_per |
计费单位(按月/按作品)。 |
is_monthly |
是否按月收费。 |
is_nsfw |
是否为成人内容。 |
published_at |
发布时间。 |
pledge_url |
赞助链接。 |
avatar_url |
头像图片链接。 |
cover_url |
封面图。 |
platform |
数据来源平台标识,与请求里的 platform 一致(如 xiaohongshu、tiktok)。 |
tiers |
会员档位列表(profile):每项含 id、title、description、amount_cents(价格,单位美分)、amount_usd、currency、is_free、post_count(该档可看的帖子数)、url(加入链接),有值才出现。 |
tier_count |
会员档位总数(profile);只在有 tiers 时出现。 |
socials |
创作者公开的社交账号:对象,键是平台名(如 twitter、youtube),值是该平台的用户名或主页链接,按原样;没有时不出现这个字段。 |
| 字段 | 含义 |
|---|---|
id |
该记录在原平台上的唯一标识。 |
title |
标题。 |
url |
该记录在原平台上的可访问链接。 |
post_type |
内容类型。 |
like_count |
点赞数。 |
comment_count |
评论数。 |
author_vanity |
作者短名。 |
posted_at |
发布时间,ISO 8601 格式、UTC 时区(如 2026-08-07T12:34:56+00:00)。 |
platform |
数据来源平台标识,与请求里的 platform 一致(如 xiaohongshu、tiktok)。 |
调用时要不要提供 Patreon 账号或 Cookie?
不用,请求头带 Authorization: Bearer 和 API Key 就能调,请求体写 platform、action 和能力参数。不用扫码、维护登录状态,也不用开浏览器。
怎么收费?失败了收不收钱?有免费额度吗?
按调用次数计费,每千次 $1.39 起。失败、空结果、参数错误和鉴权失败都不收费。新账号有 $1 试用额度,24 小时内有效,不用信用卡,领取方式见定价页 https://everyinfra.com/pricing?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api
能把 Patreon 接口接进 Claude、Cursor 吗?
能,远程 MCP 地址是 https://api.everyinfra.com/mcp,请求头加 Authorization: Bearer 和 API Key,不用装本地程序。Claude、Cursor、ChatGPT、Claude Code 配置见 https://everyinfra.com/mcp-server?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api。
用 Patreon 数据要注意哪些合规问题?
EveryInfra 服务条款要求你自行确保数据用法符合适用法律和相关平台条款,禁止用于违法、侵犯隐私或知识产权,或批量抓取用于骚扰、欺诈等恶意用途。用到昵称、头像等个人信息时,只留业务用得上的字段。
可以拿到 Patreon 的哪些数据?
Patreon 有 4 个能力:关键词搜索、创作者发现、主页或对象详情、用户内容。每个能力的参数和返回字段见平台页 https://everyinfra.com/patreon-api?utm_source=github&utm_medium=example_repo&utm_campaign=patreon-api
发布前用本仓的代码对线上接口跑过一遍,命令就是「快速开始」里的 3 条。
| 命令 | 时间(新加坡时间) | 返回条数 | 扣费 |
|---|---|---|---|
python main.py explore podcasts --out creators.csv |
2026-12-06 09:37 | 20 | $0.001389 |
python main.py profile "<创作者短名>" --out profile.json |
2026-12-06 09:37 | 1 | $0.001389 |
python main.py posts "<创作者短名>" --out posts.csv |
2026-12-06 09:37 | 20 | $0.001389 |
profile 返回的一条(正文截到 60 字,作者字段没放进来):
{
"id": "1055672",
"currency": "USD",
"patron_count": 270810,
"paid_member_count": 143655,
"post_count": 1023,
"published_at": "2019-09-21T17:12:46+00:00",
"tier_count": 5
}EveryInfra LLC · 30 N Gould St, Ste N, Sheridan, WY 82801, USA · +1 (307) 418-3419 · everyinfra.com
MIT