{
  "x402Version": 2,
  "id": 29586,
  "slug": "29586",
  "resource": "https://netintel.dev/subnet/calc",
  "description": "Calculates IPv4/IPv6 subnet details from CIDR notation — network/broadcast, netmask, wildcard (Cisco ACL) mask, binary/hex masks, usable host range, RFC classification (private/loopback/multicast), supernet, and subnet-split counts. Pass comma-separated CIDRs to detect overlaps and classify each pair (subnet/supernet/partial overlap/disjoint); multi-CIDR responses return {subnets, overlaps}.",
  "type": "http",
  "serviceName": "NetIntel",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1784214098/bazaar-icons/7d2bf437631b2e4e.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "binary_mask": {
            "type": "string"
          },
          "broadcast": {
            "type": "string"
          },
          "cidr": {
            "type": "string"
          },
          "first_usable": {
            "type": "string"
          },
          "hex_mask": {
            "type": "string"
          },
          "ip_version": {
            "type": "number"
          },
          "is_private": {
            "type": "boolean"
          },
          "last_usable": {
            "type": "string"
          },
          "netmask": {
            "type": "string"
          },
          "network": {
            "type": "string"
          },
          "prefix_length": {
            "type": "number"
          },
          "rfc_classification": {
            "type": "string"
          },
          "subnets": {
            "type": "array"
          },
          "supernet": {
            "type": "string"
          },
          "total_hosts": {
            "type": "number"
          },
          "usable_hosts": {
            "type": "number"
          },
          "wildcard": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "cidr": "10.0.1.0/24"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "binary_mask": "11111111111111111111111100000000",
            "broadcast": "10.0.1.255",
            "cidr": "10.0.1.0/24",
            "first_usable": "10.0.1.1",
            "hex_mask": "ffffff00",
            "ip_version": 4,
            "is_private": true,
            "last_usable": "10.0.1.254",
            "netmask": "255.255.255.0",
            "network": "10.0.1.0",
            "prefix_length": 24,
            "rfc_classification": "Private (RFC 1918)",
            "subnets": [
              {
                "count": 2,
                "prefix": "/25"
              },
              {
                "count": 4,
                "prefix": "/26"
              },
              {
                "count": 8,
                "prefix": "/27"
              },
              {
                "count": 16,
                "prefix": "/28"
              }
            ],
            "supernet": "10.0.0.0/23",
            "total_hosts": 256,
            "usable_hosts": 254,
            "wildcard": "0.0.0.255"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "cidr": {
                    "description": "CIDR block, e.g. 10.0.1.0/24 or 2001:db8::/48 (IPv6). Comma-separate multiple CIDRs for overlap/containment analysis, e.g. 10.0.0.0/16,10.0.1.0/24",
                    "type": "string"
                  }
                },
                "required": [
                  "cidr"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "binary_mask": {
                    "type": "string"
                  },
                  "broadcast": {
                    "type": "string"
                  },
                  "cidr": {
                    "type": "string"
                  },
                  "first_usable": {
                    "type": "string"
                  },
                  "hex_mask": {
                    "type": "string"
                  },
                  "ip_version": {
                    "type": "number"
                  },
                  "is_private": {
                    "type": "boolean"
                  },
                  "last_usable": {
                    "type": "string"
                  },
                  "netmask": {
                    "type": "string"
                  },
                  "network": {
                    "type": "string"
                  },
                  "prefix_length": {
                    "type": "number"
                  },
                  "rfc_classification": {
                    "type": "string"
                  },
                  "subnets": {
                    "type": "array"
                  },
                  "supernet": {
                    "type": "string"
                  },
                  "total_hosts": {
                    "type": "number"
                  },
                  "usable_hosts": {
                    "type": "number"
                  },
                  "wildcard": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "subnet calculator",
    "cidr",
    "ip networking",
    "network tools",
    "ip ranges",
    "bazaar"
  ],
  "sourceHost": "netintel.dev",
  "lastUpdated": "2026-10-01T00:44:49.643Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-01T00:44:49.434Z"
  },
  "metadata": {
    "serviceName": "NetIntel",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1784214098/bazaar-icons/7d2bf437631b2e4e.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "cidr": "10.0.1.0/24"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "binary_mask": "11111111111111111111111100000000",
              "broadcast": "10.0.1.255",
              "cidr": "10.0.1.0/24",
              "first_usable": "10.0.1.1",
              "hex_mask": "ffffff00",
              "ip_version": 4,
              "is_private": true,
              "last_usable": "10.0.1.254",
              "netmask": "255.255.255.0",
              "network": "10.0.1.0",
              "prefix_length": 24,
              "rfc_classification": "Private (RFC 1918)",
              "subnets": [
                {
                  "count": 2,
                  "prefix": "/25"
                },
                {
                  "count": 4,
                  "prefix": "/26"
                },
                {
                  "count": 8,
                  "prefix": "/27"
                },
                {
                  "count": 16,
                  "prefix": "/28"
                }
              ],
              "supernet": "10.0.0.0/23",
              "total_hosts": 256,
              "usable_hosts": 254,
              "wildcard": "0.0.0.255"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "cidr": {
                      "description": "CIDR block, e.g. 10.0.1.0/24 or 2001:db8::/48 (IPv6). Comma-separate multiple CIDRs for overlap/containment analysis, e.g. 10.0.0.0/16,10.0.1.0/24",
                      "type": "string"
                    }
                  },
                  "required": [
                    "cidr"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "binary_mask": {
                      "type": "string"
                    },
                    "broadcast": {
                      "type": "string"
                    },
                    "cidr": {
                      "type": "string"
                    },
                    "first_usable": {
                      "type": "string"
                    },
                    "hex_mask": {
                      "type": "string"
                    },
                    "ip_version": {
                      "type": "number"
                    },
                    "is_private": {
                      "type": "boolean"
                    },
                    "last_usable": {
                      "type": "string"
                    },
                    "netmask": {
                      "type": "string"
                    },
                    "network": {
                      "type": "string"
                    },
                    "prefix_length": {
                      "type": "number"
                    },
                    "rfc_classification": {
                      "type": "string"
                    },
                    "subnets": {
                      "type": "array"
                    },
                    "supernet": {
                      "type": "string"
                    },
                    "total_hosts": {
                      "type": "number"
                    },
                    "usable_hosts": {
                      "type": "number"
                    },
                    "wildcard": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "netintel.dev",
    "manifest_name": "netintel.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "binary_mask": "11111111111111111111111100000000",
    "broadcast": "10.0.1.255",
    "cidr": "10.0.1.0/24",
    "first_usable": "10.0.1.1",
    "hex_mask": "ffffff00",
    "ip_version": 4,
    "is_private": true,
    "last_usable": "10.0.1.254",
    "netmask": "255.255.255.0",
    "network": "10.0.1.0",
    "prefix_length": 24,
    "rfc_classification": "Private (RFC 1918)",
    "subnets": [
      {
        "count": 2,
        "prefix": "/25"
      },
      {
        "count": 4,
        "prefix": "/26"
      },
      {
        "count": 8,
        "prefix": "/27"
      },
      {
        "count": 16,
        "prefix": "/28"
      }
    ],
    "supernet": "10.0.0.0/23",
    "total_hosts": 256,
    "usable_hosts": 254,
    "wildcard": "0.0.0.255"
  }
}