Back to Hub

Hacker News Top Stories

HTTP Official Data

Fetch top story IDs from Hacker News (up to 500 IDs). Use the Hacker News Get Item tool to fetch details for individual IDs. No API key needed.

Tony CostanzoTony Costanzo
0 installs
v1.0.0
Mar 26, 2026

Hacker News Top Stories

Official Fetch the current top story IDs from Hacker News.

What this tool does: Retrieves the list of current top story IDs from the Hacker News API, sorted by ranking. No authentication required. Use alongside the Hacker News Get Item tool to fetch full story details.

Setup

No setup required — the Hacker News API is free and open with no authentication.

Parameters

This tool takes no parameters. It returns the top story IDs directly.

Example Prompts

  • "What's trending on Hacker News right now?"
  • "Get me the top stories from HN"
  • "Show me what's popular on Hacker News"
Tip: This tool returns story IDs. Pair it with the Hacker News Get Item tool to fetch titles, URLs, and scores for each story.

Tool Definition

HTTP Configuration

Method: GET
URL: https://hacker-news.firebaseio.com/v0/topstories.json