# whatchuneed QR Code Generator

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

Generates a base64-encoded QR code image from any text or URL string

## Facts

- Endpoint: POST https://whatchuneed.vercel.app/api/util/qr
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/whatchuneed-qr-code-generator-41b68c10
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cDzA03-95NPgGZ_nRvZVw

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 whatchuneed-qr-code-generator-41b68c10 -d '<json body>'
```

Example prompt: Can you generate a QR code for 'https://myshop.com/sale' at 300 pixels so I can drop it into a flyer?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call QR code generation with no API key setup, especially within an agent pipeline already using the whatchuneed x402 ecosystem. Ideal for one-off or low-volume QR code generation tasks where simplicity and breadth of the whatchuneed platform matter more than specialized QR code SaaS features.

## Known failure modes

- Missing required 'text' field returns a validation error
- Extremely long text strings may exceed QR code data capacity and fail encoding
- Invalid size values (non-integer or negative) may return an error or be ignored
- Network or upstream service unavailability may result in a 5xx error
- Payment failure via x402 protocol prevents the call from being processed

## How this service works

320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.

## Output

Returns a JSON object containing a base64-encoded QR code image string, the image format (e.g. PNG), and the rendered pixel size. The agent can decode the base64 string to display or embed the QR code image directly.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "size": {
   "type": "integer"
  },
  "text": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "size": {
   "type": "integer"
  },
  "format": {
   "type": "string"
  },
  "qr_code": {
   "type": "string",
   "description": "Base64-encoded QR code image"
  }
 }
}
```

## More

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