# Foundry Unit Converter

> Foundry Unit Converter is a paid API for AI agents from minty-sprout.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-01).

Converts values between units of measurement across length, mass, volume, temperature, time, data size, speed, area, energy, and pressure.

## Facts

- Endpoint: POST https://minty-sprout.onrender.com/v1/unit-convert?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/foundry-unit-converter-dbca1c5d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zgkL4eIRtoUx4-t8n7MxL

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 foundry-unit-converter-dbca1c5d -d '<json body>'
```

Example prompt: Convert 10 kilometers to miles for me.

## When to prefer this

Choose this endpoint when you need a quick, reliable, single-value unit conversion across common physical and digital dimensions without setting up a local library. It handles a wide range of dimension categories (10+) in one call and is well-suited for agents that encounter user-provided measurements in arbitrary units and need to normalize them programmatically.

## Known failure modes

- Unrecognized unit names return an error (e.g. misspelled or unsupported units)
- Incompatible unit dimensions (e.g. converting km to kg) return an error
- Missing or malformed input string causes a validation error
- Ambiguous unit abbreviations may resolve incorrectly
- Non-numeric values in the input string cause parsing failures

## How this service works

Unit converter: length, mass, volume, temperature, time, data size, speed, area, energy, pressure. Input: '10 km to mi'.

## Output

A JSON object containing the original value and unit, the converted result as a decimal number, the target unit, and the physical dimension category (e.g. 'length', 'temperature', 'mass').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 8000,
   "description": "'<value> <unit> to <unit>', e.g. '100 f to c'"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "mi",
  "from": "km",
  "value": 10,
  "result": 6.2137119224,
  "dimension": "length"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/foundry-unit-converter-dbca1c5d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minty-sprout.onrender.com](https://www.zero.xyz/host/minty-sprout.onrender.com/llms.txt)
