{"uid":"cap_FJ_QhJ65YWQCpRxq4mGNq","slug":"saylor-innovations-cidr-subnet-calculator-4b619011","name":"Saylor Innovations CIDR Subnet Calculator","description":"CIDR subnet calculator - network, broadcast, netmask, wildcard, host range and usable hosts for an IPv4 CIDR block","url":"https://saylorinnovations.com/api/net/cidr?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":"IPv4 CIDR, e.g. 192.168.1.0/24"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["network","netmask","usable_hosts"],"properties":{"cidr":{"type":"string","description":"CIDR block"},"netmask":{"type":"string"},"network":{"type":"string","description":"Network name"},"wildcard":{"type":"string"},"broadcast":{"type":["string","null"]},"last_host":{"type":"string","description":"Last host"},"checked_at":{"type":["string","null"],"description":"Time the check was run (UTC)"},"first_host":{"type":"string","description":"First host"},"usable_hosts":{"type":"number","description":"Usable hosts"},"address_class":{"type":["string","null"],"description":"Address class"},"input_address":{"type":["string","null"],"description":"Input address"},"total_addresses":{"type":"number","description":"Total addresses"},"is_private_rfc1918":{"type":"boolean","description":"True when this is private rfc1918"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LV-P3uadwAaU194kRImqP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates network, broadcast, netmask, wildcard, host range, and usable hosts for a given IPv4 CIDR block","exampleAgentPrompt":"What are all the subnet details for 192.168.1.0/24 — give me the network address, broadcast, netmask, wildcard, usable host range, and how many hosts I can use?","exampleUseCases":[{"title":"Network planning for a new office","prompt":"We're setting up a new office LAN and I need to know how many usable hosts fit in 10.10.5.0/26 — also give me the broadcast address, netmask, and the first and last host IPs."},{"title":"Verifying private IP range classification","prompt":"Is 172.16.100.0/20 a private RFC1918 address range, and what's the total number of addresses it covers?"},{"title":"Firewall ACL wildcard mask lookup","prompt":"I need the wildcard mask for the subnet 192.168.50.0/27 so I can write the correct access control list rule on our Cisco router."}],"resultDescription":"Returns a JSON object with the network address, broadcast address, netmask, wildcard mask, first usable host, last usable host, total addresses, usable host count, address class, whether the block is RFC1918 private, the original CIDR input, and a timestamp of when the check was run.","failureModes":["Missing or malformed 'cidr' query parameter returns an error","Invalid CIDR notation (e.g. missing prefix length or out-of-range values) returns an error","Host bits set in the address (e.g. 192.168.1.5/24 instead of 192.168.1.0/24) may return unexpected results or an error","Network unreachable or service downtime returns a non-200 HTTP response"],"whenToPreferThis":"Use this endpoint when you need fast, authoritative IPv4 subnet calculations from a single CIDR notation input and want a structured JSON response covering all standard subnet attributes in one call — especially in automated network provisioning, validation, or documentation workflows. Prefer this over manual calculation libraries when operating in an agent context that requires an external computation call with a consistent API contract.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T06:48:14.330Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-cidr-subnet-calculator-4b619011"}