Reddit scraping is FREE • All 12 platforms, including $49/mo • Save 32% with yearly Add to Chrome - Free →
⏱️ 11 min read

The Reddit Data API: What It Is, What It Allows, and What It Costs You in Time

Reddit Data API overview: access tiers, rate limits and terms
Quick Answer: The Reddit Data API is the OAuth-based interface at oauth.reddit.com that Reddit expects every app, script and bot to use. The free tier allows 100 requests per minute per OAuth client id, is limited to non-commercial use, and requires a registered app with a descriptive User-Agent. Commercial access and model training need a paid agreement. If you only need the comments from a thread or two, you can skip the API and export them from your browser with the free Comment Exporter extension.

The Reddit Data API is the name Reddit uses for its official developer interface since the 2023 changes. This article covers what it is, which access tier you fall into, how the rate limit is counted, what you must do before you get a token, and what the terms let you do with the data. At the end there is a section on when you do not need any of this.

What the Reddit Data API Is

Every request an app makes to Reddit goes through one of two doors. The first is the website itself: www.reddit.com, which serves HTML to browsers. The second is the Data API: oauth.reddit.com, which serves JSON to programs that identify themselves with an OAuth token.

The endpoints map closely to what you see on the site. /r/{subreddit}/hot returns a listing of posts. /comments/{article} returns a post with its comment tree. /user/{username}/about returns a profile. The full list lives at reddit.com/dev/api.

Three things set the Data API apart from reading the site:

Before 2023 the API was, in practice, open. In April 2023 Reddit announced paid access for high-volume and commercial users, put a formal cap on the free tier, and published the Data API Terms. That is the version this article describes.

The Old Public API and the .json Suffix

You will still find guides that tell you to add .json to any Reddit URL. https://www.reddit.com/r/python/comments/abc123/some_thread.json returns the same listing structure the API returns, and it works without a token in many cases.

This is the leftover of the old public API. Reddit has not removed it, but it treats these requests as unauthenticated, which puts them under the 10 requests per minute limit rather than the 100 the OAuth tier gets. Requests without a proper User-Agent are throttled harder and sometimes blocked. Reddit's developer documentation does not list the .json suffix as a supported access path, so anything built on it can stop working without notice. It is fine for a quick look at a thread's structure, not for a script that runs every day.

Reddit API Access Tiers: Free, Commercial, Research

Reddit describes access in terms of what you do with the data, not a plan you pick from a dropdown. There is no self-serve upgrade button. In practice there are three situations.

Free tier

The free tier covers personal projects, moderation tools, hobby bots and non-commercial research. To use it you register an app, authenticate with OAuth, and stay under 100 queries per minute per client id. There is no charge and no application beyond the app registration itself.

The word that matters is non-commercial. A script that pulls comments for a university paper qualifies. The same script feeding a paid dashboard does not, even at identical volume.

Commercial access

Commercial use requires a separate agreement with Reddit. This is the tier third-party Reddit clients were pushed into in 2023, and it is why most of them shut down. Access is negotiated, priced per volume, and contracted. Reddit does not publish a rate card. Numbers circulate from developers who received quotes, and we cover those in the Reddit API pricing article. Treat them as reports, not a price list. If you are building a product that reads Reddit data for customers, assume you are in this tier and contact Reddit before you build.

Research access

Reddit has run a programme for academic researchers under the name Reddit for Researchers, giving approved researchers access to Reddit data for non-commercial studies outside the standard developer flow. Eligibility, scope and whether it is taking applications change over time, so check Reddit's developer documentation for the current state before planning a study around it.

Reddit API Rate Limits and How They Are Counted

The free tier limit is 100 queries per minute per OAuth client id. Without OAuth, the limit is 10 queries per minute. Reddit averages the count over a 10 minute window, so a burst of 300 requests in one minute followed by nine quiet minutes stays inside the limit. A steady 120 per minute does not.

Three details trip people up:

Every API response includes three headers you should log:

When you exceed the limit, Reddit returns HTTP 429. It does not queue the request. Repeatedly ignoring 429s is the fastest way to get a client id disabled, so read X-Ratelimit-Reset, sleep that long, and retry once.

The 100 per minute figure has been stable since 2023, but Reddit can change it. If your script sees 429s well under 100, check Reddit's developer documentation for the current figure before assuming a bug on your side.

Registering an App and Getting a Token

You cannot call the Data API without a registered app. Registration is free and takes a few minutes at reddit.com/prefs/apps. You pick a name, a type, and a redirect URI, and Reddit gives you a client id and a client secret.

App types

The User-Agent rule

Reddit requires a descriptive, unique User-Agent header on every request. The documented format is:

<platform>:<app ID>:<version string> (by /u/<reddit username>)

For example: macos:com.example.threadexport:v1.2 (by /u/yourname). Generic agents such as the default Python requests string or a browser string are throttled or rejected. Reddit's stated reason is that it needs to reach the owner of a misbehaving client. Do not spoof a browser.

