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.
api.middle.network/v1/tools/bulk-redirectsRequest 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.
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.
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.plainconst 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/"
}
}/api route for free. With a key, calls /v1 directly and shows live X-MN-Cost and RateLimit headers. Stays in memory for this tab only.{
"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.