Wake API Docs

Reddit 帖子评论

通过 URL 从 Reddit 帖子中检索评论和帖子详细信息。

1 credits / 次请求
GET /v1/reddit/post/comments 试用

概览

WakeScrap exposes this Reddit endpoint as a live-data API. The platform keeps the documented request and response shape stable while unifying auth, request tracking, and credits billing.

通过 URL 从 Reddit 帖子中检索评论和帖子详细信息。返回包含标题、作者、分数、ups、upvote_ratio、num_comments 和created_utc 的帖子,以及评论数组,其中每个评论包括作者、正文、body_html、分数、created_utc、parent_id、永久链接和嵌套回复。支持基于光标的分页以加载更多注释和修剪参数以实现更轻松的响应。

必填参数:url。

请求头

x-api-key string 必填

你的 Wake API 访问密钥。

示例:

YOUR_API_KEY

查询参数

url string 必填

Reddit 帖子网址

示例:

https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/
cursor string

光标可获取更多评论或回复。

示例:

ed1lvsa,ed3fnpq,ed25l2w
trim boolean

对于响应的精简版本设置为 true

示例:

false