Convert units
units_convertConvert between units of length, mass, volume (incl. US cups and gallons), temperature (c, f, k), speed, area, data size (kB vs KiB), time, energy and pressure. Example units: km, mi, lb, kg, floz, ml, mph, kn, acre, gib, kwh, psi. Use when exact conversions matter. Example: value=10, from=km, to=mi. Price $0.003/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only; not marked read-only because each call is charged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Unit to convert to | |
| from | Yes | Unit to convert from | |
| value | Yes | The amount |