🌐
Reddit
reddit.com › r/redditdev › api key credentials
r/redditdev on Reddit: API Key Credentials
May 1, 2022 -

Hey folks, this is baffling me - how do I create a new app/get API credentials?

When I go to /pref/apps I just get a "You are already logged in and will be redirected"

But when I get redirected I end up on the same screen.

Any insights? :-)

Thanks!

🌐
Data365
data365.co › blog › how-to-get-reddit-api-key
How to Get Reddit API Key: Step-by-Step or Skip-the-Setup? | Data365.co
These Reddit API keys don’t give you access by themselves. Yep. They are needed to get permission through the scopes. So, once you’ve got your credentials sorted, the next step is to decide exactly what kind of access you want — and that means understanding Reddit’s scopes. Ready? Let’s move further. Not ready? Need a way out? Then skip it all and move to Step 6. Or even shorter way… just fill in the form to get 14-free ...
🌐
Apidog
apidog.com › blog › reddit-api-guide
Reddit API: Features, Pricing & Set-ups
August 1, 2025 - Reddit offers both free and paid access to its Data API. The free tier is available for non-commercial uses, such as personal projects and academic research. However, for commercial uses—such as mobile apps with ads, services with paywalls, or any monetized products—Reddit requires prior approval and may charge fees.
🌐
Public APIs
publicapis.io › home › social › reddit
Reddit API — Free Public API | Public APIs Directory
8 hours ago - This will allow you to get an API key which is required for all API requests. Once you have a Reddit account, you can find your API key by navigating to the Apps & API section of your account settings.
🌐
Reddit
reddit.com › r/openbb › how to generate and authorize reddit api credentials for use with the openbb terminal.
r/openBB on Reddit: How to Generate and Authorize Reddit API Credentials for use With the OpenBB Terminal.
September 12, 2022 - Once the application is created, you must register it by following this link: https://old.reddit.com/wiki/api · When completed, a client ID and secret will be revealed, and you will come away with three different values: ... Client ID = the string that is displayed under the name, in the "authorized applications" tab of the account settings. Secret = viewing the details of your newly created application will show a field with the title, "secret". Store these values in a text file for easy copy pasta, and now you can authorize your OpenBB Terminal.
🌐
Reddit
reddit.com › wiki › api
r/reddit.com Wiki: Reddit API Access
November 28, 2023 - Select “I’m a Developer” and “I want to register to use the Reddit API.” Then, you can create credentials here. Helpful resources: All API clients must authenticate with OAUTH 2 See our API Specification and FAQ and additional documentation · Sign up for Dev Platform, a new improved ...
🌐
JC Chouinard
jcchouinard.com › accueil › reddit api with python (complete guide)
Reddit API with Python (Complete Guide) - UPDATED 2024
April 4, 2025 - Yes, the Reddit is free. However, it has been announced that it will become a paid feature. ... Go to Reddit Apps to create your app and then get the refresh token using PRAW in Python. Check detailed steps to get reddit API credentials.
🌐
Reddit
reddit.com › r/infinity_for_reddit › if you want to use your own api key
r/Infinity_For_Reddit on Reddit: If You Want to Use Your Own API Key
June 18, 2023 -

Please change ALL of the following:

  • API key

  • Redirect URL

  • User-Agent (in Infinity)

Please don't just change the API key!!!!!!!!! And please use another app name without infinity in it 🥺.

I found many users had made some tutorials about how to use your own API key, like this post, but none of them mentioned the other two things. If you don't change all of them, reddit still knows you are using Infinity, but with your own key.

You can see more info here.

Find elsewhere
Top answer
1 of 2
24

As of right now, you cannot retrieve a permanent access token. You have 2 options that come close.

The first is to request a "refresh" token when using the standard OAuth flow. That's what you're doing by sending "duration" as "permanent" in your code. The refresh token can be used to automatically retrieve new 1 hour access tokens without user intervention; the only manual steps are on the initial retrieval of the refresh token.

