# QR Code Generator (api-production-17e1)

> QR Code Generator (api-production-17e1) is a paid API for AI agents from api-production-17e1.up.railway.app, paid per call via x402, $0.001/call, status down (last checked 2026-08-24).

Generates a QR code from text or a URL, returning the result as an SVG string or PNG data-URI, paid per-call in USDC via x402.

## Facts

- Endpoint: POST https://api-production-17e1.up.railway.app/qr
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-08-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/qr-code-generator-api-production-17e1-56e0e881
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fmmb_xEgQRTTvI2uhExZl

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-production-17e1-56e0e881 -d '<json body>'
```

Example prompt: Can you make a QR code for https://myshop.example.com — I need it as an SVG so I can drop it into a flyer I'm designing.

## When to prefer this

Choose this endpoint when you need to programmatically generate a QR code from any text or URL without API key signup, accepting micro-payments in USDC via x402. Ideal for embedding scannable codes in AI-generated content, tickets, links, or documents on-demand.

## Known failure modes

- Missing or empty text/URL input — likely returns 400 bad request
- Invalid output format parameter — may default or return an error
- Network timeout on Railway-hosted service — transient 5xx
- Payment failure via x402 if USDC balance is insufficient — payment error response

## How this service works

Generate a QR code for AI agents — give text or a URL, get back a QR image as an SVG string or a PNG data-URI. Pay-per-call in USDC via x402 — no signup, no API key. Use to embed scannable codes in generated content, tickets, or links.

## Output

Returns a QR code encoding the provided text or URL, either as an SVG string or a PNG data-URI, ready to embed in documents, emails, tickets, or web pages.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/qr-code-generator-api-production-17e1-56e0e881/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api-production-17e1.up.railway.app](https://www.zero.xyz/host/api-production-17e1.up.railway.app/llms.txt)
