Skip to content
NETWORK TOOLS

Docs / API

API documentation

The same lookups as the website, as JSON over HTTPS. Create a key in your dashboard under API, then call any endpoint below.

Authentication

Send your key in the Authorization header. X-API-Key also works.

curl -H "Authorization: Bearer ntk_YOUR_KEY" \
  "https://thenetworktools.com/api/v1/records?domain=example.com"

Limits and errors

Endpoints

All are GET https://thenetworktools.com/api/v1/<tool>. The response shape is each tool's own JSON, the same as the website shows.

/api/v1/records?domain=Mail records: SPF, DKIM, DMARC and MX in one call
https://thenetworktools.com/api/v1/records?domain=example.com
/api/v1/mx?domain=Mail servers and priorities
https://thenetworktools.com/api/v1/mx?domain=example.com
/api/v1/dmarc?query=DMARC policy lookup and validation
https://thenetworktools.com/api/v1/dmarc?query=example.com
/api/v1/deliverability?domain=SPF, DKIM and DMARC readiness
https://thenetworktools.com/api/v1/deliverability?domain=example.com
/api/v1/bimi?domain=BIMI record and logo checks
https://thenetworktools.com/api/v1/bimi?domain=example.com
/api/v1/spf-flatten?domain=Flatten SPF includes under the 10-lookup limit
https://thenetworktools.com/api/v1/spf-flatten?domain=example.com
/api/v1/whois?query=Registrar, dates and name servers
https://thenetworktools.com/api/v1/whois?query=example.com
/api/v1/subdomains?query=Subdomains found for a domain
https://thenetworktools.com/api/v1/subdomains?query=example.com
/api/v1/ssl?query=Certificate chain, expiry and issuer
https://thenetworktools.com/api/v1/ssl?query=example.com
/api/v1/headers?query=HTTP security headers
https://thenetworktools.com/api/v1/headers?query=https%3A%2F%2Fexample.com
/api/v1/tech?query=Technology stack detection
https://thenetworktools.com/api/v1/tech?query=example.com
/api/v1/redirects?query=Redirect chain
https://thenetworktools.com/api/v1/redirects?query=http%3A%2F%2Fexample.com
/api/v1/ports?query=Common web ports, open or filtered
https://thenetworktools.com/api/v1/ports?query=example.com
/api/v1/latency?domain=TCP connect time, 5 handshakes from our edge
https://thenetworktools.com/api/v1/latency?domain=example.com&port=443

port: One of 21, 22, 25, 53, 80, 110, 143, 443, 465, 587, 993, 995, 3306, 5432, 8080, 8443. Default 443.

/api/v1/blacklist?query=IP or domain on DNS blocklists
https://thenetworktools.com/api/v1/blacklist?query=8.8.8.8
/api/v1/ip?query=IP details and reverse DNS
https://thenetworktools.com/api/v1/ip?query=8.8.8.8
/api/v1/asn?query=Autonomous system and ISP
https://thenetworktools.com/api/v1/asn?query=AS15169
/api/v1/mac?query=Vendor lookup for a MAC address
https://thenetworktools.com/api/v1/mac?query=00%3A1A%3A2B%3A3C%3A4D%3A5E
/api/v1/phishing?url=Phishing signals for a URL
https://thenetworktools.com/api/v1/phishing?url=https%3A%2F%2Fexample.com
/api/v1/breach?domain=Known breaches for a domain or email (query also works)
https://thenetworktools.com/api/v1/breach?domain=example.com

CI gate

GET /api/v1/ci returns 200 when the domain passes and 422 when a check fails, so curl --fail stops a pipeline.

curl --fail -H "Authorization: Bearer $NTK_KEY" \
  "https://thenetworktools.com/api/v1/ci?domain=example.com&min_ssl_days=14&require=A,MX"