All endpoints
CIDR / Subnet Calculator
POST
/api/v1/tools/cidr-calculatorGet network address, broadcast, netmask and usable host range from any CIDR block.
Authentication
Requires an API key in the X-API-Key header.
Try it
POST
/api/v1/tools/cidr-calculatorParameters
inputstringrequiredIPv4 address in CIDR notation, e.g. 192.168.1.10/24.
Request body
{
"input": "192.168.1.10/24"
}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/cidr-calculator \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"input":"192.168.1.10/24"}'Response
{ "ip": "192.168.1.10", "prefix": 24, "network": "192.168.1.0", "broadcast": "192.168.1.255", "netmask": "255.255.255.0", "wildcard": "0.0.0.255", "firstHost": "192.168.1.1", "lastHost": "192.168.1.254", "totalAddresses": 256, "usableHosts": 254, "isPrivate": true }
