{"uid":"cap_0IJnp1KOCsbOtOYPW6xqM","slug":"quant-agent-shop-qr-code-generator-f58d4bba","name":"Quant Agent Shop QR Code Generator","description":"QR code. Send text or a URL (up to 1,000 characters); returns a QR code as PNG or SVG, base64 in JSON, with its size, version and error-correction level, at the scale and quiet zone you choose. Use to put a link or payment request on a page, label or PDF. Plain codes only, no logos or colours. Typical response under 200 ms. Failed calls are not charged.","url":"https://quantagentshop.com/v1/qr?utm_source=zero.xyz","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":{"text":{"type":"string","title":"Text","maxLength":1000,"minLength":1,"description":"Text or URL to encode."},"scale":{"type":"integer","title":"Scale","default":8,"maximum":20,"minimum":1,"description":"Pixels per module, 1 to 20."},"border":{"type":"integer","title":"Border","default":4,"maximum":10,"minimum":0,"description":"Quiet zone in modules, 0 to 10 (4 is the standard)."},"format":{"enum":["png","svg"],"type":"string","title":"Format","default":"png","description":"png or svg."},"error_correction":{"enum":["L","M","Q","H"],"type":"string","title":"Error Correction","default":"M","description":"L, M, Q or H; the highest level that fits without a bigger code is used."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0015","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.0015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_K3dncQqILdmrJdgOh2YIH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes text or a URL (up to 1,000 characters) into a QR code returned as PNG or SVG (base64 in JSON) with configurable scale, quiet zone, and error-correction level.","exampleAgentPrompt":"Generate a QR code for https://myshop.com/checkout — PNG format, scale 10, quiet zone of 4, with H error correction.","exampleUseCases":[{"title":"QR code for product packaging label","prompt":"Make a QR code for https://acme.com/product/widget-pro that I can print on a packaging label — PNG, scale 12, border 4, and use Q error correction so it still scans if part gets smudged."},{"title":"Payment link QR code on invoice PDF","prompt":"I need a QR code for my payment link https://pay.stripe.com/inv/abc123 to drop into a PDF invoice — SVG format, scale 8, standard 4-module quiet zone, M error correction is fine."},{"title":"WiFi password QR code for office signage","prompt":"Create a QR code that encodes WIFI:T:WPA;S:OfficeGuest;P:Welcome2024;; — PNG, scale 15, border 4, use H error correction so it works even if the sign gets a bit worn."}],"resultDescription":"A JSON object containing the QR code image as a base64-encoded string (PNG or SVG), along with metadata including the QR version, image dimensions, and the error-correction level used. Typical response time is under 200 ms.","failureModes":["Input text exceeds 1,000 characters — request rejected","Invalid format value (not 'png' or 'svg') — validation error","Scale or border out of allowed range — validation error","Invalid error_correction value — validation error","Network timeout — no charge applied","Malformed JSON body — 400 error"],"whenToPreferThis":"Choose this endpoint when you need a plain, fast, machine-readable QR code from text or a URL with precise control over scale, quiet zone, format (PNG/SVG), and error-correction level, and when you do not need custom logos, colors, or branding overlaid on the code. Ideal for embedding QR codes programmatically into labels, PDFs, invoices, and web pages at sub-200 ms latency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:42:30.972Z","isFirstParty":false,"canonicalSlug":"quant-agent-shop-qr-code-generator-f58d4bba"}