Reddit Cookie Auth
收藏RapidAPI2026-07-07 更新2026-07-08 收录
下载链接:
https://rapidapi.com/pranavkdileep/api/reddit-cookie-auth
下载链接
链接失效反馈官方服务:
资源简介:
Access the full power of Reddit with this Unofficial Reddit API.Perform actions like Reddit voting, Reddit saving posts, Reddit subscribing, and Reddit posting comments and Easily fetch feeds (home, popular, all), Reddit subreddit posts, comments, Reddit search results, Reddit user profiles
创建时间:
2026-07-07
原始信息汇总
Reddit Cookie Auth 数据集详情
基本信息
- 名称:Reddit Cookie Auth
- 类别:Social(社交)
- API 版本:1.0.0(当前版本)
- 提供者:pranavkdileep
- 订阅者数:1
- 流行度:8.4
- 服务级别:100%
- 延迟:1043ms
- 测试通过率:100%
定价方案
| 方案 | 月费 |
|---|---|
| BASIC | $0.00 |
| PRO | $12.00 |
| ULTRA | $29.00 |
API 概述
这是一个非官方的 Reddit API,允许用户通过 HTTP JSON 请求执行以下操作:
- 浏览动态(首页、热门、全部)
- 查看帖子和评论
- 搜索 Reddit
- 查看用户信息
- 投票
- 保存/取消保存帖子
- 订阅/取消订阅 subreddit
- 发布评论
接口端点
认证与会话管理
| 方法 | 端点 | 描述 |
|---|---|---|
| POST | /api/me |
验证会话(检查 Cookie 有效性,返回当前 Reddit 用户) |
动态
| 方法 | 端点 | 描述 |
|---|---|---|
| POST | /api/feed |
获取 Reddit 动态 |
Subreddit(版块)
| 方法 | 端点 | 描述 |
|---|---|---|
| POST | /api/r/{subreddit} |
获取指定 subreddit 的帖子 |
| POST | /api/r/{subreddit}/about |
获取 subreddit 相关信息 |
帖子与评论
| 方法 | 端点 | 描述 |
|---|---|---|
| POST | /api/comments |
获取帖子和评论 |
| POST | /api/morechildren |
展开折叠的评论组 |
搜索
| 方法 | 端点 | 描述 |
|---|---|---|
| POST | /api/search |
全局或指定 subreddit 内搜索帖子 |
用户
| 方法 | 端点 | 描述 |
|---|---|---|
| POST | /api/u |
获取用户发布的帖子 |
| POST | /api/u/comments |
获取用户的评论 |
| POST | /api/u/about |
获取用户个人资料 |
| POST | /api/u/saved |
获取用户保存的条目 |
| POST | /api/u/upvoted |
获取用户赞过的条目 |
社交操作
| 方法 | 端点 | 描述 |
|---|---|---|
| POST | /api/vote |
对帖子投票 |
| POST | /api/save |
保存或取消保存帖子 |
| POST | /api/subscribe |
订阅或取消订阅 subreddit |
| POST | /api/comment |
发布评论 |
健康检查
| 方法 | 端点 | 描述 |
|---|---|---|
| GET | /health |
检查 API 服务是否运行 |
认证方式
采用 Cookie 认证,需要将 Reddit 的 Cookie 转换为 Base64 编码后传入。详细的 Cookie 获取步骤见文档。
公共请求字段
大多数 POST 端点需要以下通用字段:
| 字段 | 类型 | 必填 | 描述 |
|---|---|---|---|
cookies |
string | 是 | 经过 Base64 编码的 Reddit Cookies |
proxy |
string 或 null | 否 | 可选代理 URL |
响应格式
成功响应: json { "success": true, "data": {}, "error": null, "code": null }
错误响应: json { "detail": "Error message" }
常见状态码
| 状态码 | 含义 |
|---|---|
| 200 | 成功 |
| 400 | 错误请求 |
| 401 | 会话过期或 Cookie 无效 |
| 403 | 禁止访问 |
| 404 | 资源未找到 |
| 429 | 请求频率受限 |
| 500 | 服务器错误 |
| 502 | Reddit API 错误 |
Postman 集合
文档提供了 Google Drive 链接的 Postman 集合,用于快速测试和集成。



