Crawl4AIRedditSocial

Posts of a subreddit

crawl4ai.reddit.subreddit.posts

The posts of one subreddit: title, the post's page, what it links to, score, comment count, author, time, flair and the first 300 characters of the text. `sort` is hot, new, top or rising; `t` the window for top; `limit` up to 250 (100 posts per page). `session` (your `reddit_session` cookie, from the Crawl4AI Session extension, used for this run only, never stored) is optional. Without `session` it reads Reddit's public JSON as a visitor (a few seconds; Reddit refuses some of our addresses); when Reddit refuses, a slower second source answers (about 2 to 3 minutes, no outside link). Columns: title, url, link, score, comments, author, created, flair, subreddit, id, text.

价格
$0.0009/success按供应商原价
成功率
56.2%近 30 天 · 689 次
延迟 p50
1.1 秒p95 158 秒
最后验证
2026年10月11日实测可用
POSThttps://toolswitch.dev/v1/tools/crawl4ai.reddit.subreddit.posts预览
在线试用即将上线供应商文档 ↗
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

这个工具没有参数,详见供应商文档 ↗ 供应商文档

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

预览
curl -X POST 'https://toolswitch.dev/v1/tools/crawl4ai.reddit.subreddit.posts' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{"subreddit":"rust"}'

网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.0009/success 计费,已含服务费。