# Broken link checker for 25 pages

**Use case:** 

Crawl up to 25 pages of a site and check every link on them. Only 404, 410, dead domains and refused connections count as broken; blocked or slow links are listed separately as unverified, so you do not chase false alarms.

## Input

```json
{
  "startUrls": [
    "https://www.python.org"
  ],
  "maxPagesPerSite": 25,
  "maxCrawlDepth": 5,
  "includeSubdomains": false,
  "checkBrokenLinks": true,
  "maxLinksToCheck": 300,
  "checkExternalLinks": true,
  "includeAiCrawlerChecks": true,
  "maxConcurrency": 10,
  "maxSecondsPerSite": 120,
  "trackChanges": true,
  "historyStoreName": "site-audit-history",
  "useApifyProxy": false
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "score": {
    "label": "Score",
    "format": "integer"
  },
  "scoreBand": {
    "label": "Score band",
    "format": "string"
  },
  "scoreDelta": {
    "label": "Score change",
    "format": "integer"
  },
  "newIssuesCount": {
    "label": "New issues",
    "format": "integer"
  },
  "highIssues": {
    "label": "High issues",
    "format": "integer"
  },
  "mediumIssues": {
    "label": "Medium issues",
    "format": "integer"
  },
  "lowIssues": {
    "label": "Low issues",
    "format": "integer"
  },
  "aiBotsBlocked": {
    "label": "AI bots blocked",
    "format": "integer"
  },
  "llmsTxt": {
    "label": "llms.txt present",
    "format": "boolean"
  },
  "brokenLinks": {
    "label": "Broken links",
    "format": "integer"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The SEO Audit & Broken Link Checker with llms.txt Generator Actor is ready to run with the inputs already set for "Broken link checker for 25 pages". [Sign up or log in](https://console.apify.com/create-task-from-example/DjgVC21M65WtaDeuI) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Broken link checker for 25 pages" task

The SEO Audit & Broken Link Checker with llms.txt Generator Actor will start running based on the input automatically. You can also change all the input fields, like websites to audit, max pages per site, and more, to match your specific use case.

### 3. Receive the "Broken link checker for 25 pages" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as URL, status, score, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Broken link checker for 25 pages" task via API](https://apify.com/bigkerm/website-health-ai-readiness-audit.md).

## FAQ

### Does it run JavaScript?

No. It reads the HTML the server returns, which keeps it fast and cheap. Links added only by JavaScript are not seen.

### Does it respect robots.txt?

Yes. Pages disallowed for its user agent are not crawled.

## About this Actor

This example demonstrates how to use [SEO Audit & Broken Link Checker with llms.txt Generator](https://apify.com/bigkerm/website-health-ai-readiness-audit.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/bigkerm/website-health-ai-readiness-audit.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/bigkerm/website-health-ai-readiness-audit.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
