{"uid":"cap_ZQ61Lqqe7Tp2R06pBgN68","slug":"geekvault-cidr-calculator-41b2cef7","name":"GeekVault CIDR Calculator","description":"Network, docs, image, web, and dev utility tools paid per call via x402. No signup, no API keys, no subscriptions — just USDC on Base.","url":"https://api.geekvault.dev/dev-tools/v1/cidr-calculate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["cidr"],"properties":{"cidr":{"type":"string","description":"CIDR IPv4, ej. `192.168.1.0/24`."}}},"responseSchema":{"type":"object","required":["cidr","network","broadcast","netmask","wildcard_mask","first_host","last_host","total_addresses","usable_hosts"],"properties":{"cidr":{"type":"string"},"netmask":{"type":"string"},"network":{"type":"string"},"broadcast":{"type":"string"},"last_host":{"type":"string"},"first_host":{"type":"string"},"usable_hosts":{"type":"integer","format":"int64","minimum":0},"wildcard_mask":{"type":"string"},"total_addresses":{"type":"integer","format":"int64","minimum":0}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8xgwVYJHvTFycUCxd21w9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates all key IPv4 subnet details from a CIDR notation input, including network address, broadcast, netmask, host range, and address counts.","exampleAgentPrompt":"What are all the subnet details for 10.0.0.0/22 — I need the network address, broadcast, netmask, wildcard mask, and how many usable hosts there are.","exampleUseCases":[{"title":"Network range planning for VPC","prompt":"I'm designing a VPC and want to use 172.31.0.0/20 — can you tell me the network address, broadcast address, usable host range, and total number of IPs in that block?"},{"title":"Firewall rule wildcard mask lookup","prompt":"I need the wildcard mask for the subnet 192.168.50.0/27 so I can configure an ACL rule on our router."},{"title":"Verifying subnetting homework","prompt":"Can you break down 10.128.0.0/9 for me — show the netmask, broadcast address, first host, last host, and how many addresses total?"}],"resultDescription":"Returns a JSON object with the original CIDR, network address, broadcast address, subnet mask, wildcard mask, first usable host IP, last usable host IP, total address count, and count of usable host addresses.","failureModes":["Invalid CIDR format (e.g. missing prefix length or malformed IP) returns an error","Out-of-range prefix length (e.g. /33) causes a validation error","IPv6 CIDR inputs are not supported — only IPv4","Missing required 'cidr' parameter returns a 400-level error"],"whenToPreferThis":"Use this endpoint when you need instant, structured IPv4 subnet calculations without standing up any infrastructure or authenticating. Ideal for network automation agents, infrastructure planning scripts, or any workflow needing programmatic CIDR expansion. Prefer this over manual calculation or local tooling when operating in a pay-per-call serverless agent context using USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:32:57.240Z","isFirstParty":false,"canonicalSlug":"geekvault-cidr-calculator-41b2cef7"}