# QR Code Generator (api.aventtech.com)

> QR Code Generator (api.aventtech.com) is a paid API for AI agents from api.aventtech.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Generates a QR code SVG from any text or URL, with configurable error correction level.

## Facts

- Endpoint: GET https://api.aventtech.com/generate/qr
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/qr-code-generator-api-aventtech-com-f1461f15
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ccI1_tIoQ_auhn1jDYX1B

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 qr-code-generator-api-aventtech-com-f1461f15
```

Example prompt: Generate a QR code for 'https://mycompany.com/promo2024' with high error correction (H) so it still scans even if partially damaged.

## When to prefer this

Use this endpoint when you need to programmatically generate a QR code as an SVG (scalable, resolution-independent) from arbitrary text or a URL, especially when error correction tuning (L/M/Q/H) is needed. Prefer over raster-image QR generators when scalable vector output is required.

## Known failure modes

- Text exceeds 1800 characters — returns an error indicating input too long
- Invalid error correction level value (not L/M/Q/H) — may default to M or return validation error
- Missing required 'text' query parameter — returns 400-style error
- Payment not provided or insufficient — returns 402 Payment Required

## How this service works

Unified digital experiences for Mega Yachts, Executive Spaces, and Luxury Residences. Athens-based, nationwide projects.

## Output

Returns a JSON object containing an SVG string of the rendered QR code, the effective error correction level used (e.g. 'M'), and the module count (e.g. 29) indicating QR code density.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "ec": {
       "type": "string",
       "description": "Error correction: L, M, Q or H (default M)"
      },
      "text": {
       "type": "string",
       "description": "Content to encode, max 1800 chars"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "svg": "<svg …>",
  "ecLevel": "M",
  "modules": 29
 }
}
```

## More

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