~/ curl https://myconf.it/api

myconf.it API

Public, no-auth JSON endpoints for the free tools on myconf.it. Designed for shell scripts, monitoring jobs, LLM agents and anything that prefers structured output to scraping HTML.

// 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).

GET /api/subnet6?ip=<ipv6>&prefix=<0-128>

IPv6 prefix calculation: network, last address, address count, /64 subnets, type, compressed & expanded forms.

curl 'https://myconf.it/api/subnet6?ip=2001:db8::1&prefix=64'
curl 'https://myconf.it/api/subnet6?ip=fe80::1&prefix=10'
curl 'https://myconf.it/api/subnet6.md?ip=2001:db8::/32&prefix=48'

Handles :: compression and embedded IPv4. 128-bit math.

GET /api/headers?url=<url>

HTTP response headers of any public URL: redirect chain (max 5 hops), status and full header list per hop. Fetches headers only — never the body.

curl 'https://myconf.it/api/headers?url=example.com'
curl 'https://myconf.it/api/headers.md?url=https://example.com/path'

http/https only, standard ports, private hosts rejected. Browser UI with security-headers grading at /http-header-checker.

GET /api/geo?ip=<ipv4|ipv6>

Geolocation for an arbitrary IP: city, region, country, ASN, timezone, coordinates.

curl --cookie "$SESSION" 'https://myconf.it/api/geo?ip=8.8.8.8'

Registered-user endpoint: requires a signed-in Westart session cookie (free account). Sign in from /ip-geolocation, which is the browser UI for this endpoint. Unauthenticated calls return 401 with a login URL.

// planned

GET /api/email?domain=<domain>

SPF / DKIM / DMARC / blacklist report as JSON. Registered users. In the meantime, the interactive email deliverability checker is live.

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

The core endpoints (/api/ip, /api/subnet, /api/subnet6, /api/headers) respond with Access-Control-Allow-Origin: * and require no authentication — safe to call from browsers, server-side agents and LLM tool calls. /api/geo requires a signed-in Westart session (free account) and is rate-limited per user. Reasonable use is welcome; abusive traffic is rate-limited at the edge by Cloudflare.

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.

[info]
Respecting your privacy: We don't track your activity, use advertising networks, or set marketing cookies. Just fast, clean, and free network tools. enjoy!