Skip to main content
GET
search
Returns matching posts with a cursor token to page: title, author, selftext, score, ups, upvote_ratio, num_comments, created_utc, created_at_iso, url, permalink and is_video.
Despite what the sort values suggest, every sort returns posts and only posts. Comments and media were confirmed absent from all five.
Measured at about 5 KB and 2 seconds — faster than get_reddit_search, which searches all of Reddit and pages with after instead of cursor. For the replies under a result, pass its url to get_reddit_post_comments.

Example

First time? Point any MCP client at https://mcp.aisa.one/mcp — Claude Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client opens a browser, you click Allow once, and there is no key to paste. Your agent then reaches every endpoint through a few meta tools: search, list_categories, get_details and batch_quote are free, batch_use is billed per call. Setup per client is in Connect via MCP; the live tool list and what each call costs are on aisa.one/mcp.
Set this endpoint up in your agent →

Request contract

  • Method and path: GET /apis/v1/reddit/subreddit/search
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/reddit/subreddit/search
  • cursor: query; optional
  • query: query; optional
  • sort: query; optional
  • subreddit: query; required
  • timeframe: query; optional
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Charged for the actual billable results. Default request estimate: $0.00188 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

cursor
string

Cursor to get more results. Get 'cursor' from previous response.

query
string

Search query to find matching content

sort
string

Sort order. For posts/media: relevance, hot, top, new, comments. For comments: relevance, top, new

Provider reference (supplier schema): {"enum":["relevance","hot","top","new","comments"],"type":"string"}.

subreddit
string
required

Subreddit name (e.g. 'Fitness', not 'r/Fitness' or a full URL)

timeframe
string

Timeframe to filter results

Provider reference (supplier schema): {"enum":["all","year","month","week","day","hour"],"type":"string"}.

Response

Successful response

after
string | null
credits_remaining
integer
cursor
string | null
posts
object[]
success
boolean