跳到主要内容
所有网站
Data API

Reddit Data API

来自整个 Reddit 的子版块、帖子、评论和搜索。

21 个端点已为你处理Cloudflare · 速率限制
reddit.comGET/reddit/domain…GET/reddit/search…GET/reddit/search…{ } JSON
示例(实时抓取) 打开演练场
reddit.com
示例
JSON 响应点击页面以追踪字段
{
"post_id": "smv57",
"sort": "confidence",
"comments": [
{
"id": "c4fa53h",
"scraped_at": "2026-09-08T17:45:41.810623+00:00",
"author": "Pays4Porn",
"body": "So true.",
"body_html": "<div class="md"><p>So true.</p> </div>",
"score": 2,
"ups": 2,
"controversiality": 0,
"created_at": "2012-04-22T18:09:46+00:00",
"edited": null,
"permalink": "https://www.reddit.com/r/AdviceAnimals/comments/smv57/most_redditors_will_understand/c4fa53h/",
"parent_id": "t3_smv57",
"link_id": "t3_smv57",
"subreddit": "AdviceAnimals",
"is_submitter": false,
"author_flair": null,
"stickied": false,
"distinguished": null,
"gilded": 0,
"score_hidden": false,
"reply_count": 0,
"awards": 0,
"depth": 0
}
]
}
GET/v1/reddit/posts/{post_id}/comments1 额度 / 次 已验证

Post Comments

Full comment thread, flattened depth-first with sort, limit and depth control.

已为你处理:Cloudflare速率限制
参数
名称类型必填描述
post_idstring是Post id.
高级筛选
sortstring否confidence (best) | top | new | controversial | old | qa (默认值:confidence)
limitinteger否Max comments returned (1-500). (默认值:100)
depthinteger否Max reply nesting depth to include.