# ForgeMesh Unit Converter

> ForgeMesh Unit Converter is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Converts values between over 100 unit types across length, weight, volume, area, speed, pressure, energy, and digital storage using exact conversion factors

## Facts

- Endpoint: POST https://x402.forgemesh.io/length-weight-converter
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-unit-converter-e12d35e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LVPgRHmdMWzrvw-Kc_Dhs

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 forgemesh-unit-converter-e12d35e9 -d '<json body>'
```

Example prompt: Convert 26.2 miles to kilometers for me — I need the exact figure.

## When to prefer this

Choose this endpoint when an agent needs a deterministic, reproducible unit conversion result that can be cited directly without risking arithmetic errors from in-context reasoning. Ideal for physical measurements (length, weight, volume, area, speed, pressure, energy) and digital storage conversions across 100+ unit types. Prefer over LLM-derived approximations when precision and auditability matter.

## Known failure modes

- Unsupported or unrecognized unit string — returns an error if the unit abbreviation or name is not in the supported set
- Incompatible unit categories — attempting to convert miles to kilograms (length to weight) will fail
- Missing required fields — omitting 'from', 'to', or 'value' returns a validation error
- Non-numeric value string — passing non-parseable strings as the value causes an error

## How this service works

Unit conversion tool covering length, weight, volume, area, speed, pressure, energy, and digital storage, with exact factors for over 100 unit types. Deterministic and reproducible, so an agent can cite the converted figure directly instead of spending reasoning tokens re-deriving it and risking an arithmetic slip.

## Output

Returns the numerically converted value in the target unit, computed using exact conversion factors for the specified unit pair, suitable for direct citation without re-derivation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "description": "target unit e.g. km"
  },
  "from": {
   "type": "string",
   "description": "source unit e.g. mi"
  },
  "value": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": 42.164811,
  "unit_name": "Kilometers"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-unit-converter-e12d35e9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
