Reddit API
8 operations · unofficial · one upAPI key
Search Reddit posts, read trending posts, threads and subreddit details with the session cookies of your own Reddit account (Reddit currently blocks anonymous reads), and post as a Reddit app you registered with your own OAuth token.
Posts and subreddits
Search Reddit Posts
Search Reddit posts by keyword with subreddit filtering, sort and time range. Returns structured post data including scores, comment count and metadata. Requires a Reddit session cookie in sessionCookies (obtain it from reddit-login.post, or copy reddit_session out of a signed-in browser) — Reddit has blocked every anonymous read surface since 2026-07-30.
Get Trending Reddit Posts
Fetch trending, hot, rising, top, or new posts from any subreddit with pagination and time filtering. Requires a Reddit session cookie in sessionCookies (obtain it from reddit-login.post, or copy reddit_session out of a signed-in browser) — Reddit has blocked every anonymous read surface since 2026-07-30.
Scrape Reddit Post & Comments
Fetch a Reddit post with its comment tree: post metadata, selftext, and nested comments with scores and authorship. Requires a Reddit session cookie in sessionCookies (obtain it from reddit-login.post, or copy reddit_session out of a signed-in browser) — Reddit has blocked every anonymous read surface since 2026-07-30.
Get Subreddit Info
Fetch subreddit metadata: subscriber count, description, rules, active users and appearance settings. Requires a Reddit session cookie in sessionCookies (obtain it from reddit-login.post, or copy reddit_session out of a signed-in browser) — Reddit has blocked every anonymous read surface since 2026-07-30.
Your account
Reddit - who does this OAuth app speak as?
Exchanges a Reddit OAuth2 refresh token and reads the account it belongs to over Reddit's documented API: username, suspension state, verified email, karma, account age and the token's scopes. Reads only -- it creates nothing. The access token and the supplied secrets are never returned or logged.
Reddit - post a comment as a registered app
Posts a comment through Reddit's documented OAuth2 API using a refresh token, with the caller's own User-Agent. Verifies the token's account against expectedUsername before creating anything, and turns Reddit's HTTP-200 `json.errors` refusals (locked thread, subreddit ban, rate limit) into classified failures. No browser, no captcha, no cookies.
Check Reddit Account Health
Check the health and status of a Reddit account. Pass sessionCookies for the reliable authenticated read (required for new/low-karma accounts); otherwise falls back to parsing the public profile.
Check Reddit Comment Visibility
Detect shadowban/auto-removal: read a comment's focused permalink JSON as a non-author and report whether it is actually visible to the public.
Reddit API: frequently asked questions
What is the Reddit API on upAPI?
It is 8 operations you can call over HTTP: Search Reddit posts, read trending posts, threads and subreddit details with the session cookies of your own Reddit account (Reddit currently blocks anonymous reads), and post as a Reddit app you registered with your own OAuth token. Each operation is one POST request to api.upapi.io with your key in the X-Api-Key header and a JSON body, and has its own published request and response schema.
Is this the official Reddit API?
No. upAPI is an independent service, not affiliated with or endorsed by Reddit. These are upAPI operations about Reddit, with their own schemas and their own billing.
How much does the Reddit API cost?
Each Reddit call spends 4 weighted units of your plan's monthly quota. The pricing page has the plans.
Which Reddit data can I get, and do I need my own account?
Each operation's description says what it returns and what it needs. Some operations take the session cookies, token or password of your own Reddit account as an input, to act as that account (posting, following, messaging) or to read a signed-in view, and the operation's own page lists its required inputs, so check it before you call. You are responsible for following Reddit's terms for how you use the data.
How do I start calling the Reddit API?
Send your key in the X-Api-Key header. A free guest key is available without creating an account.
More from Reddit
Every operation above has its own page with the full request and response reference. The same operations also sit in the catalog by category.
Other integrations
upAPI is an independent service and is not affiliated with or endorsed by Reddit. Reddit and its logo are trademarks of their respective owners.