# Vextorium Barcode Generator (SVG)

> Vextorium Barcode Generator (SVG) is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-16).

Generates a barcode as an SVG image for a given code and symbology (EAN-13, EAN-8, UPC-A, ISBN, ISSN, Code 128, Code 39, ITF, GS1-128), computing the check digit if missing.

## Facts

- Endpoint: POST https://api.vextorium.com/generar-codigo-barras-pago?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-barcode-generator-svg-987c0d5d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1zn_m35i7MIuH-ffxykpK

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 vextorium-barcode-generator-svg-987c0d5d -d '<json body>'
```

Example prompt: Generate an EAN-13 barcode SVG for the code 841007647234 — please include the visible text below the bars so I can use it on a product label.

## When to prefer this

Choose this endpoint when you need server-side, scalable barcode SVG generation without installing local libraries, especially when check-digit computation is needed or when integrating barcode creation into an automated label-printing or product-management workflow. Ideal for agents that need a vector (SVG) output suitable for both screen display and high-resolution printing.

## Known failure modes

- Invalid or malformed barcode code for the selected symbology returns an error
- Barcode type string does not match a supported symbology name
- Code length mismatch for fixed-length formats like EAN-13 or EAN-8
- Missing required 'codigo' field results in validation error
- Unsupported combination of type and code content

## How this service works

Generate a barcode as SVG (EAN-13, EAN-8, UPC-A, ISBN, ISSN, Code 128, Code 39, ITF, GS1-128...) for labels and products, computing the check digit when missing.

## Output

Returns a JSON object containing the barcode type used, the complete barcode code (including computed check digit), the SVG image as a base64 string, a ready-to-embed data URI (data:image/svg+xml;base64,...), and the file size in bytes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tipo": {
   "type": "string",
   "description": "ean13, ean8, upca, isbn13, code128, code39..."
  },
  "codigo": {
   "type": "string"
  },
  "texto_visible": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tipo": "ean13",
  "bytes": 3350,
  "base64": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIHN2ZwogIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nCiAgJ2h0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCc+CjxzdmcgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NC4zNTBtbSIgaGVpZ2h0PSIyMy43…",
  "formato": "svg",
  "data_uri": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIHN2ZwogIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nCiAgJ2h0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCc+CjxzdmcgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NC…",
  "codigo_completo": "8410076472342"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-barcode-generator-svg-987c0d5d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
