// live endpoints
GET /api/ip
Caller IP (IPv4 / IPv6), geolocation, ASN, HTTP headers.
curl https://myconf.it/api/ip
curl -H 'Accept: text/markdown' https://myconf.it/api/ip
curl https://myconf.it/api/ip.md
Use case: replace ifconfig.me / icanhazip with a tool that gives you geo + headers in one shot.
GET /api/subnet?ip=<ipv4>&cidr=<0-32>
Full IPv4 subnet calculation: network, broadcast, hosts, masks, binary, class, type.
curl 'https://myconf.it/api/subnet?ip=192.168.1.0&cidr=24'
curl 'https://myconf.it/api/subnet?ip=10.0.0.0&mask=255.255.255.224'
curl 'https://myconf.it/api/subnet.md?ip=172.16.0.0&cidr=20'
Accepts cidr (0–32) or mask (dotted decimal).
Response envelope
All endpoints return a uniform JSON envelope so agents and LLMs can parse responses
without knowing the specifics of each tool. The explanation field is a
human-readable summary intended for LLMs that need to translate the result for an end user.
{
"tool": "subnet-calculator",
"version": "1.0",
"input": { "ip": "192.168.1.0", "cidr": 24 },
"result": { "network": "192.168.1.0", "...": "..." },
"explanation": "192.168.1.0/24 belongs to network 192.168.1.0 ...",
"generated_at": "2026-05-16T06:00:00.000Z"
}
CORS, auth, rate limits
All endpoints respond with Access-Control-Allow-Origin: * and require no
authentication. They are safe to call from browsers, server-side agents and LLM tool
calls. Reasonable use is welcome; abusive traffic is rate-limited at the edge by
Cloudflare. Premium endpoints (geo lookup for arbitrary IPs, deliverability checks)
will require a free account.
Machine-readable site map
For LLMs and agents that want to discover the surface programmatically, see
/llms.txt.
Tool pages also expose Markdown variants via ?format=md.