<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: David | Kordhub</title>
    <description>The latest articles on DEV Community by David | Kordhub (@kordhubdev).</description>
    <link>https://dev.to/kordhubdev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4011223%2F05455c53-2470-4c8e-85b9-58a45aa09bc0.png</url>
      <title>DEV Community: David | Kordhub</title>
      <link>https://dev.to/kordhubdev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kordhubdev"/>
    <language>en</language>
    <item>
      <title>I built 3 free APIs for LLM developers — here's what I shipped and why</title>
      <dc:creator>David | Kordhub</dc:creator>
      <pubDate>Wed, 01 Jul 2026 17:23:53 +0000</pubDate>
      <link>https://dev.to/kordhubdev/i-built-3-free-apis-for-llm-developers-heres-what-i-shipped-and-why-95c</link>
      <guid>https://dev.to/kordhubdev/i-built-3-free-apis-for-llm-developers-heres-what-i-shipped-and-why-95c</guid>
      <description>&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;If you've built anything with GPT-4, Claude, or Llama, you've probably run into these:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;JSON that won't parse because of a trailing comma or markdown fence&lt;/li&gt;
&lt;li&gt;Discord webhook URLs exposed in your frontend code&lt;/li&gt;
&lt;li&gt;Needing QR codes dynamically but not wanting to pay per request&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I kept hitting these same walls, so I spent a week building three utility APIs to solve them. All three have free tiers on RapidAPI.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. JSON Repair &amp;amp; Formatter
&lt;/h2&gt;

&lt;p&gt;LLMs don't always return clean JSON. Trailing commas, markdown code fences, truncated objects — all of these break JSON.parse() and crash your pipeline.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Input (broken LLM output):&lt;/strong&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{ "name": "Pro Plan", "price": 19.00, }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Output (clean JSON):&lt;/strong&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{ "name": "Pro Plan", "price": 19.00 }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Fast local repair engine first (&amp;lt;5ms, no AI call). Falls back to AI only when the input is too corrupted for local processing.&lt;/p&gt;

&lt;p&gt;Free tier: 500 requests/month, no card required.&lt;br&gt;
&lt;a href="https://rapidapi.com/kordhubdev/api/kordhub-ai-json-repair-formatter" rel="noopener noreferrer"&gt;https://rapidapi.com/kordhubdev/api/kordhub-ai-json-repair-formatter&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Discord Webhook Shield &amp;amp; Formatter
&lt;/h2&gt;

&lt;p&gt;If you use Discord webhooks in a frontend app, your webhook URL is exposed in source code. Anyone can find it and spam your server.&lt;/p&gt;

&lt;p&gt;You register your real webhook URL once — stored encrypted — and get a safe webhook_id instead. Your real URL never touches your frontend again. Auto-strips &lt;a class="mentioned-user" href="https://dev.to/everyone"&gt;@everyone&lt;/a&gt;/&lt;a class="mentioned-user" href="https://dev.to/here"&gt;@here&lt;/a&gt; spam before anything reaches Discord.&lt;/p&gt;

&lt;p&gt;Free tier: 200 messages/month, no card required.&lt;br&gt;
&lt;a href="https://rapidapi.com/kordhubdev/api/kordhub-discord-webhook-shield-formatter" rel="noopener noreferrer"&gt;https://rapidapi.com/kordhubdev/api/kordhub-discord-webhook-shield-formatter&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  3. QR Code Generator
&lt;/h2&gt;

&lt;p&gt;PNG &amp;amp; SVG output, custom hex colors, optional logo overlay. Error correction up to H (30%) keeps the QR scannable even with a logo on top. 100% local processing — no per-call AI cost.&lt;/p&gt;

&lt;p&gt;Free tier: 500 requests/month, no card required.&lt;br&gt;
&lt;a href="https://rapidapi.com/kordhubdev/api/kordhub-qr-code-generator" rel="noopener noreferrer"&gt;https://rapidapi.com/kordhubdev/api/kordhub-qr-code-generator&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Tech stack
&lt;/h2&gt;

&lt;p&gt;FastAPI + Python, hosted on Render. Local engines use open-source libraries (json-repair, qrcode + Pillow) so cost per request is near zero. Groq only kicks in as AI fallback when local processing fails.&lt;/p&gt;

&lt;p&gt;Would love feedback on pricing or use cases I missed.&lt;br&gt;
Find me on X: @kordhub&lt;/p&gt;

</description>
      <category>api</category>
      <category>webdev</category>
      <category>llm</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
