{"ok":true,"result":{"slug":"unit-converter","name":"Unit Converter","summary":"Convert a value between units of length, mass, temperature, volume, area, speed, data, time, energy, pressure or fuel economy. Leave out `to` to get every unit in the category.","description":"Convert length, weight, temperature, volume, area, speed, data size, time, energy, pressure and fuel economy, with every unit for your value in one table.","method":"POST","endpoint":"/api/v1/tools/unit-converter","plan":"free","mcpName":"unit_converter","input":{"type":"object","additionalProperties":false,"properties":{"value":{"type":"number","description":"The value to convert."},"from":{"type":"string","description":"Unit id to convert from. Length: nm, um, mm, cm, m, km, in, ft, yd, mi, nmi. Mass and weight: mg, g, kg, t, oz, lb, st, us-ton, uk-ton. Temperature: celsius, fahrenheit, kelvin, rankine. Volume: ml, l, m3, metric-tsp, metric-tbsp, metric-cup, us-tsp, us-tbsp, us-fl-oz, us-cup, us-pint, us-quart, us-gallon, imp-fl-oz, imp-cup, imp-pint, imp-quart, imp-gallon, in3, ft3. Area: mm2, cm2, m2, ha, km2, in2, ft2, yd2, acre, mi2. Speed: mps, kph, mph, knot, fps. Data size: bit, kbit, mbit, gbit, byte, kb, mb, gb, tb, pb, kib, mib, gib, tib, pib. Time: ns, us, ms, s, min, h, day, week, month, year. Energy: j, kj, cal, kcal, wh, kwh, btu, ev, ft-lbf. Pressure: pa, hpa, kpa, mpa, mbar, bar, atm, psi, torr, mmhg, inhg. Fuel economy: l-per-100km, km-per-l, mpg-us, mpg-uk.","enum":["nm","um","mm","cm","m","km","in","ft","yd","mi","nmi","mg","g","kg","t","oz","lb","st","us-ton","uk-ton","celsius","fahrenheit","kelvin","rankine","ml","l","m3","metric-tsp","metric-tbsp","metric-cup","us-tsp","us-tbsp","us-fl-oz","us-cup","us-pint","us-quart","us-gallon","imp-fl-oz","imp-cup","imp-pint","imp-quart","imp-gallon","in3","ft3","mm2","cm2","m2","ha","km2","in2","ft2","yd2","acre","mi2","mps","kph","mph","knot","fps","bit","kbit","mbit","gbit","byte","kb","mb","gb","tb","pb","kib","mib","gib","tib","pib","ns","us","ms","s","min","h","day","week","month","year","j","kj","cal","kcal","wh","kwh","btu","ev","ft-lbf","pa","hpa","kpa","mpa","mbar","bar","atm","psi","torr","mmhg","inhg","l-per-100km","km-per-l","mpg-us","mpg-uk"],"maxLength":200000},"to":{"type":"string","description":"Unit id to convert to, in the same category as from. Omit to convert to every unit in the category.","enum":["nm","um","mm","cm","m","km","in","ft","yd","mi","nmi","mg","g","kg","t","oz","lb","st","us-ton","uk-ton","celsius","fahrenheit","kelvin","rankine","ml","l","m3","metric-tsp","metric-tbsp","metric-cup","us-tsp","us-tbsp","us-fl-oz","us-cup","us-pint","us-quart","us-gallon","imp-fl-oz","imp-cup","imp-pint","imp-quart","imp-gallon","in3","ft3","mm2","cm2","m2","ha","km2","in2","ft2","yd2","acre","mi2","mps","kph","mph","knot","fps","bit","kbit","mbit","gbit","byte","kb","mb","gb","tb","pb","kib","mib","gib","tib","pib","ns","us","ms","s","min","h","day","week","month","year","j","kj","cal","kcal","wh","kwh","btu","ev","ft-lbf","pa","hpa","kpa","mpa","mbar","bar","atm","psi","torr","mmhg","inhg","l-per-100km","km-per-l","mpg-us","mpg-uk"],"maxLength":200000}},"required":["value","from"]},"example":{"value":5,"from":"km","to":"mi"},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/unit-converter","page":"https://pithlab.com/tools/unit-converter"}}