Skip to main content
GET
search
Returns posts plus an after token to page. Each post carries title, author, selftext, selftext_html, subreddit, score, ups, downs, upvote_ratio, num_comments, created_utc, created_at_iso, url, permalink, subreddit_subscribers, is_video, over_18 and spoiler. sort accepts relevance, new, top and comment_count; timeframe narrows the window. Measured at 8 to 16 seconds and 8 to 26 KB — the slowest endpoint here. To stay inside one community, get_reddit_subreddit_search is faster and pages with cursor rather than after. To read one post’s discussion, 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/search
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/reddit/search
  • after: query; optional
  • count: query; optional
  • filter: query; optional
  • limit: query; optional
  • query: query; optional
  • sort: query; optional
  • time: query; optional
  • timeframe: query; optional
  • trim: query; optional
  • trimmed: query; optional
  • Runtime facts: fdf0a203e7ec628291b62272da7b8bbbe431c8f77f251ea2e65c19cd3c98fa37
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based billing; Default request estimate: $0.00188 USD (not a fixed price). Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.00188
  • Cost contract: response_count
  • Published reference multiplier: 1.0
  • Settlement evidence source: response_body

Authorizations

Authorization
string
header
required

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

Query Parameters

after
string

Used to paginate to next page

count
string
filter
enum<string>

Search posts or comments

Available options:
comments,
posts
limit
string
query
string

Search query

sort
string

Sort by

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

time
string
timeframe
string

Timeframe

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

trim
string

Set to true for a trimmed down version of the response

trimmed
string

Response

Successful response

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