Skip to documentation
Browse documentation

List posts

List public posts from one or more subreddits, with new, hot, top, and rising rankings and cursor pagination. May take up to 60 seconds.

Capability ID reddit.posts.list
Maximum runtime 60 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

after string optional

Opaque cursor from a previous result's next field.

limit integer optional

Page size (default 50). From 1 to 100. Default: `50`.

Example 25
sort string optional

Reddit listing order. Allowed values: `new`, `hot`, `top`, `rising`. Default: `new`.

Example new
Available values newhottoprising
subreddits string required

Required comma-separated individual community names. Aggregate feeds all and popular are unavailable. For global post search, use reddit.posts.search.

Example webdev,startups
time string optional

Ranking window. Primarily affects top listings. Allowed values: `hour`, `day`, `week`, `month`, `year`, `all`. Default: `all`.

Available values hourdayweekmonthyearall

Response

Successful output is returned in results[0].data.

Raw platform output is intentionally open-ended and may evolve with the upstream source.

Illustrative sample The example response is shown in the response panel.

Illustrative output fields

Values illustrate one response. Read the guidance above for missing values and limits; fields can vary with the requested operation and the data available.

PathObserved typeExample
items array 3 items
items array 3 items
next string [redacted:token]

Execution behavior

A 200 response completed inline. A 202 response was queued; poll GET /jobs/:id until the job reaches completed or failed.