{"uid":"cap_L-MT83VZtiMNiUS6gItTE","slug":"saylor-innovations-data-desk-ipv4-cidr-subnet-splitter-26efb972","name":"Saylor Innovations Data Desk – IPv4 CIDR Subnet Splitter","description":"Split an IPv4 CIDR block into subnets by new prefix or subnet count - network, broadcast, first and last host and usable hosts for each subnet","url":"https://saylorinnovations.com/api/net/subnet-split?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","new_prefix"],"properties":{"cidr":{"type":"string","description":"IPv4 network such as 10.0.0.0/16"},"new_prefix":{"type":"string","description":"new prefix length, e.g. 26"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["parent","subnet_count","subnets"],"properties":{"shown":{"type":["number","null"],"description":"Number of subnets listed"},"parent":{"type":"string","description":"Parent network"},"source":{"type":"string","description":"Data source the values come from"},"subnets":{"type":"array","items":{"type":"object","properties":{"cidr":{"description":"CIDR block"},"network":{"description":"Network name"},"broadcast":{"type":["string","null"],"description":"Broadcast address, null for /31 and /32"},"last_host":{"description":"Last host"},"first_host":{"description":"First host"},"usable_hosts":{"description":"Usable hosts"}}},"description":"Subnets with CIDR, network, broadcast, first and last host and usable hosts"},"truncated":{"type":"boolean","description":"True when the list was cut at the limit"},"new_prefix":{"type":"number","description":"New prefix"},"subnet_mask":{"type":"string","description":"Subnet mask"},"subnet_count":{"type":"number","description":"Number of subnet"},"addresses_per_subnet":{"type":"number","description":"Addresses per subnet"},"usable_hosts_per_subnet":{"type":"number","description":"Usable hosts per subnet"}}}}}}},"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_Ounv47JjbEaF4s5yFpfxA","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":"Splits an IPv4 CIDR block into subnets by specifying a new prefix length, returning network, broadcast, first/last host, and usable host counts for each subnet.","exampleAgentPrompt":"Can you split 10.0.0.0/16 into /24 subnets and show me the network address, broadcast address, and usable host range for each one?","exampleUseCases":[{"title":"Data center VLAN planning","prompt":"I need to divide 172.16.0.0/20 into /26 subnets for our office VLANs — can you list every subnet with its network address, broadcast address, first and last usable host?"},{"title":"Cloud VPC subnet allocation","prompt":"We're setting up a VPC with the block 10.100.0.0/22 and want to break it into /24 subnets — show me all the subnets including usable host counts."},{"title":"Teaching IP subnetting","prompt":"Split 192.168.1.0/24 into /28 subnets and list the network, broadcast, and usable host range for each so I can use it as a classroom example."}],"resultDescription":"Returns a JSON object containing the parent CIDR, new prefix, subnet mask, total subnet count, addresses per subnet, usable hosts per subnet, and an array of subnets each with its CIDR, network address, broadcast address (null for /31 and /32), first host, last host, and usable host count. May include a truncated flag and shown count if the result set is large.","failureModes":["Invalid CIDR notation (e.g. missing prefix, out-of-range octets) returns an error","New prefix shorter than or equal to parent prefix (would produce 0 or 1 subnets) may return an error or unexpected result","Missing required query parameters (cidr or new_prefix) returns a 400-level error","Very large splits (e.g. /8 into /30) may return a truncated list with truncated=true","Non-IPv4 input (e.g. IPv6 CIDR) is not supported"],"whenToPreferThis":"Choose this endpoint when you need to programmatically enumerate all subnets produced by splitting a given IPv4 CIDR block, including full host range details for each subnet. It is ideal for network planning, infrastructure automation, IP address management (IPAM) workflows, and educational tooling. Prefer it over a generic subnet calculator when you need structured JSON output ready for agent consumption at low per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:56:23.901Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-data-desk-ipv4-cidr-subnet-splitter-26efb972"}