Reddit is one of the most popular websites that has extensive RSS support. You can do things with RSS feed which you can’t even do with normal APIs. I’ll give some examples.
Frontpage
You can get RSS feed of the frontpage using following URL:
Subreddit
To create RSS feed of posts appearing in a subreddit, you can use:
https://www.reddit.com/r/{subreddit-name}/.rss
The above URL will return posts in Default (Hot) sort order of the subreddit. That’s not it though. You can get the feed in your preferred sort order using the following URL (replace {sort-order} with one of the — ‘new’, ‘rising’, ‘controversial’):
https://www.reddit.com/r/{subreddit-name}/{sort-order}/.rss?sort={sort-order}
There’s one more type of feed that Reddit allows on a subreddit level. Top Feed. To get RSS feed of Top posts of a subreddit, try following URL (replace {time} with one of the — ‘hour’, ‘day’, ‘week’, ‘month’, ‘year’, ‘all_time’ to get top posts of the subreddit in respective interval):
https://www.reddit.com/r/{subreddit-name}/top/.rss?sort=top&t={time}
To create RSS feed of all the comments appearing in a subreddit, you can use:
https://www.reddit.com/r/{subreddit-name}/comments/.rss
User
To get RSS feed of all the posts by a specific user, try following URL:
https://www.reddit.com/user/{user-name}/.rss
To get RSS feed of the posts submitted by a specific user, try following URL:
https://www.reddit.com/user/{user-name}/submitted/.rss
If you want to get notified when a user comments on the site, you can use following URL:
https://www.reddit.com/user/{user- name}/comments/.rss
Multireddit
To create RSS feed from a multireddit, try following format:
https://www.reddit.com/r/{subreddit-1}+{subreddit-2}.rss
Domain
To get RSS feed of posts submitted to Reddit that belongs to a specific domain, try following URL:
https://www.reddit.com/domain/{domain-name}/.rss
Search
To get notified whenever a specific search term appears on Reddit, you can subscribe to RSS feed fetched from following URL:
https://www.reddit.com/search.rss?q={search-term}
Comments in a Post
If you find comments in a single post interesting and want to follow the updates, you can use following URL with the help of post id:
https://www.reddit.com/r/{subreddit-name}/comments/{6-character-post-id}/.rss
Private Feeds
You can access your Private Reddit Feeds by following these simple steps:
- Go to your preferences — https://reddit.com/prefs/
- Make sure ‘Enable private RSS feeds’ is checked
- Go to : https://www.reddit.com/prefs/feeds
- Download any of the preferred feed and import in any of the supported app