r/pushshift • • Feb 18 '19

Total Number of Comments per Month (for All of Reddit)?

Hello,

​

Can you get an aggregate count of all Reddit comments per month from the API? This example from the documentation works, providing monthly counts of posts mentioning "Trump":

​

https://api.pushshift.io/reddit/search/comment/?q=trump&after=7d&aggs=created_utc&frequency=hour&size=0

​

However, if you take out Trump, it doesn't return anything:

​

https://api.pushshift.io/reddit/search/comment/?after=7d&aggs=created_utc&frequency=hour&size=0

​

Is there a way to do this, or some other way to get an aggregate count of all Reddit comments per month? There's a text file with monthly counts on files.pushshift.io, but it's not updated (https://files.pushshift.io/reddit/comments/monthlyCount.txt).

​

Thank you!

2 Upvotes

1 comment sorted by

1

u/TrueBirch Feb 18 '19

Check out the pushshift.io homepage under "Reddit Activity (Complete History)". You can mouse over each month to see how many comments and submissions there were.