Calculates IPv4/IPv6 subnet details from CIDR notation — network/broadcast, netmask, wi…
Calculates IPv4/IPv6 subnet details from CIDR notation — network/broadcast, netmask, wildcard (Cisco ACL) mask, binary/hex masks, usable host range, RFC classification (private/loopback/multicast), supernet, and subnet-split counts. Pass comma-separated CIDRs…
by netintel.dev · discovered, not yet claimed by its owner · updated 2026-10-01
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Calculates IPv4/IPv6 subnet details from CIDR notation — network/broadcast, netmask, wildcard (Cisco ACL) mask, binary/hex masks, usable host range, RFC classification (private/loopback/multicast), supernet, and subnet-split counts. Pass comma-separated CIDRs to detect overlaps and classify each pair (subnet/supernet/partial overlap/disjoint); multi-CIDR responses return {subnets, overlaps}.
Tags: subnet calculator · cidr · ip networking · network tools · ip ranges · bazaar
Call contract
- Method
- GET
- Input
- query parameters
- Output
- json
- Last paid call
- 2026-10-01
{
"cidr": "10.0.1.0/24"
}{
"binary_mask": "11111111111111111111111100000000",
"broadcast": "10.0.1.255",
"cidr": "10.0.1.0/24",
"first_usable": "10.0.1.1",
"hex_mask": "ffffff00",
"ip_version": 4,
"is_private": true,
"last_usable": "10.0.1.254",
"netmask": "255.255.255.0",
"network": "10.0.1.0",
"prefix_length": 24,
"rfc_classification": "Private (RFC 1918)",
"subnets": [
{
"count": 2,
"prefix": "/25"
},
{
"count": 4,
"prefix": "/26"
},
{
"count": 8,
"prefix": "/27"
},
{
"count": 16,
"prefix": "/28"
}
],
"supernet": "10.0.0.0/23",
"total_hosts": 256,
"usable_hosts": 254,
"wildcard": "0.0.0.255"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/29586.jsonfor the price and payment options. - Pay. Call
GET https://netintel.dev/subnet/calc. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.005 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana
- Demand
- 2 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.005 | 0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.005 | 8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"binary_mask": {
"type": "string"
},
"broadcast": {
"type": "string"
},
"cidr": {
"type": "string"
},
"first_usable": {
"type": "string"
},
"hex_mask": {
"type": "string"
},
"ip_version": {
"type": "number"
},
"is_private": {
"type": "boolean"
},
"last_usable": {
"type": "string"
},
"netmask": {
"type": "string"
},
"network": {
"type": "string"
},
"prefix_length": {
"type": "number"
},
"rfc_classification": {
"type": "string"
},
"subnets": {
"type": "array"
},
"supernet": {
"type": "string"
},
"total_hosts": {
"type": "number"
},
"usable_hosts": {
"type": "number"
},
"wildcard": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"binary_mask": "string",
"broadcast": "string",
"cidr": "string",
"first_usable": "string",
"hex_mask": "string",
"ip_version": 0,
"is_private": true,
"last_usable": "string",
"netmask": "string",
"network": "string",
"prefix_length": 0,
"rfc_classification": "string",
"subnets": [
"value"
],
"supernet": "string",
"total_hosts": 0,
"usable_hosts": 0,
"wildcard": "string"
},
"type": "string"
}Examples
curl -X GET 'https://netintel.dev/subnet/calc'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREconst res = await fetch("https://netintel.dev/subnet/calc", {
"method": "GET"
});
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.request("GET", "https://netintel.dev/subnet/calc")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- netintel.dev
- Endpoint
- https://netintel.dev/subnet/calc
- Machine-readable
/resources/29586.json