The second alternative, which applies only when writing a script for personal use, is to use the password grant type. The steps are described in more detail on reddit's "OAuth Quick Start" wiki page, but I'll summarize here:

  1. Create an OAuth client (under https://www.reddit.com/prefs/apps) with type = "script"
  2. Make a request to https://www.reddit.com/api/v1/access_token with POST parameters grant_type=password&username=<USERNAME>&password=<PASSWORD>. Send your client ID and secret as HTTP basic authentication. <USERNAME> must be registered as a developer of the OAuth 2 client ID you send.
2 of 2
17

A client_id and client_secret can be generated for a reddit account by going to https://www.reddit.com/prefs/apps and creating an app:


The part I have hidden is my client_id.

Then you can use a client like praw to access reddit e.g. with Python:

import praw
r = praw.Reddit(client_id='insert id here',
                client_secret='insert secret here',
                user_agent='insert user agent')
page = r.subreddit('aww')
top_posts = page.hot(limit=None)
for post in top_posts:
    print(post.title, post.ups)

You could use your current browser's user agent, which can be easily found by google searching "what is my user agent" (among other ways).

🌐
Latenode
latenode.com › home › blog about no-code integrations with latenode - the ultimate no-code automation platform › undefined › api integration best practices in integration & api management - explore no-code automation with latenode › how to use reddit api: from access tokens to automated data collection
How to Use Reddit API: From Access Tokens to Automated Data Collection
An access token is a credential that proves your application has been granted permission to access the API on behalf of a user. Reddit uses the OAuth2 protocol for authentication. OAuth2 is a widely adopted standard that allows users to grant limited access to their resources without sharing their login credentials.
🌐
Reddit
reddit.com › r/redditdev › how to get an api key
r/redditdev on Reddit: how to get an api key
October 9, 2012 -

Hello all Ive been looking around the docs and cannot find how to get an api key. thanks

Top answer
1 of 2
4

You'll need to clarify. We don't have "API keys." If you're writing your reddit client fresh, we recommend using OAuth and that comes with client IDs/secrets.

2 of 2
1

Remember the human. When you communicate online, all you see is a computer screen. When talking to someone you might want to ask yourself "Would I say it to the person's face?" or "Would I get jumped if I said this to a buddy?"

Adhere to the same standards of behavior online that you follow in real life.

Read the rules of a community before making a submission. These are usually found in the sidebar.

Read the reddiquette. Read it again every once in a while. Reddiquette is a living, breathing, working document which may change over time as the community faces new problems in its growth.

Moderate based on quality, not opinion. Well written and interesting content can be worthwhile, even if you disagree with it.

Use proper grammar and spelling. Intelligent discourse requires a standard system of communication. Be open for gentle corrections.

Keep your submission titles factual and opinion free. If it is an outrageous topic, share your crazy outrage in the comment section.

Look for the original source of content, and submit that. Often, a blog will reference another blog, which references another, and so on with everyone displaying ads along the way. Dig through those references and submit a link to the creator, who actually deserves the traffic.

Post to the most appropriate community possible. Also, consider cross posting if the contents fits more communities.

Vote. If you think something contributes to conversation, upvote it. If you think it does not contribute to the subreddit it is posted in or is off-topic in a particular community, downvote it.

Search for duplicates before posting. Redundancy posts add nothing new to previous conversations. That said, sometimes bad timing, a bad title, or just plain bad luck can cause an interesting story to fail to get noticed. Feel free to post something again if you feel that the earlier posting didn't get the attention it deserved and you think you can do better.

Link to the direct version of a media file when the page it was found on doesn't add any value.

Link to canonical and persistent URLs where possible, not temporary pages that might disappear. In particular, use the "permalink" for blog entries, not the blog's index page.

Consider posting constructive criticism / an explanation when you downvote something, and do so carefully and tactfully.

Report any spam you find.

Browse the new submissions page and vote on it. Regard it, perhaps, as a public service.

Actually read an article before you vote on it (as opposed to just basing your vote on the title).

Feel free to post links to your own content (within reason). But if that's all you ever post, or it always seems to get voted down, take a good hard look in the mirror — you just might be a spammer. A widely used rule of thumb is the 9:1 ratio, i.e. only 1 out of every 10 of your submissions should be your own content.

Posts containing explicit material such as nudity, horrible injury etc, add NSFW (Not Safe For Work) for nudity, and tag. However, if something IS safe for work, but has a risqué title, tag as SFW (Safe for Work). Additionally, use your best judgement when adding these tags, in order for everything to go swimmingly.

State your reason for any editing of posts. Edited submissions are marked by an asterisk (*) at the end of the timestamp after three minutes. For example; a simple "Edit: spelling" will help explain. This avoids confusion when a post is edited after a conversation breaks off from it. If you have another thing to add to your original comment, say "Edit: And I also think..." or something along those lines.

Use an "Innocent until proven guilty" mentality. Unless there is obvious proof that a submission is fake, or is whoring karma, please don't say it is. It ruins the experience for not only you, but the millions of people that browse reddit every day.

Read over your submission for mistakes before submitting, especially the title of the submission. Comments and the content of self posts can be edited after being submitted, however, the title of a post can't be. Make sure the facts you provide are accurate to avoid any confusion down the line.

🌐
n8n
docs.n8n.io › integrations › builtin › credentials › reddit
Reddit credentials | n8n Docs
Documentation for Reddit credentials. Use these credentials to authenticate Reddit in n8n, a workflow automation platform.
🌐
YouTube
youtube.com › watch
Reddit API Tutorial: How to Get Your API Keys in 2024 | Beginner's Guide - YouTube
Learn how to obtain your Reddit API keys with this step-by-step tutorial. Perfect for beginners and developers looking to integrate Reddit functionality into...
Published   July 24, 2024
🌐
AEANET
aeanet.org › home › how to get reddit api key?
How to Get Reddit API Key? - AEANET
September 12, 2025 - Replace YOUR_CLIENT_ID, YOUR_CLIENT_SECRET, YourRedditUsername, and YourRedditPassword with your actual credentials. The Reddit API is used for a wide variety of purposes, including creating bots, automating tasks, analyzing Reddit data, integrating Reddit content into other applications, and ...
🌐
Reddit
reddit.com › r/redditdev › reddit api registration
r/redditdev on Reddit: Reddit API Registration
January 5, 2024 -

Hello, everyone.

I want to use the Reddit API just to experiment a bit with its data. I want to build an app for customer discovery and market research, and right now I haven't written a single line of code. I only want to see what I can do with the API and then I might build something.

However, the registration form is asking me for OAuth Client ID, an About URL and Redirect URI. How am I supposed to have these when I haven't even started building anything yet? I'm a senior year undergrad CS student and at this point I'm only looking to experiment a bit.

Can people please guide me how I can register for the API?

If this is not the right place to ask this question, please, let me know where I can post it.

Thanks.

🌐
YouTube
youtube.com › watch
How To Get Reddit API Key - Step-by-Step Tutorial - YouTube
Learn how to get your Reddit API key in this quick and easy tutorial! Whether you're building a Reddit bot, scraping data for analytics, or integrating Reddi...
Published   November 6, 2025
🌐
Reddit
reddit.com › r/webdev › how to access an api using credentials like a username and password instead of a token.
How to access an API using credentials like a username and password instead of a token. : r/webdev
September 23, 2023 - Your API 100% dictates the auth mechanism. It's usually the first thing in any API documentation. Did you skip it? ... With basic auth. You can probably find a tutorial for whatever language you are using.