r/redditdev Jul 25 '26

Reddit API Submitted ticket for access but unsure if it went though

7 Upvotes

Hi there

I submitted a ticket for a commercial use of Reddit api. I believe it submitted but yet under my activity it doesn’t show anything so I’m unsure if it’s actually an open ticket or not

Any help is appreciated.


r/redditdev Jul 23 '26

Reddit API General question: How do I build script to find issues in my product from posts and comments in a subreddit?

2 Upvotes

It used to be that I could get an API key and then pull down all the recent comments and posts for a particular product and identify issues that users are running into.
But now I don't see a way to get an API key anymore, you have to have a reddit app and it has to get approved.

Is anyone doing this and what's the path forward for this?


r/redditdev Jul 23 '26

Other API Wrapper Posting review continues to be rejected

2 Upvotes

The extension I created uses Google Cloud OAuth to log in. It logs in too well on my computer, but it's constantly being rejected for violating the "Red Potassium" and "Sign in Failed" items. Has anyone else been through the same thing as me?


r/redditdev Jul 20 '26

Reddit API Creating a new text post. Trouble setting default comment sort order.

3 Upvotes

Hello all. I am having trouble getting my script to set the default sort order in a new post. I think its possible, but I am most likely implementing it wrong.

Was trying to use the info found here:

https://praw.readthedocs.io/en/latest/code_overview/other/submissionmoderation.html#praw.models.reddit.submission.SubmissionModeration.suggested_sort

and here:

https://www.reddit.com/dev/api#POST_api_set_suggested_sort

But I could not get my script to successfully create a post, and set the default sort order to new.

new_submission = subreddit.submit(title=Title, selftext=post_text)
new_submission.mod.suggested_sort = 'new'

The post is successfully created, but does not have the default sort order set to "new".

Thanks!


r/redditdev Jul 14 '26

Reddit API Reddit Data API as a researcher: approval time

Thumbnail
5 Upvotes

r/redditdev Jul 13 '26

redditdev meta Just thought that the Reddit staff might want to look into this.

0 Upvotes

While this was generated by Gemini it is the result of a personal experience I've had on reddit multiple times and it pertains to the error reporting system that the reddit base code uses.

A generic, lazy error message feels like a shrug. It says, "We crashed, we don’t know why, and we'll get to it when we get to it." It projects chaos and incompetence.

When a company uses a structured, custom error system, they are projecting command and control. Even though the system is temporarily broken, the message they send is entirely different:

  • "We anticipated this:" A custom code proves the developers built a safety net. They knew things could break, and they designed an orderly way to handle the failure.
  • "We are actively tracking it:" Seeing a unique ID or a specific category code lets you know the system just flagged an engineer in the background. It feels like a process is in motion.
  • "We respect your time:" It acknowledges the user. It treats you like a stakeholder who deserves a status update, rather than an annoyance.

r/redditdev Jul 13 '26

Reddit API Videos in comments not being returned correctly in API

4 Upvotes

For the following post there is a video on one of the comments:

https://www.reddit.com/r/purplepodrestricted/comments/1uefzsd/all_around_the_world/

When I call the API to pull the users comments with this endpoint:

https://oauth.reddit.com/user/purplepodtestuser7/comments?raw_json=1&limit=100&sort=new&showmedia=false

I get the following response. The video is provided as a link in the body, but the link to the video does not work and I'm unable to retrieve the video in the comment

