← All quick checks

Unit converter with exact factors (NIST SP 811)

$0.0021 USD per call Pay per call via x402, no signup

This call converts a value between units exactly, with rational factors from NIST SP 811 and HB 44 (for example inch = 0.0254 m, pound = 0.45359237 kg, US gallon = 231 in³), covering length, area, volume (US and imperial), mass, temperature, time, speed and data size (kB versus KiB). It returns the exact fraction, a decimal, the factor and its source; the conversion is offline.

Call it

x402: GET https://shop.lordevo.com/api/quick/unit-convert?value=26.2&from=mi&to=km · MCP tool unit_convert at https://shop.lordevo.com/mcp

The first call answers HTTP 402 with the price ($0.0021 USD per call, USDC on Base); any x402 client pays and retries. Instant tools that fail or are refused are not charged. Discovery is free: /catalog.json, /openapi.json, /llms.txt.

Example

The catalog's own example for this tool (illustrative sample values, not a live result).

Input

{
  "value": "26.2",
  "from": "mi",
  "to": "km"
}

Output

{
  "tool": "unit-convert",
  "input": {
    "value": "26.2",
    "from": "mi",
    "from_name": "mile (international)",
    "to": "km"
  },
  "dimension": "length",
  "result": {
    "unit": "km",
    "name": "kilometre",
    "value": "42.1648128",
    "exact": true,
    "fraction": "3294126/78125",
    "scientific": "4.21648128e+1",
    "number": 42.1648128,
    "source": "SI Brochure 9th ed. (SI unit / prefix, exact)"
  },
  "factor": {
    "fraction": "25146/15625",
    "decimal": "1.609344"
  },
  "decimals": 12,
  "notes": []
}

All quick checks and prices · Guides · Errors and limits