# SiteCheck Agent Intel & Dev – High-Res QR Code Generator (SVG, Version 1)

> SiteCheck Agent Intel & Dev – High-Res QR Code Generator (SVG, Version 1) is a paid API for AI agents from api.fadeandco.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Generates a Version 1 QR code (21×21 modules) as a scalable SVG with optional error-correction level and pixel scale, returning both the raw SVG and a base64-encoded copy.

## Facts

- Endpoint: POST https://api.fadeandco.workers.dev/api/agent-intel/highres-qr-code-generator?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-agent-intel-dev-high-res-qr-code-generator-svg-version-1-c136901c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PEZAMxcP1MBNVfrqrh4I-

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sitecheck-agent-intel-dev-high-res-qr-code-generator-svg-version-1-c136901c -d '<json body>'
```

Example prompt: Can you generate a QR code SVG for the URL 'https://example.com' using error correction level M and a scale of 10 pixels per module?

## When to prefer this

Choose this endpoint when you need a lightweight, standards-compliant QR code for short text (URLs, codes, identifiers) and want the result as a scalable SVG with an optional base64 copy — ideal for web embedding, email inlining, or print assets. Prefer it over raster-based QR generators when resolution-independence matters. Note the hard limit of Version 1 only; for longer payloads you will need a different service.

## Known failure modes

- 400 Bad Request if text exceeds byte limit for the chosen EC level (17 bytes at L, 14 at M, 11 at Q, 7 at H)
- 400 if scale is outside the 1–20 range
- 400 or validation error if an invalid EC level string is supplied
- No support for Version 2+ QR codes — longer text always fails

## How this service works

Makes a QR code as scalable SVG (21x21 modules, version 1) for up to 17 bytes at level L, 14 at M, 11 at Q or 7 at H, with the mask chosen by the standard penalty rules. Returns the SVG and a base64 copy. Larger versions are not supported; longer text returns 400.

## Output

A JSON object containing the rendered SVG string (as 'svg'), its base64 equivalent ('svgBase64'), the applied error correction level ('ec'), mask pattern index ('mask'), module grid size ('size' = 21), QR version ('version' = 1), the source reference ('ISO/IEC 18004'), and a 'checkedAt' timestamp. Returns HTTP 400 if the input text exceeds the byte limit for the chosen error correction level.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ec": {
   "type": "string",
   "description": "Error correction level: L, M, Q or H (default M)"
  },
  "text": {
   "type": "string",
   "description": "Text to encode as UTF-8 bytes; the byte limit depends on the level"
  },
  "scale": {
   "type": "string",
   "description": "Pixels per module in the SVG, 1 to 20 (default 8)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ec": "M",
  "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 29 29\" width=\"232\" height=\"232\"><rect width=\"29\" height=\"29\" fill=\"#fff\"/><path fill=\"#000\" d=\"M4,4h1v1h-1zM5,4h1v1h-1zM6,4h1v1h-1zM7,4h1v1h-1zM8,4h1v1h-1zM9,4h1v1h-1zM10,4h1v1h-1zM12,4h1v1h-1zM13,4h1v1h-1zM14,4h1v1h-1zM16,4h1v1h-1zM18,4h1v1h-1zM1…",
  "mask": 0,
  "note": "Version 1 only. Checked against a published Reed-Solomon example and the format-bit rule; not scanned with a phone here.",
  "size": 21,
  "source": "ISO/IEC 18004 (hand-written)",
  "version": 1,
  "checkedAt": "2026-10-23T09:35:23.075Z",
  "svgBase64": "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyOSAyOSIgd2lkdGg9IjIzMiIgaGVpZ2h0PSIyMzIiPjxyZWN0IHdpZHRoPSIyOSIgaGVpZ2h0PSIyOSIgZmlsbD0iI2ZmZiIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik00LDRoMXYxaC0xek01LDRoMXYxaC0xek02LDRoMXYxaC0xek03LDRoMXYxaC0xek04LDRoMXYxaC0xek05LDRoMXYxaC0xek0xMCw0…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-agent-intel-dev-high-res-qr-code-generator-svg-version-1-c136901c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fadeandco.workers.dev](https://www.zero.xyz/host/api.fadeandco.workers.dev/llms.txt)
