Reddit Post & Comments — API 参考文档
/reddit/postReddit Post & Comments
Retrieve full Reddit post content, author details, upvotes, and structured comment threads from a Reddit post URL.
Retrieve full Reddit post content, author details, upvotes, and structured comment threads from a Reddit post URL.
urlstring目录示例;必填规则由接口校验。
示例: "https://www.reddit.com/r/technology/comments/1example/new_ai_breakthrough/"
countrystring可选
locale.country 的兼容写法。每次使用其中一种;接口会校验本产品支持的参数与取值。
cursorstring可选
pagination.cursor 的兼容写法。每次使用其中一种;接口会校验本产品支持的参数与取值。
devicestring可选
options.device 的兼容写法。每次使用其中一种;接口会校验本产品支持的参数与取值。
glstring可选
locale.country 的兼容写法。每次使用其中一种;接口会校验本产品支持的参数与取值。
hlstring可选
locale.language 的兼容写法。每次使用其中一种;接口会校验本产品支持的参数与取值。
htmlboolean可选
include_html 的兼容写法。每次使用其中一种;接口会校验本产品支持的参数与取值。
languagestring可选
locale.language 的兼容写法。每次使用其中一种;接口会校验本产品支持的参数与取值。
limitinteger可选
pagination.limit 的兼容写法。每次使用其中一种;接口会校验本产品支持的参数与取值。
markdownboolean可选
include_markdown 的兼容写法。每次使用其中一种;接口会校验本产品支持的参数与取值。
mobileboolean可选
options.device 的兼容写法。每次使用其中一种;接口会校验本产品支持的参数与取值。
numinteger可选
pagination.limit 的兼容写法。每次使用其中一种;接口会校验本产品支持的参数与取值。
pageinteger可选
pagination.page 的兼容写法。每次使用其中一种;接口会校验本产品支持的参数与取值。
qstring可选
query 的兼容写法。每次使用其中一种;接口会校验本产品支持的参数与取值。
{
"url": "https://www.reddit.com/r/technology/comments/1example/new_ai_breakthrough/"
}响应遵循此产品契约;暂未发布已记录的响应示例。schemas.source_data
curl -X POST 'https://api.serpbase.dev/reddit/post' \
-H "Content-Type: application/json" \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{"url":"https://www.reddit.com/r/technology/comments/1example/new_ai_breakthrough/"}'从目录示例开始调用,并查看接口实际返回的 JSON。
示例展示请求参数用法,不代表完整契约。接口会校验已知字段,并允许额外参数。