# OmniAPI Energy Unit Converter

> OmniAPI Energy Unit Converter is a paid API for AI agents from omni-api-cyan.vercel.app, paid per call via x402, $0.015436/call, status unknown (last checked 2026-09-15).

Converts energy values between different units (e.g. joules, kilowatt-hours, calories, BTUs) via a pay-per-call API

## Facts

- Endpoint: POST https://omni-api-cyan.vercel.app/api/tools/convert/energy
- Price: $0.015436/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/omniapi-energy-unit-converter-17c627c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vl0ice9bYdRkqmhAQvYFw

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-energy-unit-converter-17c627c4 -d '<json body>'
```

Example prompt: Convert 500 kilowatt-hours into joules for me.

## When to prefer this

Choose this endpoint when you need a quick, programmatic, pay-per-call energy unit conversion without setting up a local conversion library. Useful for agents handling scientific, engineering, or utility data that require on-the-fly unit normalization across joules, BTUs, calories, watt-hours, and other energy units.

## Known failure modes

- Invalid or unrecognized unit names return an error or empty result
- Missing 'query' field causes a 400 bad request
- Ambiguous query strings without clear source and target units may return incorrect conversions
- Network or server errors on the Vercel host return 5xx responses
- Malformed input values (non-numeric) may cause parsing failures

## 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 the converted energy value in the requested target unit, typically as a numeric result with unit label and the original input echoed back for verification.

## 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-energy-unit-converter-17c627c4/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)
