Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to get a list or json of all the subreddits using the api?

Tags:

reddit

I've been looking at the API methods and couldn't find one that would return a json with all the subreddits. Or is the only way to do this is by scraping reddit.com/reddits?

like image 687
icanc Avatar asked Feb 26 '13 23:02

icanc


People also ask

What can you do with Reddit API?

The Reddit API (Application Programming Interface) allows you to extract data, or post to Reddit using a web application or your preferred programming language.

Is the Reddit API free?

All of the Reddit APIs listed are free to use, although the Socialgrep API — used for searching posts and comments dating back to 2010 — does come with features that are locked behind a pay wall.


1 Answers

Add .json to the end of the URL: http://www.reddit.com/reddits.json

like image 182
bboe Avatar answered Oct 21 '22 23:10

bboe