# Calorie to BTU Energy Unit Converter

> Calorie to BTU Energy Unit Converter is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Converts a numeric value in thermochemical calories to British Thermal Units (BTU)

## Facts

- Endpoint: GET https://x402-agent.kariguetoazul.workers.dev/api/units/energy/calorie-to-btu?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/calorie-to-btu-energy-unit-converter-eecb53eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f3UUz4ymGHZayfF-7ikNE

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 calorie-to-btu-energy-unit-converter-eecb53eb
```

Example prompt: Convert 123.45 calories to BTU for me — I need the exact IEEE-754 double precision result.

## When to prefer this

Choose this endpoint when you need a fast, precise, paid-per-call calorie-to-BTU conversion with IEEE-754 double precision output and a simple GET interface. Prefer it when integrating energy unit conversion into automated pipelines that already use the x402 micropayment protocol, and when you specifically need thermochemical calories converted to BTU rather than other energy unit pairs.

## Known failure modes

- Missing or non-numeric 'value' query parameter returns a validation error
- Negative calorie values are rejected (minimum is 0)
- Values exceeding 1e+100 are rejected by schema validation
- Payment of 0.001 USDC not provided results in 402 Payment Required response
- Cloudflare Worker cold-start or quota exhaustion may cause transient failures

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

Returns a JSON object with the original value and unit (from: calorie), the target unit (to: btu), the converted numeric result as an IEEE-754 double precision float, and the physical dimension (energy).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "value"
     ],
     "properties": {
      "value": {
       "type": "number",
       "maximum": 1e+100,
       "minimum": 0,
       "description": "Amount in thermochemical calories."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "btu",
  "from": "calorie",
  "value": 123.45,
  "converted": 0.489561570335209,
  "dimension": "energy",
  "precision": "IEEE-754 double"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/calorie-to-btu-energy-unit-converter-eecb53eb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
