{"uid":"cap_4VOuOl3Mclgwtk4ZycC4j","slug":"fittings-qr-code-generator-50e161d9","name":"fittings QR Code Generator","description":"Generates a QR code for arbitrary text or a URL as SVG or PNG, with a chosen error-correction level, module scale, quiet zone and colors.","url":"https://fittings.sh/v1/qr/generate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"dark":{"type":"string","description":"Hex color for dark modules, default #000000"},"light":{"type":"string","description":"Hex color for light modules, default #ffffff"},"scale":{"type":"number","description":"Pixels per module, 1-16, default 8"},"border":{"type":"number","description":"Quiet-zone modules, 0-8, default 4"},"format":{"type":"string","description":"svg or png. Default svg."},"content":{"type":"string","description":"Text or URL, up to 271 bytes of UTF-8"},"errorCorrection":{"type":"string","description":"L, M, Q or H. Default M."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.00321","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.00321/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00321","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00321","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-kSHIz6Sbg-E2LeustKd8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.00321","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a QR code for any text or URL, returned as SVG or PNG with configurable error correction, scale, quiet zone, and dark/light colors.","exampleAgentPrompt":"Generate a QR code for https://mystore.com as a PNG, with H error correction, scale 10, a 3-module quiet zone, dark modules in #1a1a2e and a white background.","exampleUseCases":[{"title":"Event check-in QR code","prompt":"Create a QR code for https://events.mycompany.com/checkin as an SVG, with Q error correction and a scale of 8 — I want it to be clean and easy to scan."},{"title":"Branded marketing QR code","prompt":"Generate a branded QR code for https://myshop.com in PNG format — use dark modules in #003366 and a light background of #f0f0f0, scale 12, H error correction, and a 4-module border."},{"title":"Wi-Fi credentials QR code","prompt":"Make a QR code that encodes the text WIFI:S:MyNetwork;T:WPA;P:mypassword123;; — return it as SVG with M error correction, scale 8, and default colors."}],"resultDescription":"Returns a QR code image file — either an SVG vector or a PNG raster — encoding the provided text or URL. The image reflects the chosen error-correction level (L/M/Q/H), pixels-per-module scale (1–16), quiet-zone border width (0–8 modules), and custom dark/light hex colors.","failureModes":["Content exceeds 271 UTF-8 bytes — returns an error indicating the payload is too large","Invalid hex color format — may return a validation error","Scale or border value out of allowed range (scale 1–16, border 0–8) — returns a validation error","Invalid format value (not 'svg' or 'png') — returns a validation error","Invalid errorCorrection value (not L/M/Q/H) — returns a validation error","Empty content field — returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need a fast, highly configurable QR code rendered as SVG or PNG — especially when custom branding colors, precise module scale, or specific error-correction levels matter. It is ideal for agents that need to embed QR codes in documents, marketing assets, or event materials without relying on a client-side library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:47:11.839Z","isFirstParty":false}