# AgentUtil Unit Converter

> AgentUtil Unit Converter is a paid API for AI agents from convert.agentutil.net, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Converts a numeric value from one unit of measurement to another, returning the result and the conversion formula used

## Facts

- Endpoint: POST https://convert.agentutil.net/v1/units
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/convert-agentutil-net-0cbc7c5e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_64Eb2HaWeLMAalwkSkb5Q

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 convert-agentutil-net-0cbc7c5e -d '<json body>'
```

Example prompt: Convert 100 kilometers to miles and show me the formula used.

## When to prefer this

Use this endpoint when an AI agent needs a reliable, programmatic unit conversion with the formula included — especially for physical measurements like distance, weight, temperature, volume, and speed. Prefer this over prompting an LLM to compute conversions when accuracy and auditability matter, or when the conversion result needs to be passed to downstream tools.

## Known failure modes

- Unrecognized unit abbreviation causes error — e.g. passing an invalid or ambiguous unit string
- Incompatible unit types (e.g. converting kg to miles) result in an error or nonsensical result
- Missing required fields (to, from, or value) return a validation error
- Very large or very small numbers may lose precision in the result

## How this service works

Convert between units of measurement

## Output

Returns the converted numeric result (e.g. 62.137), the source and target units, the original value, a human-readable formula string (e.g. '100 km = 62.13711922 mi'), and a request ID for tracking. Also includes related AgentUtil services.

## Example request

```json
{
 "to": "mi",
 "from": "km",
 "value": 100
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "from",
  "to",
  "value"
 ],
 "properties": {
  "to": {
   "type": "string",
   "description": "Target unit abbreviation (e.g. mi, kg, F)"
  },
  "from": {
   "type": "string",
   "description": "Source unit abbreviation (e.g. km, lb, C)"
  },
  "value": {
   "type": "number",
   "description": "The numeric value to convert"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "result",
  "from",
  "to",
  "value",
  "formula",
  "request_id",
  "service",
  "related_services"
 ],
 "properties": {
  "to": {
   "type": "string"
  },
  "from": {
   "type": "string"
  },
  "value": {
   "type": "number"
  },
  "result": {
   "type": "number"
  },
  "formula": {
   "type": "string"
  },
  "service": {
   "type": "string"
  },
  "request_id": {
   "type": "string"
  },
  "related_services": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "name",
     "url",
     "description"
    ],
    "properties": {
     "url": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "description": {
      "type": "string"
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/convert-agentutil-net-0cbc7c5e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from convert.agentutil.net](https://www.zero.xyz/host/convert.agentutil.net/llms.txt)
