Skip to main content
GET
Subreddit Posts
Get the post stream of a subreddit. Subreddit names are case-sensitive (AskReddit, not askreddit).

Example

Authorizations

Authorization
string
header
required

AIsa API key. Get yours at https://aisa.one

Query Parameters

subreddit
string
required

Subreddit name

timeframe
enum<string>

Timeframe to get posts from. Runtime requires sort=top when timeframe is provided.

Available options:
all,
day,
week,
month,
year
sort
enum<string>

Sort order

Available options:
best,
hot,
new,
top,
rising
after
string

After to get more posts. Get 'after' from previous response.

trim
boolean

Set to true for a trimmed down version of the response

Response

Successful response

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