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

1

15

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?

Colocynth answered 26/2, 2013 at 23:27 Comment(0)
E
17

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

Electroshock answered 26/2, 2013 at 23:53 Comment(2)
It doesn’t because you have to paginate using limit (up to 100, default is 25) and after (here, t5_ followed by the id of the last element).Camilia
How to get list of subreddits subscribe by user?Calcify

© 2022 - 2024 — McMap. All rights reserved.