# OmniAPI QR Code Generator

> OmniAPI QR Code Generator is a paid API for AI agents from omni-api-cyan.vercel.app, paid per call via x402, $0.140308/call, status unknown (last checked 2026-09-14).

Generates a QR code image from a given input string or URL, paid per call via x402 USDC micropayment

## Facts

- Endpoint: POST https://omni-api-cyan.vercel.app/api/tools/qr/generate
- Price: $0.140308/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/omniapi-qr-code-generator-516e8dd3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8YvaXKuw7E_3E-lL7VG6O

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 omniapi-qr-code-generator-516e8dd3 -d '<json body>'
```

Example prompt: Can you generate a QR code for https://myshop.com/checkout so I can print it on my flyers?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call QR code generation without setting up a dedicated QR library or service account. It is well-suited for agents that need to generate QR codes on demand for arbitrary URLs or text strings and can pay via USDC x402 micropayments. Prefer alternatives if you need bulk batch generation, custom styling (colors, logos embedded in QR), or if you need guaranteed SLAs.

## Known failure modes

- Empty or missing query/input field returns an error
- Input string exceeds maximum encodable length for QR codes
- Payment failure via x402 micropayment protocol blocks the request
- Malformed input schema (missing required 'query' field) returns 400
- Service unavailability on the Vercel-hosted backend returns 5xx

## How this service works

444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.

## Output

Returns a QR code image or image data (likely as a URL, base64-encoded image, or binary) encoding the provided input string or URL, suitable for display or printing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Input data for the endpoint"
  },
  "query": {
   "type": "string",
   "description": "Search query or input text"
  },
  "params": {
   "type": "object",
   "description": "Additional parameters"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/omniapi-qr-code-generator-516e8dd3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from omni-api-cyan.vercel.app](https://www.zero.xyz/host/omni-api-cyan.vercel.app/llms.txt)
