Hacker News RSS

mooreds1 pts0 comments

Hacker News RSS

Overview

hnrss.org provides custom, realtime RSS feeds for Hacker News.

The following feed types are available:

Firehose<br>New posts and comments as they arrive.

Searches<br>New posts and comments matching a given search term.

Replies<br>New comments in reply to a particular user or comment.

Best Comments<br>The best comments from across Hacker News.

Points<br>New posts with more than N points.

Activity<br>New posts with more than N comments.

Front Page<br>New posts as they appear on the front page.

Self-posts<br>New “Ask HN” and “Show HN” posts, along with polls.

Alternative<br>Follow Hacker News through some alternative homepages.

Jobs<br>New hiring posts made by YC startups along with comments from the monthly “Who is hiring?” threads.

Users<br>New posts and comments made by a given user.

Favorites<br>New posts that have been favorited by a particular user

Threads<br>New comments made in a given thread, optionally filtered by username.

Formats<br>In addition to RSS, all of the above are also available in Atom and JSON Feed formats.

Feeds

Each feed is valid RSS served over HTTPS.

Firehose Feeds

The “firehose” feeds contain all new posts and comments as they appear on Hacker News:

https://hnrss.org/newest<br>https://hnrss.org/newcomments

For just the posts that have appeared on the front page:

https://hnrss.org/frontpage

If the firehose feeds are a bit too noisy for you, read below on filtering them with the points and/or comments parameters.

Search Feeds

You can get a feed of new posts and/or comments containing keywords by using the q=KEYWORD parameter. For example:

https://hnrss.org/newest?q=Django<br>https://hnrss.org/newcomments?q=WordPress

If you want a single search feed but multiple keywords, separate the keywords with " OR ":

https://hnrss.org/newest?q=git+OR+linux

If your query contains reserved characters (especially the plus sign), you'll need to percent-encode those characters:

# This is the percent-encoded form of C++<br>https://hnrss.org/newest?q=C%2B%2B

Reply Feeds

Keep an eye on replies to your comments:

https://hnrss.org/replies?id=jerf

Use a comment ID to follow replies to a particular comment:

https://hnrss.org/replies?id=17752464

Best Comments

Recent, highly voted comments from across Hacker News:

https://hnrss.org/bestcomments

Some great stuff in here in threads you may not normally have opened. Definitely recommended.

Self Post Feeds

Ask HN, Show HN, and polls are available:

https://hnrss.org/ask<br>https://hnrss.org/show<br>https://hnrss.org/polls

Alternative Feeds

Hacker News Classic only counts votes from "early users" (accounts created before February 13, 2008):

https://hnrss.org/classic

Hacker News Best for top vote getters from the past few days:

https://hnrss.org/best

Hacker News Invited and Pool for reposted stories invited back by the mods and given a second chance:

https://hnrss.org/invited<br>https://hnrss.org/pool

Hacker News Active for posts with the most active, ongoing discussions:

https://hnrss.org/active

Hacker News Launches for "Launch HN" posts from YC affiliated startups:

https://hnrss.org/launches

Job Feeds

Job opportunities from YC funded startups:

https://hnrss.org/jobs

Top level comments in threads created by the whoishiring bot:

# Comments from "Who is hiring?" threads<br>https://hnrss.org/whoishiring/jobs

# Comments from "Who wants to be hired?" threads<br>https://hnrss.org/whoishiring/hired

# Comments from "Freelancer? Seeking freelancer?" threads<br>https://hnrss.org/whoishiring/freelance

# All of the above<br>https://hnrss.org/whoishiring

If you’re interested in something in particular, you can apply a q=KEYWORD parameter to only return relevant comments. For example, filter the top-level “Who is hiring?” comments to only those containing “React Native”:

https://hnrss.org/whoishiring/jobs?q=React+Native

User Feeds

If you don’t want to miss a post or comment by a given user, you can subscribe to that user’s feed:

https://hnrss.org/submitted?id=USERNAME # posts<br>https://hnrss.org/threads?id=USERNAME # comments<br>https://hnrss.org/user?id=USERNAME # everything

Favorite Feeds

Supply a username and get a feed of posts that have been "favorited" by that user:

https://hnrss.org/favorites?id=edavis

At the moment this only returns posts, not comments.

Note: This scrapes Hacker News first and then fetches from Algolia. For this reason, please be extra conservative with your refresh schedule. Thanks in advance.

Thread Feeds

A chronological feed of new comments on a particular post can be found at:

https://hnrss.org/item?id=THREAD_ID

You can filter this feed by author by providing the author parameter:

https://hnrss.org/item?id=THREAD_ID&author=USERNAME

With THREAD_ID the numerical ID found in the URL when viewing the comments page and USERNAME being the author's username.

Feed Options

You can modify any feed’s output using URL parameters. Multiple parameters can be applied at the same time by joining them with an ampersand.

Activity...

hnrss https comments posts hacker news

Related Articles