Wake API Docs

Reddit 子 Reddit 帖子

使用排序和过滤选项从 Reddit 子版块中获取帖子。

1 credits / 次请求
GET /v1/reddit/subreddit 试用

概览

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.

使用排序和过滤选项从 Reddit 子版块中获取帖子。每个帖子都包含标题、作者、自文本、得分、ups、upvote_ratio、num_comments、created_utc、url、永久链接、subreddit_subscribers 和 is_video。支持排序(最佳、热门、新、顶部、上升)、时间范围过滤、通过后标记分页以及用于更轻响应的修剪参数。

必填参数:subreddit。

请求头

x-api-key string 必填

你的 Wake API 访问密钥。

示例:

YOUR_API_KEY

查询参数

subreddit string 必填

Reddit 子版块名称

timeframe string

获取帖子的时间范围

枚举: all, day, week, month, year

sort string

排序顺序

枚举: best, hot, new, top, rising

after string

之后获得更多帖子。从之前的回复中获取“之后”。

示例:

t3_1234567890
trim boolean

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

示例:

false