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
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:
pip install socialtapGet 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:
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:
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
| PRAW | SocialTap | Endpoint |
|---|---|---|
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.
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.
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.
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.
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.