Built by Metorial, the integration platform for agentic AI.

Learn More

Tools

Get User

Retrieve a Hacker News user profile by username. Returns karma, creation date, bio, and recent submission IDs. Usernames are case-sensitive.

Search

Full-text search across Hacker News content powered by Algolia. Search stories, comments, Ask HN, Show HN, and jobs. Supports filtering by content type, author, date range, and minimum points. Results can be sorted by relevance or date.

List Stories

Retrieve a ranked list of Hacker News stories by category. Supports top, new, best, Ask HN, Show HN, and job listings. Returns story IDs with optional full story details. Top and new feeds contain up to 500 items; Ask HN, Show HN, and job feeds contain up to 200. Top stories can include jobs.

Get Item

Retrieve a Hacker News item by its unique ID. Items include stories, comments, jobs, Ask HN posts, polls, and poll options. Returns the full item data including author, score, text content, URL, and child comment IDs.

Get Comment Tree

Retrieve the full nested comment tree for a Hacker News story in a single request via Algolia. Unlike the Firebase API which requires recursive fetching of each comment, this returns the entire comment hierarchy at once.

Get Maximum Item Id

Retrieve the current largest Hacker News item ID. Walk backward through IDs with get_item to discover items; individual IDs may be unavailable.

Get Updates

Retrieve recently changed Hacker News item IDs and usernames. Use get_item and get_user to retrieve their current data. This feed is a current snapshot, not a complete change history.