Unit Converter
Convert length, mass, temperature, volume, area, speed, data, time, pressure and energy.
- Method
- POST
- Endpoint
- /v1/unit-convert
- Auth
- X-API-Key
- Format
- JSON
- Categories
- length · mass · temp · volume · area · speed · data · time · pressure · energy
- Detection
- auto from units
- Status
- 200 · 400 · 401 · 402 · 429
The category (length, mass, temperature, …) is auto-detected from the unit names — you send a value and two units, nothing else.
curl -X POST https://atomios.me/api/v1/unit-convert/ \
-H "X-API-Key: $ATOMIOS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"value":100,"from":"km","to":"mi"}'