Back to Search Reddit

Reddit post comments by post fullname

TikHub

Reddit: fetch post comments (app)

Use this tool with your AI agent

  1. Copy the prompt
  2. Paste it into your agent
  3. Tell it what you need

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Reddit post comments by post fullname (tool ID: tikhub.reddit-app-fetch-post-comments). Ask me for the details you need, then show me the result.

Already connected
Your agent can use that connection.
New user
Your agent will guide you through setup, sign-in and authorisation.

Provider access is included.

Connect your first agent to receive $1 trial credit.

Current price
$0.0025/request
Availability
Ready to run

Tool details

About this tool

Reddit: fetch post comments (app) Retrieve one bounded result or page. Pagination is explicit; each follow-up page is another call. The catalog price is the maximum per request. Quotes use the selected limits. Completed requests cost their quote, including valid empty pages and no-match answers. Failed requests are uncharged. Read public social data without a connected social account. Results include reviewed business data and available pagination. The worked example shows selected fields from a recorded response, with at most one selected item from each list.

Inputs and outputs

Input

afterstring · optional

Pagination parameter for fetching next page

minLength: 1 · maxLength: 500

post_idstring · required

Reddit post FULLNAME — the t3_ prefix is required. Build it from the URL: reddit.com/r/.../comments/1v7z1m7/ → t3_1v7z1m7. A bare id answers HTTP 200 with data.postInfoById null and STILL BILLS (see miss).

minLength: 1 · maxLength: 30

sort_typestring · optional

Sort method: CONFIDENCE, NEW, TOP, HOT, CONTROVERSIAL, OLD, RANDOM

minLength: 1 · maxLength: 500

Output

dataobject

Returned data value.

Example request and output

Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.

Request

{
  "tool_id": "tikhub.reddit-app-fetch-post-comments",
  "input": {
    "post_id": "t3_1qmup73",
    "sort_type": "TOP"
  }
}

Output

{
  "data": {
    "postInfoById": {
      "id": "t3_1qmup73",
      "title": "We found this poor little kitten in the woods, covered in ice, with her fur stuck to the hunk of plastic she was hiding under for shelter. We saved her 😁",
      "subreddit": {
        "id": "t5_2qhta",
        "name": "cats",
        "prefixedName": "r/cats"
      },
      "commentCount": 3049,
      "commentForest": {
        "trees": [
          {
            "node": {
              "id": "t1_o1oygtm",
              "score": 20120,
              "content": {
                "preview": "Someone requested more pictures so I'm uploading a few now. This is the last one.",
                "markdown": "![img](o25sd8qn9kfg1)\n\nSomeone requested more pictures so I'm uploading a few now. This is the last one."
              },
              "permalink": "/r/cats/comments/1qmup73/we_found_this_poor_little_kitten_in_the_woods/o1oygtm/",
              "authorInfo": {
                "id": "t2_yee7k",
                "name": "ArmorOfGod7"
              }
            }
          }
        ],
        "pageInfo": {
          "commentCount": 3066
        }
      }
    }
  }
}
Errors and limitations
  • invalid_input: The lookup fields or limits are invalid.example: {"post_id":"t3_1qmup73","sort_type":"TOP"}
  • upstream_error: The provider could not complete a verified result; the wallet was not charged.Check the documented fields and contact Scrollport support with the run ID if needed.