{"uid":"cap_yLYk0Zmp-PdItYH7sc4dX","slug":"vextorium-qr-code-generator-0a240074","name":"Vextorium QR Code Generator","description":"Generate a QR code as SVG or PNG (base64 and data URI) for any text, URL, payment link, Wi-Fi or vCard, with error-correction level, scale and colors.","url":"https://api.vextorium.com/v1/qr-generate?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":{"required":["content"],"properties":{"dark":{"type":"string"},"light":{"type":"string"},"scale":{"type":"integer"},"format":{"enum":["svg","png"],"type":"string"},"content":{"type":"string"},"correction":{"enum":["l","m","q","h"],"type":"string"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":["object","null"],"properties":{"bytes":{"type":["number","null"]},"base64":{"type":["string","null"]},"format":{"type":["string","null"]},"modules":{"type":["number","null"]},"data_uri":{"type":["string","null"]},"correction":{"type":["string","null"]},"qr_version":{"type":["number","null"]}}}}}}},"responseSchema":{"type":"json","example":{"bytes":1303,"base64":"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNjQiIGhlaWdodD0iMjY0IiBjbGFzcz0ic2Vnbm8iPjxnIHRyYW5zZm9ybT0ic2NhbGUoOCkiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0wIDBoMzN2MzNoLTMzeiIvPjxwYXRoIGNsYXNzPSJxcmxpbmUiIHN0cm9rZT0iIzAwMCIgZD0iTTQgNC41…","format":"svg","modules":25,"data_uri":"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNjQiIGhlaWdodD0iMjY0IiBjbGFzcz0ic2Vnbm8iPjxnIHRyYW5zZm9ybT0ic2NhbGUoOCkiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0wIDBoMzN2MzNoLTMzeiIvPjxwYXRoIGNsYXNzPSJxcmxpbmUiIHN0cm…","correction":"M","qr_version":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.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_89OuuWtVwxNbjnDDebv_k","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a QR code image (SVG or PNG) from any text or URL content, with configurable error correction, scale, and colors","exampleAgentPrompt":"Generate a QR code for https://mystore.com in SVG format with high error correction and return it as a data URI so I can embed it on my site.","exampleUseCases":[{"title":"QR code for business landing page","prompt":"Make a QR code for https://coffeeshop-morningbloom.com in SVG format with medium error correction so I can print it on my menu cards."},{"title":"Crypto wallet address QR code","prompt":"Create a PNG QR code for this Solana wallet address 9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin with high error correction and scale it to 4."},{"title":"WiFi network QR code","prompt":"Generate an SVG QR code encoding the text WIFI:T:WPA;S:MyNetwork;P:password123;; with low error correction and a blue dark color so guests can scan to connect."}],"resultDescription":"A JSON object containing: base64-encoded image data, a ready-to-use data URI, the image format (svg or png), file size in bytes, number of QR modules, error correction level used, and the QR version number.","failureModes":["Missing required 'content' field returns a validation error","Invalid format enum value (not 'svg' or 'png') causes rejection","Invalid correction level enum (not 'l','m','q','h') causes rejection","Content too long for QR encoding capacity may fail or require a higher QR version","Network timeout on the pay-per-call gateway"],"whenToPreferThis":"Choose this endpoint when you need a programmatic, pay-per-call QR code generator that returns base64/data-URI output suitable for embedding in web pages or documents, especially within an agent workflow that already uses Vextorium's x402 USDC payment rail for other data APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:45:48.360Z","isFirstParty":false,"canonicalSlug":"vextorium-qr-code-generator-d087ae64"}