curl "https://scrape.toolkitapi.io/v1/scrape/broken-links?url=https://toolkitapi.io" \
  -H "X-API-Key: YOUR_KEY"
import httpx

resp = httpx.get(
    "https://scrape.toolkitapi.io/v1/scrape/broken-links?url=https://toolkitapi.io",
)
print(resp.json())
const resp = await fetch("https://scrape.toolkitapi.io/v1/scrape/broken-links?url=https://toolkitapi.io", {
});
const data = await resp.json();
console.log(data);
# See curl example
Response 200 OK
{
  "url": "https://toolkitapi.io",
  "broken_links": []
}

Try It Live

Live Demo

Description

Detect broken internal and external links on a page

How to Use

1

1. Send `url` to `/v1/scrape/broken-links`. 2. Review broken link entries and status codes.

About This Tool

Scans page links and reports links returning error or unreachable responses.

Why Use This Tool

Start using Broken Link Checker now

Get your free API key and make your first request in under a minute.