# Strale Unit Converter

> Strale Unit Converter is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-09-14).

Converts a numeric value from one unit of measurement to another (e.g. km to miles, °C to °F, kg to lb)

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/unit-convert
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-unit-converter-ddf8a7e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VdzFKnR-KCXkxuKUOfd-5

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 strale-unit-converter-ddf8a7e9
```

Example prompt: Convert 72.5 from kilograms to pounds for me.

## When to prefer this

Choose this endpoint when you need a reliable, auditable unit conversion with a cryptographic audit trail — particularly useful in regulated or multi-agent workflows where provenance matters. It covers a broad range of unit types (distance, weight, temperature, volume, etc.) across a consistent REST interface. Prefer it over hardcoded conversion logic when accuracy, auditability, and breadth of unit support are required.

## Known failure modes

- Unsupported or unrecognized unit strings return an error — units must match expected identifiers (e.g. 'km', 'lb', '°C')
- Incompatible unit types (e.g. converting kg to km) return a validation error
- Missing required query parameters (value, from_unit, to_unit) result in a 400 bad request
- Non-numeric value parameter causes a schema validation error

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

Returns the converted numeric value in the target unit, along with an audit record containing a cryptographic chain hash for provenance verification.

## 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": [
      "value",
      "from_unit",
      "to_unit"
     ],
     "properties": {
      "value": {
       "type": "number",
       "description": "Value to convert"
      },
      "to_unit": {
       "type": "string",
       "description": "Target unit (e.g. mi, kg, °F)"
      },
      "from_unit": {
       "type": "string",
       "description": "Source unit (e.g. km, lb, °C)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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