Documentation Index
Fetch the complete documentation index at: https://docs.konbiniapi.com/llms.txt
Use this file to discover all available pages before exploring further.
What it does
Searches public Reddit posts within a subreddit. Supports relevance, hot, top, new, and comments sorting with optional time windows.Tool details
| Field | Value |
|---|---|
| Tool name | reddit_search_subreddit_posts |
| Platform | |
| REST endpoint | GET /v1/reddit/subreddits/{subreddit}/search |
| Result type | Collection tool |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
subreddit | string | Yes | Subreddit name (with or without r/ prefix) |
q | string | Yes | Search query |
count | integer | No | Number of posts to fetch (maximum: 100) Default: 25. |
cursor | string | No | Pagination cursor |
order | string | No | Sort order: relevance (default), hot, top, new, or comments Default: relevance. Allowed values: relevance, hot, top, new, comments. |
time | string | No | Optional time window for search results: hour, day, week, month, year, or all Allowed values: hour, day, week, month, year, all. |
projection_preset | string | No | Defaults to minimal. Allowed values: full, minimal, identity, engagement, content. |
data_fields | string[] | No | Adds top-level keys from data on top of the selected projection_preset. |
item_fields | string[] | No | Adds keys from data.orderedItems[] on top of the selected projection_preset. |
Example
Available data fields
@contexttypepartOftotalItemscursornextCursornextitemCountorderedItems
Available item fields
typeidurlentityIdnamecontentpublishedisEditedisLockedisOriginalisPinnedisSponsoredisAdultisSpoilerisSearchablelikeCountvoteCountcommentCountshareCountattributedToiconimageattachmenttagquote
Response notes
Successful calls return a JSON object with a top-leveldata field and, when
available, metadata.creditsUsed and metadata.creditsRemaining. See
response format,
pagination, and credits.