OpenAPI 文档/RedditGET

Reddit — 帖子评论

SpiderHubs OpenAPI 文档:Reddit — 帖子评论,分类 Reddit。接口 GET /openapi/v1/contentcreator/reddit/app/fetch_post_comments。获取帖子的一级评论,after 翻页;二级回复用「评论回复」接口。

OpId: rd-post-comments · 最近更新: 2026-05-23

说明

获取帖子的一级评论,after 翻页;二级回复用「评论回复」接口。

基础信息

Endpoint:
GET /openapi/v1/contentcreator/reddit/app/fetch_post_comments
计费:
1 积分 / 次
限流:
300 次 / 分钟 / 用户

请求参数说明

参数类型必填说明
post_idstring帖子 ID,形如 t3_xxx
sort_typestring排序:CONFIDENCE / NEW / TOP / HOT / CONTROVERSIAL / OLD / RANDOM
afterstring翻页游标
need_formatstringtrue 返回清洗后的精简结构
请求示例 · cURL
curl 'https://api.spiderhubs.com/openapi/v1/contentcreator/reddit/app/fetch_post_comments?post_id=t3_1g8p5xg&sort_type=TOP' \
  -H 'Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxxxxxx'
响应示例
{
  "code": 200,
  "request_id": "...",
  "data": { /* platform-native data — see endpoint reference for shape */ }
}

开始调用 SpiderHubs API

使用账户中心生成的 API Key,通过 Authorization: Bearer sk_live_xxx 调用接口。