{
    "kind": "t1",
    "data": {
        "link_url": "https://v.redd.it/nqe0s81mw89h1",
        "subreddit_id": "t5_631pew",
        "approved_at_utc": 1782376069,
        "author_is_blocked": false,
        "comment_type": null,
        "link_title": "All Around the World",
        "mod_reason_by": null,
        "banned_by": null,
        "ups": 1,
        "num_reports": 0,
        "author_flair_type": "text",
        "total_awards_received": 0,
        "subreddit": "purplepodrestricted",
        "link_author": "purplepodtestuser5",
        "distinguished": null,
        "likes": true,
        "replies": "",
        "user_reports": [],
        "saved": false,
        "id": "otoswhl",
        "banned_at_utc": null,
        "mod_reason_title": null,
        "gilded": 0,
        "archived": false,
        "collapsed_reason_code": null,
        "no_follow": false,
        "author": "purplepodtestuser7",
        "num_comments": 3,
        "can_mod_post": true,
        "created_utc": 1782376060.0,
        "send_replies": true,
        "parent_id": "t3_1uefzsd",
        "score": 1,
        "author_fullname": "t2_svk3s85z",
        "over_18": false,
        "report_reasons": [],
        "approved_by": "purplepodtestuser7",
        "controversiality": 0,
        "body": "This is more my sort of thing\n\nhttps://reddit.com/link/otoswhl/video/0y4dw9e33e9h1/player\n\n",
        "edited": false,
        "gildings": {},
        "author_flair_css_class": null,
        "author_flair_background_color": null,
        "is_submitter": false,
        "downs": 0,
        "author_flair_richtext": [],
        "author_patreon_flair": false,
        "body_html": "<div class=\"md\"><p>This is more my sort of thing</p>\n\n<p><a href=\"https://reddit.com/link/otoswhl/video/0y4dw9e33e9h1/player\">https://reddit.com/link/otoswhl/video/0y4dw9e33e9h1/player</a></p>\n</div>",
        "removal_reason": null,
        "collapsed_reason": null,
        "link_id": "t3_1uefzsd",
        "associated_award": null,
        "stickied": false,
        "author_premium": false,
        "can_gild": false,
        "top_awarded_type": null,
        "unrepliable_reason": null,
        "approved": true,
        "author_flair_text_color": null,
        "score_hidden": false,
        "permalink": "/r/purplepodrestricted/comments/1uefzsd/all_around_the_world/otoswhl/",
        "subreddit_type": "restricted",
        "link_permalink": "https://www.reddit.com/r/purplepodrestricted/comments/1uefzsd/all_around_the_world/",
        "name": "t1_otoswhl",
        "created": 1782376060.0,
        "subreddit_name_prefixed": "r/purplepodrestricted",
        "author_flair_text": null,
        "removed": false,
        "spam": false,
        "collapsed": false,
        "awarders": [],
        "all_awardings": [],
        "locked": false,
        "ignore_reports": false,
        "collapsed_because_crowd_control": null,
        "rte_mode": "richtext",
        "mod_reports": [],
        "quarantine": false,
        "mod_note": null,
        "treatment_tags": [],
        "author_flair_template_id": null
    }
}

r/redditdev Jul 12 '26

General Botmanship Is there a way to access all images from a reddit gallery post?

4 Upvotes

Hi, I'm currently a bit vibecoding a (RSS) feed reader for reddit. I only ever seem to be able to fetch one imagine, even if the post contains several. (Im basically adding ".rss" to user- and subreddit URLs, everything else doesn't work.

Cheers ✌️


r/redditdev Jul 10 '26

Reddit API Comments with videos missing a media metadata entry?

4 Upvotes

Here are 3 comments that include sort form of media:

video: https://www.reddit.com/comments/1ur2pcz/comment/owcleen/

gif: https://www.reddit.com/comments/1ur2pcz/comment/owckyc1/

image: https://www.reddit.com/comments/1ur2pcz/comment/owgqbcu/

If I use the .json endpoint for each comment, the image and gif have media metadata entries:

"media_metadata": {
  "wfqz4qxpl6ch1": {
    "status": "valid",
    "e": "Image",
    "m": "image/jpeg",
    "p": [...],
    "s": {...},
    "id": "wfqz4qxpl6ch1"
  }
},

"media_metadata": {
  "1h1tlly742ch1": {
    "status": "valid",
    "e": "AnimatedImage",
    "m": "image/gif",
    "p": [...],
    "s": {...},
    "id": "1h1tlly742ch1"
  }
},

while the video comment does not have a media_metadata at all, only having a body with a broken link?

"body": "https://reddit.com/link/owcleen/video/1g7jzy4k42ch1/player\n\ncomment with a video??",

If I add the rtj=all param to return the richtext json alongside the markdown and html, I get the following:

"rtjson": {
  "document": [
    {
      "e": "video",
      "id": "1g7jzy4k42ch1"
    },
    {
      "c": [
        {
          "e": "text",
          "t": "comment with a video??"
        }
      ],
      "e": "par"
    }
  ]
},

But the video id has no extra metadata about it that should be provided (width, height, hsl and dash urls, is gif)

On the other hand, if the video is included in the selftext of a post instead of the body of a comment, the metadata entry is present:

post: https://www.reddit.com/comments/1ukt1tb/

"media_metadata": {
  "fj9mi7viqnah1": {
    "status": "valid",
    "e": "RedditVideo",
    "dashUrl": "https://v.redd.it/link/1ukt1tb/asset/fj9mi7viqnah1/DASHPlaylist.mpd?...",
    "x": 1780,
    "y": 1080,
    "hlsUrl": "https://v.redd.it/link/1ukt1tb/asset/fj9mi7viqnah1/HLSPlaylist.m3u8?...",
    "id": "fj9mi7viqnah1",
    "isGif": false
  }
},

Adding the always_show_media param to the url of the comment does not change anything

This feels like a bug to me, as videos in comments are a fairly new feature and I would expect more than just the video id to be returned by the api


r/redditdev Jul 09 '26

