{"uid":"cap_8UGf8HHYIEE-cZ-L_v5TD","slug":"vextorium-ip-subnet-calculator-7e0e3865","name":"Vextorium IP Subnet Calculator","description":"IPv4/IPv6 subnet calculator: network, mask, wildcard, broadcast, first/last host, usable hosts, address type (private, public, loopback...) and whether a given IP belongs to the subnet.","url":"https://api.vextorium.com/subred-ip-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["cidr"],"properties":{"cidr":{"type":"string","description":"Network in CIDR notation, e.g. 10.0.0.0/16 or 2001:db8::/48"},"comprobar_ip":{"type":"string","description":"IP to test for membership (optional)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":["object","null"],"properties":{"red":{"type":["string","null"]},"cidr":{"type":["string","null"]},"tipo":{"type":["string","null"]},"clase":{"type":["string","null"]},"entrada":{"type":["string","null"]},"mascara":{"type":["string","null"]},"prefijo":{"type":["number","null"]},"version":{"type":["number","null"]},"wildcard":{"type":["string","null"]},"broadcast":{"type":["string","null"]},"primer_host":{"type":["string","null"]},"ultimo_host":{"type":["string","null"]},"comprobar_ip":{"type":["object","null"],"properties":{"ip":{"type":["string","null"]},"pertenece":{"type":["boolean","null"]}}},"hosts_utiles":{"type":["number","null"]},"total_direcciones":{"type":["number","null"]}}}}}}},"responseSchema":{"type":"json","example":{"red":"192.168.1.64","cidr":"192.168.1.64/26","tipo":"privada","clase":"C","entrada":"192.168.1.77/26","mascara":"255.255.255.192","prefijo":26,"version":4,"wildcard":"0.0.0.63","broadcast":"192.168.1.127","primer_host":"192.168.1.65","ultimo_host":"192.168.1.126","comprobar_ip":{"ip":"192.168.1.100","pertenece":true},"hosts_utiles":62,"total_direcciones":64}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ll6ykOxOLL0v7pU9k3j2c","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates IPv4/IPv6 subnet details (network, mask, wildcard, broadcast, first/last host, usable hosts, address type) and optionally checks if a given IP belongs to the subnet.","exampleAgentPrompt":"Can you calculate all the subnet details for 192.168.1.64/26 — I need the network address, broadcast, first and last host, wildcard mask, and how many usable hosts there are? Also check if 192.168.1.100 is in that subnet.","exampleUseCases":[{"title":"Network planning for office subnets","prompt":"I'm designing a network and need full details for the 10.10.0.0/22 subnet — network address, broadcast, first and last usable host, total hosts, and whether it's private."},{"title":"Verify if server IP is in subnet","prompt":"Can you tell me whether 172.16.45.200 belongs to the subnet 172.16.32.0/20? Also give me the broadcast address and how many hosts fit in that subnet."},{"title":"IPv6 subnet inspection","prompt":"Break down the IPv6 subnet 2001:db8::/48 for me — I need the network address, prefix length, first and last host, and total addresses."}],"resultDescription":"A JSON object containing: network address (red), full CIDR notation, subnet mask (mascara), prefix length, wildcard mask, broadcast address, first and last usable host, total addresses, usable host count, IP version (4 or 6), address type (private/public/loopback etc.), IP class (A/B/C), the original input, and optionally an object indicating whether a tested IP belongs to the subnet and which IP was tested.","failureModes":["Invalid or malformed CIDR notation returns an error","Missing required 'cidr' field causes a 400-level error","Out-of-range prefix length (e.g. /33 for IPv4) causes computation failure","Malformed optional IP in comprobar_ip may return null membership result","Network timeouts may occur under load"],"whenToPreferThis":"Choose this endpoint when you need a complete subnet computation from a single CIDR string without setting up local networking libraries, or when you need to programmatically check IP membership in a subnet. Ideal for agents doing network planning, infrastructure validation, or IP address management tasks. Prefer this over general-purpose code execution when a quick, accurate, paid-per-call computation is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:40:58.503Z","isFirstParty":false,"canonicalSlug":"vextorium-ip-subnet-calculator-7e0e3865"}