{"uid":"cap_uWD8P4QfxahwkaT13bUV3","slug":"netintel-subnet-calculator-0cf57df9","name":"NetIntel Subnet Calculator","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}.","url":"https://netintel.dev/subnet/calc","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["cidr"],"properties":{"cidr":{"type":"string","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"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"cidr":{"type":"string"},"netmask":{"type":"string"},"network":{"type":"string"},"subnets":{"type":"array"},"hex_mask":{"type":"string"},"supernet":{"type":"string"},"wildcard":{"type":"string"},"broadcast":{"type":"string"},"ip_version":{"type":"number"},"is_private":{"type":"boolean"},"binary_mask":{"type":"string"},"last_usable":{"type":"string"},"total_hosts":{"type":"number"},"first_usable":{"type":"string"},"usable_hosts":{"type":"number"},"prefix_length":{"type":"number"},"rfc_classification":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"cidr":"10.0.1.0/24","netmask":"255.255.255.0","network":"10.0.1.0","subnets":[{"count":2,"prefix":"/25"},{"count":4,"prefix":"/26"},{"count":8,"prefix":"/27"},{"count":16,"prefix":"/28"}],"hex_mask":"ffffff00","supernet":"10.0.0.0/23","wildcard":"0.0.0.255","broadcast":"10.0.1.255","ip_version":4,"is_private":true,"binary_mask":"11111111111111111111111100000000","last_usable":"10.0.1.254","total_hosts":256,"first_usable":"10.0.1.1","usable_hosts":254,"prefix_length":24,"rfc_classification":"Private (RFC 1918)"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RdLRCP3H3cpSj_u9E3gTn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates detailed subnet information for a given CIDR notation, including network range, broadcast address, usable hosts, subnets, and RFC classification","exampleAgentPrompt":"Can you give me the full subnet breakdown for 10.0.1.0/24 — broadcast address, first and last usable IP, total hosts, netmask, supernet, and whether it's a private range?","exampleUseCases":null,"resultDescription":"Returns a JSON object with complete subnet details: CIDR, netmask, hex/binary/wildcard masks, network and broadcast addresses, first/last usable IPs, total and usable host counts, prefix length, IP version, supernet, a list of possible sub-division subnets with counts, and RFC classification (e.g. Private RFC 1918).","failureModes":["Invalid CIDR notation returns an error response","Missing required 'cidr' query parameter returns 400-level error","Malformed IP address in CIDR (e.g. 999.0.0.0/24) returns validation error","Payment not included or insufficient results in 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need comprehensive, structured subnet metadata for a given CIDR block — especially when you need multiple fields at once (netmask, broadcast, host counts, subnets, RFC classification) rather than computing them manually. Ideal for network planning, infrastructure automation, documentation generation, or validating IP address space allocations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:45:55.547Z","isFirstParty":false}