# Hacker News API

> Official Hacker News API on Firebase: fetch stories, comments, jobs, polls and user profiles as JSON, with no key.

Source: https://osinttools.io/tools/hacker-news-api/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** Username
- **Category:** Social media intelligence
- **Pricing:** Free
- **Footprint:** passive (does not contact the target)
- **Account required:** no
- **API:** yes
- **Platforms:** API
- **Website:** https://github.com/HackerNews/API
- **Docs:** https://github.com/HackerNews/API
- **Listed:** Nov 29
- **Last verified by an editor:** Nov 29, 2026

## What it does

The Hacker News API is the site's official public API, run in partnership with Firebase and documented in the HackerNews/API repository on GitHub. It exposes Hacker News's public data in near real time: every story, comment, job, Ask HN and poll is an item fetched by its numeric ID, and each user with public activity has a profile with creation date, karma, optional self-description and the list of everything they submitted.

Investigators use it to pull a user's posting history from their username, read a discussion thread, or watch new items as they appear. No key is needed and the README says there is currently no rate limit. The design is a dump of the site's in-memory structures, so a thread is fetched one item at a time by following IDs, and the documented API has no search endpoint. Live lists give up to 500 top and new stories, up to 200 Ask, Show and job stories, the largest item ID, and recently changed items and profiles.

Footprint is passive: it reads its own index or third-party records and does not contact the target. No account is needed. There is an API.

## Features

- Items by ID: stories, comments, jobs and polls
- User profile with karma, creation date and submissions list
- Top, new and best story lists
- Ask HN, Show HN and job lists
- Changed items and profiles feed
- Max item ID for walking back through every item
- Firebase client libraries for live updates

## Pros

- No key and no stated rate limit
- A user's whole submission list comes from one call
- Near real-time data
- Documented by the site itself

## Cons

- No search endpoint: you look things up by item ID or username
- A comment thread takes one request per item
- Usernames are case-sensitive, and only users with public activity are available

## When to use it

- Use it when you have a Hacker News username and want the account's age, karma, self-description and everything it posted.
- Use it when you need a whole discussion thread as structured data.

## Quick start

1. Open Hacker News API.
2. Paste the username and run the lookup.
3. Record the result with the date and the exact query; results change over time.

## Alternatives

- [Sherlock](https://osinttools.io/tools/sherlock/): Command-line tool that checks hundreds of websites for an account with a given username. (Open source · Username · active · 118,238 GitHub stars)
- [BskyFollowFinder](https://osinttools.io/tools/bsky-follow-finder/): Lists Bluesky accounts that many of a profile's followed accounts follow, but the profile itself does not. (Free · Username · active)
- [ChatCrawler](https://osinttools.io/tools/chatcrawler/): Search engine for public Telegram that shows a username's history and which open groups and channels an author posted in. (Free · Username · passive)
- [Combot Telegram Rankings](https://osinttools.io/tools/combot-telegram-top/): Ranked directory of public Telegram groups and channels from Combot, filterable by language, with member counts. (Free · Username · passive)
- [Exolyt](https://osinttools.io/tools/exolyt/): TikTok analytics platform for tracking accounts, hashtags and sounds, with social listening and influencer research. (Freemium · Username · passive)
- [FollowerAudit](https://osinttools.io/tools/followeraudit/): Audits the followers of any public X (Twitter) account and estimates how many are fake, spam, bot or inactive. (Freemium · Username · passive)

All alternatives to Hacker News API in one table: https://osinttools.io/tools/hacker-news-api/alternatives/

## Change history

- 2026-11-29: API reference published: 5 endpoints. (api reference: /apis/hacker-news-api/)
- 2026-11-29: Listed in the directory.

Feed of changes to Hacker News API: https://osinttools.io/tools/changes/feed.xml?tool=hacker-news-api

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
