Skip to documentation
Browse documentation

List post comments

Return a bounded sample of public comments from one Reddit thread. No page cursor or full conversation coverage. May take up to 60 seconds.

Capability ID reddit.post.comments.list
Maximum runtime 60 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

after string optional

Pagination is unavailable for thread comment samples. Omit this field.

limit integer optional

Maximum comments in a bounded discussion sample (not a complete reply tree). From 1 to 100. Default: `50`.

Example 25
url string required

Reddit thread URL: redd.it/{id}, reddit.com/comments/{id}, or reddit.com/r/{community}/comments/{id}/{slug}.

Example https://www.reddit.com/r/redditdev/comments/1vgbm9c/our_plans_for_the_future_of_reddits_public_data/

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
complete boolean false
items array 3 items
items array 3 items
next null null

Execution behavior

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