$0.005
per call · USD Coin on Base
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}.
Endpoint
GET https://netintel.dev/subnet/calc3
Calls / 30d
2
Unique payers / 30d
Sep 4
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://netintel.dev/subnet/calc", {
method: "GET",
});
const data = await res.json();curl -X GET \
"https://netintel.dev/subnet/calc?cidr=10.0.1.0%2F24" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"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"
}Payment details
0xdadc335482ad545296fd7b28518a251ffcbeb9dfUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Developer Tools and the homepage with a featured placement.
More from NetIntel & similar services
NetIntel · WEB Extract
netintel.dev
Extract article / main content from any URL or PDF to clean, LLM-ready Markdown (web scraper / reader / html-to-markdown) — strips scripts, nav, ads, and boilerplate while preserving headings, links, lists, tables, code blocks, and blockquotes; extracts the text layer from PDFs. Returns Markdown body, title, word count, and a quality grade. For JS-rendered or bot-walled pages a plain fetch can't read, use /exa/contents.
NetIntel · Openai GPT 4O
netintel.dev
Call OpenAI's gpt-4o via a single pay-per-call x402 endpoint — no OpenAI account or API key needed, pay $0.10 per request in USDC. Standard OpenAI chat.completions shape. EVERY call is bounded by a 16000-token combined input budget (real tokenizer) plus the 48000-char cap; output 2048. Vision: up to 4 https image_url parts (detail low/high/auto). Search terms: OpenAI, gpt-4o, vision, image input, chat completion, LLM, no API key.
NetIntel · Currency Exchange Convert
netintel.dev
Convert any amount between 32 fiat currencies (live European Central Bank rates) and major cryptocurrencies (BTC, ETH, USDC, SOL, ICP, CELO and more, live Coinbase spot rates) — fiat↔fiat, crypto↔fiat, and crypto↔crypto all work. Returns converted amount, exchange rate, inverse rate, rate date, and rate source so agents can price and invoice across fiat and crypto without a paid forex API.