# klymax402 Barcode Generator

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

Generates a barcode image from text/numeric data in formats including Code128, Code39, EAN-13, and UPC-A

## Facts

- Endpoint: GET https://klymax402.com/api/barcode-generator/api/barcode
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/klymax402-barcode-generator-f828e6e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cm59a5fBzKJbqemYqoswo

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 klymax402-barcode-generator-f828e6e5
```

Example prompt: Can you generate a Code128 barcode for the text 'SKU-98432-XL' with a bar width of 3 pixels and height of 120 pixels?

## When to prefer this

Choose this endpoint when you need a quick, no-setup barcode image generated on-demand for formats like Code128, Code39, EAN-13, or UPC-A. Ideal for agents automating product labeling, inventory tracking, or logistics workflows that need scannable barcodes without integrating a dedicated barcode library.

## Known failure modes

- Invalid or unsupported barcode format string returns an error
- Data string incompatible with chosen format (e.g. non-numeric data for EAN-13) causes encoding failure
- Missing required 'data' parameter returns a bad request error
- Extreme width/height values may produce malformed or unusable images

## How this service works

One MCP endpoint gives your AI agent access to 100 APIs -- crypto, DeFi, web, AI, finance and utilities. No API keys, USDC on Base from $0.003/call.

## Output

Returns a JSON object containing the encoded data string, a base64 or URL-encoded barcode image, the format used (e.g. code128), the barcode height and bar width in pixels, the character encoding scheme, and the MIME type of the image.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "string",
   "description": "Data to encode in the barcode"
  },
  "width": {
   "type": "number",
   "description": "Bar width in pixels (default: 2)"
  },
  "format": {
   "type": "string",
   "description": "Barcode format: code128, code39, ean13, upca (default: code128)"
  },
  "height": {
   "type": "number",
   "description": "Barcode height in pixels (default: 100)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": "example",
  "image": "example",
  "format": "example",
  "height": 1,
  "barWidth": 1,
  "encoding": "example",
  "mimeType": "example"
 }
}
```

## More

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