{"uid":"cap_0QXOJJ95--ORpPSLYVu0-","slug":"toolvend-dev-qr-code-generator-39175e18","name":"toolvend.dev QR Code Generator","description":"QR code generator. Returns a crisp SVG for text/URL payloads up to 2,048 UTF-8 bytes that fit the selected error-correction level.","url":"https://toolvend.dev/qr","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["data"],"properties":{"ecl":{"enum":["L","M","Q","H"],"type":"string","description":"Error correction, default M"},"data":{"type":"string","maxLength":2048,"minLength":1,"description":"Payload to encode (max 2,048 UTF-8 bytes; QR capacity is lower at Q/H error correction)"},"size":{"type":"number","maximum":1024,"minimum":64,"description":"SVG width/height in px, default 256"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zXHhGf2GFoP0ar70OlUFP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a crisp SVG QR code from a text or URL payload, with configurable size and error-correction level","exampleAgentPrompt":"Generate a QR code SVG for the URL https://myshop.example.com — make it 512px and use high error correction (H) so it's still readable if part of it gets damaged.","exampleUseCases":[{"title":"QR code for a product landing page","prompt":"Create a QR code for https://acmecorp.com/summer-sale — make it 384px wide with M error correction so we can drop it into our flyer design."},{"title":"QR code for a Wi-Fi password text","prompt":"I need a QR code that encodes the text 'WIFI:S:GuestNetwork;T:WPA;P:Hunter2!!;;' — 256px, use Q error correction since it might get partially covered by a sticker."},{"title":"Embeddable QR for a business card","prompt":"Generate a QR code SVG for https://linkedin.com/in/janedoe — keep it 128px and use L error correction since it'll be printed large and clean on a business card."}],"resultDescription":"An SVG image (vector format) containing the rendered QR code, sized to the requested pixel dimensions, encoding the provided payload at the specified error-correction level. The SVG can be embedded directly in HTML, saved as a file, or passed to a PDF/print pipeline.","failureModes":["Payload exceeds 2,048 UTF-8 bytes — request rejected with an error","Payload is too large for the selected error-correction level (Q or H reduce capacity) — may return an error or truncation warning","Size parameter outside 64–1024px range — validation error","Empty or missing `data` query parameter — returns 400-level error","Non-UTF-8 byte sequences in payload — encoding error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, vector-format (SVG) QR code generated on demand without installing a library or rendering pipeline. It is ideal for agents embedding QR codes in HTML, PDFs, or print layouts. Prefer it over raster-image QR generators when scalability and crispness matter, and over client-side libraries when the generation must happen server-side or in a headless/API context. The configurable error-correction level makes it suitable for use cases where the QR code may be partially obscured (e.g. printed on merchandise).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:34:05.712Z","isFirstParty":false}