# Toll402 Unit Converter

> Toll402 Unit Converter is a paid API for AI agents from toll402.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Converts a numeric value between units within a category (length, mass, volume, temperature, area, speed, or data) using an offline fixed conversion table.

## Facts

- Endpoint: POST https://toll402.dev/v1/t/unit_convert
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/toll402-unit-converter-c03422dd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VMXYS81wLqAlYbBAqkA2R

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 toll402-unit-converter-c03422dd -d '<json body>'
```

Example prompt: Convert 72 degrees Fahrenheit to Celsius using the temperature category.

## When to prefer this

Choose this endpoint when you need a fast, deterministic, offline unit conversion with no external dependencies. Ideal for lightweight agents that need to convert common measurement units without latency or rate-limit concerns. Prefer over web-search-based conversion when reproducibility and low cost matter.

## Known failure modes

- Unsupported unit name for the specified category returns an error
- Incompatible from/to units within a category (e.g. mixing length and mass units) returns an error
- Missing required fields (value, category, from, to) returns a validation error
- Temperature conversions may fail if non-standard unit names are used

## How this service works

Converts a numeric value between units within a category (length, mass, volume, temperature, area, speed, data) using a fixed offline conversion table. Pure computation, no network access.

## Output

Returns the converted numeric value in the target unit, computed offline from a fixed conversion table. No external network calls are made.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "value",
      "category",
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string"
      },
      "from": {
       "type": "string"
      },
      "value": {
       "type": "number"
      },
      "category": {
       "enum": [
        "length",
        "mass",
        "volume",
        "temperature",
        "area",
        "speed",
        "data"
       ],
       "type": "string"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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/toll402-unit-converter-c03422dd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toll402.dev](https://www.zero.xyz/host/toll402.dev/llms.txt)
