Hacker News

List ranked Hacker News stories

List the item IDs of a ranked Hacker News list in source rank order: top (the front page), new, best, Ask HN, Show HN or jobs. IDs are returned as data; read the ones you want with the story endpoint. Page through the list with limit and page. Each successful request costs 1 account credit, including partial results. Failed requests cost 0 credits.

get/v1/hackernews/stories

Request

  • Base URL: https://api.scrapeatlas.com
  • URL: https://api.scrapeatlas.com/v1/hackernews/stories
  • Auth: API key in header x-api-key

Query parameters

list'top' | 'new' | 'best' | 'ask' | 'show' | 'job' required

Required list to read: top, new, best, ask, show or job.

limitstring

IDs per page, 1–500; defaults to 50.

pagestring

Zero-based page number, 0–999; defaults to 0. A page past the end returns an empty list.

Response

Inspect the response status and failure or coverage fields.

OR

Changes

No recorded changes to this operation across all 1 revision of this API.