QR Code Generator is a paid API for AI agents from ZeroClick x402 Service Registry at qr.withzero.ai, paid per call via MPP, $0.001/call, status unknown (last checked 2026-10-11, last successful call 2026-07-09).
Generates a QR code from any text or URL, returning SVG markup and a base64 data URL for embedding, or a Unicode ASCII rendering.
Generate QR codes from text, URLs, or any string data. Returns clean SVG output with a base64 data URL for easy embedding. Pure computation — no external API calls.
Returns an object with: 'svg' (the full SVG markup string), 'dataUrl' (a data:image/svg+xml;base64,... string ready to drop into an <img> src), 'ascii' (Unicode block-character rendering), and 'moduleCount' (number of QR modules per side). SVG and dataUrl are populated when format is 'svg'; ascii is populated when format is 'ascii'.
POSThttps://qr.withzero.ai/run?utm_source=zero.xyzChoose this endpoint when you need a pure-computation, serverless QR code with no external API dependencies, especially when you want an embeddable SVG/base64 output or a Unicode ASCII preview. Ideal for agents generating QR codes on the fly to embed in HTML, emails, or documents without needing a third-party QR service.
{
"data": "https://example.com",
"size": 256,
"format": "svg",
"errorCorrection": "M"
}| Field | Type | Description |
|---|---|---|
| datarequired | string | The text, URL, or string to encode as a QR code |
| size | integer | Pixel size of the SVG viewBox (default: 256) |
| format | string | Output format: "svg" (default) returns SVG + base64 data URL, "ascii" returns a Unicode block-character text rendering |
| errorCorrection | string | Error correction level: L (7%), M (15%), Q (25%), H (30%). Default: M |
{
"_truncated": true,
"_originalSize": 72242
}| Field | Type | Description |
|---|---|---|
| svgrequired | string | The SVG markup string (empty when format is "ascii") |
| asciirequired | string | Unicode block-character rendering of the QR code (empty when format is "svg") |
| dataUrlrequired | string | Data URL (data:image/svg+xml;base64,...) for easy embedding (empty when format is "ascii") |
| moduleCountrequired | number | Number of modules (squares) per side in the QR code |
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"