Post Comments

Reddit

Retrieve a bounded page of public comments for a Reddit post.

Current price
$0.0027/call
Availability
Ready to run
Last accepted verification

What this API does

Return bounded top-level public comments with string IDs, canonical URLs, text, authors, parent IDs, timestamps, scores and reply counts. One opaque provider cursor is accepted per call; nested replies are summarized rather than recursively expanded.

Agents select this operation with tool ID reddit.post-comments, then inspect its current executable contract before a run.

Public input and output shape

Input

cursorstring · optional

Value supplied for cursor.

minLength: 1 · maxLength: 2048

limitinteger · optional

Value supplied for limit.

minimum: 1 · maximum: 100

urlstring · required

Value supplied for url.

format: uri · maxLength: 1024

Output

captured_atstring

Returned captured at value.

duplicate_itemsnumber

Returned duplicate items value.

itemsarray

Returned items value.

next_cursorstring

Returned next cursor value.

omitted_itemsnumber

Returned omitted items value.

Example request and output

This reviewed worked example is shared with inspect. Inspect also returns the current executable schema and price estimate before a paid run.

Request

{
  "tool_id": "reddit.post-comments",
  "input": {
    "url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love/",
    "limit": 10
  }
}

Output

{
  "items": [
    {
      "id": "mymupxb",
      "url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/example/mymupxb/",
      "text": "A public comment",
      "score": 75,
      "author": "public-author",
      "parent_id": "t3_1lfbo7u",
      "reply_count": 1
    }
  ],
  "captured_at": "2026-08-20T00:00:00.000Z",
  "next_cursor": "opaque-next",
  "omitted_items": 0,
  "duplicate_items": 0
}
Teaching errors and limitations
  • invalid_input: The route input was invalid or outside its public-read bounds.example: {"url":"https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love/","limit":10}
Updated
21 August 2026

Use Post Comments with Scrollport

Scrollport identifies and validates the best-in-class API tools and provides them on a pay-as-you-go basis so you don't need to maintain a separate provider account, subscription or credits.

Give your agent the setup prompt to receive $1 in trial credit and start using the tools right away.