Paste a URL below to verify if it resolves or is broken.
Pass any target URL as a ?url= query parameter (GET) or inside a JSON body (POST):
const res = await fetch("https://2bornot2b.alphatorro.com/?url=" + encodeURIComponent("https://example.com"));
const data = await res.json();
if (data.broken) {
console.log("Link is broken:", data.statusText);
} else {
console.log("Link works! Status:", data.status);
}
import requests
res = requests.get("https://2bornot2b.alphatorro.com/", params={"url": "https://example.com"})
data = res.json()
print("Broken?", data["broken"], "| Status:", data["status"])
curl -s "https://2bornot2b.alphatorro.com/?url=https://example.com"
The API returns a predictable JSON object. Check the broken boolean (true for 4xx/5xx/timeouts, false for valid 2xx/3xx links):
{
"url": "https://example.com/missing",
"broken": true,
"status": 404,
"statusText": "Not Found",
"redirected": false,
"finalUrl": "https://example.com/missing"
}
The worker automatically follows redirects (returning the destination in finalUrl), falls back from HEAD to GET if a site blocks bot headers, and times out cleanly after 8 seconds.