# PrimeAPI QR Code Generator

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

Generates a QR code image from a given text or URL input

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/tools/qr/generate
- Price: $0.071198/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-qr-code-generator-9bdab476
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Naq-8sUWT2XneC3vqWXQc

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 primeapi-qr-code-generator-9bdab476 -d '<json body>'
```

Example prompt: Can you generate a QR code for the URL https://example.com/my-product-page so I can put it on a flyer?

## When to prefer this

Use this endpoint when an AI agent needs to generate a QR code on-demand without managing API keys, paying per call in USDC on Base via the x402 protocol. Suitable for automating QR code creation in workflows involving URLs, payment addresses, or text encoding.

## Known failure modes

- Empty or missing input string returns an error
- Input too long for QR code capacity may fail
- Payment of 0.071198 USDC not received results in 402 response
- Malformed input schema returns validation error
- Network timeout on the Vercel serverless function

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns a generated QR code, likely as an image (PNG/SVG/base64) or a URL pointing to the QR code image, encoding the provided text or URL input.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/primeapi-qr-code-generator-9bdab476/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