Reddit API How can I pay reddit to programmatically retrieve .json of some posts?

2 Upvotes

I've accessed https://developers.reddit.com/ but it doesn't seem to serve my use case. I need to examine some discussions that mention my clients brands and would like to do this programmatically. How can I pay reddit to access an api of this kind?


r/redditdev Jul 08 '26

Reddit API 500 error when creating app

1 Upvotes

500 error on /api/updateapp when creating app


r/redditdev Jul 06 '26

Reddit API I Submitted an API Request For a Reddit Bot, And Still No Answer From Reddit. It's Becomming Unsettling...

1 Upvotes

Should I still expext it to arrive, or submit another request?


r/redditdev Jul 06 '26

Reddit API New to this platform

0 Upvotes

I am literally new and not aware of how this platform works. Can anyone help me with this?


r/redditdev Jul 04 '26

Other API Wrapper Accidentally burned a massive amount of tokens letting an agent loop on a 404 error. How do you catch infinite logic loops before they drain your account?

0 Upvotes

I just accidentally let a LangGraph agent loop on a broken tool over the weekend and woke up to a massive API token burn. How are you guys preventing runaway cloud bills when your autonomous agents get stuck in logic loops? Are you just hardcoding static limits, or is there a better way to catch it?


r/redditdev Jul 04 '26

Reddit API I need help publishing my telegram bot to work 24/7 "free"

0 Upvotes

""mobile no PC"" I made a bot for the first time using ai just for personal interest and some other individuals and it works fine when I have the coding app opened or as it says using the web app or whatever ( I know nothing about coding ) but I need to publish my bot for it to work 24/7 without having to activate it with the coding app so please help. I have the main python and requirements.txt ready.bot is functional with all the secrets ready it just needs to be published.


r/redditdev Jul 04 '26

Reddit API Http status 500 reddit app

0 Upvotes

hi, if I want to create an app in the Reddit Developer section ( I have inserted only the name, the redirect uri and the type, script ), I receive error 500. Same result with the anonimus navigation browser.


r/redditdev Jul 03 '26

Reddit API Getting Reddit on Kindle, a series of unfortunate requests

8 Upvotes

Hello, I've been attempting to read Reddit on my kindle for a while now (more relaxing to read) and have 'created' a reddit-to-kindle program that grabs the articles' text and also the top replies from reddit and formats it in an EPUB and sends it to the Kindle address.

The problem is reddit keeps restricting every access point, I've started with: API > reddit blocked that > JSON & RSS > reddit blocked comments > HTML > reddit blocked old.reddit w/o account

I can still get it to work by putting in my session cookie's to the request, however I am worried my account might get banned as it would link it straight to my account. Is there any chance doing this might flag my account, and is anyone doing anything similar and has found any luck? Should I just forget about comments and rely on RSS (even though they have restricted that too)?


r/redditdev Jul 02 '26

Reddit API How to get API for Reddit? help me

9 Upvotes

I did not know how to get, and I submitted a application for Reddit workers. But they did not give me reply, I really need this API for my acadmic research. If you know how to reslove this difficulity, please teach me !


r/redditdev Jul 01 '26

Reddit API Data API Application

Thumbnail
4 Upvotes

r/redditdev Jul 01 '26

Reddit API Reddit Requests

Thumbnail
2 Upvotes

r/redditdev Jun 27 '26

Reddit API Questions Regarding Reddit API

Thumbnail
1 Upvotes

r/redditdev Jun 27 '26

Reddit API Reddit oauth api does not have CORs headers when there is an error status

5 Upvotes

The Reddit api works fine with cors when the request is successful, but when it errors out the cors headers are missing making it impossible to see the status code in a web browser so it’s impossible to know what the error is


r/redditdev Jun 26 '26

General Botmanship Lost access to my bot script

7 Upvotes

Hi Reddit,

Yesterday around 16:00 UTC my bot (that ran like a charm for a year now) decided to throw 401: unauthorized errors at me. I investigated and I can't seem to receive any OAuth tokens anymore. Is there a way to get the top posts of a specific subreddit hourly with devvit? If I understood it correctly it's just for games and in-post programs, not for scraping. Is it possible to get a new API Token? I am honestly confused about the new policy.

Thank you very much :)


r/redditdev Jun 25 '26

Reddit API Problems submitting application for API using script, a sentiment scanner for use in a self trading platform with HITL

0 Upvotes

There seems to be an issue when I try to submit the application. After I do the captcha or photos thing, I submit and a message to read the terms. I did. Tried to look for a secret password, but found nothing. Please help. I hate to get stuck.

Btw. I am working on a system that rotates keys using zkp to connect quickly to web pages. I always forget passwords. Anyways, please help with the problem. If the zkp is something that sounds interesting, let me know.

Javier Mandry