Thread

Retrieve one public Hacker News item with a bounded nested comment tree and explicit truncation state.

by Hacker NewsReady to run$0.0050 per request · $0.50 per 100 requests

Example

You ask your agent

“Show me the discussion on this Hacker News post: news.ycombinator.com/item?id=8863”

You get

Max depth
2
Source URL
https://news.ycombinator.com/item?id=8863
Total comments
71
Omitted comments
46
Returned comments
25
Item title
My YC app: Dropbox - Throw away your USB drive
Item type
story
State
available
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": "hacker-news.thread",
  "input": {
    "id_or_url": "https://news.ycombinator.com/item?id=8863",
    "max_depth": 2,
    "max_comments": 25
  }
}

Response

{
  "item": {
    "id": "8863",
    "type": "story",
    "state": "available",
    "title": "My YC app: Dropbox - Throw away your USB drive",
    "author": "dhouston",
    "children": [
      {
        "id": "8865",
        "text": "oh, and a mac port is coming :)",
        "type": "comment",
        "state": "available",
        "author": "dhouston",
        "parent_id": "8863",
        "source_url": "https://news.ycombinator.com/item?id=8865"
      }
    ],
    "source_url": "https://news.ycombinator.com/item?id=8863"
  },
  "max_depth": 2,
  "truncated": true,
  "source_url": "https://news.ycombinator.com/item?id=8863",
  "captured_at": "2026-08-21T00:00:00.000Z",
  "total_comments": 71,
  "omitted_comments": 46,
  "returned_comments": 25
}

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 Thread (tool ID: hacker-news.thread). 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.

No agent yet? Create your account on the web and connect one from your dashboard later.

Other tools for this job

Compare all 3 →
  • SearchHacker News$0.0050 per request
  • User ProfileHacker News$0.0050 per request

Questions

Is Thread by Hacker News free?

Scrollport has no free tier: it costs $0.0050 per request ($0.50 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 Hacker News?

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

Details

About this tool

Retrieve a Hacker News story, job, poll or comment by exact numeric item ID or canonical item URL and return its nested discussion with configurable depth and comment-count limits. IDs stay strings, comment HTML becomes plain text, hierarchy and canonical links remain explicit, and dead, deleted, partial or truncated states are reported rather than silently omitted.

All inputs and outputs

Input

id_or_urlstring · required

Positive numeric HN item ID or canonical news.ycombinator.com item URL.

minLength: 1 · maxLength: 2048

max_commentsinteger · optional

minimum: 1 · maximum: 200

max_depthinteger · optional

minimum: 0 · maximum: 8

Output

captured_atstring

When the data was retrieved.

itemobject
max_depthnumber
omitted_commentsnumber
returned_commentsnumber
source_urlstring

URL of the source the record came from.

total_commentsnumber
truncatedboolean

Whether the result was shortened to fit the response limit.

Errors and limits
  • not_found: Hacker News could not find that public item.Use an exact positive item ID or canonical news.ycombinator.com item URL.