# klymax402 QR Code Generator

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

Generates a QR code from a text string or URL, returning a base64-encoded image and data URI

## Facts

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

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 klymax402-qr-code-generator-d10f9049
```

Example prompt: Can you generate a QR code for https://myshop.com/sale with a size of 30 modules so I can embed it on my landing page?

## When to prefer this

Choose this endpoint when you need a quick, low-cost QR code generated from any text or URL and want a base64 image or data URI back for immediate embedding, without managing a dedicated QR code service or API key.

## Known failure modes

- Empty or missing 'data' parameter returns an error or blank QR code
- Extremely long input strings may exceed QR code version capacity
- Invalid size values (non-integer or too large) may cause malformed output
- Network or payment failures result in no response

## How this service works

One MCP endpoint gives your AI agent access to 100 APIs -- crypto, DeFi, web, AI, finance and utilities. No API keys, USDC on Base from $0.003/call.

## Output

Returns a JSON object containing the QR code as a base64 string (qr_base64) and a data URI (data_uri) suitable for direct embedding in HTML or images, along with the width, height, number of modules, input data string, and input data length.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "string",
   "description": "The text or URL to encode in the QR code"
  },
  "size": {
   "type": "number",
   "description": "QR code size in modules (default: 21 for version 1)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "width": 1,
  "height": 1,
  "modules": 1,
  "data_uri": "example",
  "inputData": "example",
  "qr_base64": "example",
  "inputLength": 1
 }
}
```

## More

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