Skip to content
//Hacker News Scraper example\\

Newest Hacker News stories, 10 results

The live list of new stories.

Updated November 14, 2026

What this example returns

This example returns up to 10 results.

The dataset’s “Overview” view shows 11 columns: Rank, Type, Title, Link, Author, Points, Comments, Created, Text, HN page, and Input. See every output field.

What each setting does

The input this example runs Hacker News Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Front-page lists storyLists

new

Live Hacker News rankings: top (front page), new, best, ask, show and job. Up to 500 stories per list.

Max results per input maxResults

10

Maximum stories or comments per search query, list or user (comments under stories are counted separately). 0 = all available. Relevance search lists 1,000 hits per query; past that, the query is read again in date windows, each sorted by relevance.

Default: 20 → this example uses 10

Max comments per story maxCommentsPerItem

0

Cap on comments per story or item. 0 = the whole thread.

Default: 50 → this example uses 0

.json
{
  "storyLists": [
    "new"
  ],
  "maxResults": 10,
  "maxCommentsPerItem": 0
}

What it costs

From about $0.008 for 10 results

An estimate at the lowest plan price: 10 × $0.000796 per result (One Hacker News story, comment or user profile saved to the dataset). A run is charged for the events it reports, so one that finds fewer results costs less. Platform usage is included in the event price.

Full pricing

When to use this example

From the Hacker News Scraper readme:

Why are some fields empty?

Hacker News leaves them empty: link posts have no text, Ask HN posts have no url, comments have no points (HN hides them), and deleted comments are skipped.

How many results can I get?

Front-page lists hold up to 500 stories each. Hacker News search lists at most 1,000 hits per relevance-sorted query. When you ask for more, the actor keeps going, so a relevance search reaches the whole archive too; the first 1,000 rows are the overall best matches, later rows are the best matches of each time period, newest period first. With Sort by date the whole archive is paged newest first.

Other ways to run Hacker News Scraper

All examples of Hacker News Scraper

About Hacker News Scraper

Scrape Hacker News stories, comments, front-page lists and user profiles. Full-archive search with points, comments, date and author filters, complete comment trees, live rankings. No login needed.

Price:
From $0.796 / 1,000 results
Developer:
Querystone
Categories:
News, Developer tools

Hacker News Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.