# x402-gateway: QR Code Generator

> x402-gateway: QR Code Generator is a paid API for AI agents from x402.freeq.one, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Generates a QR code image from a given input (URL, text, or data) via a pay-per-call x402 micropayment API

## Facts

- Endpoint: POST https://x402.freeq.one/market/agoragentic/tools/qr_generator?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-gateway-qr-code-generator-da45bd98
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gtedpLafQIjjISlr3ueKp

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 x402-gateway-qr-code-generator-da45bd98 -d '<json body>'
```

Example prompt: Can you generate a QR code for https://myshop.example.com/promo — I want to put it on a flyer?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call QR code generation capability without API keys or subscriptions, especially in agent workflows where micropayment (x402/USDC on Base) is already supported. Ideal for one-off or low-volume QR code generation tasks embedded in automated pipelines.

## Known failure modes

- Invalid or missing tool parameter returns an error
- Unsupported input format or encoding type may result in a generation error
- Payment failure or insufficient USDC balance causes a 402 rejection before generation
- Malformed URL input may produce an unreadable QR code
- Network timeout if the upstream generation service is unavailable

## How this service works

x402-gateway tool: qr_generator (market: agoragentic)

## Output

Returns a QR code image (or image URL/binary) encoding the provided input data, ready to embed in documents, print materials, or display on screen.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tool": {
   "type": "string",
   "description": "Tool name (see GET /tools for the catalog)"
  }
 }
}
```

## More

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