Reddit Posts Comments and Subreddits Data: Search Reddit posts, subreddits and comments
reddit_com__search[Reddit Posts Comments and Subreddits Data] Search Reddit posts, subreddits and comments. Fetch public Reddit posts by subreddit, search query, preset catalog or post ID with optional comments and community metadata. x402 price: $0.0030/row USDC (max 10 rows; 0 rows / errors are never charged).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "reddit_com__search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | How to sort results. 'new' for latest, 'hot' for trending, 'top' for highest scored, 'relevance' for search relevance (only with searchQueries — listing mode falls back to 'new'). | new |
| postIds | No | Collect specific posts by id or link instead of a feed: t3_ fullnames, bare ids, or reddit.com/r/<sub>/comments/<id> permalinks. Detail mode returns one row per post with the full post record and is not combined with Subreddits or Search Queries. | |
| maxResults | No | Most rows for each subreddit (or for each search query when no subreddit is given). Default 70; larger numbers are collected in parts of 70. Posts and optional comment, community and user rows share this limit and are billed at the same price per row. The whole run stops at your maximum total charge. Free platform plan: up to 200 rows per run and 10 runs of this Actor (limits set by the Actor developer). | |
| subreddits | No | Subreddit names to scrape (with or without r/). Example: ["forhire", "freelance"]. Fill this, Search Queries, or Subreddit catalog topic — any one is enough. Explicitly pass an empty array (subreddits=[]) with searchQueries for a site-wide Reddit search. Omitting subreddits and all other targets defaults to r/forhire; a searchQueries-only input also runs a site-wide search. | |
| timeFilter | No | Time range filter. Applies to 'top' sort and search results. | week |
| maxComments | No | Maximum comment rows per post, including available nested replies, when includeComments is enabled. The remaining maxResults limit can reduce this number. | |
| searchQueries | No | Keywords to search. With subreddits set, searches inside each subreddit. With subreddits empty, runs a site-wide Reddit search. If empty while subreddits are set, scrapes the subreddit feed (new/hot/top) without keyword filtering. | |
| includeComments | No | Add available comments and nested replies as separate billed rows. Comments share the maxResults limit with posts and other enabled rows; complete threads are not guaranteed. | |
| includeUserMeta | No | Add available public details for post authors as separate user rows, such as karma and account creation time. Each row is billed at the same price and counts toward maxResults. | |
| subredditCatalog | No | Pick a built-in topic instead of naming subreddits. Its subreddit list is merged with Subreddits (deduplicated). Enough on its own to start a run. | |
| allowListingFallback | No | Allow an empty top/week subreddit feed to retry as new, without a time restriction. Leave off to keep the requested sort and time range. | |
| includeSubredditMeta | No | Add public details for communities found in collected posts as separate subreddit rows. Each row is billed at the same price and counts toward maxResults. | |
| expandCommentSubtrees | No | When includeComments is on, spend up to this many extra requests filling replies that the comment page left out. Each expansion is one request and still counts against maxComments. Set 0 to turn it off. | |
| expandRelatedSubreddits | No | When a subreddits entry names a catalog topic (hiring, programming, housing, tickets, local, classifieds, remote_jobs, startups), expand it into the full subreddit list for that topic. Without this flag a topic token is passed through verbatim. |