Start here: full reports

Health check API

Run 30+ live checks across DNS, email, web, TLS, network, and ownership in one pass, ranked by impact with copy-ready fixes. Checks execute in parallel from our global Tier-1 data-centre probes with automatic failover, stream in live, and save to a noise-filtered change timeline.

GETapi.middle.network/v1/health
15 units a callLive lookupNot open to API keys yet
This tool sends traffic at the target, so API keys get 403 for now. It works free on the Health check page.

Query parameters

Lists are comma-separated. The answer streams as server-sent events.

  • domainstringrequired
    A domain name, such as example.com. A URL is accepted and its host name is used.
    Up to 253 characters
  • sectionslist of stringsoptional
    Only these parts of the check. Leave out for the full check.
    One of: dns, email, web, tls, network, ownership
  • regionslist of stringsoptional
    Probe locations to test from: ids or cities from GET /api/probes, or ["all"]. Leave out for the default set.
    Up to 64 items

Response

Server-sent events: one result per check (each shaped like the example), then done.

  • 200The checks ran. Results stream as events.
  • 400The input broke the schema, or the target is not valid (with suggestions when it looks like a typo).
  • 401No API key, or the key is not valid or was revoked.
  • 403The tool sends traffic at the target and isn’t open to API keys yet (activeTool), or the target’s owner has asked not to be tested (optedOut).
  • 429Too many checks: per minute, per day, or at the same target.
Request
curl -N "https://api.middle.network/v1/health?domain=github.com" \
  -H "Authorization: Bearer $MN_API_KEY"
const res = await fetch("https://api.middle.network/v1/health?domain=github.com", {
  headers: { Authorization: `Bearer ${process.env.MN_API_KEY}` },
});
// Server-sent events: read res.body as a stream, one "event:" per check.
import os, requests

res = requests.get("https://api.middle.network/v1/health?domain=github.com",
    headers={"Authorization": f"Bearer {os.environ['MN_API_KEY']}"}, stream=True)
for line in res.iter_lines():
    print(line.decode())
200 response
{
  "tool": "health-check",
  "target": "github.com",
  "status": "pass",
  "summary": {
    "tech": "…",
    "plain": "…"
  },
  "findings": [
    {
      "level": "pass",
      "tech": "…",
      "plain": "…"
    }
  ],
  "data": {},
  "ms": 420,
  "at": "2026-01-01T00:00:00.000Z"
}

Put your key in MN_API_KEY. No key yet? Here’s how to get one. More in this group: Domain email score, Domain report.

Try it without code

The same test runs free in your browser, no key needed.

Open the Health check