# Vextorium Barcode Generator

> Vextorium Barcode Generator 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-30).

Generates barcode images (EAN-13, EAN-8, UPC-A, ISBN-13, Code 128, Code 39, etc.) in SVG format from a code string, returning base64-encoded image data and a data URI.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/barcode-generate?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-barcode-generator-1c977bdc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HIFnAQ11df_YLpnqpbl3i

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-1c977bdc -d '<json body>'
```

Example prompt: Generate an EAN-13 barcode for the code '8410076472342' and give me the SVG image with the human-readable number shown underneath.

## When to prefer this

Choose this endpoint when you need to programmatically generate barcode images server-side for retail, publishing, inventory, or logistics use cases, especially when you need SVG output with an embeddable data URI and support for multiple barcode standards (EAN, UPC, ISBN, Code128, Code39). Prefer this over client-side barcode libraries when the generation must happen in an agent pipeline without browser dependencies.

## Known failure modes

- Invalid or malformed barcode code string for the selected type (e.g. wrong digit count for EAN-13)
- Unsupported barcode type string provided
- Missing required 'code' field in request body
- Network timeout or server error returning 5xx
- Payment failure if USDC balance insufficient (x402 payment required)

## How this service works

244 pay-per-call data APIs for AI agents: official statistics and economy (ECB, Fed, Eurostat, World Bank, SEC, BOE, INE), crypto prices and sentiment, Spanish public data, compliance (sanctions, VAT, IBAN, LEI), science, weather, web and developer tools and local AI text tools. Pay in USDC via x402.

## Output

Returns a JSON object containing the barcode type, the SVG image as a base64 string, a ready-to-embed data URI (data:image/svg+xml;base64,...), the file size in bytes, the image format ('svg'), and the full normalized barcode code string.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-barcode-generator-1c977bdc/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)
