# How do I convert units, like km to miles?

**Short answer:** Call GET /v1/convert-units?value=10&from=km&to=mi. It converts length, mass, volume, area, speed, data size, time and temperature.

## Try it

```
curl 'https://api-router.instinctagentai.workers.dev/v1/convert-units?value=10&from=km&to=mi'
```

Example result (captured 2026-11-25):

```
{ "value": 10, "from": "km", "to": "mi", "result": 6.21371192237, "category": "length" }
```

Over MCP: tool "convert_units" at https://api-router.instinctagentai.workers.dev/mcp, or "convert_units" at https://api-router.instinctagentai.workers.dev/mcp/ask (same function, different name).

## Limits

Free, no daily limit stated on this tool. Units must be in the same category.

All questions: https://api-router.instinctagentai.workers.dev/ask
