Website and HTTP

HTTP check API

Load any URL from selectable Tier-1 data-centre probes around the world to inspect HTTP status codes, server IPs, cache hits, and phase-by-phase timing. Switch between GET/HEAD and test as Chrome, iPhone, or Googlebot to see exact latency and headers per region.

POSTapi.middle.network/v1/tools/http
3 units a callRuns worldwideNot open to API keys yet
This tool sends traffic at the target, so API keys get 403 for now. It works free on the HTTP check page.

Request body

Send JSON: { "input": { … } } with these fields. Fields not listed are ignored.

  • urlstringrequired
    The page to fetch. A bare domain gets https:// in front.
    Up to 2,048 characters
  • methodstringoptional
    HTTP method.
    One of: GET, HEAD · Default "GET"
  • uastringoptional
    Which browser to pretend to be.
    One of: default, chrome, iphone, googlebot · Default "default"
  • 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

The same result shape every tool uses. status is the worst finding, summary and each finding come in plain and tech, and data holds the raw HTTP check detail. Send Accept: text/event-stream to get each location’s answer as it arrives.

  • 200The test ran. RateLimit headers show what’s left today.
  • 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 -X POST https://api.middle.network/v1/tools/http \
  -H "Authorization: Bearer $MN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"https://github.com"}}'
const res = await fetch("https://api.middle.network/v1/tools/http", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MN_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"input":{"url":"https://github.com"}}),
});
const result = await res.json();
console.log(result.status, result.summary.plain);
import os, requests

res = requests.post("https://api.middle.network/v1/tools/http",
    headers={"Authorization": f"Bearer {os.environ['MN_API_KEY']}"},
    json={"input":{"url":"https://github.com"}})
result = res.json()
print(result["status"], result["summary"]["plain"])
200 response
{
  "tool": "http",
  "target": "https://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: Redirect tracer, Security headers, Malicious website checker, Is it down?.

Try it without code

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

Open the HTTP check