Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.konbiniapi.com/llms.txt

Use this file to discover all available pages before exploring further.

What it does

Returns top-level comments on a Reddit post. Supports Reddit comment ordering and cursor-based pagination.

Tool details

FieldValue
Tool namereddit_get_post_comments
PlatformReddit
REST endpointGET /v1/reddit/posts/{postId}/comments
Result typeCollection tool

Parameters

ParameterTypeRequiredDescription
postIdstringYesReddit post ID (e.g. 1tgywrw or t3_1tgywrw)
countintegerNoNumber of comments to fetch (maximum: 100) Default: 25.
cursorstringNoPagination cursor
orderstringNoSort order: best (default), top, new, controversial, or old Default: best. Allowed values: best, top, new, controversial, old.
projection_presetstringNoDefaults to minimal. Allowed values: full, minimal, identity, engagement, content.
data_fieldsstring[]NoAdds top-level keys from data on top of the selected projection_preset.
item_fieldsstring[]NoAdds keys from data.orderedItems[] on top of the selected projection_preset.

Example

{
  "name": "reddit_get_post_comments",
  "arguments": {
    "postId": "DM8Q1ABC123",
    "count": 25,
    "projection_preset": "minimal",
    "data_fields": [
      "orderedItems",
      "nextCursor",
      "cursor",
      "itemCount"
    ],
    "item_fields": [
      "entityId",
      "published",
      "content",
      "url",
      "likeCount"
    ]
  }
}

Available data fields

  • @context
  • type
  • partOf
  • totalItems
  • cursor
  • nextCursor
  • next
  • itemCount
  • orderedItems

Available item fields

  • type
  • id
  • url
  • entityId
  • content
  • published
  • isPinned
  • isSponsored
  • hasReplies
  • likeCount
  • voteCount
  • attributedTo
  • inReplyTo
  • image
  • attachment

Response notes

Successful calls return a JSON object with a top-level data field and, when available, metadata.creditsUsed and metadata.creditsRemaining. See response format, pagination, and credits.