hnrss

Custom, realtime RSS feeds for Hacker News

This service provides RSS, Atom, and JSON Feed endpoints for Hacker News content. All feeds are generated on the fly from the Algolia HN Search API — no cache, no database.

Feed Formats

Append a suffix to any endpoint URL to select the feed format:

SuffixFormatMIME type
(none or .rss)RSS 2.0application/rss+xml
.atomAtom 1.0application/atom+xml
.jsonfeedJSON Feed 1.0application/json

Endpoints

Stories & Polls

/newest Newest stories and polls /newest/ai NEW Newest stories matching AI-related keywords (see below) /newest/noai NEW Newest stories with AI-related stories filtered out /frontpage Current front page stories /ask Ask HN threads /show Show HN threads /polls Polls /jobs Job postings

Comments

/newcomments Newest comments site-wide /bestcomments Best comments (scraped from HN best comments page) /item id= Comments on a specific story — requires id=<item_id>

User Feeds

/user id= All submissions and comments by a user — requires id=<username> /threads id= Comments only by a user — requires id=<username> /submitted id= Submissions only by a user — requires id=<username> /replies id= Replies to a user or item — requires id=<username> /favorites id= User's public favorites — requires id=<username>

Special Pages

/classic HN Classic page /best HN Best page /active HN Active page /invited HN Invited page /pool HN Pool page /launches HN Launches page

Who Is Hiring

/whoishiring All posts from the latest "Ask HN: Who is hiring?" thread /whoishiring/jobs Job offers only (seeking employees) /whoishiring/hired Candidates only (seeking employers) /whoishiring/freelance Freelance posts only

Query Parameters

ParameterDescriptionExample
qFull-text search queryq=golang
idUsername or item ID (required by some endpoints)id=pg
pointsMinimum points filterpoints=100
commentsMinimum comment count filtercomments=10
countNumber of items to return (max 100, default 20)count=50
descriptionSet to 0 to omit item descriptions from feed entriesdescription=0
linkSet to url to link directly to the article instead of HN commentslink=url
authorFilter by submitter usernameauthor=dang
search_attrsAlgolia search attributes (comma-separated: title, story_text, comment_text, url, author)search_attrs=title

AI Filtering Endpoints

/newest/ai and /newest/noai filter the newest stories feed based on AI content detection. Matching is case-insensitive and treats hyphens, slashes, and dots as word boundaries (so LLM-based matches llm).

The following terms trigger a match:

CategoryTerms
Concepts artificial intelligence, machine learning, deep learning, neural network, large language model, generative ai, natural language processing, foundation model, diffusion model, retrieval augmented, prompt engineering, fine tuning, finetuning, vector database, embedding model, agentic, ai agent, ai model, ai system, ai tool, vibe coding, attention mechanism
Acronyms (whole-word) AI, LLM, LLMs, AGI, RLHF, NLP, GenAI
Companies OpenAI, Anthropic, DeepMind, Mistral, Cohere, Hugging Face, Stability AI, Inflection AI, xAI
Products / Models ChatGPT, GPT-4, GPT-3, Claude, Gemini, Llama, Copilot, Midjourney, DALL-E, Stable Diffusion, Whisper, Grok, Mixtral, Perplexity, Devin, Cursor, Phi-3, Phi-4, o1, o3
Note: /newest/ai fetches up to 3× the requested count from Algolia and then filters client-side, so fewer items may be returned than count requests when AI content is sparse. The same applies to /newest/noai when AI content is dense.

Examples

/newest?q=golang&points=50 — newest Go stories with ≥ 50 points (RSS)
/newest/ai — newest AI stories (RSS)
/newest/noai.atom — newest non-AI stories (Atom)
/frontpage.atom — front page as Atom feed
/threads?id=pg — all comments by user pg
/item?id=17821181 — comments on a specific story
/ask?count=5&points=100 — top 5 Ask HN with ≥ 100 points
/newest.jsonfeed?q=rust&link=url — newest Rust stories as JSON Feed, linking to article URLs
/whoishiring/jobs — job listings from current "Who is Hiring" thread