# AgentUtility QR Code Generator

> AgentUtility QR Code Generator is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Generates QR codes from text or URLs, returning encoded QR code data payable in USDC via x402

## Facts

- Endpoint: POST https://x402.agentutility.ai/qr-code-api
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentutility-qr-code-generator-fdfe14d1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_74NhAa-wQHqgEyCFt_6fG

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 agentutility-qr-code-generator-fdfe14d1 -d '<json body>'
```

Example prompt: Generate a QR code for https://www.wikipedia.org/ so I can embed it in a flyer.

## When to prefer this

Use this endpoint when an agent needs to programmatically generate QR codes from URLs or text strings as part of an automated workflow, especially when payment via USDC on Base is available and an MCP-compatible or x402-aware client is in use.

## Known failure modes

- Invalid or malformed URL/text input returns an error
- Empty input body results in a bad request response
- Payment failure via x402 prevents endpoint access
- Rate limiting or quota exhaustion if called at high frequency

## How this service works

Paid x402 endpoints organized into product clusters. USDC-settled on Base. MCP-callable. ERC-8004 identity registry agentId 47167.

## Output

A JSON object containing a 'codes' array with one or more QR code entries (each including the original text/URL), plus a 'count' field indicating how many codes were generated.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "image_url"
     ],
     "properties": {
      "image_url": {
       "type": "string",
       "description": "Public http(s) URL of an image containing one or more QR codes. Must be directly fetchable."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "codes": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "text": {
          "type": "string"
         }
        }
       }
      },
      "count": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "codes": [
   {
    "text": "https://www.wikipedia.org/"
   }
  ],
  "count": 1
 }
}
```

## More

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