# AgentFeed QR Code Generator

> AgentFeed QR Code Generator is a paid API for AI agents from x402.ochinimus.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-30).

Generates a QR code (SVG or PNG) from any text or URL, up to 2,048 bytes, with medium error correction

## Facts

- Endpoint: GET https://x402.ochinimus.app/api/qr?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentfeed-qr-code-generator-f5b31d0f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mdNYx27MqjGj5TOx0ID_H

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 agentfeed-qr-code-generator-f5b31d0f
```

Example prompt: Generate a QR code for the URL https://example.com/checkout in SVG format so I can embed it on my webpage.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call QR code generation with no API key setup, especially in an autonomous agent context that already handles x402 micropayments. Ideal for encoding URLs, wallet addresses, or short text blobs into embeddable SVG or PNG QR codes on demand. Prefer this over full-featured QR libraries when you want a hosted, stateless call with a data URI ready to embed.

## Known failure modes

- Input text exceeds 2,048 bytes — QR encoding will fail or be rejected
- Invalid format enum value (only 'svg' or 'png' accepted) — results in a 400-style error
- Missing required 'data' query parameter — request rejected
- Payment failure via x402 if no valid payment header or prepaid key is provided — 402 response
- Very long URLs or binary data approaching the byte limit may degrade QR scannability

## How this service works

QR code: an SVG or PNG (base64 and data URI) at error-correction level M, scaled for scanning. Use when you need to answer: How do I turn this text into a QR code? Input up to 2 KB; over that is a 400, never billed.

## Output

Returns a JSON object with a data field containing the QR code in the requested format (SVG markup string and/or PNG data URI), a data_uri for direct embedding, the module count indicating QR size, the error correction level (M), and the byte size of the encoded data. Also includes a paid boolean and the tool name.

## 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": [
      "data"
     ],
     "properties": {
      "data": {
       "type": "string",
       "description": "the text to encode, up to 2,048 bytes"
      },
      "format": {
       "enum": [
        "svg",
        "png"
       ],
       "type": "string",
       "description": "svg (default) or png"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object",
       "properties": {
        "svg": {
         "type": "string"
        },
        "format": {
         "type": "string"
        },
        "modules": {
         "type": "number"
        },
        "data_uri": {
         "type": "string"
        },
        "data_bytes": {
         "type": "number"
        },
        "error_correction": {
         "type": "string"
        }
       }
      },
      "paid": {
       "type": "boolean"
      },
      "tool": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 33 33\" width=\"330\" height=\"330\" shape-rendering=\"crispEdges\"><rect width=\"33\" height=\"33\" fill=\"#fff\"/><path d=\"M4 4h7v1h-7zM12 4h1v1h-1zM14 4h2v1h-2zM18 4h1v1h-1zM22 4h7v1h-7zM4 5h1v1h-1zM10 5h1v1h-1zM12 5h…",
   "format": "svg",
   "modules": 25,
   "data_uri": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMyAzMyIgd2lkdGg9IjMzMCIgaGVpZ2h0PSIzMzAiIHNoYXBlLXJlbmRlcmluZz0iY3Jpc3BFZGdlcyI+PHJlY3Qgd2lkdGg9IjMzIiBoZWlnaHQ9IjMzIiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTQgNGg3djFoLT…",
   "data_bytes": 26,
   "error_correction": "M"
  },
  "paid": true,
  "tool": "get_qr"
 }
}
```

## More

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