Network Calc
Split an IPv4 network into equal subnets, or allocate VLSM subnets from host counts (largest first) with ranges and leftovers.
The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.
Live 402 challenge
Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"scheme": "exact",
"network": "base",
"mimeType": "application/json",
"resource": "https://network-calc.x402tookit.com/subnet-vlsm",
"description": "Split an IPv4 network into equal subnets, or allocate VLSM subnets from host counts (largest first) with ranges and leftovers.",
"outputSchema": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"hosts": "Sales:100,Eng:50,Lab:25,Mgmt:10,WAN:2",
"network": "192.168.1.0/24"
}
},
"output": {
"asOf": "2026-10-11T14:45:32.356Z",
"fits": true,
"mode": "vlsm",
"source": "RFC 4632 CIDR and RFC 3021 /31 arithmetic, computed locally",
"network": "192.168.1.0/24",
"reasons": [
"Subnets are placed largest first, each aligned on its own boundary, so no space is lost to misalignment.",
"Each subnet is the smallest power of two holding the hosts plus network and broadcast addresses (a /31 point-to-point link has no broadcast, RFC 3021)."
],
"subnets": [],
"summary": "5 subnets allocated from 192.168.1.0/24, using 244 of 256 addresses (95.31%).",
"verdict": "ALLOCATED",
"degraded": false,
"disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
"freeBlocks": [
{
"cidr": "192.168.1.244/30",
"addresses": 4
},
{
"cidr": "192.168.1.248/29",
"addresses": 8
}
],
"notChecked": [
"whether the space is allocated to you or overlaps existing routes",
"growth: each subnet is sized for exactly the hosts asked for, with no spare room",
"…2 more"
],
"allocations": [
{
"cidr": "192.168.1.0/25",
"name": "Sales",
"prefix": 25,
"netmask": "255.255.255.128",
"network": "192.168.1.0",
"broadcast": "192.168.1.127",
"lastUsable": "192.168.1.126",
"firstUsable": "192.168.1.1",
"usableHosts": 126,
"fitsInParent": true,
"requestedHosts": 100,
"totalAddresses": 128,
"wastedAddresses": 26
},
{
"cidr": "192.168.1.128/26",
"name": "Eng",
"prefix": 26,
"netmask": "255.255.255.192",
"network": "192.168.1.128",
"broadcast": "192.168.1.191",
"lastUsable": "192.168.1.190",
"firstUsable": "192.168.1.129",
"usableHosts": 62,
"fitsInParent": true,
"requestedHosts": 50,
"totalAddresses": 64,
"wastedAddresses": 12
}
],
"subnetCount": 5,
"subnetPrefix": null,
"usedAddresses": 244,
"totalAddresses": 256,
"addressesPerSubnet": null,
"utilizationPercent": 95.3125,
"usableHostsPerSubnet": null
}
},
"maxAmountRequired": "20000",
"maxTimeoutSeconds": 300
},
{
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"feePayer": "BFK9TLC3edb13K6v4YyH3DwPb5DSUpkWvb7XnqCL9b4F"
},
"payTo": "DUPiupXtuox38dcGoXUKer5mAydCzmaHjrbQ66qeEm8s",
"scheme": "exact",
"network": "solana",
"mimeType": "application/json",
"resource": "https://network-calc.x402tookit.com/subnet-vlsm",
"description": "Split an IPv4 network into equal subnets, or allocate VLSM subnets from host counts (largest first) with ranges and leftovers.",
"outputSchema": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"hosts": "Sales:100,Eng:50,Lab:25,Mgmt:10,WAN:2",
"network": "192.168.1.0/24"
}
},
"output": {
"asOf": "2026-10-11T14:45:32.356Z",
"fits": true,
"mode": "vlsm",
"source": "RFC 4632 CIDR and RFC 3021 /31 arithmetic, computed locally",
"network": "192.168.1.0/24",
"reasons": [
"Subnets are placed largest first, each aligned on its own boundary, so no space is lost to misalignment.",
"Each subnet is the smallest power of two holding the hosts plus network and broadcast addresses (a /31 point-to-point link has no broadcast, RFC 3021)."
],
"subnets": [],
"summary": "5 subnets allocated from 192.168.1.0/24, using 244 of 256 addresses (95.31%).",
"verdict": "ALLOCATED",
"degraded": false,
"disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
"freeBlocks": [
{
"cidr": "192.168.1.244/30",
"addresses": 4
},
{
"cidr": "192.168.1.248/29",
"addresses": 8
}
],
"notChecked": [
"whether the space is allocated to you or overlaps existing routes",
"growth: each subnet is sized for exactly the hosts asked for, with no spare room",
"…2 more"
],
"allocations": [
{
"cidr": "192.168.1.0/25",
"name": "Sales",
"prefix": 25,
"netmask": "255.255.255.128",
"network": "192.168.1.0",
"broadcast": "192.168.1.127",
"lastUsable": "192.168.1.126",
"firstUsable": "192.168.1.1",
"usableHosts": 126,
"fitsInParent": true,
"requestedHosts": 100,
"totalAddresses": 128,
"wastedAddresses": 26
},
{
"cidr": "192.168.1.128/26",
"name": "Eng",
"prefix": 26,
"netmask": "255.255.255.192",
"network": "192.168.1.128",
"broadcast": "192.168.1.191",
"lastUsable": "192.168.1.190",
"firstUsable": "192.168.1.129",
"usableHosts": 62,
"fitsInParent": true,
"requestedHosts": 50,
"totalAddresses": 64,
"wastedAddresses": 12
}
],
"subnetCount": 5,
"subnetPrefix": null,
"usedAddresses": 244,
"totalAddresses": 256,
"addressesPerSubnet": null,
"utilizationPercent": 95.3125,
"usableHostsPerSubnet": null
}
},
"maxAmountRequired": "20000",
"maxTimeoutSeconds": 300
},
{
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"scheme": "exact",
"network": "polygon",
"mimeType": "application/json",
"resource": "https://network-calc.x402tookit.com/subnet-vlsm",
"description": "Split an IPv4 network into equal subnets, or allocate VLSM subnets from host counts (largest first) with ranges and leftovers.",
"outputSchema": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"hosts": "Sales:100,Eng:50,Lab:25,Mgmt:10,WAN:2",
"network": "192.168.1.0/24"
}
},
"output": {
"asOf": "2026-10-11T14:45:32.356Z",
"fits": true,
"mode": "vlsm",
"source": "RFC 4632 CIDR and RFC 3021 /31 arithmetic, computed locally",
"network": "192.168.1.0/24",
"reasons": [
"Subnets are placed largest first, each aligned on its own boundary, so no space is lost to misalignment.",
"Each subnet is the smallest power of two holding the hosts plus network and broadcast addresses (a /31 point-to-point link has no broadcast, RFC 3021)."
],
"subnets": [],
"summary": "5 subnets allocated from 192.168.1.0/24, using 244 of 256 addresses (95.31%).",
"verdict": "ALLOCATED",
"degraded": false,
"disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
"freeBlocks": [
{
"cidr": "192.168.1.244/30",
"addresses": 4
},
{
"cidr": "192.168.1.248/29",
"addresses": 8
}
],
"notChecked": [
"whether the space is allocated to you or overlaps existing routes",
"growth: each subnet is sized for exactly the hosts asked for, with no spare room",
"…2 more"
],
"allocations": [
{
"cidr": "192.168.1.0/25",
"name": "Sales",
"prefix": 25,
"netmask": "255.255.255.128",
"network": "192.168.1.0",
"broadcast": "192.168.1.127",
"lastUsable": "192.168.1.126",
"firstUsable": "192.168.1.1",
"usableHosts": 126,
"fitsInParent": true,
"requestedHosts": 100,
"totalAddresses": 128,
"wastedAddresses": 26
},
{
"cidr": "192.168.1.128/26",
"name": "Eng",
"prefix": 26,
"netmask": "255.255.255.192",
"network": "192.168.1.128",
"broadcast": "192.168.1.191",
"lastUsable": "192.168.1.190",
"firstUsable": "192.168.1.129",
"usableHosts": 62,
"fitsInParent": true,
"requestedHosts": 50,
"totalAddresses": 64,
"wastedAddresses": 12
}
],
"subnetCount": 5,
"subnetPrefix": null,
"usedAddresses": 244,
"totalAddresses": 256,
"addressesPerSubnet": null,
"utilizationPercent": 95.3125,
"usableHostsPerSubnet": null
}
},
"maxAmountRequired": "20000",
"maxTimeoutSeconds": 300
}
],
"x402Version": 1,
"alsoAvailable": {
"llms": "https://network-calc.x402tookit.com/llms.txt",
"catalog": "https://network-calc.x402tookit.com/catalog",
"message": "Network Calc has 12 pay-per-call endpoints (Network engineering maths for agents: subnetting, IPv6 formats, CIDR aggregation, bandwidth, TCP windows, MTU and VoIP.), from $0.02 a call. See the full menu and send your agents our way.",
"openapi": "https://network-calc.x402tookit.com/openapi.json",
"related": [
{
"url": "https://network-calc.x402tookit.com/cidr-compare",
"path": "/cidr-compare",
"what": "Compare two IPv4 or IPv6 CIDR blocks: equal, contains, contained, adjacent or disjoint, t…",
"price": "$0.02"
},
{
"url": "https://network-calc.x402tookit.com/cidr-ipv6",
"path": "/cidr-ipv6",
"what": "IPv6 prefix calculator: first and last address, size, number of /64s, the nth subnet, add…",
"price": "$0.02"
},
{
"url": "https://network-calc.x402tookit.com/cidr-aggregate",
"path": "/cidr-aggregate",
"what": "Summarise IPv4 or IPv6 CIDR blocks into the minimal set (merging adjacent and overlapping…",
"price": "$0.02"
}
]
}
}Accepts
The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.
Pay 0.02 USDC on Base to 0xb531…2DBDa. The signed payment is good for 5 minutes.
- Paid to
- 0xb531…2DBDa
- USD Coin contract
- 0x8335…02913
- Payment window
- 5 minutes
- As published
- 20000 smallest units
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- DUPiup…eEm8s
- Token contract
- EPjFWd…TDt1v
- Payment window
- 5 minutes
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- 0xb531…2DBDa
- Token contract
- 0x3c49…c3359
- Payment window
- 5 minutes
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- 0xb531…2DBDa
- Token contract
- 0xaf88…e5831
- Payment window
- 5 minutes
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"amount": "20000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 300
},
{
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"feePayer": "D6ZhtNQ5nT9ZnTHUbqXZsTx5MH2rPFiBBggX4hY1WePM"
},
"payTo": "DUPiupXtuox38dcGoXUKer5mAydCzmaHjrbQ66qeEm8s",
"amount": "20000",
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"maxTimeoutSeconds": 300
},
{
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"amount": "20000",
"scheme": "exact",
"network": "eip155:137",
"maxTimeoutSeconds": 300
},
{
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"amount": "20000",
"scheme": "exact",
"network": "eip155:42161",
"maxTimeoutSeconds": 300
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"hosts": "Sales:100,Eng:50,Lab:25,Mgmt:10,WAN:2",
"network": "192.168.1.0/24"
}
},
"output": {
"type": "json",
"example": {
"asOf": "2026-10-11T14:45:32.356Z",
"fits": true,
"mode": "vlsm",
"source": "RFC 4632 CIDR and RFC 3021 /31 arithmetic, computed locally",
"network": "192.168.1.0/24",
"reasons": [
"Subnets are placed largest first, each aligned on its own boundary, so no space is lost to misalignment.",
"Each subnet is the smallest power of two holding the hosts plus network and broadcast addresses (a /31 point-to-point link has no broadcast, RFC 3021)."
],
"subnets": [],
"summary": "5 subnets allocated from 192.168.1.0/24, using 244 of 256 addresses (95.31%).",
"verdict": "ALLOCATED",
"degraded": false,
"disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
"freeBlocks": [
{
"cidr": "192.168.1.244/30",
"addresses": 4
},
{
"cidr": "192.168.1.248/29",
"addresses": 8
}
],
"notChecked": [
"whether the space is allocated to you or overlaps existing routes",
"growth: each subnet is sized for exactly the hosts asked for, with no spare room",
"…2 more"
],
"allocations": [
{
"cidr": "192.168.1.0/25",
"name": "Sales",
"prefix": 25,
"netmask": "255.255.255.128",
"network": "192.168.1.0",
"broadcast": "192.168.1.127",
"lastUsable": "192.168.1.126",
"firstUsable": "192.168.1.1",
"usableHosts": 126,
"fitsInParent": true,
"requestedHosts": 100,
"totalAddresses": 128,
"wastedAddresses": 26
},
{
"cidr": "192.168.1.128/26",
"name": "Eng",
"prefix": 26,
"netmask": "255.255.255.192",
"network": "192.168.1.128",
"broadcast": "192.168.1.191",
"lastUsable": "192.168.1.190",
"firstUsable": "192.168.1.129",
"usableHosts": 62,
"fitsInParent": true,
"requestedHosts": 50,
"totalAddresses": 64,
"wastedAddresses": 12
}
],
"subnetCount": 5,
"subnetPrefix": null,
"usedAddresses": 244,
"totalAddresses": 256,
"addressesPerSubnet": null,
"utilizationPercent": 95.3125,
"usableHostsPerSubnet": null
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method"
],
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"type": "object",
"required": [
"network"
],
"properties": {
"hosts": {
"type": "string",
"description": "Host requirements, comma separated, optionally named: LAN-A:100,LAN-B:50,WAN:2"
},
"parts": {
"type": "integer",
"description": "Equal split into this many subnets (a power of two, up to 1024)"
},
"network": {
"type": "string",
"description": "IPv4 CIDR to divide, for example 192.168.1.0/24"
},
"newPrefix": {
"type": "integer",
"description": "Equal split into subnets of this prefix length"
},
"pointToPoint": {
"type": "string",
"description": "true: give 2-host links a /31 (RFC 3021) instead of a /30"
}
}
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object",
"properties": {
"asOf": {
"type": [
"null",
"string"
]
},
"fits": {
"type": [
"boolean",
"null"
]
},
"mode": {
"type": [
"null",
"string"
]
},
"source": {
"type": [
"null",
"string"
]
},
"network": {
"type": [
"null",
"string"
]
},
"reasons": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"subnets": {
"type": [
"array",
"null"
]
},
"summary": {
"type": [
"null",
"string"
]
},
"verdict": {
"type": [
"null",
"string"
]
},
"degraded": {
"type": [
"boolean",
"null"
]
},
"disclaimer": {
"type": [
"null",
"string"
]
},
"freeBlocks": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"properties": {
"cidr": {
"type": [
"null",
"string"
]
},
"addresses": {
"type": [
"null",
"number"
]
}
}
}
},
"notChecked": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"allocations": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"properties": {
"cidr": {
"type": [
"null",
"string"
]
},
"name": {
"type": [
"null",
"string"
]
},
"prefix": {
"type": [
"null",
"number"
]
},
"netmask": {
"type": [
"null",
"string"
]
},
"network": {
"type": [
"null",
"string"
]
},
"broadcast": {
"type": [
"null",
"string"
]
},
"lastUsable": {
"type": [
"null",
"string"
]
},
"firstUsable": {
"type": [
"null",
"string"
]
},
"usableHosts": {
"type": [
"null",
"number"
]
},
"fitsInParent": {
"type": [
"boolean",
"null"
]
},
"requestedHosts": {
"type": [
"null",
"number"
]
},
"totalAddresses": {
"type": [
"null",
"number"
]
},
"wastedAddresses": {
"type": [
"null",
"number"
]
}
}
}
},
"subnetCount": {
"type": [
"null",
"number"
]
},
"subnetPrefix": {},
"usedAddresses": {
"type": [
"null",
"number"
]
},
"totalAddresses": {
"type": [
"null",
"number"
]
},
"addressesPerSubnet": {},
"utilizationPercent": {
"type": [
"null",
"number"
]
},
"usableHostsPerSubnet": {}
}
}
}
}
}
}
}
}Provenance
- Seen in the source catalog
- 2026-10-20 20:04Z
- Last indexed by Roundhouse
- 2026-10-22 19:30Z
- Last enriched (probe, favicon, geo)
- 2026-10-20 21:15Z
- x402 version
- 2
- Max timeout
- 300s
- Liveness probe
- HTTP 402
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 4 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service Network Calc and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=Network%20Calc' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://network-calc.x402tookit.com/subnet-vlsm, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.