# qr.openverbs.com Barcode Renderer

> qr.openverbs.com Barcode Renderer is a paid API for AI agents from qr.openverbs.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Renders a barcode (Code128, Code39, EAN-13/8, UPC-A/E, ITF-14, DataMatrix, PDF417) as an SVG or PNG data URL

## Facts

- Endpoint: POST https://qr.openverbs.com/v1/barcode
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/qr-openverbs-com-barcode-renderer-add2f8ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u9HkQj0q0v9pUo9v_tsCj

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-openverbs-com-barcode-renderer-add2f8ce -d '<json body>'
```

Example prompt: Generate a Code128 barcode for the value 'ABC-123456' as an SVG, with human-readable text shown underneath.

## When to prefer this

Choose this endpoint when you need to programmatically generate a standard 1D or 2D barcode (not a QR code) in SVG or PNG format. It covers the most common retail and logistics symbologies (Code128, EAN-13, UPC-A, ITF-14, etc.) in a single API call. Prefer it over generic image generation services when you need a standards-compliant, scannable barcode rather than a decorative graphic. For QR codes specifically, use the sibling QR endpoint on the same provider.

## Known failure modes

- Invalid or unsupported barcode value for the chosen symbology (e.g. non-numeric input for EAN-13) — returns validation error
- Text value exceeds 512-character maximum — returns schema validation error
- Unsupported symbology type string — returns enum validation error
- Scale or height out of allowed range (scale 1–10, height 1–100) — returns validation error
- Payment failure via x402 protocol — returns 402 Payment Required

## How this service works

Render a barcode (Code128, Code39, EAN-13/8, UPC-A/E, ITF-14, DataMatrix, PDF417) as SVG or PNG data URL.

## Output

Returns a barcode image either as an inline SVG string or a PNG data URL, encoding the provided value in the specified symbology. The image respects the requested scale (module size), bar height, and whether human-readable text is printed below the bars.

## 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"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "text": {
       "type": "string",
       "minLength": 1,
       "maxLength": 512,
       "description": "Value to encode (numeric symbologies require digits)."
      },
      "type": {
       "type": "string",
       "enum": [
        "code128",
        "code39",
        "ean13",
        "ean8",
        "upca",
        "upce",
        "itf14",
        "datamatrix",
        "pdf417"
       ],
       "description": "Barcode symbology."
      },
      "format": {
       "type": "string",
       "enum": [
        "svg",
        "png"
       ],
       "description": "Output format. Defaults to svg."
      },
      "scale": {
       "type": "integer",
       "minimum": 1,
       "maximum": 10,
       "description": "Module scale. Defaults to 3."
      },
      "height": {
       "type": "integer",
       "minimum": 1,
       "maximum": 100,
       "description": "Bar height in mm (linear types). Defaults to 10."
      },
      "includeText": {
       "type": "boolean",
       "description": "Print the human-readable value. Defaults to true."
      }
     },
     "required": [
      "text",
      "type"
     ],
     "additionalProperties": false
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  }
 },
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/qr-openverbs-com-barcode-renderer-add2f8ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from qr.openverbs.com](https://www.zero.xyz/host/qr.openverbs.com/llms.txt)
