Pixel Forge Dev
u/pixel_forge_dev
Indie game developer building small tools and pixel art games. Sharing devlogs and postmortems as I go.
{"id": "5k9m2p","username": "pixel_forge_dev","displayName": "Pixel Forge Dev","bio": "Indie game developer building small tools and pixel art games. Sharing devlogs and postmortems as I go.","avatarUrl": "https://styles.redditmedia.com/t5_3k2j1/styles/profileIcon_snoo9x8y7z.png","profileUrl": "https://www.reddit.com/user/pixel_forge_dev/","createdUtc": 1483228800,"karma": 126540,... 还有 9 个字段}
价格与服务商
Reddit 主页 API 价格:一个 API,2 个可互换的服务商
最便宜的服务商优先响应。如果它失败,下一个会在同一次调用中接手。
试一试
一个请求获取 Reddit 主页
这个示例展示了 20 个字段中的 19 个。查看全部字段
{
"found": true,
"data": {
"id": "5k9m2p",
"username": "pixel_forge_dev",
"displayName": "Pixel Forge Dev",
"bio": "Indie game developer building small tools and pixel art games. Sharing devlogs and postmortems as I go.",
"avatarUrl": "https://styles.redditmedia.com/t5_3k2j1/styles/profileIcon_snoo9x8y7z.png",
"profileUrl": "https://www.reddit.com/user/pixel_forge_dev/",
"createdUtc": 1483228800,
"karma": 126540,
"postKarma": 89210,
"commentKarma": 37330,
"posts": 412,
"comments": 3189,
"trophies": 7,
"followers": 2840,
"verified": false,
"employee": false,
"nsfw": false
}
}完整的参数与响应参考:这个接口的每个字段、类型和示例。
参考
一个请求,一种响应结构。
你发送的每个字段和收到的每个字段,都附有真实示例。
最近验证于 2026-11-14 · 可用率和延迟按 30d 统计
请求体
JSON,POST 到这个接口。
- usernamestring
pixel_forge_dev
Reddit 用户名,不带 u/ 前缀。示例:"spez"。
- requireFieldsarray
可选;省略时路由不变,由最便宜的数据源处理。列出本次请求必须能返回的输出字段,例如 `verified`,请求就只会由能返回全部这些字段的数据源处理。未列出的字段,只要处理请求的数据源有,仍会照常返回。这可能提高你的价格:最便宜的数据源无法返回某个列出的字段时,会改由更贵的数据源处理,并按它的价格报价和扣费。如果某个主页确实没有某个列出的字段,该字段仍可能缺失。如果列出的字段组合没有任何单一数据源能同时返回,请求会作为无效输入被拒绝,不扣费。
响应
JSON,每个字段一个示例值。
The profile record, or null when nothing was found.
- avatarUrlstring
https://styles.redditmedia.com/t5_3k2j1/styles/profileIcon_snoo9x8y7z.png
URL of the profile avatar image, with sizing and signing query params stripped. Populated whenever the provider has data for the entity.
- biostring
Indie game developer building small tools and pixel art games. Sharing devlogs and postmortems as I go.
Public profile description text. Populated whenever the provider has data for the entity.
- commentKarmainteger
37330
Karma earned from comments. Populated whenever the provider has data for the entity.
- commentsinteger
3189
Number of comments the account has contributed. Populated whenever the provider has data for the entity.
- createdUtcnumber
1483228800
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
- displayNamestring
Pixel Forge Dev
Profile display title. Reddit defaults it to the username when the account has not set one. Populated whenever the provider has data for the entity.
- employeeboolean
false
True when the account belongs to a Reddit employee.
- followersinteger
2840
Number of profile subscribers. Reddit reports 0 for accounts that do not expose a follower count.
- idstring
5k9m2p
Reddit account ID (base-36, without the t2_ prefix). Populated whenever the provider has data for the entity.
- karmainteger
126540
Total karma across the account, as Reddit reports it. The postKarma and commentKarma fields below are the split it is composed of. Populated whenever the provider has data for the entity.
- nsfwboolean
false
True when the profile is marked NSFW (over 18).
- postKarmainteger
89210
Karma earned from posts. Populated whenever the provider has data for the entity.
- postsinteger
412
Number of posts the account has contributed. Populated whenever the provider has data for the entity.
- profileUrlstring
https://www.reddit.com/user/pixel_forge_dev/
Absolute reddit.com URL of the profile page. Populated whenever the provider has data for the entity.
- trophiesinteger
7
Number of trophies unlocked in the account's trophy case. Populated whenever the provider has data for the entity.
- usernamestring
pixel_forge_dev
Account username, without the u/ prefix. Populated whenever the provider has data for the entity.
- verifiedboolean可设为必填
false
True when the account is verified by Reddit. Null when the serving source does not report it.
- foundboolean
true
True when the account was found; false when the lookup returned nothing or the account is suspended (see `reason`).
- reason"not_found" | "suspended"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. `suspended`: the platform has suspended the account. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
常见问题
关于 Reddit 主页 API
AnyAPI 的 Reddit 主页 API 只需一次 POST 请求 /v1/run/reddit.profile,就以统一格式的 JSON 返回 Reddit 数据。按用户名获取 Reddit 用户的公开主页(karma 细分、帖子和评论数、简介、头像、账号年龄)。AnyAPI 会在 2 个数据源之间路由每个请求,某个数据源失败时自动切换。费用:每千次请求 US$0.80 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 Reddit 主页 API 调用中有 96.7% 成功,响应时间中位数为 2.6 秒,共测量 4,380 次调用。