https://networkcalc.com/api/binary/{number}
Converts numbers between binary, octal, decimal, and hexadecimal.
Parameters
{number}(Required) The number to convert from. May be specified as a binary, octal, decimal, or hexadecimal number.
Example: https://networkcalc.com/api/binary/00001010
from(Optional) The radix (base) to convert from.
Values: 2,8,10,16
Example: https://networkcalc.com/api/binary/1e7d6d?from=16
to(Optional) The radix (base) to convert to.
Values: 2,8,10,16
Example: https://networkcalc.com/api/binary/00001010?to=16
Response Format
Response Codes
200
OK - Success.400
NO_NUMBER_SPECIFIED - The {number} parameter is missing.400
INVALID_NUMBER_FORMAT - The {number} parameter is malformed.400
INVALID_FROM_BASE - The from parameter is is not valid.400
INVALID_TO_BASE - The to parameter is not valid.