{"uid":"cap_E2OTlO9mnVpsWCMlq03Dk","slug":"util-beauty-cidr-network-utility-8ca224a4","name":"util.beauty CIDR Network Utility","description":"Metered web utilities for developers and AI agents: browser screenshot and PDF, crypto, DNS and net tools. Pay per request with x402 (USDC on Base) or prepaid API keys.","url":"https://util.beauty/v1/net/cidr","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","properties":{"body":{"type":"object","description":"JSON request body (see OpenAPI for the utility schema).","additionalProperties":true}}},"output":{"type":"object","properties":{"example":{"type":"object","properties":{"ok":{"type":"boolean"},"utility":{"type":"string"},"requestId":{"type":"string"},"chargedCredits":{"type":"number"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"ok":true,"utility":"…","requestId":"req_…","chargedCredits":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cgWPk4U0nHswBGwj2a4Ou","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs CIDR notation parsing and network calculations, returning subnet details like IP range, netmask, broadcast address, and host count.","exampleAgentPrompt":"Can you parse the CIDR block 10.0.0.0/16 and tell me the network address, broadcast address, netmask, and how many usable hosts it contains?","exampleUseCases":[{"title":"Subnet planning for cloud VPC","prompt":"I'm setting up a VPC and need to know how many usable IPs are in 172.16.0.0/20 — can you give me the full subnet breakdown including network address, broadcast, and host range?"},{"title":"Validate firewall rule CIDR","prompt":"Before I add this to our firewall rules, can you parse 192.168.100.128/26 and confirm the exact IP range it covers so I know it won't overlap with anything unexpected?"},{"title":"Network troubleshooting IP lookup","prompt":"We got an alert for 10.4.32.0/19 — what's the full range of IPs that covers, and what's the broadcast address? Need to narrow down which machines might be affected."}],"resultDescription":"Returns a JSON object with ok status, the utility name, a requestId for tracking, chargedCredits count, and the computed CIDR details including network address, broadcast address, netmask, IP range start/end, and total/usable host counts.","failureModes":["Invalid CIDR notation format returns an error response","IPv6 CIDR may not be supported — only IPv4 input confirmed","Missing or malformed request body returns 400-level error","Payment failure via x402 if USDC balance is insufficient","Rate limiting or quota exhaustion on prepaid API key"],"whenToPreferThis":"Choose this endpoint when you need quick, metered, pay-per-call CIDR subnet calculations without standing up your own networking library — especially useful in AI agent workflows that need on-demand network math paid via USDC on Base (x402) or a prepaid API key. Ideal for one-off lookups in automation pipelines rather than bulk subnet processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:44:07.656Z","isFirstParty":false}