The OAuth flow in outline

  1. POST your client id and secret (as HTTP basic auth) plus the grant parameters to https://www.reddit.com/api/v1/access_token.
  2. Reddit returns a JSON body with access_token, token_type, expires_in (3600 seconds) and scope.
  3. Send every API request to https://oauth.reddit.com with the header Authorization: bearer <token> and your User-Agent.
  4. After an hour, request a new token (script apps) or use the refresh token (web apps that asked for duration=permanent).

Here is the whole flow for a script app, using only the requests library:

import requests

CLIENT_ID = "your_client_id"
CLIENT_SECRET = "your_client_secret"
USER_AGENT = "macos:com.example.threadexport:v1.0 (by /u/your_username)"

auth = requests.auth.HTTPBasicAuth(CLIENT_ID, CLIENT_SECRET)
data = {"grant_type": "password", "username": "your_username", "password": "your_password"}
headers = {"User-Agent": USER_AGENT}

token = requests.post("https://www.reddit.com/api/v1/access_token",
                      auth=auth, data=data, headers=headers).json()["access_token"]

headers["Authorization"] = f"bearer {token}"
r = requests.get("https://oauth.reddit.com/r/python/hot", headers=headers, params={"limit": 5})
print(r.status_code, "remaining:", r.headers.get("X-Ratelimit-Remaining"))
for post in r.json()["data"]["children"]:
    print(post["data"]["title"])

That confirms your credentials work and shows the rate limit headers. Reading a full comment tree is more work because of the more objects, which is where PRAW earns its keep. We compare that route with the browser extension in Reddit Comment Scraper vs PRAW.

What the Reddit Data API Terms Allow and Forbid

The Reddit Data API Terms are what you agree to when you register an app. This is a plain-language summary of the parts that matter to someone pulling data. It is not legal advice, and the terms change, so read the current text before you rely on it.

Allowed on the free tier

Forbidden without a separate agreement

Obligations that apply to everyone

The practical reading: if you are one person doing one-off analysis and not selling anything, the free tier and its terms are workable. The moment money or a model enters the picture, you need to talk to Reddit.

When You Do Not Need the Reddit Data API

The API exists for programs that run on their own: bots, monitoring services, pipelines that ingest thousands of threads. If your task is smaller than that, there is a simpler route. Situations where the API is more work than the job:

For these, the Comment Exporter Chrome extension on this site (listed in the Chrome Web Store as Reddit Comment Scraper) reads the comments from the thread you already have open in your browser and downloads them as CSV or JSON. There is no app registration, no client id, no token to refresh and no 429 to handle, because it does not call the Data API at all. It reads the page as Reddit rendered it for you. Reddit export in the extension is free; the paid plan adds other platforms such as YouTube and Amazon. For the full set of no-key options, including ones that do not need an extension, see How to Scrape Reddit Without API.

Two limits. The extension works one thread at a time, so it is not the tool for collecting a whole subreddit. And it captures what the page loads, so on very long threads you may need to expand deeper replies before exporting.

Frequently Asked Questions

Is the Reddit Data API free?

There is a free tier. It is meant for personal and non-commercial use, it requires a registered app with OAuth, and it is capped at 100 requests per minute per OAuth client id. Commercial use above that level needs a paid agreement with Reddit. Reddit does not publish a self-serve price list, so treat any number you see outside Reddit's own documentation as a report, not a quote.

What is the Reddit API rate limit?

100 queries per minute per OAuth client id for authenticated requests, and 10 queries per minute for requests without OAuth. Reddit averages the count over a 10 minute window, so short bursts are tolerated as long as the average stays under the cap. Each response carries X-Ratelimit-Used, X-Ratelimit-Remaining and X-Ratelimit-Reset headers. When you go over, Reddit returns HTTP 429 until the window resets.

Do I need to register an app to read public Reddit data?

For the Data API, yes. You create an app at reddit.com/prefs/apps, get a client id and secret, exchange them for an OAuth token, and send every request to oauth.reddit.com with that token and a descriptive User-Agent. Unauthenticated requests to the old .json endpoints still return data in many cases, but they sit under the 10 per minute limit and are not a supported access path.

Can I use Reddit API data commercially or to train a model?

Not under the free tier. The Data API Terms limit free access to non-commercial use, and they forbid using Reddit data to train or fine-tune machine learning or AI models without Reddit's written permission. Commercial use, resale, and model training each need a separate agreement with Reddit. This is a summary of the terms, not legal advice.

How do I export a Reddit thread's comments without the API?

Open the thread in Chrome, run the Comment Exporter extension (also listed as Reddit Comment Scraper), and download the comments as CSV or JSON. It reads the page you already have open, so there is no app registration, no OAuth token, and no API rate limit to manage. Reddit export in the extension is free.

Summary

The free tier gives you 100 requests per minute per client id for non-commercial work, provided you register an app, use OAuth, and send a real User-Agent. Commercial products and model training need a contract with Reddit. Use the API when you are building something that runs on its own. When you just need a thread's comments in a spreadsheet, export them from your browser instead.


Related Articles

Published: September 2026

Next Review: March 2027

Want this inside your AI tool? See the Reddit MCP, or compare options in the GummySearch alternatives guide.

Ready to Export Reddit Comments?

No API key. No Python scripts. No rate limits. Export Reddit comments to CSV and JSON directly from your browser, for free.

Add to Chrome - Free Reddit export is free to start, no card