Unit converter

Choose two units from the same category and enter a value. Set the number of decimal places if you need a rounded result.

Input

No key required

Result

Example

42.16

Full response
{
  "category": "length",
  "value": 26.2,
  "from": {
    "id": "mi",
    "name": "mile"
  },
  "to": {
    "id": "km",
    "name": "kilometer"
  },
  "result": 42.16
}

Run with curl

Copy this command to run the request in your terminal. It updates as you edit the input.

For higher limits, get a free API key and add -H "Authorization: Bearer $KAMINEKO_API_KEY".

GET /v1/convert
curl 'https://api.kamineko.dev/v1/convert?value=26.2&from=mi&to=km&decimals=2'

Use with MCP

Set KAMINEKO_API_KEY to your key and run this command to connect Claude Code. Try the convert tool with this prompt.

How many kilometers is a marathon?
MCP https://api.kamineko.dev/mcp
claude mcp add --transport http kamineko \
  https://api.kamineko.dev/mcp \
  --header "Authorization: Bearer $KAMINEKO_API_KEY"