{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreieauqt6ph37xyxkbuobnx6xmczxa3kyc5zat5epvswnmkg4oeldv4",
    "uri": "at://did:plc:25rdn5elo5izoxrmtis34zuk/app.bsky.feed.post/3mpm3t75veuv2"
  },
  "coverImage": {
    "$type": "blob",
    "ref": {
      "$link": "bafkreibeaeqtogbszxtup5r4h3wnez37cqunyiyhqo5qgye6pywqx4pcey"
    },
    "mimeType": "image/webp",
    "size": 60166
  },
  "path": "/kordhubdev/i-built-3-free-apis-for-llm-developers-heres-what-i-shipped-and-why-95c",
  "publishedAt": "2026-07-01T17:23:53.000Z",
  "site": "https://dev.to",
  "tags": [
    "api",
    "webdev",
    "llm",
    "opensource",
    "https://rapidapi.com/kordhubdev/api/kordhub-ai-json-repair-formatter",
    "@everyone",
    "@here",
    "https://rapidapi.com/kordhubdev/api/kordhub-discord-webhook-shield-formatter",
    "https://rapidapi.com/kordhubdev/api/kordhub-qr-code-generator",
    "@kordhub"
  ],
  "textContent": "##  The Problem\n\nIf you've built anything with GPT-4, Claude, or Llama, you've probably run into these:\n\n  * JSON that won't parse because of a trailing comma or markdown fence\n  * Discord webhook URLs exposed in your frontend code\n  * Needing QR codes dynamically but not wanting to pay per request\n\n\n\nI kept hitting these same walls, so I spent a week building three utility APIs to solve them. All three have free tiers on RapidAPI.\n\n##  1. JSON Repair & Formatter\n\nLLMs don't always return clean JSON. Trailing commas, markdown code fences, truncated objects — all of these break JSON.parse() and crash your pipeline.\n\n**Input (broken LLM output):**\n\n\n    { \"name\": \"Pro Plan\", \"price\": 19.00, }\n\n\n**Output (clean JSON):**\n\n\n    { \"name\": \"Pro Plan\", \"price\": 19.00 }\n\n\nFast local repair engine first (<5ms, no AI call). Falls back to AI only when the input is too corrupted for local processing.\n\nFree tier: 500 requests/month, no card required.\nhttps://rapidapi.com/kordhubdev/api/kordhub-ai-json-repair-formatter\n\n##  2. Discord Webhook Shield & Formatter\n\nIf you use Discord webhooks in a frontend app, your webhook URL is exposed in source code. Anyone can find it and spam your server.\n\nYou 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 @everyone/@here spam before anything reaches Discord.\n\nFree tier: 200 messages/month, no card required.\nhttps://rapidapi.com/kordhubdev/api/kordhub-discord-webhook-shield-formatter\n\n##  3. QR Code Generator\n\nPNG & 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.\n\nFree tier: 500 requests/month, no card required.\nhttps://rapidapi.com/kordhubdev/api/kordhub-qr-code-generator\n\n##  Tech stack\n\nFastAPI + 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.\n\nWould love feedback on pricing or use cases I missed.\nFind me on X: @kordhub",
  "title": "I built 3 free APIs for LLM developers — here's what I shipped and why"
}