78trust / 100

Ip Cidr

by cidr-calculator in Weather & location

x402 APIPassing, checked 4 h ago

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.

POST https://intel.rallylive.ca/ip/cidr

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
43 ms typical, 75 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://intel.rallylive.ca/ip/cidr" \
  -H "content-type: application/json" \
  -d '{"cidr":"192.168.0.0/22"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fintel.rallylive.ca%2Fip%2Fcidr
const res = await pay("https://intel.rallylive.ca/ip/cidr", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"cidr":"192.168.0.0/22"}),
});
console.log(await res.json());

Example input

{
  "cidr": "192.168.0.0/22"
}

Example output

{
  "broadcast": "192.168.3.255",
  "cidr": "192.168.0.0/22",
  "first_host": "192.168.0.1",
  "last_host": "192.168.3.254",
  "netmask": "255.255.252.0",
  "network": "192.168.0.0",
  "prefix": 22,
  "total_addresses": 1024,
  "usable_hosts": 1022,
  "wildcard": "0.0.3.255"
}

Security scan

  • Payment address changed recently in payment
    Payment address changed from 0x91D568599fB802Cb3f03F067D2063785dBAF0abd to 0xFC24FD34da9e49A0110DCaEe3Ad30eC54175eBB3

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed40264 ms$0.01
7 h agoPassed40275 ms$0.01
11 h agoPassed40244 ms$0.01
14 h agoPassed40243 ms$0.01
18 h agoPassed40237 ms$0.01
22 h agoPassed40264 ms$0.01
25 h agoPassed40242 ms$0.01
29 h agoPassed40241 ms$0.01
32 h agoPassed40243 ms$0.01
36 h agoPassed40241 ms$0.01
40 h agoPassed402262 ms$0.01
43 h agoPassed40243 ms$0.01
2 days agoPassed40248 ms$0.01

History

11 Oct 2026Payment address changed from 0x91D568599fB802Cb3f03F067D2063785dBAF0abd to 0xFC24FD34da9e49A0110DCaEe3Ad30eC54175eBB3