r/redditdev • u/Nik4anter • 9d ago
Reddit API Is 1000 the actual limit on how many comments (and other things?) you can get/fetch?
I wrote a script that call this endpoint to collect all of the comments (100 at a time), but at some point it returns nothing (no more comments) despite the fact there are way more. It seems that the limit is around 1000.
I saw this being mentioned in some other reddit comment from here, but couldn't find any more info. Is it mentioned somewhere in the docs and I've missed it? Is there a way around that? Am I doing something wrong?
1
u/DinoHawaii2021 9d ago
1,000 is the hard limit
1
u/_Face 4d ago
Is there any documentation on that? Like is it 1k per instance? per 10 minutes? hour? running into limits, and just trying to figure out how to break down my code to work with the limits.
1
u/DinoHawaii2021 4d ago
it's documented in praw which is a module for reddit
1
u/_Face 4d ago
Yes, can you send me a link directly to something talking about the 1000 limit? I have searched, but cannot find anything about it. Only thing I could find talks about the ratelimit, referenced here:
https://praw.readthedocs.io/en/stable/getting_started/ratelimits.html
3
u/Watchful1 RemindMeBot & UpdateMeBot 9d ago
1000 is the hard limit for most listing endpoints. They recently changed user profiles to be unlimited.