Reddit 子 Reddit 搜索
在特定 subreddit 中搜索与查询匹配的帖子、评论和媒体。
1 credits / 次请求
Reddit 子 Reddit 搜索 GET /v1/reddit/subreddit/search 在特定 subreddit 中搜索与查询匹配的帖子、评论和媒体。 鉴权:x-api-key 示例 URL: https://api.datawake.ai/v1/reddit/subreddit/search?query=push+ups&cursor=eyJjYW5kaWRhdGVzX3JldHVybmVkIjoi... 参数: - subreddit (query · string · 必填) - query (query · string · 可选) = push ups - sort (query · string · 可选) - timeframe (query · string · 可选) - cursor (query · string · 可选) = eyJjYW5kaWRhdGVzX3JldHVybmVkIjoi...
概览
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.
在特定 subreddit 中搜索与查询匹配的帖子、评论和媒体。返回带有标题、投票数、评论数、网址和创建位置的帖子;带有作者、正文、投票和家长帖子信息的评论;以及带有标题、media_type、图像尺寸和 gallery_count 的媒体。支持排序、时间范围过滤和基于光标的分页。
必填参数:subreddit。
请求头
x-api-key string 必填
你的 Wake API 访问密钥。
示例:
YOUR_API_KEY
查询参数
subreddit string 必填
Subreddit 名称(例如“Fitness”,而不是“r/Fitness”或完整 URL)
query string
搜索查询以查找匹配的内容
示例:
push ups
sort string
排序顺序。对于帖子/媒体:相关性、热门、热门、新、评论。评论:相关性、热门、新
枚举: relevance, hot, top, new, comments
timeframe string
过滤结果的时间范围
枚举: all, year, month, week, day, hour
cursor string
光标以获得更多结果。从先前的响应中获取“光标”。
示例:
eyJjYW5kaWRhdGVzX3JldHVybmVkIjoi...