Conversion
The /convert endpoint allows you to convert multiple temperature units between each other. You need to provide a value to convert, a source unit, and the unit you want to convert to.
gethttps://api.moxon.dev /v1/convert
valuestringrequiredThe value to convert
fromstringrequiredThe source unit (
celsius,fahrenheit, orkelvin)tostringrequiredThe unit to convert to (
celsius,fahrenheit, orkelvin)
| Unit | Description |
|---|---|
celsius | Temperature in Celsius degrees |
fahrenheit | Temperature in Fahrenheit degrees |
kelvin | Temperature in Kelvin |
GET /v1/convert?value=30&from=celsius&to=kelvin{
"from": "celsius",
"to": "kelvin",
"value": 30,
"result": 303.15
}curl -X GET "https://api.moxon.dev/v1/convert?value=30&from=celsius&to=kelvin"If the value, from, or to field is empty or invalid, an error will be returned.
Last updated on April 8, 2026