# QR Code Validate API

> QR Code Validate API is a paid API for AI agents from x402-qr-api.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Validates a QR code or associated data via an x402-paywall-protected GET endpoint

## Facts

- Endpoint: GET https://x402-qr-api.vercel.app/api/validate?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/qr-code-validate-api-3f81fc5d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lPDTklp-kIBzjizjReS3-

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-validate-api-3f81fc5d
```

Example prompt: Can you validate this QR code data for me and tell me whether it's legitimate?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-use QR code validation check without managing a subscription or standing up your own validation infrastructure. Particularly useful for agents operating in x402-enabled micropayment environments where per-call billing is preferred.

## Known failure modes

- Missing or malformed QR code input returns a 400 error
- Payment not provided or invalid x402 payment header returns a 402 Payment Required
- QR code data that cannot be parsed returns a validation failure
- Service downtime or Vercel deployment errors return 500
- Expired or already-used QR codes may return invalid status

## How this service works

Validate an email address: format check plus a live MX record lookup on its domain

## Output

Returns a validation result indicating whether the submitted QR code or payload is valid, including a validity status and any relevant verification details.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/qr-code-validate-api-3f81fc5d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-qr-api.vercel.app](https://www.zero.xyz/host/x402-qr-api.vercel.app/llms.txt)
