By utilizing Pushshift to access any Reddit, Inc. (“Reddit”) data or data API (the “Reddit Data API”), user certifies that they are a registered user of Reddit and a Reddit moderator (a “Mod") and may only access Reddit Services and Data through Pushshift Services for the express limited purposes of community moderation, enforcing Reddit community guidelines, and ensuring community member safety. The Mod further certifies that its access to and use of Reddit Data API through Pushshift Services will at all times strictly comply with (i) Reddit's Developer Terms (available at https://www.redditinc.com/policies/developer-terms) and Data API Terms (available at https://www.redditinc.com/policies/data-api-terms), in each case, including the privacy and security provisions therein (collectively, the “Reddit API Terms”) as in effect from time to time and (ii) all relevant laws and regulations.
For clarity, all of the commercial use and other restrictions set forth in the Reddit API Terms still apply to the Mod’s access to and use of Reddit’s Data API and other Developer Services. Accordingly, Mod agrees to abide by those restrictions and will not, and will not attempt to, or enable others to (including through Pushshift Services) commercialize the distribution of Reddit Services and Data in any manner. This includes, for example, selling, leasing, sub-licensing, monetizing, or otherwise profiting from Reddit Services and Data directly or indirectly, as well as re-distributing Reddit Services and Data or any derivative products based on it.
By agreeing to the terms and clicking the link above you will be taken through an OAuth authorization flow, which upon successful completion for Reddit moderatos will arrive on a page with a bearer token. This token can then be used in the Authorization header of all API calls. For an example of this flow, copy the bearer token, go to https://api.pushshift.io/docs#/, click the Authorize button on the top right, paste the bearer token in window and click authorize. The token has an expiration of 24hrs and a new token can be generated at any time if it is lost.
curl -X 'GET' \ 'https://api.pushshift.io/reddit/comment/search?sort=created_utc&order=desc&agg_size=25&shard_size=1.5&limit=10&track_total_hits=false' \ -H 'accept: application/json' \ -H 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiUHVzaHNoaWZ0LVN1cHBvcnQiLCJleHBpcmVzIjoxNjg1MTA4Nzg4LjE5NzY3OTh9.hATtBHzQh5hiFBSFg3gQsFK2xrwIlPynYrL7l6pPCMw'