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.

Price
$0.0009/successPelo preço do provedor
Success rate
56,2%Last 30 days · 689 calls
Latency p50
1.1 sp95 158 s
Last verified
11 de out. de 2026Verified working
POSThttps://toolswitch.dev/v1/tools/crawl4ai.reddit.subreddit.postsPreview
Try onlineEm breveProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parâmetros

Esta ferramenta não tem parâmetros. Veja a documentação do provedor ↗ Provider docs

Exemplos de código

Substitua $TOOLSWITCH_KEY pela chave criada no console.

Preview
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"}'

Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.0009/success, incluindo a taxa de serviço.