# dt0ur.online QR Code Generator

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

Generates a QR code for provided text, returning either an SVG markup string or a base64-encoded PNG data URI.

## Facts

- Endpoint: POST https://dt0ur.online/api/utility/qrcode?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dt0ur-online-qr-code-generator-f0fcf0c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uMNHuzJfjLz0b60kfuHdO

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 dt0ur-online-qr-code-generator-f0fcf0c4 -d '<json body>'
```

Example prompt: Can you generate a QR code for 'https://myshop.com/sale2024' and give it to me as an SVG so I can embed it on a webpage?

## When to prefer this

Choose this endpoint when you need a quick, server-side QR code generation without setting up a local library, especially when SVG output is needed for scalable embedding or PNG is needed for print/raster use. Ideal for agent workflows that need to produce scannable codes on the fly for URLs, contact data, Wi-Fi credentials, or any text payload.

## Known failure modes

- Missing or empty 'text' field returns an error
- Unsupported format value (not 'svg' or 'png') returns validation error
- Extremely long text strings may exceed QR code data capacity
- Network timeout on slow connections
- Payment failure returns 402 if USDC is not authorized

## How this service works

Generates a QR code for provided text as SVG markup or a base64 PNG data URI.

## Output

Returns either an SVG markup string (inline-embeddable in HTML) or a base64-encoded PNG data URI representing the QR code for the provided input text. The output can be rendered directly in browsers or saved as an image file.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  },
  "format": {
   "enum": [
    "svg",
    "png"
   ],
   "type": "string",
   "default": "svg"
  }
 }
}
```

## More

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