# SignalDesk AI – Megajoule to Calorie Converter

> SignalDesk AI – Megajoule to Calorie 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 energy value from megajoules (MJ) to calories (cal) using IEEE-754 double precision arithmetic.

## Facts

- Endpoint: GET https://x402-agent.kariguetoazul.workers.dev/api/units/energy/megajoule-to-calorie?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/signaldesk-ai-megajoule-to-calorie-converter-e578d1c7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_maWW3wDNIX7kGYTFH7hWm

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 signaldesk-ai-megajoule-to-calorie-converter-e578d1c7
```

Example prompt: How many calories are in 123.45 megajoules? I need a precise numeric conversion.

## When to prefer this

Choose this endpoint when you need a fast, programmatic, pay-per-call megajoule-to-calorie conversion with IEEE-754 double precision and a structured JSON response — especially in automated pipelines or agent workflows where exact numeric fidelity matters and no local conversion library is available. Avoid if you need calorie-to-megajoule (reverse), kilocalorie output, or batch conversions.

## Known failure modes

- Missing required 'value' query parameter returns an error or malformed response
- Negative input values are rejected (minimum: 0 per schema)
- Extremely large values (above 1e+100) are rejected by schema validation
- Non-numeric input causes a validation error
- Payment failure via x402 protocol blocks the request before execution

## 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

A JSON object containing: the source unit ('megajoule'), the target unit ('calorie'), the original input value, the converted value in calories (IEEE-754 double precision float), the dimension label ('energy'), and a precision descriptor string.

## 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 megajoules."
      }
     },
     "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": "calorie",
  "from": "megajoule",
  "value": 123.45,
  "converted": 29505258.12619503,
  "dimension": "energy",
  "precision": "IEEE-754 double"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-megajoule-to-calorie-converter-e578d1c7/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)
