Hacker News Live API

Max item ID and recent updates.

GitHub OpenAPI

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

1 of 2 operations are conformant: apis.io called them with no credentials and the responses matched this contract; 1 more answered but could not be checked against a schema. Checked 2026-11-12. how this works · status file

GET /maxitem.json Get the highest item ID · Get max item ID observed #
Ask an LLM
“What is the largest item ID on Hacker News right now?”
“How do I find the newest story ID?”
Tell an agent
Get the maximum item ID.
Tell me the highest story ID.
GET /updates.json List recently changed items and profiles · Get changed items and profiles conformant #
Ask an LLM
“Which stories or comments have changed recently?”
“Can I see updated user profiles?”
Tell an agent
Show me recently changed items and profiles.
List anything that has been updated.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/hacker-news:hacker-news-live-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hacker-news-live-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hacker News Live API
  description: The official Hacker News API provides read-only access to items (stories, comments, jobs, Ask HNs, polls), users, and live data via Firebase. No authentication is required.
  version: v0
  contact:
    name: Hacker News
    url: https://github.com/HackerNews/API
  license:
    name: MIT
    url: https://github.com/HackerNews/API/blob/master/LICENSE
servers:
- url: https://hacker-news.firebaseio.com/v0
  description: Production Firebase endpoint
tags:
- name: Live
  description: Max item ID and recent updates.
paths:
  /maxitem.json:
    get:
      summary: Get max item ID
      description: Returns the current largest item ID.
      operationId: getMaxItem
      tags:
      - Live
      responses:
        '200':
          description: Latest item ID
          content:
            application/json:
              schema:
                type: integer
  /updates.json:
    get:
      summary: Get changed items and profiles
      description: Returns items and user profiles that have recently changed.
      operationId: getUpdates
      tags:
      - Live
      responses:
        '200':
          description: Updates payload
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: integer
                  profiles:
                    type: array
                    items:
                      type: string