NetworkCalc
DNS lookups, subnet math, and network tools over JSON
A keyless API covering DNS record lookups, IP and subnet calculations, and related networking utilities. The DNS endpoint returns A, MX, NS, TXT and other records in a single JSON payload. Separate account-only endpoints exist, but the core tools need no auth.
GET https://networkcalc.com/api/dns/lookup/google.com
{
"status": "OK",
"hostname": "google.com",
"records": {
"A": [
{
"address": "142.250.72.14",
"ttl": 7
}
],
"MX": [
{
"exchange": "smtp.google.com",
"priority": 10
}
],
"NS": [
{
"nameserver": "ns1.google.com"
}
]
}
}curl "https://networkcalc.com/api/dns/lookup/google.com"const res = await fetch("https://networkcalc.com/api/dns/lookup/google.com");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://networkcalc.com/api/dns/lookup/google.com")
print(res.json())/dns/lookup/google.comPROBEDDNS lookups, subnet math, and network tools over JSON
/dnsDns — documented GET route.
/dns/1Dns details by ID (example: 1).
/dns?limit=10Dns — documented GET route.
/dns/search?q=testSearch by query parameters.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.
NetworkCalc: common questions
Is NetworkCalc free to use?
Yes — NetworkCalc is a free developer tools API. Free tier: Free public API, no key. Whether the free tier allows commercial use is unclear — check the provider docs.
Does NetworkCalc need an API key?
No — NetworkCalc needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).
Can I call NetworkCalc from the browser?
Yes — NetworkCalc returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.
Is NetworkCalc up right now?
As of our last scheduled check, NetworkCalc is unmonitored. We re-probe it every sweep — the status badge and uptime chart above always show the latest.