Skip to main content
POST
Reddit Post Search

Authorizations

Authorization
string
header
required

A Mouter API key or OAuth access token.

Headers

Idempotency-Key
string

Reuse the key with the same credential and input when retrying the same submission.

Required string length: 1 - 128

Body

application/json
query
string
required
Required string length: 1 - 512
sort
enum<string>
default:relevance
Available options:
relevance,
hot,
top,
new,
comments
time_range
enum<string>
default:all
Available options:
all,
year,
month,
week,
day,
hour
language
string
default:en-US
Maximum string length: 16
Pattern: ^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$
cursor
string | null
Required string length: 1 - 16384

Response

Existing task returned for an idempotent retry. An available result matches the output schema shown here.

code
integer
required
message
string
required
Allowed value: ""
data
object
required
request_id
string | null
required