# RelayStation QR Code Decoder

> RelayStation QR Code Decoder is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Decodes a QR code from an image and returns the embedded text or URL as JSON

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/codes/qr-decode
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-qr-code-decoder-fde7a528
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c34uNPaqtqSwRiji9FYYW

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 relaystation-qr-code-decoder-fde7a528 -d '<json body>'
```

Example prompt: Can you decode this QR code image and tell me what URL or text is embedded in it? Here's the image: https://example.com/my-qrcode.png

## When to prefer this

Choose this endpoint when you need a simple, low-cost ($0.01 per call) programmatic way to decode QR codes from images without setting up a local library or computer vision stack. Ideal for agents handling QR codes in documents, product images, or screenshots where lightweight extraction is needed and no local QR scanning capability is available.

## Known failure modes

- Image contains no detectable QR code — returns an error or empty result
- Image URL is inaccessible or returns a non-image response — request fails
- QR code is too blurry, damaged, or low-resolution to decode — returns decoding failure
- Unsupported image format — may return a format error
- Payment not attached or insufficient — x402 payment required error

## How this service works

$0.0002/call. Decode a QR code from an image — the embedded text or URL back as JSON. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

A JSON object containing the decoded text or URL embedded in the QR code from the provided image, returned as a structured response.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "properties": {}
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## More

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