Skip to main content
Website and HTTP

Bulk redirect checker API

Verify bulk URLs, site-migration redirect maps (old -> new), or all four canonical host variants (http/https x apex/www) in one fast batch. Check up to 10 URLs signed out, sign in free for 25 URLs per run, or unlock up to 100-250 URLs per run with a one-off 24-hour pass or a monthly Pro/Team plan.

POSTapi.middle.network/v1/tools/bulk-redirects
8 units a callLive lookupLive target probe

Request builder & body

Send JSON: { "input": { … } } with these fields. Fields not listed are ignored. Edit or toggle options below to build your exact query live across every language.

1 field active
  • stringrequired
    URLs or domains (one per line), or migration pairs like "https://old.example/a -> https://new.example/b". Up to 10 signed out, 25 free account, or up to 100-250 with a one-off pass or Pro/Team plan.
    Up to 131,072 characters · Example "http://github.com\nhttps://www.github.com"
  • booleanoptional
    Expand each bare domain into all 4 canonical variants (http/https x apex/www) to verify they collapse cleanly in one hop.
    Default false

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 Bulk redirect checker detail.

  • 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 target’s owner has asked not to be tested (optedOut), or active tools are disabled on this server (activeTool).
  • 429Too many checks: per minute, per day, or at the same target.
  • 503The server is at its concurrent-run limit. Try again in a few seconds.
Request
curl -X POST https://api.middle.network/v1/tools/bulk-redirects \
  -H "Authorization: Bearer $MN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"text":"http://github.com -> https://github.com/\nhttps://www.github.com -> https://github.com/"}}'
$result = Invoke-RestMethod -Method Post `
  -Uri "https://api.middle.network/v1/tools/bulk-redirects" `
  -Headers @{ Authorization = "Bearer $env:MN_API_KEY" } `
  -ContentType "application/json" `
  -Body '{"input":{"text":"http://github.com -> https://github.com/\nhttps://www.github.com -> https://github.com/"}}'
$result.status; $result.summary.plain
const res = await fetch("https://api.middle.network/v1/tools/bulk-redirects", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MN_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"input":{"text":"http://github.com -> https://github.com/\nhttps://www.github.com -> 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/bulk-redirects",
    headers={"Authorization": f"Bearer {os.environ['MN_API_KEY']}"},
    json={"input": {"text": "http://github.com -> https://github.com/\nhttps://www.github.com -> https://github.com/"}})
result = res.json()
print(result["status"], result["summary"]["plain"])
body := bytes.NewBufferString("{\"input\":{\"text\":\"http://github.com -> https://github.com/\\nhttps://www.github.com -> https://github.com/\"}}")
req, _ := http.NewRequest("POST", "https://api.middle.network/v1/tools/bulk-redirects", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("MN_API_KEY"))
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
io.Copy(os.Stdout, res.Body)
using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MN_API_KEY"));
using var content = new StringContent("{\"input\":{\"text\":\"http://github.com -> https://github.com/\\nhttps://www.github.com -> https://github.com/\"}}", Encoding.UTF8, "application/json");
var res = await http.PostAsync("https://api.middle.network/v1/tools/bulk-redirects", content);
Console.WriteLine(await res.Content.ReadAsStringAsync());
{
  "input": {
    "text": "http://github.com -> https://github.com/\nhttps://www.github.com -> https://github.com/"
  }
}
Insomnia
200 sample
{
  "tool": "bulk-redirects",
  "target": "http://github.com -> https://github.com/\nhttps://www.github.com -> 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. Need all 79 endpoints? Download the full Postman collection. More in this group: HTTP check, Redirect tracer, Security headers, Malicious website checker.

Try it without code

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

Open the Bulk redirect checker