v4

latestOpenAPI 3.1.02026-08-012281296.0 MB
Reddit

Search within a subreddit

Search posts within a subreddit by query, optionally filtered by sort order and timeframe. Returns a paginated list of posts. Use the nextPageToken field from the response to retrieve subsequent pages.

<span><strong>Rate limit:</strong> 300 requests per 1 minute</span>

<span>💰 <strong>Cost:</strong> 2 credits per page of results <span title="Pricing shown is default pricing. Actual pricing may vary."></span></span>

post/v1/reddit/subreddit/search

Request body

apiKeystring required

Your Fiber API key

subredditstring required

Subreddit name (e.g. 'AskReddit'), r/ prefix form (e.g. 'r/AskReddit'), or full subreddit URL.

querystring required

Search query.

sort'relevance' | 'hot' | 'top' | 'new' | 'comment_count'

Sort order for subreddit search results.

timeframe'all' | 'day' | 'week' | 'month' | 'year'

Time window for subreddit search filtering.

nextPageTokenstring nullable

Pagination token from a previous response to retrieve the next page. Omit for the first page.

Response

Default Response

advicestring[] nullable

Tips, recommendations, and suggestions for using this API effectively.