Social Fetch icon

Social Fetch

Fetch social media and web data via the Social Fetch API

Actions129

Hacker News → Story Comments

AI-generated

Summary

Returns the comment tree for a Hacker News story by ID. Choose whether to fetch only the first page or paginate through all available comments.

Inputs

  • ID (required) — Hacker News story ID whose comments to retrieve.
  • Return All — When enabled, follows the cursor through pages until no more results remain; otherwise returns only the first page. Each page consumes API credits.
  • Limit — Maximum comment nodes per page, from 1 to 100; defaults to 50.

Output shape

A list of comment nodes for the story.

With Return All disabled, the list contains results from the first page only. With it enabled, results are accumulated across pages.

Links

Discussion