# EZ QR Generator

> EZ QR Generator is a paid API for AI agents from ez-qr-generator.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Generates customizable QR codes in PNG or SVG format from URLs, text, or rich content types like vCard, WiFi, crypto, and social media links

## Facts

- Endpoint: POST https://ez-qr-generator.com/a2a/generate
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ez-qr-generator-f36206a1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fg2HvIuJfnECkt12wp6kU

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 ez-qr-generator-f36206a1 -d '<json body>'
```

Example prompt: Generate a QR code for https://myshop.com in SVG format with hex color #FF5500 and circle dot style — I want something branded for my product packaging.

## When to prefer this

Use this endpoint when you need programmatic QR code generation with customization options like dot style and brand color, especially when SVG vector output is needed for print or high-resolution use. It supports a wide variety of content types beyond plain URLs (vCard, WiFi, social media, crypto), making it suitable for rich, structured QR code generation. It is a low-cost ($0.001 USDC) pay-per-call service well suited for agent automation pipelines.

## Known failure modes

- Missing required 'url' field returns a validation error
- Invalid hex color format may cause styling to fall back to default
- Paid content types (wifi, vcard, social, etc.) or SVG format without x402 payment will be rejected or return free-tier limitations
- Unsupported 'format' or 'dotStyle' enum values may cause a 400 error
- Very long URLs or malformed input text may result in unreadable QR codes

## Output

Returns a QR code image file (PNG raster or SVG vector) encoding the supplied URL, text, or structured content type. The image reflects any custom dot style (square, circle, hex, diamond) and primary hex color specified. SVG output is a paid tier requiring $0.001 USDC via x402 payment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Target URL or text to encode"
      },
      "format": {
       "enum": [
        "png",
        "svg"
       ],
       "type": "string",
       "description": "Output format. SVG vector is paid ($0.001 USD via x402)"
      },
      "dotStyle": {
       "enum": [
        "square",
        "circle",
        "hex",
        "diamond"
       ],
       "type": "string"
      },
      "activeTab": {
       "type": "string",
       "description": "Free: 'url', 'text'. Paid: 'wifi', 'vcard', 'email', 'phone', 'sms', 'whatsapp', 'facebook', 'instagram', 'twitter', 'youtube', 'tiktok', 'linktree', 'location', 'paypal', 'dbl', 'crypto', 'spotify', 'linkedin', 'telegram', 'github', 'discord', 'twitch', 'pinterest'"
      },
      "primaryColor": {
       "type": "string",
       "description": "Custom hex color (e.g. #00f0ff)"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## More

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