<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Alex P. on Medium]]></title>
        <description><![CDATA[Stories by Alex P. on Medium]]></description>
        <link>https://medium.com/@alex_79882?source=rss-e4b44b723113------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*aRYf3LtZ_98Mj-26SOfQJQ.jpeg</url>
            <title>Stories by Alex P. on Medium</title>
            <link>https://medium.com/@alex_79882?source=rss-e4b44b723113------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 00:10:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alex_79882/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Reddit’s API Closes in March 2027. Here’s How I’m Keeping My PRAW Scripts Alive]]></title>
            <link>https://medium.com/@alex_79882/reddits-api-closes-in-march-2027-here-s-how-i-m-keeping-my-praw-scripts-alive-432cb75200f3?source=rss-e4b44b723113------2</link>
            <guid isPermaLink="false">https://medium.com/p/432cb75200f3</guid>
            <category><![CDATA[web-scraping]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[reddit]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Alex P.]]></dc:creator>
            <pubDate>Tue, 03 Nov 2026 21:27:40 GMT</pubDate>
            <atom:updated>2026-11-03T21:27:40.824Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Reddit is shutting down its public API. If you have Python scripts using PRAW, here’s what changes, what still works, and how to keep your code running without rewriting it.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_PvNMJGGYSQhTmuqB2d7tQ.png" /></figure><p>Someone recently posted on r/learnpython:</p><p><strong>“Unable to create PRAW ‘script’ app — ‘Create App’ button does not…”</strong></p><p>Zero replies.</p><p>And unfortunately, there’s not much anyone can tell them. Reddit stopped accepting new API access requests on October 31, and now it’s announced that <strong>public Data API access will close for all remaining apps and users in March 2027.</strong></p><p>If you have Python scripts using PRAW, that’s a problem.</p><p>I know because I’ve been there. I’ve spent over two years building monitoring tools, research scripts and content pipelines around Reddit. When the unauthenticated .json endpoints stopped working in May, three of my scripts broke overnight.</p><p>So when Reddit announced the March deadline, I started working on a way to keep existing PRAW scripts alive.</p><p><strong>The result? You can keep using PRAW for reading Reddit data, without rewriting your existing scripts.</strong></p><p>I’ll show you exactly how, including real output, limitations and costs. But first, here’s what’s changing.</p><h4>What’s actually happening to Reddit’s API?</h4><p>Reddit published its shutdown timeline in <a href="https://www.reddit.com/r/redditdev/comments/1wubcvf/moving_data_api_apps_to_the_developer_platform/">r/redditdev</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l7_wfIduC3scHp3oGocxuw.png" /></figure><p>These are the dates that matter:</p><ul><li><strong>October 31, 2026:</strong> New public API access requests closed.</li><li><strong>November 13, 2026:</strong> RSS feeds are scheduled to shut down.</li><li><strong>January 12, 2027:</strong> API access starts closing for apps that haven’t registered or responded.</li><li><strong>March 2027:</strong> Public API access closes for remaining apps and users.</li></ul><p>Reddit’s replacement is its Developer Platform, <strong>Devvit</strong>.</p><p>There’s just one problem for Python developers: Devvit uses TypeScript and runs inside Reddit.</p><p>It’s designed for things like moderation bots and applications that interact with Reddit itself. It isn’t a drop-in replacement for a Python script running on your server that collects posts, comments or search results.</p><p>And Reddit has explicitly said Python support isn’t on its roadmap.</p><p>One developer in the announcement thread, u/emily_in_boots, summed up the frustration:</p><blockquote><em>“I have 300,000 lines of python code. I cannot rewrite that in 6 months even if I were to work on it full time…” (</em><a href="https://www.reddit.com/r/redditdev/comments/1wubcvf/comment/pd2cbu4/"><em>comment</em></a><em>)</em></blockquote><p>Not everyone has 300,000 lines of Python. But even rewriting a 200-line script that already works feels unnecessary.</p><p>Which brings me to what I built.</p><h4>What if you could keep using PRAW?</h4><p>When my own Reddit scripts broke, I ended up building <a href="https://fetchlayer.dev/?utm_source=medium&amp;utm_medium=article&amp;utm_campaign=2026-11-praw-shutdown">FetchLayer</a>, a service that provides structured data from Reddit and other platforms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HwslrRvaTkkrFME7cNwn1w.png" /></figure><p>But I didn’t want to rewrite all my existing PRAW code to use a different SDK.</p><p>So I built a PRAW-compatible API endpoint.</p><p>Instead of communicating with Reddit’s public API, PRAW communicates with FetchLayer. Your existing read-only PRAW calls continue working through the same Python library.</p><p><strong>Here’s the change:</strong></p><pre>reddit = praw.Reddit(<br>-    client_id=&quot;your-reddit-client-id&quot;,<br>-    client_secret=&quot;your-reddit-client-secret&quot;,<br>+    client_id=&quot;your-fetchlayer-key&quot;,<br>+    client_secret=&quot;unused&quot;,<br>     user_agent=&quot;my-script/1.0&quot;,<br>+    oauth_url=&quot;https://praw.fetchlayer.dev&quot;,<br>+    reddit_url=&quot;https://praw.fetchlayer.dev&quot;,<br> )</pre><p>That’s the API configuration change.</p><p>No new SDK. No Reddit developer account. No approval process.</p><p>You also need to set PRAWCORE_TIMEOUT=120 before importing PRAW for requests that may exceed its default 16-second timeout. More on that below.</p><h4>Does it actually work?</h4><p>Here’s part of a test I ran on November 3, 2026, using stock PRAW 8.0.3:</p><pre>import os<br>os.environ.setdefault(&quot;PRAWCORE_TIMEOUT&quot;, &quot;120&quot;)<br> <br>import praw<br> <br>reddit = praw.Reddit(<br>    client_id=os.environ[&quot;FETCHLAYER_KEY&quot;],<br>    client_secret=&quot;unused&quot;,<br>    user_agent=&quot;my-script/1.0&quot;,<br>    oauth_url=&quot;https://praw.fetchlayer.dev&quot;,<br>    reddit_url=&quot;https://praw.fetchlayer.dev&quot;,<br>)<br> <br>for post in reddit.subreddit(&quot;learnpython&quot;).search(<br>    &quot;praw&quot;, sort=&quot;new&quot;, limit=3<br>):<br>    print(post.num_comments, &quot;|&quot;, post.title[:60])<br> <br>thread = next(<br>    reddit.subreddit(&quot;AskReddit&quot;).top(<br>        time_filter=&quot;day&quot;, limit=1<br>    )<br>)<br> <br>thread.comments.replace_more(limit=2)<br>print(len(thread.comments.list()), &quot;comments loaded&quot;)</pre><p>The output:</p><pre>11 | Hosting Python bots that don&#39;t need a lot of bandwidth<br>13 | How do I scrape Reddit??<br> 0 | Unable to create PRAW &quot;script&quot; app – &quot;Create App&quot; button<br>1116 comments loaded</pre><p>Yes, that third result is the same post I opened this article with.</p><p>It’s still PRAW. The same Submission and Comment objects, the same replace_more() method, and the same interface your scripts already use.</p><p>I tested it with PRAW 7.8.1 as well. Async PRAW accepts the same connection settings.</p><h4>What works, and what doesn’t?</h4><p><strong>Supported read operations include:</strong></p><ul><li>Subreddit listings: hot, new, top, rising and more.</li><li>Submissions by ID or URL, including comment trees.</li><li>Subreddit and Reddit-wide search.</li><li>User posts, comments and karma.</li><li>reddit.info() and submission streams.</li></ul><p><strong>What doesn’t work:</strong> Posting, voting, replying, moderation or anything requiring an authenticated Reddit account. Those operations raise Forbidden. Comment streams aren&#39;t supported either.</p><p>This is a read-only solution. If your bot needs to write to Reddit, Devvit is the better direction.</p><p>One technical gotcha: in the PRAW versions I tested, setting timeout=120 in the constructor didn&#39;t change prawcore&#39;s underlying 16-second timeout. Setting the PRAWCORE_TIMEOUT environment variable before importing PRAW did.</p><p>We’re working to bring every response comfortably under that limit, but for large threads, I’d set the environment variable.</p><h4>What are the other options?</h4><p>FetchLayer isn’t the only possible way forward, and depending on what your scripts do, another approach might make more sense.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*58_MKulzmSRxLUvH_rCjIQ.png" /></figure><p><strong>Option:</strong> <strong>Devvit</strong><br><strong>Best for:</strong> Bots that post or moderate<br><strong>The catch:</strong> TypeScript rewrite, runs inside Reddit</p><p><strong>Option:</strong> <strong>Reddit commercial API</strong><br><strong>Best for:</strong> Companies needing official access<br><strong>The catch:</strong> Requires an agreement; pricing isn’t public</p><p><strong>Option:</strong> <strong>Reddit for Researchers</strong><br><strong>Best for:</strong> Academic research<br><strong>The catch:</strong> Application and approval</p><p><strong>Option:</strong> <strong>Arctic Shift</strong><br><strong>Best for:</strong> Historical Reddit data<br><strong>The catch:</strong> Not a guaranteed live data source</p><p><strong>Option:</strong> <strong>Third-party APIs</strong><br><strong>Best for:</strong> Reading live Reddit into external systems<br><strong>The catch:</strong> Usually paid, and may require code changes</p><p><a href="https://github.com/ArthurHeitmann/arctic_shift">Arctic Shift</a> is particularly worth mentioning. It’s a useful free resource for historical Reddit data.</p><p>And if you’re running a moderation bot, Reddit is offering a $1,000 bounty for qualifying Devvit migrations. The stated registration deadline is November 30.</p><p>But if your script simply reads Reddit into a database, dashboard, spreadsheet or AI pipeline, a compatible read-only API can save you a lot of work.</p><h4>How much would keeping PRAW running cost?</h4><p>FetchLayer gives you <strong>30 free requests</strong>, without requiring a credit card.</p><p>After that, pricing starts at $1.99 per 1,000 credits, or $25/month for 15,000 credits.</p><p>Importantly, you’re charged per page, not per individual post or comment.</p><p>For example:</p><p>Top 100 posts from 20 subreddits, daily — $4.78</p><p>Newest 25 posts from 5 subreddits, every 15 minutes — $25 plan</p><p>50 large threads with up to 10 comment expansions, once — $1.29 one-time</p><p>These estimates assume the request counts described above and may vary with pagination.</p><p>You can also control costs by polling .new() on a schedule instead of using continuous submission streams.</p><p>For a small monitoring script, it doesn’t have to be expensive.</p><h4>So, what should you do before March?</h4><p>First, figure out whether your scripts <strong>read Reddit or act on Reddit</strong>.</p><p>If they post, reply or moderate, investigate Devvit and Reddit’s migration program.</p><p>If they’re academic research projects, check Reddit for Researchers.</p><p>If they only need historical data, look at Arctic Shift.</p><p>But if they use PRAW to read posts, comments, profiles or search results, you don’t necessarily need to rewrite them.</p><p>That’s exactly why I built the PRAW compatibility layer.</p><p>I built FetchLayer, I charge for it, and I’d obviously like you to try it. But if one of the other options fits your use case better, use that instead.</p><p><strong>If you’d rather keep your existing Python scripts running, you can test the change in about two minutes.</strong></p><p>👉 <a href="https://fetchlayer.dev/dashboard/keys?new=1&amp;use=praw&amp;utm_source=medium&amp;utm_medium=article&amp;utm_campaign=2026-11-praw-shutdown&amp;utm_content=cta-bottom"><strong>Try FetchLayer with your existing PRAW code -30 free requests, no card required.</strong></a></p><p>The full documentation is at <a href="https://fetchlayer.dev/documentation/reddit/praw">https://fetchlayer.dev/documentation/reddit/praw</a>.</p><p>And if you have a PRAW script you’re worried about, <strong>tell me which methods it uses in the comments.</strong> I’ll tell you whether they’re supported and what I’d recommend.</p><p>I answer every reply.</p><p><em>Sources: Reddit’s </em><a href="https://www.reddit.com/r/redditdev/comments/1vgbm9c/our_plans_for_the_future_of_reddits_public_data/"><em>August 5</em></a><em> and </em><a href="https://www.reddit.com/r/redditdev/comments/1wubcvf/moving_data_api_apps_to_the_developer_platform/"><em>September 30</em></a><em> announcements, </em><a href="https://www.techrepublic.com/article/news-reddit-rss-public-api-shutdown/"><em>TechRepublic</em></a><em> on RSS, and </em><a href="https://www.reddit.com/r/redditdev/comments/1wubcvf/comment/pd2cbu4/"><em>r/redditdev</em></a><em> developer discussions. Code tested against the live FetchLayer service on November 3, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=432cb75200f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[X API Pricing Is Broken. Here’s What It Actually Costs.]]></title>
            <link>https://medium.com/@alex_79882/x-api-pricing-is-broken-heres-what-it-actually-costs-7dffd2c5a388?source=rss-e4b44b723113------2</link>
            <guid isPermaLink="false">https://medium.com/p/7dffd2c5a388</guid>
            <category><![CDATA[web-scraping]]></category>
            <category><![CDATA[twitter]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Alex P.]]></dc:creator>
            <pubDate>Fri, 28 Aug 2026 10:58:43 GMT</pubDate>
            <atom:updated>2026-08-28T10:58:43.182Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pFT4tfppfcQbay5VSKIGRQ.png" /></figure><p><em>One developer burned through $5 in half a day. Another spent $50 in an afternoon. Once you look at how X actually charges for API reads, it starts making sense.</em></p><p>I keep seeing the same complaint on X lately.</p><p>Not about the algorithm.</p><p>Not about verification.</p><p>About the API.</p><p>Specifically:</p><p><strong>Why the hell is it so expensive?</strong></p><p>And the funny part is that people are complaining about the price of accessing X data… on X.</p><p>One developer put $5 into the API for a bot.</p><p>It lasted <strong>half a day</strong>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//x.com/KLQuietComj7p/status/2092083290786414910&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fpbs.twimg.com%252Fprofile_images%252F2076951103363842048%252F6oljv4AB_400x400.jpg%26key%3Da19fcc184b9711e1b4764040d3dc5c07" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/403ac2db17388aa4598198958367c114/href">https://medium.com/media/403ac2db17388aa4598198958367c114/href</a></iframe><p>Another said the X API turned into a real cost line almost immediately:</p><p><strong>About $50 gone in one afternoon just reading data.</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//x.com/petersykim/status/2093171969235566954&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fpbs.twimg.com%252Fprofile_images%252F1485753338918588421%252FHopoE_NA_400x400.jpg%26key%3Da19fcc184b9711e1b4764040d3dc5c07" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/218fc251fdd714fec1b56b47943eca2a/href">https://medium.com/media/218fc251fdd714fec1b56b47943eca2a/href</a></iframe><p>These aren’t companies downloading the entire X firehose.</p><p>They’re people building bots, agents and normal apps.</p><p>So what’s going on?</p><h3>The $0.005 That Adds Up Very Quickly</h3><p>X now uses pay-per-use pricing.</p><p>Sounds good.</p><p>No giant monthly subscription. Put some money in, use what you need.</p><p>Except X charges <strong>$0.005 for every Post resource you read</strong>.</p><p>Not simply every search request.</p><p>Every post returned.</p><p>So let’s say you search X and get 25 posts back.</p><p><strong>25 × $0.005 = $0.125</strong></p><p>Twelve and a half cents.</p><p>For one search.</p><p>Do that 100 times:</p><p><strong>$12.50</strong></p><p>Do it 1,000 times:</p><p><strong>$125.</strong></p><p>And 25 posts isn’t some giant data extraction job.</p><p>It’s a normal page of results.</p><p>That’s how $5 disappears before lunch.</p><h3>Now Try Building an Agent on Top of That</h3><p>This is where things get weird.</p><p>We’re in the middle of an explosion in AI agents.</p><p>Monitoring agents.</p><p>Research agents.</p><p>Sales agents.</p><p>Trading tools.</p><p>Sentiment analysis.</p><p>Lead discovery.</p><p>And X is one of the best datasets on the internet for all of them.</p><p>Real-time conversations, breaking news, product complaints, buying intent, market reactions.</p><p>Yet developers are asking things like:</p><blockquote><em>“How are people building bots and agents on top of these expensive APIs?”</em></blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//x.com/ankitda77870792/status/2092647046184579121&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fpbs.twimg.com%252Fprofile_images%252F1479296243490639873%252FUplpElVE_400x400.jpg%26key%3Da19fcc184b9711e1b4764040d3dc5c07" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/2d5c2acd228090c5680da16eef6e7f83/href">https://medium.com/media/2d5c2acd228090c5680da16eef6e7f83/href</a></iframe><p>Another developer put it more simply:</p><blockquote><em>“I kinda feel like hobby devs are blocked out on purpose.”</em></blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//x.com/BigDzrr/status/2092220019966971955&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fpbs.twimg.com%252Fprofile_images%252F2067325989013630976%252F7tVsiNpK_400x400.jpg%26key%3Da19fcc184b9711e1b4764040d3dc5c07" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/083dfdc26287d5d0912170416617abc0/href">https://medium.com/media/083dfdc26287d5d0912170416617abc0/href</a></iframe><p>I don’t know if that’s the intention.</p><p>But I understand why it feels that way.</p><p>You’re experimenting with a weekend project and haven’t even figured out whether anyone wants it yet.</p><p>Meanwhile every search has a meter running.</p><h3>My Favorite Workaround So Far: Just Buy Grok</h3><p>This one made me laugh.</p><p>One developer said he was considering buying a <strong>Grok subscription just to search X</strong>, because using the actual X API was getting too expensive.</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//x.com/arminayat/status/2090454089851429278&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fpbs.twimg.com%252Fprofile_images%252F2089044346171457536%252F3OYh6JpZ_400x400.jpg%26key%3Da19fcc184b9711e1b4764040d3dc5c07" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/9f9ae99dc48490a4d7b462d87a22ac80/href">https://medium.com/media/9f9ae99dc48490a4d7b462d87a22ac80/href</a></iframe><p>Think about that.</p><p>You want programmatic access to data from X.</p><p>The official API is expensive enough that you consider buying X’s AI product instead…</p><p>…so the AI product can search X for you.</p><p>Same platform.</p><p>Same public conversations.</p><p>Different route.</p><p>As he put it:</p><blockquote><em>“Slightly strange route to accessing data from the same platform, but here we are.”</em></blockquote><p>Yeah.</p><p>Here we are.</p><h3>So What Are the Alternatives?</h3><p>Full disclosure:</p><p><strong>I built </strong><a href="https://fetchlayer.dev/twitter-scraper"><strong>FetchLayer</strong></a><strong>.</strong></p><p>So yes, I’m biased.</p><p>But this exact pricing problem is why we built our X API differently.</p><p>FetchLayer charges <strong>per request</strong>, not per post returned.</p><p>One request = one credit.</p><p>If a search returns 25 posts, that’s still one credit.</p><p>Let’s take the same example from earlier.</p><p>1,000 searches returning 25 posts each.</p><p>With X’s current Post-read pricing:</p><p><strong>X API: $125</strong></p><p>With FetchLayer:</p><p><strong>FetchLayer: $1.99</strong></p><p>That’s roughly <strong>60× cheaper</strong>.</p><p>No multiplying your bill by the number of posts inside the response.</p><p>No worrying that your agent ran a few extra searches overnight.</p><p>Just:</p><p><strong>1 request = 1 credit.</strong></p><p>You can search X posts, fetch tweets and replies, profiles, timelines, followers and more through the API.</p><p>There’s also MCP support if you want to give Claude, Cursor or another agent direct access to X data.</p><p>And if a request fails on our side, you don’t get charged for it.</p><p>Pretty boring pricing.</p><p>Which is exactly how API pricing should be.</p><h3>The Official X API Still Has Its Place</h3><p>There are obviously reasons to use the official API.</p><p>It’s official.</p><p>There are things X can expose directly that third-party services can’t.</p><p>And for some companies, paying for that access makes complete sense.</p><p>The problem is what happens when <strong>$0.005</strong> sounds cheap enough that you don’t think about it.</p><p>Until you multiply it by every post your application needs to read.</p><p>25,000 posts?</p><p><strong>$125.</strong></p><p>100,000?</p><p><strong>$500.</strong></p><p>Suddenly those developers complaining about burning $5 in half a day don’t sound so dramatic.</p><p>They’re just doing the math.</p><h3>X Data Shouldn’t Be This Expensive to Build With</h3><p>X has some of the most valuable public conversation data on the internet.</p><p>Developers want it.</p><p>AI agents want it.</p><p>Companies want it.</p><p>The problem isn’t demand.</p><p>It’s that something as simple as searching public posts can become surprisingly expensive surprisingly quickly.</p><p>So when you see someone posting:</p><blockquote><em>“X API is crazy expensive.”</em></blockquote><p>They’re not exaggerating.</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//x.com/tobiastornros/status/2091945421304168606&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fpbs.twimg.com%252Fprofile_images%252F1940029503188684800%252FJP7SMaYP_400x400.jpg%26key%3Da19fcc184b9711e1b4764040d3dc5c07" width="500" height="281" frameborder="0" scrolling="no"><a href="https://medium.com/media/ceb18fec7f148ccf6438a449520548b9/href">https://medium.com/media/ceb18fec7f148ccf6438a449520548b9/href</a></iframe><p>Half a cent sounds cheap.</p><p>Until you’re paying it for every post your application reads.</p><p>If the official API makes sense for your use case, use it.</p><p>But if you’re paying around <strong>$125 for 1,000 searches that can cost about $2 elsewhere</strong>, there are alternatives.</p><p>That’s why we built FetchLayer’s X API.</p><p><strong>Up to around 60× cheaper.</strong></p><p>Same goal.</p><p>A much less interesting billing dashboard.</p><p>If you’re building on X data and the official pricing is getting in the way, you can try FetchLayer here:</p><p><a href="https://fetchlayer.dev/twitter-scraper">https://fetchlayer.dev/twitter-scraper</a></p><p>No giant commitment. No per-post billing.</p><p>Just public X data without the ridiculous math.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7dffd2c5a388" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Scrape YouTube Comments in 2026 (and why you should)]]></title>
            <link>https://medium.com/@alex_79882/how-to-scrape-youtube-comments-in-2026-and-why-you-should-c82378bc91e2?source=rss-e4b44b723113------2</link>
            <guid isPermaLink="false">https://medium.com/p/c82378bc91e2</guid>
            <category><![CDATA[web-scraping]]></category>
            <category><![CDATA[youtube]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Alex P.]]></dc:creator>
            <pubDate>Sat, 15 Aug 2026 20:40:17 GMT</pubDate>
            <atom:updated>2026-08-15T20:44:52.145Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KGXfSqRuIDUkrbShSwEWsw.png" /><figcaption>YouTube comments are a goldmine of audience feedback, product ideas, and real-world opinion — if you know how to pull and analyze them.</figcaption></figure><p><em>Thousands of people are telling you what they want in YouTube comments. Here’s how I turn that into structured data and usable insights.</em></p><p>Everyone watches the video.</p><p><strong>The useful data is underneath it.</strong></p><p>YouTube comments are basically thousands of people publicly telling you <strong>what they want, what confused them, what they hate, what they’d pay for, and what they want someone to build next.</strong></p><p>And somehow most companies <strong>barely</strong> use them.</p><p>I’ve been building tools around public social data for the last few years. Reddit, Twitter, monitoring tools, research pipelines, AI agents, anything that needs to understand what real people are actually saying online.</p><p>YouTube comments might be one of the most underrated datasets of all of them.</p><p>The problem is getting them out.</p><p>YouTube has an API, <em>technically</em>. But you get a maximum of 100 comment threads per request, replies can require additional calls, and once you start doing this across hundreds of videos, you’re suddenly maintaining a whole YouTube data pipeline.</p><p>So I eventually added <a href="https://fetchlayer.dev/youtube-comments-api">YouTube comments API</a> to FetchLayer.</p><p>Here’s how I scrape them now, and more importantly, why I think more people should.</p><h3>YouTube’s API Works. Until You Actually Need Volume.</h3><p>This isn’t Reddit.</p><p>YouTube hasn’t killed its API.</p><p>You can create a Google Cloud project, enable the YouTube Data API, get credentials, and start calling commentThreads.list.</p><p>For one video with a few hundred comments? Fine.</p><p>But YouTube gives you a maximum of 100 comment threads per request.</p><p>So if a video has 20,000 comments, you’re paging through request after request after request.</p><p>Then there are replies.</p><p>The replies returned with a comment thread aren’t necessarily complete. If you want all of them, you may need separate requests for each thread.</p><p>Now multiply that by:</p><ul><li>50 competitor videos</li><li>200 product reviews</li><li>every video from a channel</li><li>hourly monitoring</li><li>an AI agent doing this automatically</li></ul><p><strong>Very quickly</strong>, “get the YouTube comments” <strong>stops being one API call and becomes infrastructure.</strong></p><p>And YouTube projects have quota limits too. If you need substantially more than the default allocation, you have to request additional quota and go through Google’s review process.</p><p>The API exists.</p><p><strong>That doesn’t mean I want to build my product around its limits.</strong></p><h3>Scraping It Yourself Isn’t Much Better</h3><p>So you scrape YouTube directly.</p><p>I’ve done enough scraping to know how this story ends.</p><p>YouTube comments are dynamically loaded. You need continuation tokens, pagination, reply expansion, internal requests, proxies once volume gets high, and code that survives whatever YouTube changes next month.</p><p>Getting version one working isn’t the hard part.</p><p><strong>Keeping it working is.</strong></p><p>I’ve learned this lesson enough times that I’d rather spend my time building the actual product.</p><h3>So I Added It to FetchLayer</h3><p>The goal was simple:</p><p>Drop in a YouTube URL.</p><p>Get the comments back.</p><p>That’s it.</p><pre>const response = await fetch(<br>  &#39;YOUR_FETCHLAYER_YOUTUBE_ENDPOINT&#39;,<br>  {<br>    method: &#39;POST&#39;,<br>    headers: {<br>      &#39;Authorization&#39;: &#39;Bearer sk-your-api-key&#39;,<br>      &#39;Content-Type&#39;: &#39;application/json&#39;<br>    },<br>    body: JSON.stringify({<br>      videoUrl: &#39;https://youtube.com/watch?v=VIDEO_ID&#39;,<br>      sort: &#39;top&#39;,<br>      depth: 2,<br>      pages: 10<br>    })<br>  }<br>);</pre><pre>const comments = await response.json();</pre><p>FetchLayer handles the ugly part upstream.</p><p>Pagination, replies, scraping, normalization.</p><p>You get structured JSON back.</p><p>There’s also an <a href="https://www.npmjs.com/package/@fetchlayer/youtube">NPM package</a> if you’re using JavaScript or TypeScript:</p><pre>npm install @fetchlayer/youtube</pre><p>And an <a href="https://github.com/fetchlayer-dev/youtube-scraper-js">open-source GitHub repo with examples</a>.</p><p>But honestly, retrieving the comments isn’t the interesting part.</p><h3>YouTube Comments Are Free Market Research</h3><p>This is why I actually wanted this endpoint.</p><p>Imagine you’re building an AI coding tool.</p><p>Go to five videos reviewing Cursor, Claude Code, Windsurf, whatever.</p><p>Pull every comment.</p><p>Then ask:</p><blockquote><em>What are people complaining about repeatedly?</em></blockquote><blockquote><em>What features are people asking for?</em></blockquote><blockquote><em>What makes people switch between these products?</em></blockquote><blockquote><em>Which problems are nobody solving properly?</em></blockquote><p>That’s <strong>thousands</strong> of people doing customer research for you <strong>for free</strong>.</p><p>Or say you run a YouTube channel.</p><p>Instead of guessing what to make next:</p><blockquote><em>Analyze my last 10 videos and tell me which questions viewers keep asking.</em></blockquote><p>If you’ve just launched something:</p><blockquote><em>Get the newest comments and group them into bugs, confusion, feature requests, praise, and purchase objections.</em></blockquote><p>That’s the part people miss.</p><p>Scraping the comments is just how you get there.</p><h3>It Gets Better with AI Agents</h3><p>FetchLayer also works through MCP.</p><p>So instead of writing the API integration yourself, you can give Cursor, Claude, VS Code, Windsurf, or another MCP client access to FetchLayer directly.</p><pre>{<br>  &quot;mcpServers&quot;: {<br>    &quot;fetchlayer&quot;: {<br>      &quot;url&quot;: &quot;https://mcp.fetchlayer.dev&quot;,<br>      &quot;headers&quot;: {<br>        &quot;Authorization&quot;: &quot;Bearer sk-your-api-key&quot;<br>      }<br>    }<br>  }<br>}</pre><p>Now I can literally ask:</p><blockquote><em>Pull the comments from these five YouTube videos and tell me the three biggest complaints across all of them.</em></blockquote><p>The agent retrieves the data and analyzes it.</p><p>No CSV.</p><p>No copying comments into ChatGPT.</p><p>No custom YouTube integration.</p><p>That’s where I think this gets really interesting.</p><p>An AI agent that can browse the web is useful.</p><p>An AI agent that can actually pull thousands of real conversations and reason over them is much more useful.</p><h3>What I’d Use This For</h3><p><strong>If I were starting a SaaS today</strong>, I’d scrape comments under videos about every major competitor.</p><p><strong>If I were a creator</strong>, I’d analyze my own comments before deciding what to make next.</p><p><strong>If I ran a product team</strong>, I’d monitor launch videos for bugs and objections.</p><p><strong>If I ran an agency</strong>, I’d use competitor comments as part of market research for every client.</p><p><strong>And if I were building an AI product</strong>, I’d give the agent access to this data directly instead of feeding it another static dataset.</p><p>The comments are already there.</p><p><strong>People are literally telling you what they think.</strong></p><p>You just need a way to actually use them.</p><h3>If You’re Trying to Scrape YouTube Comments Right Now</h3><p>You can use YouTube’s official API.</p><p>You can build your own scraper.</p><p>Or you can use FetchLayer and skip the infrastructure part.</p><p>I’m biased, I built it.</p><p>But I built it because I wanted the same thing I wanted when I started FetchLayer for Reddit:</p><p><strong>Give me the public data and let me get back to building.</strong></p><p><a href="https://fetchlayer.dev/signin">Create a FetchLayer API key</a>, send it a YouTube URL, and you can start pulling structured comments and replies in a couple of minutes.</p><p>And if you’re using an AI agent, connect the MCP server and let the agent do the rest.</p><p>If this helped, follow me. I write about scraping, public web data, AI agents, and the weird infrastructure you end up building when platforms make simple data unnecessarily hard to use.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c82378bc91e2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Twitter’s API Is Open Again. So Why Aren’t Developers Coming Back?]]></title>
            <link>https://medium.com/@alex_79882/twitters-api-is-open-again-so-why-aren-t-developers-coming-back-69ea363203e5?source=rss-e4b44b723113------2</link>
            <guid isPermaLink="false">https://medium.com/p/69ea363203e5</guid>
            <category><![CDATA[api-development]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[web-scraping]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[twitter]]></category>
            <dc:creator><![CDATA[Alex P.]]></dc:creator>
            <pubDate>Wed, 22 Jul 2026 22:26:19 GMT</pubDate>
            <atom:updated>2026-07-22T22:26:19.945Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Md-tC3Q5ZuF5YAfpV2rxLg.png" /></figure><p><em>X removed the expensive entry ticket, introduced pay-per-use pricing, and even added support for AI agents. It looks like the developer platform is finally back. The numbers tell a more complicated story.</em></p><p>A few months ago, I started looking seriously at adding Twitter data to a product I was building.</p><p>The timing seemed perfect.</p><p>X had replaced its old fixed subscription tiers with pay-per-use pricing. Developers could create an app, purchase credits, and start making requests without committing hundreds or thousands of dollars every month.</p><p>There were official SDKs, better documentation, and even an MCP server for developers using tools such as Cursor and Windsurf.</p><p>After years of pushing developers away, X appeared to be inviting them back.</p><p>I expected the official API to be the obvious choice.</p><p>Then I started modelling what a real monitoring product would actually need: continuous searches, thousands of new posts, complete reply threads, multiple customers, and AI agents that explore far more than a human normally would.</p><p>The first request was easy.</p><p>The twentieth page of replies was not.</p><p>Neither was the bill.</p><p>The API was open again, but access was no longer the main problem. The real questions were whether the economics could scale, whether the limits matched modern applications, and whether developers trusted X enough to build on it again.</p><p>That investigation is ultimately why we added Twitter to FetchLayer.</p><p>But before getting into what we built, it is worth looking at why half a cent per post becomes expensive much faster than it sounds.</p><h3>Half a Cent Adds Up Fast</h3><p>X currently charges $0.005 for every post returned by the API.</p><p>Retrieve 100 posts and you pay around $0.50. For a small script, personal dashboard, or weekend project, that may be completely reasonable.</p><p>But monitoring products do not retrieve 100 posts once.</p><p>They search continuously.</p><p>Imagine tracking 100 keywords and retrieving 100 new posts for each one every day:</p><ul><li>10,000 post reads per day</li><li>300,000 post reads per month</li><li>$1,500 per month for post reads alone</li></ul><p>At one million post reads, the cost reaches $5,000.</p><p>At two million, it reaches $10,000 — and two million post reads is also the monthly cap for self-serve access. Beyond that, you need an Enterprise agreement.</p><p>X generally avoids charging twice for the same resource within a 24-hour window. That helps with caching, but it does not solve the cost of discovering new content.</p><p>And discovery is the expensive part.</p><p>Suppose you are building a lead-monitoring tool. To find ten people complaining about their current payment provider, your system may need to retrieve and evaluate thousands of posts.</p><p>The customer only cares about the ten useful results.</p><p>Your application pays to inspect everything required to find them.</p><blockquote><em>The expensive part is not showing the ten posts that matter. It is reading the other 9,990 posts required to discover them.</em></blockquote><p>The same problem affects brand monitoring, competitor research, sentiment analysis, trend detection, academic research, and AI agents.</p><p>Pay-per-use removes the expensive entry ticket.</p><p>It does not necessarily make the API affordable when your product grows.</p><h3>A Conversation Is Not One API Request</h3><p>The limitations become even clearer when you try to retrieve the replies under a post.</p><p>There is no single request that returns a complete, nested discussion ready for your application to use.</p><p>Instead, replies share a conversation_id. You search for them using a query like:</p><pre>conversation_id:1891234567890123456</pre><p>X returns the posts belonging to that conversation. Your application must then determine which reply belongs to which parent and reconstruct the discussion itself.</p><p>Recent search returns a maximum of 100 posts per request. A conversation containing 2,000 replies therefore requires at least 20 paginated requests.</p><p>After that, you still need to:</p><ul><li>Identify each reply’s parent</li><li>Rebuild the nested structure</li><li>Handle missing or deleted posts</li><li>Order the branches correctly</li><li>Retry failed or rate-limited pages</li></ul><p>Every reply is also an individual billable post read.</p><blockquote><em>With X, the unit you want is a conversation. The unit you pay for is every individual post needed to reconstruct it.</em></blockquote><p>X can return the posts inside a conversation.</p><p>That is not the same as returning the conversation.</p><h3>Paid Quota Does Not Remove Rate Limits</h3><p>Recent search currently allows:</p><ul><li>450 requests per 15 minutes per app</li><li>300 requests per 15 minutes per user</li><li>100 results per request</li></ul><p>Those limits may be generous for one developer making a few searches.</p><p>They become much tighter when one application serves hundreds of customers.</p><p>If 45 users each open a large conversation requiring ten pages, that consumes all 450 app-level search requests for the 15-minute window.</p><p>Your account may still have plenty of paid quota available, but the application cannot perform another recent search until the limit resets.</p><p>This is how developers end up receiving 429 Too Many Requests while they still have credits.</p><p>The problem is not that 450 requests is always too low.</p><p>The problem is that a single user action can require dozens of requests, while the limit is shared across the entire application.</p><h3>MCP Makes the API Callable, Not Plug-and-Play</h3><p>X deserves credit for recognizing how developers build software today.</p><p>Its official MCP server, XMCP, exposes more than 200 API operations to compatible AI tools. An agent can search posts, inspect users, publish content, and perform other X actions.</p><p>But the MCP server still sits on top of the same API.</p><p>Developers need to run it locally, configure X credentials, and connect it to their AI client. Every tool call inherits the same pricing, pagination, result limits, and rate limits.</p><p>Ask an agent to inspect a discussion with 2,000 replies and it still needs to retrieve page after page.</p><p>Each reply remains a billable read.</p><p>Agents also tend to explore more than humans. They try alternative searches, inspect multiple conversations, look up authors, and follow related topics before producing an answer.</p><p>That is what makes them useful.</p><p>It also makes their API usage difficult to predict.</p><p>X has made its API callable by agents.</p><p>It has not made public Twitter data plug-and-play for them.</p><h3>The Hardest Limit Is Trust</h3><p>Even if X lowered every price tomorrow, another problem would remain.</p><p>Developers do not evaluate only today’s pricing. They consider whether today’s pricing, limits, and access model will still exist after they have spent six months building around them.</p><p>Twitter’s developer ecosystem has experienced years of major changes. Access models changed. Products were retired. Prices increased dramatically. Developers were forced to redesign or close applications.</p><p>The platform has now changed direction again.</p><p>Some of those decisions may have made sense for X as a business.</p><p>But developers remember them.</p><p>You cannot plan a sustainable product using only today’s API price. You need confidence that tomorrow’s rules will resemble the ones you integrate today.</p><p>X can reopen an API with a product update.</p><p>Rebuilding developer trust requires years of stability.</p><h3>Where the Official API Still Makes Sense</h3><p>The official X API remains the right choice when you need to:</p><ul><li>Publish or reply on behalf of users</li><li>Access direct messages</li><li>Manage likes, follows, or bookmarks</li><li>Work with authenticated user data</li><li>Build official account integrations</li></ul><p>FetchLayer is not intended to replace those capabilities.</p><p>Public-data monitoring is a different problem.</p><p>Developers also need a straightforward way to search posts, retrieve user content, inspect discussions, and use Twitter data inside AI workflows — without building pagination, conversation reconstruction, rate-limit handling, sessions, proxies, and retry systems from scratch.</p><p>That is why we added Twitter to FetchLayer.</p><h3>The Layer We Wanted as Developers</h3><p>FetchLayer is built for retrieving and structuring public Twitter data.</p><p>There is no X developer application to create and no OAuth flow required for public search. Developers do not have to design their architecture around separate endpoint-specific windows such as 450 searches every 15 minutes.</p><p>A search looks like a normal API request:</p><pre>const response = await fetch(<br>  &quot;https://fetchlayer.dev/api/twitter/search&quot;,<br>  {<br>    method: &quot;POST&quot;,<br>    headers: {<br>      Authorization: &quot;Bearer sk-your-api-key&quot;,<br>      &quot;Content-Type&quot;: &quot;application/json&quot;<br>    },<br>    body: JSON.stringify({<br>      query: &quot;developers complaining about API pricing&quot;<br>    })<br>  }<br>);</pre><pre>const data = await response.json();</pre><p>The goal is not to return a bag of replies and leave you to reconstruct the discussion.</p><p>The goal is to return useful, structured data directly.</p><p>FetchLayer also runs as a hosted MCP server:</p><pre>{<br>  &quot;mcpServers&quot;: {<br>    &quot;fetchlayer&quot;: {<br>      &quot;url&quot;: &quot;https://mcp.fetchlayer.dev&quot;,<br>      &quot;headers&quot;: {<br>        &quot;Authorization&quot;: &quot;Bearer sk-your-api-key&quot;<br>      }<br>    }<br>  }<br>}</pre><p>That is the entire setup.</p><p>There is no repository to clone, no local process to maintain, and no separate X credentials to configure.</p><p>X’s MCP server makes its API available to an agent.</p><p>FetchLayer makes public Twitter data immediately usable by the agent.</p><h3>Someone Still Has to Handle the Complexity</h3><p>Reliable Twitter data still requires infrastructure.</p><p>Sessions must be maintained. Platform changes must be detected. Requests need to be routed correctly. Pagination, retries, extraction, and data structuring all have to work together.</p><p>FetchLayer handles that layer behind the API.</p><p>The complexity has not disappeared.</p><p>It has simply become our responsibility instead of yours.</p><p>Developers ultimately have three choices:</p><ol><li>Use X’s API and build around its pricing, limits, and policies.</li><li>Build and maintain their own extraction infrastructure.</li><li>Use a managed service that maintains it for them.</li></ol><p>We built FetchLayer for the third option.</p><h3>Opening the API Was Only the Beginning</h3><p>X has made its API easier to access again.</p><p>That matters.</p><p>But developer ecosystems are not rebuilt by access alone. Developers need economics that still work when their products grow, tools designed around the data they actually want, and confidence that the rules will remain stable.</p><p>A search endpoint returning 100 posts is access.</p><p>A complete conversation your application can immediately analyze is a product.</p><p>For publishing, account management, and authenticated integrations, the official API remains the obvious choice.</p><p>For monitoring, research, and AI agents that need reliable, structured public Twitter data, that is the gap we built FetchLayer to fill.</p><p>X’s API is open again.</p><p>Now it has to prove that developers can safely build on it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69ea363203e5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reddit’s API Is Officially Dead in 2026. Here’s What I Use Instead]]></title>
            <link>https://medium.com/@alex_79882/reddits-api-is-officially-dead-in-2026-here-s-what-i-use-instead-f88ee5b809c8?source=rss-e4b44b723113------2</link>
            <guid isPermaLink="false">https://medium.com/p/f88ee5b809c8</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[reddit]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[web-scraping]]></category>
            <dc:creator><![CDATA[Alex P.]]></dc:creator>
            <pubDate>Wed, 03 Jun 2026 21:02:57 GMT</pubDate>
            <atom:updated>2026-06-03T21:02:57.145Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CruyW9FO3r_PYGR9YbTAvA.png" /></figure><p><em>Reddit killed .json endpoints, closed OAuth, and left thousands of developers stranded. I stopped waiting and found a better way.</em></p><p>I’ve been building tools that pull data from Reddit for over two years. Monitoring tools, research scripts, content pipelines, anything that needs to know what real people are saying about a topic. Eventually I got fed up enough to build my own Reddit data infrastructure from scratch.</p><p>And I’m telling you right now: <strong>Reddit’s API is done.</strong> Not “limited.” Not “harder to use.” Done.</p><p>If you’re a developer who’s tried to get Reddit data in 2026, you already know the pain. But if you’re just now running into the wall, maybe your .json requests started 403-ing last week, or you&#39;ve been staring at a pending API application for months, let me save you some time.</p><p>Here’s the full picture of what happened, why Reddit did it, and what I actually use now instead of fighting a system that doesn’t want me.</p><h3>The Timeline: How Reddit Killed Every Free Access Path</h3><p>This didn’t happen overnight. It was a slow, deliberate shutdown spread across three years:</p><ul><li><strong>June 2023</strong>, Paid API tiers announced. Third-party apps (Apollo, RIF, Sync) killed.</li><li><strong>March 2024</strong>, Reddit IPO. Data licensing becomes a revenue line.</li><li><strong>Mid-2025</strong>, OAuth tokens limited to one per account.</li><li><strong>November 2025</strong>, Self-service API access closed. “Responsible Builder Policy” introduced.</li><li><strong>May 30, 2026</strong>, Unauthenticated .json endpoints return 403 Forbidden.</li></ul><p>That last one is what broke everything for me, and for thousands of other developers who thought they still had a workaround.</p><h3>The .json Hack Is Dead</h3><p>For months after Reddit closed OAuth access, appending .json to any Reddit URL still worked. It was the last free path to structured Reddit data:</p><pre>https://www.reddit.com/r/webdev/hot.json?limit=25</pre><p>No API key. No OAuth dance. Just clean JSON.</p><p>On May 30, 2026, Reddit killed it. No announcement. No deprecation warning. No migration path. Just <strong>403 Forbidden</strong> across the board.</p><p>Every self-hosted app, every monitoring script, every RSS-to-Reddit bridge that depended on this, broken overnight. The r/selfhosted community lit up immediately. Thousands of tools went dark.</p><p>I had three production scripts that used .json endpoints as a fallback. All three broke that morning. No email from Reddit. No heads-up. Just silence and a 403.</p><h3>The OAuth Application Process Is a Joke</h3><p>“Just apply for API access,” you might think. Here’s what that actually looks like in 2026:</p><p><strong>The form is literally broken.</strong> Multiple developers report that reddit.com/prefs/apps either redirects to a policy page, loops through a CAPTCHA infinitely, or has a hidden required field that silently blocks submission.</p><p><strong>Almost everyone gets rejected.</strong> Academics with ethics board approval? Denied. Moderators who need bots? Denied. Indie developers with detailed, policy-compliant applications? Denied.</p><p><strong>Or you get nothing at all.</strong> Weeks of silence. Months of silence. Developers with 10-year-old accounts submitting professional applications and hearing absolutely nothing back.</p><p>One of Reddit’s most well-known bot developers, u/Watchful1, confirmed it plainly on May 30, 2026:</p><blockquote><em>“You can’t. Reddit has closed OAuth access unless you get a very specific exception, which personal scripts won’t qualify for.”</em></blockquote><p>That’s the current state. No ambiguity. If you don’t already have OAuth credentials from before November 2025, you’re not getting them.</p><h3>Why Reddit Did This (It’s Not About “Responsible Building”)</h3><p>Reddit calls it the “Responsible Builder Policy.” Let’s call it what it is: a revenue play.</p><p>Reddit signed multi-million-dollar data licensing deals with Google and OpenAI. Free developer access to the same data undermines those contracts. The timeline makes it obvious:</p><ul><li>Kill third-party apps → force users back to Reddit’s ad-supported interface</li><li>IPO → promise investors that data licensing is a growing revenue line</li><li>Close self-service API → eliminate the free pipeline that competes with paid contracts</li><li>Kill .json → plug the last hole</li></ul><p>As one r/redditdev commenter put it: <em>“It’s being gate-kept because it’s a big profit center for Reddit. I don’t expect much to change.”</em></p><p>Your application isn’t being denied because it’s poorly written. It’s being denied because your use case doesn’t generate revenue for Reddit. That’s it.</p><h3>I Stopped Waiting. I Built My Own.</h3><p>After my .json scripts broke and my OAuth application sat in limbo for six weeks, I stopped trying to make Reddit&#39;s system work. I did what any frustrated developer would do, I built something that doesn&#39;t depend on Reddit&#39;s permission.</p><p>That’s how <a href="https://fetchlayer.dev/reddit-scraper">FetchLayer</a> started. It’s a Reddit scraping API that doesn’t touch Reddit’s API at all, it extracts data from Reddit’s public pages and returns structured JSON. No OAuth, no application process, no approval gatekeeping. I built it for myself first, then opened it up because I knew thousands of other developers were hitting the exact same wall.</p><p>Here’s what a search looks like:</p><pre>const res = await fetch(&#39;https://fetchlayer.dev/api/reddit/search&#39;, {<br>  method: &#39;POST&#39;,<br>  headers: {<br>    &#39;Authorization&#39;: &#39;Bearer sk-your-api-key&#39;,<br>    &#39;Content-Type&#39;: &#39;application/json&#39;<br>  },<br>  body: JSON.stringify({<br>    query: &#39;best CRM for startups&#39;,<br>    sort: &#39;top&#39;,<br>    limit: 25<br>  })<br>});</pre><pre>const { results } = await res.json();</pre><p>That’s it. Two minutes from signup to working data. No form that loops. No weeks of waiting. No template rejection email.</p><h3>What FetchLayer Actually Gives You</h3><p>14 endpoints that cover everything I used to need Reddit’s API for:</p><ul><li><strong>Search</strong>, posts matching any keyword, globally or within a subreddit</li><li><strong>Post scraping</strong>, full post body + complete comment tree (no “more” stubs)</li><li><strong>Subreddit browsing</strong>, hot, new, top, rising for any community</li><li><strong>Community details</strong>, subscribers, rules, description, metadata</li><li><strong>User profiles</strong>, karma, bio, post history, comment history</li><li><strong>Trending</strong>, what’s popular right now across Reddit</li><li><strong>Community discovery</strong>, find subreddits by topic</li></ul><p>The part that matters most to me: <strong>complete comment trees.</strong> Reddit’s own API truncates nested replies into “more” stubs that require separate requests to expand. FetchLayer returns the full tree in one call. That alone saved me hours of pagination hell.</p><p>If you’re in JavaScript or TypeScript, there’s an <a href="https://www.npmjs.com/package/@fetchlayer/reddit">npm package</a> too:</p><pre>npm install @fetchlayer/reddit</pre><pre>import { RedditScraper } from &#39;@fetchlayer/reddit&#39;;</pre><pre>const scraper = new RedditScraper({ apiKey: &#39;sk-your-key&#39; });<br>const results = await scraper.search({ query: &#39;react performance&#39;, sort: &#39;top&#39; });</pre><h3>For AI Workflows: The MCP Server</h3><p>If you use Cursor, Claude Desktop, Claude Code, VS Code with Copilot, or any MCP-compatible tool, FetchLayer also runs as an MCP server. Add this to your config:</p><pre>{<br>  &quot;mcpServers&quot;: {<br>    &quot;fetchlayer&quot;: {<br>      &quot;url&quot;: &quot;https://mcp.fetchlayer.dev&quot;,<br>      &quot;headers&quot;: {<br>        &quot;Authorization&quot;: &quot;Bearer sk-your-api-key&quot;<br>      }<br>    }<br>  }<br>}</pre><p>Now your AI agent can search Reddit, pull threads, analyze discussions, all inline. No API code to write. I use this daily for market research and competitive monitoring.</p><h3>The Real Cost Comparison</h3><p>Let’s be honest about money:</p><p><strong>Reddit free API</strong>, $0 (if approved, which you won’t be). Time to first data: weeks to never. Does it work? No.</p><p><strong>Reddit commercial API</strong>, ~$12,000/year. Time to first data: weeks of contract negotiation. Does it work? Yes, if you can afford it.</p><p><strong>DIY scraping + proxies</strong>, $200–500/month. Time to first data: hours of setup + ongoing maintenance. Does it work? Fragile.</p><p><strong>FetchLayer</strong>, Free tier to start, paid plans for volume. Time to first data: 2 minutes. Does it work? Yes.</p><p>I’m biased, I built this thing. But I built it because nothing else existed that solved the problem cleanly. And now thousands of developers use it for the same reason I made it: Reddit’s official path doesn’t work anymore.</p><h3>What This Means for the Reddit Developer Ecosystem</h3><p>The broader point isn’t about any one tool. It’s about what Reddit chose to do to its developer community.</p><p>Reddit was built by developers. Developers built the bots that moderate subreddits. Developers built the tools that made Reddit usable, Apollo, RIF, Pushshift, hundreds of smaller projects. Reddit’s ecosystem was a flywheel powered by free access to data.</p><p>And Reddit killed it. Deliberately, methodically, over three years. Not because the ecosystem was abusing anything, but because the data became more valuable sold to Google than given to developers.</p><p>Jason Baumgartner, the founder of Pushshift, arguably the most important third-party service in Reddit’s history, saw this coming. When the “Responsible Builder Policy” was announced, he wrote:</p><blockquote><em>“Unfortunately, having been down this road before with companies that grow rapidly from developers that benefit the growth of a business until they make lots of money and then kill off access to the API, I have seen this much too often.”</em></blockquote><p>He was right.</p><h3>If You’re Stuck Right Now</h3><p>If you’re reading this because:</p><ul><li>Your .json scripts just broke</li><li>Your API application has been pending for weeks</li><li>You got a template rejection with no explanation</li><li>You’re trying to figure out why reddit.com/prefs/apps doesn&#39;t work anymore</li></ul><p>Stop waiting. Reddit isn’t going to approve your application. The .json endpoints aren&#39;t coming back. The system isn&#39;t broken, it&#39;s working exactly as Reddit designed it.</p><p>Get a <a href="https://fetchlayer.dev/signin">FetchLayer API key</a> (free, no credit card), swap out your Reddit calls, and get back to building.</p><p><em>If this helped, follow me for more on building with social data APIs. I write about Reddit scraping, monitoring tools, and the developer side of platforms that don’t want us anymore.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f88ee5b809c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>