Social Fetch icon

Social Fetch

Fetch social media and web data via the Social Fetch API

Actions129

Hacker News → Feed

AI-generated

Summary

Retrieve a list of Hacker News items from a specified feed category, optionally limiting and offsetting the results.

Inputs

  • Feed (required) — Select the Hacker News feed to retrieve: top, new, best, ask, show, or jobs.
  • Limit — Specify the maximum number of items to retrieve, between 1 and 50 (default 30).
  • Offset — Specify the zero-based offset to start retrieving items from the feed.

Output shape

a list of Hacker News feed items

Returns up to the specified limit of items from the selected feed starting at the given offset. Pagination is supported by specifying limit and offset. Errors may be raised if parameters are out of range or if network requests fail.

Examples

Example 1: Fetch the top 30 Hacker News stories starting from the first item.

Feed set to 'Top', Limit to 30, Offset to 0 (default).

Example 2: Fetch 10 new Hacker News posts starting from the 20th item.

Feed set to 'New', Limit to 10, Offset to 20.

Links

Discussion