# Vextorium Barcode & ISBN Validator

> Vextorium Barcode & ISBN Validator 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).

Validates EAN-8, EAN-13, UPC-A, GTIN-14, ISBN-10, and ISBN-13 barcodes by checking the check digit, identifying code type, GS1 prefix, registering country, and converting between ISBN-10 and ISBN-13.

## Facts

- Endpoint: POST https://api.vextorium.com/validar-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-isbn-validator-7948c3bd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YWSAqXoO6M3HCubILnLZq

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-isbn-validator-7948c3bd -d '<json body>'
```

Example prompt: Can you validate the barcode 8410076472342 and tell me if it's a valid EAN-13, what the check digit is, and which country it's registered in?

## When to prefer this

Use this endpoint when you need offline-style barcode validation (no external registry queries) covering EAN-8, EAN-13, UPC-A, GTIN-14, ISBN-10, and ISBN-13 in a single API, especially when you also need GS1 prefix/country identification or ISBN format conversion. Prefer it over generic barcode libraries when you need a hosted, pay-per-call service with no setup. Note it does not query live GS1 or ISBN registries — it validates format and check digit only.

## Known failure modes

- Invalid or unrecognized barcode format returns valido: false with the expected check digit
- Non-numeric input or unsupported code type may return an error or null fields
- Barcodes with incorrect length for detected type will fail validation
- Network or service unavailability returns HTTP error

## How this service works

Validate EAN-8, EAN-13, UPC-A, GTIN-14, ISBN-10 and ISBN-13: check digit (and the expected one if wrong), code type, GS1 prefix and registering country, plus ISBN-10/13 conversion.

## Output

Returns a JSON object with: the normalized barcode string, a boolean validity flag, the detected code type (e.g. EAN-13, UPC-A, ISBN-13), the check digit, the GS1 prefix code, the GS1 registering country (e.g. Spain), and an optional note (e.g. explaining that GS1 prefix indicates registration country, not necessarily manufacturing country). ISBN conversions return the converted code.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "codigo": {
   "type": "string",
   "description": "Barcode or ISBN digits (dashes and spaces allowed)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "nota": "El prefijo GS1 indica dónde se registró el código, no necesariamente el país de fabricación.",
  "tipo": "EAN-13",
  "codigo": "8410076472342",
  "valido": true,
  "prefijo_gs1": "841",
  "registro_gs1": "Spain",
  "digito_control": "2"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-barcode-isbn-validator-7948c3bd/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)
