Programmatic access to 200+ unit conversions. Free, fast, and easy to use.
The unitconvt.com API provides a simple REST interface for unit conversions.
Base URL: https://unitconvt.com/api
Convert a value between two units.
fromUnit (required) — Source unit slug (e.g., meter, kilogram)toUnit (required) — Target unit slug (e.g., foot, pound)value (required) — Number to convert (e.g., 100)GET /api/convert?fromUnit=meter&toUnit=foot&value=100
{
"fromUnit": "meter",
"toUnit": "foot",
"value": 100,
"result": 328.084,
"formula": "100 m × 3.28084 = 328.084 ft"
}List all conversion categories.
{
"categories": [
{ "id": 1, "slug": "length", "name": "Length", "icon": "ruler" },
{ "id": 2, "slug": "weight", "name": "Weight", "icon": "weight" },
...
]
}List all units in a specific category.
slug — Category slug (e.g., length, temperature){
"category": "length",
"units": [
{ "id": 1, "slug": "meter", "name": "Meter", "symbol": "m", "factor": 1 },
{ "id": 2, "slug": "foot", "name": "Foot", "symbol": "ft", "factor": 0.3048 },
...
]
}Browse all available unit conversions by category:
/health) is not rate limitedAuthentication: No API key required for public use. All conversions are freely available.
What happens when you exceed the limit? You'll receive a 429 (Too Many Requests) response with the message:Too many requests from this IP, please try again later.
For questions or issues, visit our contact page or review our terms of service.