{"uid":"cap_8EQIKHSpcre5AsE9TefX-","slug":"netintel-production-440c-up-railway-app-0a810d99","name":"NetIntel Subnet Calculator","description":"Calculates IPv4/IPv6 subnet details from CIDR notation including network/broadcast addresses, netmask, usable host range, supernet, and possible subnets; for multiple CIDRs, detects overlaps and classifies relationships.","url":"https://netintel-production-440c.up.railway.app/subnet/calc?utm_source=zero.xyz","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":{"request":{"input":{"type":"http","method":"GET","queryParams":{"cidr":"172.16.0.0/12"}}},"response":{"cidr":"172.16.0.0/12","netmask":"255.240.0.0","network":"172.16.0.0","subnets":[{"count":2,"prefix":"/13"},{"count":4,"prefix":"/14"},{"count":8,"prefix":"/15"},{"count":16,"prefix":"/16"}],"hex_mask":"fff00000","supernet":"172.0.0.0/11","wildcard":"0.15.255.255","broadcast":"172.31.255.255","ip_version":4,"is_private":true,"binary_mask":"11111111111100000000000000000000","last_usable":"172.31.255.254","total_hosts":1048576,"first_usable":"172.16.0.1","usable_hosts":1048574,"prefix_length":12,"rfc_classification":"Private (RFC 1918)"}},"exampleRequest":{"cidr":"172.16.0.0/12"},"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_yaEEFwzvX1ERlhCtR-WTv","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 IPv4/IPv6 subnet details from CIDR notation including network/broadcast addresses, netmask, usable host range, supernet, and possible subnets; detects overlaps between multiple CIDRs","exampleAgentPrompt":"Can you calculate the full subnet details for 192.168.1.0/24 — I need the network address, broadcast address, netmask, usable host range, total hosts, supernet, and what subnets I can split it into?","exampleUseCases":null,"resultDescription":"Returns a JSON object with: cidr, network address, broadcast address, netmask, wildcard mask, hex mask, binary mask, first and last usable IPs, total and usable host counts, prefix length, IP version, is_private flag, RFC classification, supernet, and an array of possible sub-subnets with their prefix and count. For multiple CIDRs, also returns overlap detection and relationship classification.","failureModes":["Invalid CIDR notation returns an error (e.g. missing prefix length or malformed IP)","CIDR with host bits set may return an error or be corrected to network address","Very large prefix (e.g. /0) may produce extremely large subnet lists","Network timeout or service unavailability returns HTTP 5xx","Missing required 'cidr' query parameter returns 400 error"],"whenToPreferThis":"Use this endpoint when you need precise subnet arithmetic — network/broadcast addresses, usable host counts, netmask representations, supernet, or sub-subnet enumeration — from a CIDR input. Ideal for network planning, firewall rule validation, infrastructure automation, and IP allocation tasks. Also use it to detect and classify overlaps between multiple CIDR ranges without spinning up local tooling.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:39:30.115Z","isFirstParty":false,"canonicalSlug":"netintel-production-440c-up-railway-app-0a810d99"}