Skip to content

Search Reddit posts

POST/v1/tools/reddit.search.posts/callsNeeds an API key

Returns the Reddit posts that match a search, with subreddit, author, score and comment count, a page at a time. Use it to find what communities say about a topic.

Tool reddit.search.posts on Reddit. Contract version 1, released 2026-10-30.

Over REST, send the input in the body. Over MCP, pass the same input to call_tool.

Both return the full response: the call's ID, status and cost, with this tool's result in output.

Input

querystringRequired

The search query. Reddit's search operators work, such as subreddit:python, author:spez, title:"exact phrase" or AND, OR and NOT in capitals.

sortstring· default relevance

Order of the results: relevance (Reddit's ranking), hot, top (highest score), new or comments (most commented). Only relevance weighs how well a post matches the query.

relevance
hot
top
new
comments
time_rangestring

Only posts published in the last hour, day, week, month or year.

hour
day
week
month
year
next_page_tokenstring

Fetches the next page. Take it from pagination.next_page_token of the previous page, and send the same query, sort and time_range.

Output

A successful call returns these blocks in its output. A field not marked required can be null.

posts

A list of rows. Always present, possibly empty.

idstringRequired

Reddit's full name of the post, t3_ followed by the post id in its address.

urlstringRequired

Address of the post on www.reddit.com, as reddit.post.detail and reddit.post.comments take it.

Format uri.

titlestring
textstring

The body of a text post, in Markdown. Null for a link post.

link_urlstring

Address a link post points at, such as an article or an image. Null for a text post.

subredditstringRequired

Name of the subreddit the post is in, without r/.

flairstring

Text of the post's flair, the label its subreddit gives it.

published_atstring

When the post was published, in ISO 8601.

author_idstring

Reddit's full name of the author's account, t2_ followed by its id.

author_usernamestring

The author's username, without u/.

scoreinteger

Upvotes minus downvotes, as Reddit shows it. Reddit fuzzes it slightly.

upvote_rationumber

Share of the votes that are upvotes, from 0 to 1. Reddit fuzzes it slightly.

comment_countinteger
nsfwboolean

Whether the post is marked NSFW (not safe for work).

spoilerboolean

Whether the post is marked as a spoiler.

lockedboolean

Whether the post is locked to new comments.

stickiedboolean

Whether the post is pinned to the top of its subreddit.

pagination

One object. Can be null. How to fetch the next page. Null on the last page.

next_page_tokenstringRequired

Send as next_page_token to fetch the next page.