Tollvex
← Market

unit.convert

utilityfirst-party

Unit converter

Computed locally. Units: mm, cm, m, km, in, ft, yd, mi, nmi; mg, g, kg, t, oz, lb, st; ml, l, m3, tsp, tbsp, cup, floz, pt, qt, gal; m/s, km/h, mph, kn; m2, km2, ha, acre, ft2, mi2; b, kb, mb, gb, tb, kib, mib, gib, tib; s, min, h, d, wk; temperature c, f, k.

Try it

Sign in to run this tool from the browser. Calls are billed to your balance like any API call.

Call it

curl
curl -X POST https://tollvex.com/api/v1/tools/unit.convert/run \
  -H "Authorization: Bearer $TOLLVEX_API_KEY" \
  -H "content-type: application/json" \
  -d '{"input":{"value":26.2,"from":"mi","to":"km"}}'
MCP · tools/call
{
  "name": "run_tool",
  "arguments": {
    "slug": "unit.convert",
    "input": {
      "value": 26.2,
      "from": "mi",
      "to": "km"
    }
  }
}

Input schema

JSON Schema
{
  "type": "object",
  "properties": {
    "value": {
      "type": "number"
    },
    "from": {
      "type": "string"
    },
    "to": {
      "type": "string"
    }
  },
  "required": [
    "value",
    "from",
    "to"
  ]
}