# OmniAPI Barcode Generator

> OmniAPI Barcode Generator is a paid API for AI agents from omni-api-cyan.vercel.app, paid per call via x402, $0.081891/call, status unknown (last checked 2026-09-14).

Generates a barcode image from provided input data (text, numbers, or product codes)

## Facts

- Endpoint: POST https://omni-api-cyan.vercel.app/api/tools/barcode/generate
- Price: $0.081891/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/omniapi-barcode-generator-9643b82b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SV4f1-RYkcmA8Nko2-0gw

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 omniapi-barcode-generator-9643b82b -d '<json body>'
```

Example prompt: Can you generate a barcode for the product code '8901234567890'? I need it for labeling inventory items in my warehouse.

## When to prefer this

Use this endpoint when you need a quick, pay-per-call barcode generation capability via x402 USDC micropayments, especially within an automated agent workflow that already uses the OmniAPI ecosystem. Suitable for generating individual barcodes on demand without needing a dedicated barcode SaaS subscription.

## Known failure modes

- Missing required 'query' field returns a validation error
- Unsupported or invalid barcode data format may result in generation failure
- Payment failure via x402 if USDC balance is insufficient
- Server errors (5xx) from the underlying Vercel deployment
- Malformed input characters incompatible with the barcode standard may cause encoding errors

## How this service works

444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.

## Output

Returns a barcode image or encoded barcode data representing the input string or numeric code, suitable for printing on labels or embedding in documents.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Input data for the endpoint"
  },
  "query": {
   "type": "string",
   "description": "Search query or input text"
  },
  "params": {
   "type": "object",
   "description": "Additional parameters"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/omniapi-barcode-generator-9643b82b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from omni-api-cyan.vercel.app](https://www.zero.xyz/host/omni-api-cyan.vercel.app/llms.txt)
