Introducing the Instagram APIRead more →

Guide · Python · Updated

No Reddit API Key? Read Reddit From Python Without PRAW

PRAW needs a Reddit client ID and secret, and since November 2025 Reddit gives those out only after it approves your request. Here is Reddit data in Python without one.

PRAW is still the standard Python wrapper for Reddit, and it still works for anyone who already has credentials. The problem is getting them. On November 11, 2025, Reddit wrote that "self-service access to Reddit's public data API will be closed", and its Responsible Builder Policy now says plainly: "Approval is required." New developers request access and wait, and commercial use needs written approval.

So a new PRAW project stops at its first line. In PRAW's issue #2100, a user reports that creating an app no longer works, and gets Required configuration setting 'client_id' missing. A maintainer added in the same thread: "After the next major release, PRAW will likely go into maintenance mode."

This guide reads Reddit with SocialTap instead: subreddit feeds, posts with their comments, search and users, with no Reddit app or key.

What PRAW needs

Python
import praw

reddit = praw.Reddit(
    client_id="…",
    client_secret="…",
    user_agent="my-app by u/me",
)
for submission in reddit.subreddit("python").hot(limit=10):
    print(submission.title, submission.score)

Without an approved client_id and client_secret, there's nothing to put in those two lines.

The same data with one API key

SocialTap reads public Reddit pages for you, with its own sessions and proxies, and returns live data in one schema. Its key comes with sign-up, with no approval step. Install the SDK:

Install
pip install socialtap

Get a key on the signup page and set it as SOCIALTAP_API_KEY. Every account starts with 100 free credits. This reads one post from its link:

Python SDK
from socialtap import SocialTap

client = SocialTap()  # api_key defaults to os.environ["SOCIALTAP_API_KEY"]

res = client.reddit.post.get(url="https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/")
print(res.data)
print(res.credits.charged, res.meta.request_id)

You get the title, text, author, subreddit, score, upvote ratio and comment count, with the post's images or video and its flair.

A subreddit's posts, page by page

reddit.subreddit(name).hot() becomes client.reddit.subreddit_posts.iterate(), with sort for best, hot, newest, popular, rising or controversial. It walks the feed 25 posts a page and stops at your guards. It also tells a private or banned subreddit apart from a missing one:

Python SDK
from socialtap import SocialTap, APIError, NotFoundError, PrivateOrUnavailableError

client = SocialTap()  # api_key defaults to os.environ["SOCIALTAP_API_KEY"]

try:
    # Stops at the end of the list, or at the first guard it reaches.
    items = client.reddit.subreddit_posts.iterate(url="https://www.reddit.com/r/golang/", sort="best", max_pages=10, max_credits=100)
    for item in items:
        print(item)
    print(items.pages_fetched, items.credits_charged, items.stop_reason, items.end_reason)
except NotFoundError as err:
    # The item does not exist or was deleted.
    print(err.code, err.remediation)
except PrivateOrUnavailableError as err:
    # The item exists but isn't public: it is private, age- or region-restricted, or needs a login.
    print(err.code, err.remediation)
except APIError as err:
    # Retryable errors reach you only after the SDK's own retries. Failed requests cost no credits.
    print(err.code, err.status, err.retryable, err.remediation, err.request_id)

Reddit lists about the newest thousand posts of each order logged out, as it does in its app: a walk that reaches them ends with end_reason platform_limit, not end.

From PRAW to SocialTap

PRAWSocialTapEndpoint
reddit.subreddit(name).hot()client.reddit.subreddit_posts.iterate()Reddit Subreddit Posts API
reddit.submission(id)client.reddit.post.get()Reddit Post API
submission.comments.list()client.reddit.comments.iterate()Reddit Comments API
reddit.subreddit("all").search(q)client.reddit.search_posts.iterate()Reddit Search API
reddit.redditor(name)client.reddit.profile.get()Reddit Profile API
redditor.comments.new()client.reddit.profile_comments.iterate()Reddit User Comments API

PRAW's rate limiter, its 100 queries a minute per client ID, and the user_agent rules don't apply: plans have no rate limit, only a ceiling per account that stops a runaway loop.

What it costs

You pay per successful request, and a list request returns a page:

  • A subreddit's posts: $0.03–$0.08 per 1,000 posts.
  • Comments: $0.0037–$0.0098 per 1,000 comments.
  • Search results: $0.11–$0.28 per 1,000 posts.

Failed requests and cache hits cost nothing. Reddit publishes no price for commercial access: the Reddit API page compares the two.

Frequently asked questions

How do I get a Reddit API key in 2026?

You request access from Reddit and wait for approval. Since November 2025 there's no self-service way to create a new client ID, and commercial use needs a separate written agreement. Existing keys keep working.

Back to contents

Can I use PRAW without an API key?

No. PRAW sends every request with OAuth credentials, so it needs a client ID and secret. SocialTap needs only its own API key, which you get at sign-up.

Back to contents

Is the Reddit API free?

Partly. Approved non-commercial apps use it free, within 100 queries a minute. Commercial use needs an agreement with Reddit, which publishes no price for it.

Back to contents

Can I get all the comments of a thread?

Yes, the ones Reddit shows logged out, nested as on the page, up to 200 a page. On threads with hundreds of top-level comments, Reddit holds back its deepest replies, and the answer says how many.

Back to contents

Does it read private or NSFW subreddits?

Private and quarantined subreddits return private_or_unavailable, as they do for any logged-out visitor. Posts Reddit marks NSFW come back flagged with is_nsfw, though Reddit's own search leaves them out.

Back to contents

Replace PRAW with one API key.

Get a key, run the code above and see live data in a minute. Failed requests are free.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 310 endpoints
Start for free Read the docs