{
  "name": "Calculate an IPv4 or IPv6 subnet",
  "provider": "FernTool",
  "category": "Network",
  "description": "Calculate IPv4/IPv6 network ranges, masks, host counts and subnet splits. Results include the address type. IPv4 also returns the broadcast address, wildcard mask and first/last usable hosts. Large splits return the first 64 subnets and the total count. Free; no API key required.",
  "documentation": "https://www.ferntool.com/api",
  "endpoint": "https://www.ferntool.com/api/subnet",
  "method": "GET",
  "output": "json",
  "parameters": [
    {
      "name": "cidr",
      "label": "Network in CIDR form",
      "type": "text",
      "required": true,
      "maxLength": 60,
      "example": "192.168.1.0/26"
    },
    {
      "name": "split",
      "label": "Split into prefix (optional, e.g. 28 or 64)",
      "type": "text",
      "required": false,
      "maxLength": 3,
      "example": "28"
    }
  ],
  "example": {
    "cidr": "192.168.1.0/26"
  },
  "fixedHeaders": {},
  "check": {
    "path": "/netmask",
    "type": "string",
    "equals": "255.255.255.192"
  },
  "id": "calculate-an-ipv4-or-ipv6-subnet-9b6e5143",
  "tagline": "Calculate IPv4/IPv6 network ranges, masks, host counts and subnet splits. Results include the address type. IPv4 also returns the broadcast address, wildcard mask and first/last usable hosts. Large splits return the first 64 subnets and the total count. Free; no API key required.",
  "icon": "↗",
  "responseMime": "application/json",
  "assertion": "The submitted example passed its response check.",
  "verifiedAt": "2026-12-03T16:50:12.578Z",
  "verificationRoute": "scheduled-check",
  "source": "community",
  "submittedAt": "2026-11-02T04:04:56.844Z",
  "execution": [
    "server-fallback"
  ],
  "authentication": "none",
  "pricing": "Provider free public endpoint; usage policies apply",
  "testStatus": "example-checked",
  "run": "/api/run/calculate-an-ipv4-or-ipv6-subnet-9b6e5143",
  "specification": "/api/operations/calculate-an-ipv4-or-ipv6-subnet-9b6e5143",
  "feedback": "/api/feedback/calculate-an-ipv4-or-ipv6-subnet-9b6e5143",
  "page": "/tools/calculate-an-ipv4-or-ipv6-subnet-9b6e5143",
  "endpointGroup": "GET https://www.ferntool.com/api/subnet",
  "providerPage": "/?view=providers&provider=FernTool",
  "endpointPage": "/?view=endpoints&endpoint=GET+https%3A%2F%2Fwww.ferntool.com%2Fapi%2Fsubnet",
  "fixedQuery": {}
}