{"uid":"cap_yeOaeUeKQo6-g3UxqQiva","slug":"cidr-subnet-calculator-f4cd2b4a","name":"CIDR / Subnet Calculator","description":"CIDR / subnet calculator: network and broadcast address, first and last usable host, netmask and wildcard mask, total and usable address counts for any IPv4 CIDR block. Network planning and validation. $0.01 per calculation.","url":"https://intel.rallylive.ca/ip/cidr","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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_gofva5xA2XgdtNJHNnKBx","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":"Computes network and broadcast address, first/last usable host, netmask, wildcard mask, and total/usable address counts for any IPv4 CIDR block.","exampleAgentPrompt":"What are the network address, broadcast address, usable host range, netmask, wildcard mask, and total IP count for the CIDR block 192.168.10.0/24?","exampleUseCases":[{"title":"Plan a new office subnet","prompt":"I'm setting up a new office network using 10.0.5.0/26 — can you give me the network address, broadcast, usable host range, netmask, and how many devices I can actually assign IPs to?"},{"title":"Validate ACL wildcard mask","prompt":"I need the wildcard mask for 172.16.32.0/20 so I can plug it into an access control list — what is it, and what's the full subnet breakdown?"},{"title":"Verify IP range for cloud VPC","prompt":"We're allocating 10.100.0.0/22 for a new cloud VPC — tell me the first and last usable host addresses, the broadcast address, and how many usable IPs we'll have available."}],"resultDescription":"Returns network address, broadcast address, first and last usable host IP, netmask (dotted-decimal), wildcard mask, total address count, and usable address count for the given IPv4 CIDR block.","failureModes":["Invalid CIDR notation returns an error (e.g. missing prefix length or out-of-range values)","IPv6 CIDR blocks are not supported — only IPv4","Missing or malformed query parameter returns a 400-level error","Payment failure or insufficient USDC balance prevents the call from completing"],"whenToPreferThis":"Use this endpoint when an agent needs precise subnet math for IPv4 CIDR blocks — especially for network planning, IP allocation validation, ACL wildcard masks, or cloud VPC sizing — without requiring a local networking library or manual calculation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:12:43.368Z","isFirstParty":false}