Skip to main content
POST
Reddit user comments

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
username
string
required
Pattern: ^[A-Za-z0-9_-]{1,20}$
language
string
default:en-US
Maximum string length: 16
Pattern: ^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$
sort
enum<string>
default:new
Available options:
new,
top,
hot,
controversial
limit
integer
default:25
Required range: 1 <= x <= 100
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