Broken links

GET /api/v1/crawl/{jobId}/broken-links

Every internal link that points to a 4xx/5xx page — and WHICH page contains the broken link, so you can fix it.

Path & query

NameTypeDescription
jobId requiredstringThe crawl job id returned by Start a crawl (POST /api/v1/crawl). Path parameter.

Request

Response

200 · application/json
  1. {
  2. "jobId": "crw_7Hk29fQ",
  3. "startUrl": "https://example.com",
  4. "host": "example.com",
  5. "status": "done",
  6. "maxPages": 50,
  7. "createdAt": "2026-06-02T13:24:49.414Z",
  8. "finishedAt": "2026-06-02T13:24:52.055Z",
  9. "brokenCount": 1,
  10. "items": [
  11. { "fromPage": "https://example.com/blog", "brokenUrl": "https://example.com/missing", "anchor": "see this", "statusCode": 404 }
  12. ]
  13. }

Response fields

FieldTypeDescription
brokenCountnumberNumber of broken internal links found.
items[].fromPagestringThe page containing the broken link.
items[].brokenUrlstringThe dead target the link points to.
items[].anchorstringThe link text (anchor) used.
items[].statusCodenumberHTTP status returned by the broken target (4xx/5xx).

See Errors for status codes.