# Vextorium Barcode Validator

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

Validates a barcode or ISBN code and returns its type, GS1 prefix, country of registration, control digit, and validity status.

## Facts

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

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-validator-e3aa800c -d '<json body>'
```

Example prompt: Can you validate this barcode for me — 8410076472342 — and tell me if it's valid, what type it is, and where the GS1 prefix is registered?

## When to prefer this

Use this endpoint when you need to programmatically validate barcodes or ISBNs, identify their format type, and look up the GS1 country of registration — especially useful in e-commerce, logistics, or library cataloguing workflows where barcode integrity must be confirmed before downstream processing.

## Known failure modes

- Invalid or malformed barcode digits returns valid: false with no GS1 data
- Unsupported barcode format may return null type field
- Non-numeric input or input with invalid characters may fail schema validation
- Missing required 'code' field in request body causes a 400-level 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 barcode type (e.g. EAN-13, ISBN-13), the GS1 prefix code, the GS1 record (country of registration), the control digit, and an explanatory note about GS1 prefix semantics.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "code": "8410076472342",
  "note": "The GS1 prefix shows where the code was registered, not necessarily the country of manufacture.",
  "type": "EAN-13",
  "valid": true,
  "gs1_prefix": "841",
  "gs1_record": "Spain",
  "control_digit": "2"
 }
}
```

## More

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