{"uid":"cap_k-4q5i-2zGPSdas7vqZZQ","slug":"relic-forge-qr-code-svg-generator-6a342e03","name":"Relic Forge QR Code SVG Generator","description":"Create deterministic game relic icons and standards-compliant QR SVGs, or fetch public BTC perpetual funding snapshots for AI agents.","url":"https://relic-forge-api.bakongi.chatgpt.site/api/qr?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"ecl":{"enum":["L","M","Q","H"],"type":"string"},"text":{"type":"string"}}},"responseSchema":{"type":"object","required":["id","format","errorCorrection","svg","generator"],"properties":{"id":{"type":"string"},"svg":{"type":"string"},"format":{"type":"string","const":"svg"},"generator":{"type":"string"},"errorCorrection":{"enum":["L","M","Q","H"],"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HrokaTHMnkafEvDsd1uAp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a standards-compliant QR code as an SVG from a text string, with configurable error correction level.","exampleAgentPrompt":"Can you generate a QR code SVG for the URL https://example.com/promo with high error correction so it'll still scan even if part of it gets damaged?","exampleUseCases":[{"title":"QR code for a product landing page","prompt":"Generate a QR SVG for https://shop.mystore.com/product/42 with medium error correction — I want to print it on packaging."},{"title":"Wi-Fi password sharing QR code","prompt":"Make me a QR code SVG that encodes the Wi-Fi credentials string WIFI:S:MyNetwork;T:WPA;P:mypassword123;; — use high error correction since it'll be printed and might get scuffed."},{"title":"Event check-in link encoding","prompt":"Create a QR code SVG encoding the text https://events.example.com/checkin?id=evt_7890 with low error correction — it's just for digital display so size is more important than redundancy."}],"resultDescription":"Returns a JSON object containing a unique ID for the QR code, the SVG markup string (ready to embed in HTML or save as a file), the format (always 'svg'), the error correction level used, and the name of the generator that produced it.","failureModes":["Missing required 'text' field returns a validation error","Invalid 'ecl' enum value (not L, M, Q, or H) causes a 400 bad request","Empty string for text may produce an invalid or empty QR code","Extremely long input text may exceed QR code data capacity and fail encoding","Payment not provided or insufficient USDC may result in a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, low-cost SVG QR code generated from any text or URL, especially when you want a deterministic result (same input always yields the same QR), need standards-compliant output, or want to embed QR codes in web pages or documents without additional rendering libraries. Ideal for agents operating in game asset pipelines, print workflows, or any context where an SVG format is preferred over raster images.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:37:56.000Z","isFirstParty":false,"canonicalSlug":"relic-forge-qr-code-svg-generator-6a342e03"}