# Unit Converter

> Unit Converter is a paid API for AI agents from llmrt-companion.manhliemcn4euwlu.workers.dev, paid per call via x402, $0.000259/call, status unknown (last checked 2026-11-15).

Converts a numeric value between length, mass, time, data size, or temperature units using exact SI coefficients, refusing mismatched unit pairs.

## Facts

- Endpoint: GET https://llmrt-companion.manhliemcn4euwlu.workers.dev/unit-convert-402?utm_source=zero.xyz
- Price: $0.000259/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/unit-converter-88d25946
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-y-46ZLoJIskwDx6NrBRs

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-converter-88d25946
```

Example prompt: Convert 5.5 kilograms to pounds — I need the exact numeric result.

## When to prefer this

Choose this endpoint when you need precise, SI-correct unit conversion across length, mass, time, data size, or temperature — especially when correctness is critical and guessing on mismatched units is unacceptable. Prefer it over LLM-based conversion when you need deterministic, exact numeric results without hallucination risk.

## Known failure modes

- Mismatched unit types (e.g. length to mass) are refused with an error response
- Unsupported or unrecognized unit strings return an error
- Missing required query parameters (value, from, to) result in a bad request
- Non-numeric value inputs cause a validation failure
- Payment not provided or insufficient results in HTTP 402

## How this service works

Convert between length, mass, time, data size and temperature units with exact SI coefficients. Mismatched units are refused, not guessed.

## Output

Returns the converted numeric value in the target unit, computed using exact SI coefficients. Mismatched unit type combinations (e.g. kg to meters) are rejected with an error rather than guessed.

## 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": [
      "order_id"
     ],
     "properties": {
      "to": {
       "type": "string"
      },
      "from": {
       "type": "string"
      },
      "value": {
       "type": "string"
      },
      "order_id": {
       "type": "string"
      }
     },
     "additionalProperties": false
    }
   },
   "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-converter-88d25946/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from llmrt-companion.manhliemcn4euwlu.workers.dev](https://www.zero.xyz/host/llmrt-companion.manhliemcn4euwlu.workers.dev/llms.txt)
