# PrimeAPI Energy Unit Converter

> PrimeAPI Energy Unit Converter is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.196438/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 on Base

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/tools/convert/energy
- Price: $0.196438/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-energy-unit-converter-c0a3a1f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r8yVxtezpjXDe9fE6ePTa

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

Example prompt: Convert 3500 kilocalories to kilowatt-hours for me.

## When to prefer this

Use this endpoint when an AI agent needs to convert between energy units (joules, calories, BTU, kWh, therms, etc.) without requiring API keys, paying per call in USDC on Base. Prefer over building custom conversion logic when you need a reliable, hosted solution with no key management overhead.

## Known failure modes

- Unrecognized unit names in query string return an error or empty result
- Malformed or missing query parameter causes 400-level response
- Payment failure (insufficient USDC balance) causes 402 response blocking the call
- Ambiguous unit abbreviations may produce incorrect conversions silently

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns a converted energy value in the requested target unit, with the numeric result and likely the unit labels for both source and target.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/primeapi-energy-unit-converter-c0a3a1f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
