Search Reddit Posts
Search Reddit posts by keyword, globally or restricted to a single subreddit. Supports relevance/hot/top/new/comments sorting and a timeframe filter; returns matching posts with title, author, score, comment count, and URLs, plus a pagination cursor. Ideal for: monitoring mentions of a brand/token/keyword, social listening, lead discovery, and trend research.
Catalog action Social
Search Reddit posts by keyword, globally or restricted to a single subreddit. Supports relevance/hot/top/new/comments sorting and a timeframe filter; returns matching posts with title, author, score, comment count, and URLs, plus a pagination cursor. Ideal for: monitoring mentions of a brand/token/keyword, social listening, lead discovery, and trend research.
At a Glance
| Field | Value |
|---|---|
| Action ID | reddit-search-posts |
| Category | Social |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | social, reddit, search, posts, monitor, read |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search query. Supports Reddit search operators (e.g. quoted phrases, author:, title:). |
subreddit | string | No | Optional subreddit name (without the r/ prefix) to restrict the search to a single community |
sort | string | No | Sort order for results. Default: 'relevance' |
time | string | No | Timeframe filter for results. Default: 'all' |
limit | number | No | Maximum number of results to return. Range: 1-100. Default: 25 |
after | string | No | Pagination cursor (the 'after' value from a previous response) to fetch the next page |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
posts | array | Yes | List of posts |
after | string | null | No | Pagination cursor for the next page, or null when there are no more results |
Examples
json{ "type": "reddit-search-posts", "payload": { "query": "status:open" }, "children": []}
bashcurl -X POST "https://api.b3os.org/v1/actions/reddit-search-posts/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "query": "status:open" }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
