# MimirAPI QR Code Generator

> MimirAPI QR Code Generator is a paid API for AI agents from mimirapi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Generates a crisp, deterministic SVG QR code from any text or URL (up to 1000 characters) with selectable error-correction level.

## Facts

- Endpoint: GET https://mimirapi.com/v1/qr?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mimirapi-qr-code-generator-92cfc4ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g_f5yaYEKdI8XIsWaPd25

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 mimirapi-qr-code-generator-92cfc4ff
```

Example prompt: Generate a QR code SVG for https://myshop.com/menu using high error-correction level H so it still scans even if part of it gets damaged.

## When to prefer this

Choose this endpoint when you need a deterministic, infinitely scalable vector QR code without a rasterization step — ideal for print materials, PDFs, or dynamic SVG embedding. Prefer it over raster-based QR generators when crisp output at arbitrary sizes is required. The selectable error-correction level (L through H) makes it suitable for everything from clean digital screens (L) to damaged or partially obscured physical surfaces (H).

## Known failure modes

- data parameter exceeds 1000 characters — request rejected
- invalid or missing data query parameter — 400 error
- invalid ecl value (not L, M, Q, or H) — 400 error
- payment failure or insufficient USDC balance — 402 error
- network timeout or server unavailability — 5xx error

## How this service works

QR code as a crisp deterministic SVG from any text or URL up to 1000 characters, with selectable error-correction level (L/M/Q/H). Vector output scales to any size with no rasterization step.

## Output

Returns an SVG string containing a fully rendered vector QR code, along with the number of modules (grid cells) in the code and the error-correction level that was applied. The SVG scales to any size without pixelation.

## Request schema (JSON Schema)

```json
{
 "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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "data"
     ],
     "properties": {
      "ecl": {
       "enum": [
        "L",
        "M",
        "Q",
        "H"
       ],
       "type": "string"
      },
      "data": {
       "type": "string",
       "maxLength": 1000
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "svg",
      "modules"
     ],
     "properties": {
      "ecl": {
       "type": "string"
      },
      "svg": {
       "type": "string"
      },
      "modules": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mimirapi-qr-code-generator-92cfc4ff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mimirapi.com](https://www.zero.xyz/host/mimirapi.com/llms.txt)
