Hacker News API for AI agents
6 live endpoints on UnifAPI · $0.001 per record · one public-data layer for Skills and custom agent workflows.
Official Hacker News item, user, story-feed, max-item, and update resources behind the same UnifAPI envelope and billing model.
Use Hacker News records as evidence, not glue code.
UnifAPI keeps the public Hacker News surface discoverable through MCP and callable over HTTP. Agents can inspect the schema, fetch only the records needed for the task, and return the result with request, pagination, and billing metadata intact.
Fetch public Hacker News records when an agent needs source evidence instead of generic web text.
Use the same operation contracts through MCP for exploratory Skills and through HTTP for production integrations.
Combine this platform with the rest of UnifAPI's catalog without changing response envelopes or billing logic.
6 ready-to-call endpoints
Get Hacker News item by ID
Fetch a single Hacker News item. Stories, comments, jobs, polls, and poll options share the same item shape.
Get largest Hacker News item ID
Returns the current largest Hacker News item id.
List Hacker News story IDs
List Hacker News story ids from a named feed. Use `/hacker-news/items/{id}` to fetch item details.
List Hacker News story items
Fetch item details from a named Hacker News story feed in one operation. Use this when an agent needs readable story titles, URLs, scores, authors, or comment counts.
Get changed Hacker News items and profiles
Returns recently changed Hacker News item ids and user profile ids.
Get Hacker News user by ID
Fetch a public Hacker News user profile by case-sensitive username.