All endpoints
Number Base Converter
POST
/api/v1/tools/number-base-converterConvert numbers between decimal, hexadecimal, binary and octal instantly.
Authentication
Requires an API key in the X-API-Key header.
Try it
POST
/api/v1/tools/number-base-converterParameters
valuestringrequiredNumber to convert.
fromBaseintegeroptionalSource base (2–36). Default 10.
toBaseintegeroptionalTarget base (2–36). Default 10.
Request body
{
"value": "255",
"fromBase": 10,
"toBase": 16
}Response codes
200Success.400Invalid request — check your body or parameters.401Missing or invalid API key.403The API key is not scoped to this endpoint.429Rate limit exceeded — retry after a short wait.
Language
cURL
Request
curl -X POST https://utilerio.com/api/v1/tools/number-base-converter \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"value":"255","fromBase":10,"toBase":16}'Response
{ "output": "ff", "decimal": 255 }