# Unit Conversion API

> Unit Conversion API is a paid API for AI agents from mcpfax-utility.bowling-anthony.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Converts a numeric value from one unit to another across categories including length, mass, volume, speed, area, data, time, pressure, energy, and temperature.

## Facts

- Endpoint: GET https://mcpfax-utility.bowling-anthony.workers.dev/v1/unit-convert
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/unit-conversion-api-e29a46b8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e2Pm-dPTgR9QZehT4iFnY

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 unit-conversion-api-e29a46b8
```

Example prompt: Convert 150 pounds to kilograms for me.

## When to prefer this

Choose this endpoint when you need a quick, accurate unit conversion across common physical and digital measurement categories without setting up a local math library. It is especially useful in agent workflows where users reference mixed unit systems (metric vs imperial) or need cross-domain conversions like data storage or energy units.

## Known failure modes

- Unsupported unit category or unit name returns an error indicating the unit is not recognized
- Incompatible unit types (e.g. converting length to mass) return an error about mismatched categories
- Missing required fields (value, from_unit, to_unit) result in a validation error
- Extreme numeric values may produce precision or overflow errors

## How this service works

Unit conversion — Convert between units (length, mass, volume, speed, area, data, time, pressure, energy, temperature, angle).

## Output

Returns the converted numeric value in the target unit, along with the conversion factor used. The response confirms the source value, source unit, target unit, and computed result.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/unit-conversion-api-e29a46b8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcpfax-utility.bowling-anthony.workers.dev](https://www.zero.xyz/host/mcpfax-utility.bowling-anthony.workers.dev/llms.txt)
