Reddit post comments by post fullname

Reddit: fetch post comments (app)

by TikHubReady to run$0.0025 per request · $0.25 per 100 requests

Example

You ask your agent

“Show me the top comments on the r/cats post about the kitten found in the woods.”

You get

Title
We found this poor little kitten in the woods, covered in ice, with her fur stuck to the hunk of plastic she was…
Comment count
3049
Subreddit name
cats
Prefixed name
r/cats
Page info comment count
3066
What your agent sends and gets back (JSON)

Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.

Request

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

Response

{
  "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
        }
      }
    }
  }
}

Use it with your agent

Copy the prompt and paste it into your agent, then 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.

Provider access is included. If your agent isn't connected to Scrollport yet, it will help you set that up.

Other tools for this job

Compare all 16 →

Questions

Is Reddit post comments by post fullname (TikHub) free?

Scrollport has no free tier: it costs $0.0025 per request ($0.25 per 100 requests), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.

Do I need an API key from TikHub?

No. Your agent runs it through your Scrollport connection (MCP, the Scrollport CLI or the HTTP API), and Scrollport handles access to TikHub, so you don't sign up with TikHub or manage an API key.

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.

All 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

Main result payload.

Errors and limits
  • 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.