api.gadgethumans.com/cidr-calc
Expand a CIDR block into network address, broadcast, netmask, wildcard, usable host range and host count. Pure CPU, instant. Use to plan a subnet or test whether an IP is in range.
GET
https://api.gadgethumans.com/cidr-calcUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.gadgethumans.com/cidr-calc?cidr=example");
console.log(await res.json());Example input
{
"cidr": "example"
}More from CIDR calculator
- agent-data-tools.revmesh2074.workers.dev/ip/cidrCIDR calculator. Details of an IPv4 network in CIDR notation: network and broadcast address, first and last usable host, netmask, number of addresses, and whether a given IP falls inside. Use for firewall rules and allowlists.0.01
- agent402.tools/api/cidrParse an IPv4 CIDR block: network address, broadcast, first/last host, netmask, and host count. Optionally test if an IP is inside it.0.001
