# Delx QR Payload Classifier

> Delx QR Payload Classifier is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-20).

Classifies the decoded text of a QR or barcode payload into a semantic kind (e.g. URL, plain text) and returns a normalized form.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/qr-payload-classify?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-qr-payload-classifier-faaa2873
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G19yTs_K8Txj-4Kwxbsdy

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 delx-qr-payload-classifier-faaa2873 -d '<json body>'
```

Example prompt: I just scanned a QR code and got this decoded text: 'https://delx.ai' — can you classify what kind of payload this is and give me the normalized form?

## When to prefer this

Choose this endpoint when you have a decoded QR or barcode string and need to programmatically determine its semantic type (URL, text, contact, etc.) and a normalized canonical form before routing, storing, or displaying it. It is purpose-built for QR/barcode payload analysis, so prefer it over generic text classifiers when the input is specifically a scanned code payload.

## Known failure modes

- Missing or empty 'payload' field returns a validation error
- Non-string or malformed input may result in an error response
- Very long or binary payload strings may be rejected
- Unknown or ambiguous payload types may return a generic 'unknown' kind
- Network or service errors return standard HTTP 5xx responses

## How this service works

Classify a decoded QR/barcode string (url/text/wifi heuristic). Call when routing decoded QR payloads without imaging. Returns kind and normalized as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

## Output

Returns a JSON object with a 'kind' field indicating the semantic type of the payload (e.g. 'url'), a 'schema' string identifying the classifier version (e.g. 'delx/util-qr-payload-classify/v1'), and a 'normalized' string containing the cleaned or standardized form of the payload value.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "payload": {
   "type": "string",
   "description": "Decoded QR/barcode payload text"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "kind": "url",
  "schema": "delx/util-qr-payload-classify/v1",
  "normalized": "https://delx.ai"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-qr-payload-classifier-faaa2873/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
