# Reddit search results

Provider: Crawl4AI
Final price: $0.0009/success
Success rate: 64.5%

Reddit's search results as posts: title, the post's page, what it links to, score, comment count, author, time, flair and the first 300 characters of the text. Site-wide, or inside one `subreddit`. `sort` relevance, hot, top, new or comments; `t` the window for top; `limit` up to 250. `session` (your `reddit_session` cookie, 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 site-wide search, a slower second source answers (about 2 min, all time). Columns: title, url, link, score, comments, author, created, flair, subreddit, id, text.

## Example

```curl
curl -X POST 'https://toolswitch.dev/v1/tools/crawl4ai.reddit.search.posts' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{"query":"async runtime"}'
```

[View on Toolswitch](https://toolswitch.dev/en/tools/crawl4ai.reddit.search.posts)
