{"uid":"cap_PwKL3Zrsn9seex-dl_f4j","slug":"qr-code-generator-qr-openverbs-com-c34c55ce","name":"QR Code Generator (qr.openverbs.com)","description":"Render text (URL, vCard, Wi-Fi config, …) as a QR code — SVG string or PNG data URL.","url":"https://qr.openverbs.com/v1/qr","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["text"],"properties":{"ecc":{"enum":["L","M","Q","H"],"type":"string","description":"Error-correction level. Defaults to M."},"size":{"type":"integer","maximum":2000,"minimum":64,"description":"Image width in px. Defaults to 256."},"text":{"type":"string","maxLength":2000,"minLength":1,"description":"Content to encode."},"format":{"enum":["svg","png"],"type":"string","description":"Output format. Defaults to svg."},"margin":{"type":"integer","maximum":20,"minimum":0,"description":"Quiet-zone modules. Defaults to 4."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_32VapwVZZe5tZdj1LKz1L","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes text, URLs, vCards, Wi-Fi configs, or any string as a QR code, returning an SVG string or PNG data URL.","exampleAgentPrompt":"Can you generate a QR code for https://myshop.example.com in PNG format at 512px with high error correction?","exampleUseCases":[{"title":"QR code for event landing page","prompt":"Make me a QR code for https://events.mycompany.com/annual-summit — PNG format, 400px wide, medium error correction — so I can print it on the conference banner."},{"title":"Wi-Fi credentials QR for office","prompt":"Generate an SVG QR code that encodes our office guest Wi-Fi config: WIFI:T:WPA;S:GuestNetwork;P:Welcome2024;; — use high error correction so it scans reliably even if the poster gets a bit worn."},{"title":"vCard QR code for business card","prompt":"Create a QR code encoding this vCard text: BEGIN:VCARD\\nVERSION:3.0\\nFN:Jane Smith\\nTEL:+14155550199\\nEMAIL:jane@example.com\\nEND:VCARD — 300px PNG with a margin of 2."}],"resultDescription":"Returns a QR code as either a complete SVG markup string or a base64 PNG data URL, encoding the provided text content. The image dimensions, error-correction level, and quiet-zone margin reflect the requested parameters.","failureModes":["Text exceeds 2000 characters — validation error returned","Size outside 64–2000px range — request rejected","Invalid error correction level value — schema validation failure","Empty or missing text field — required field error","Unsupported format value — enum validation error","Payment not included or insufficient — HTTP 402 response"],"whenToPreferThis":"Choose this endpoint when you need to programmatically generate a QR code from arbitrary text or structured strings (URLs, vCards, Wi-Fi configs) and want either SVG or PNG output with control over size, margin, and error-correction level. Prefer it over client-side libraries when generating QR codes server-side or inside an agentic workflow that needs a hosted, pay-per-call API.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:39:09.779Z","isFirstParty":false}