Check one web page for broken links and redirect chains
check_linksFetch ONE public web page and check up to 200 of its links and assets: broken links (4xx/5xx, hosts that don't exist, connection errors, timeouts), redirect chains hop by hop (long chains, loops, https-to-http downgrades), mixed content and links that may just block bots (401/403/429, flagged maybe_bot_blocked). Not a crawler: other pages are not visited. Private/loopback/metadata targets are refused, including names that resolve to them. Takes up to about 45 seconds. Returns counts plus up to 25 problem links. Read-only. Same engine and limits as GET /api/check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | How many links to check, 1-200 (default 200). | |
| url | Yes | Public http(s) page URL, e.g. https://example.com/. A URL without a scheme is treated as https://. | |
| assets | No | Also check images, scripts, stylesheets, iframes and media (default true). false = only <a>/<area> links. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page URL as requested. | |
| summary | Yes | Counts: linksFound, uniqueLinks, checked, ok, redirected, broken, blocked, unchecked, mixedContent, insecureLinks, longChains, redirectLoops, maybeBotBlocked, resolvesPrivate. | |
| version | No | ||
| problems | Yes | Links needing attention (broken first, then blocked, unchecked, redirects with flags such as long_chain or https_downgrade, then other flagged links). At most 25 here; see problems_total. | |
| final_url | No | ||
| page_hops | No | ||
| truncated | Yes | True when not every link on the page was checked (link cap, budget or time limit). | |
| checked_at | No | ||
| page_status | Yes | ||
| page_redirects | No | ||
| problems_total | Yes | ||
| not_checked_count | No | ||
| problems_returned | No | ||
| truncated_reasons | No |