# Audit one section of a website

**Use case:** 

Audit only one section of a website by starting at a section URL and staying in that path. This example uses a category page on books.toscrape.com, skips external link checks, and caps the crawl at 25 pages.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://books.toscrape.com/catalogue/category/books/mystery_3/index.html"
    }
  ],
  "maxPagesPerSite": 25,
  "useSitemaps": true,
  "crawlSitemapUrls": true,
  "maxSitemapUrls": 50000,
  "includeUrlPatterns": [
    "/blog/**"
  ],
  "excludeUrlPatterns": [
    "/tag/**",
    "/search*"
  ],
  "includeSubdomains": false,
  "stayInStartPath": true,
  "ignoreQueryParameters": false,
  "respectNofollow": false,
  "checkInternalLinks": true,
  "checkExternalLinks": false,
  "checkResources": true,
  "maxLinkChecksPerSite": 200,
  "siteChecks": true,
  "pageOutput": "all",
  "outputBrokenLinks": true,
  "htmlReport": true,
  "slowResponseMs": 1500,
  "thinContentWords": 200,
  "respectRobotsTxt": true,
  "maxConcurrency": 5,
  "requestTimeoutSecs": 30,
  "maxRetries": 2,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "type": {
    "label": "Row type",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "statusCode": {
    "label": "HTTP status",
    "format": "integer"
  },
  "indexable": {
    "label": "Indexable",
    "format": "boolean"
  },
  "score": {
    "label": "Page or site score",
    "format": "number"
  },
  "errors": {
    "label": "Error count",
    "format": "integer"
  },
  "warnings": {
    "label": "Warning count",
    "format": "integer"
  },
  "notices": {
    "label": "Notice count",
    "format": "integer"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "titleLength": {
    "label": "Title length",
    "format": "integer"
  },
  "metaDescriptionLength": {
    "label": "Meta description length",
    "format": "integer"
  },
  "h1Count": {
    "label": "H1 count",
    "format": "integer"
  },
  "wordCount": {
    "label": "Word count",
    "format": "integer"
  },
  "depth": {
    "label": "Click depth",
    "format": "integer"
  },
  "inlinks": {
    "label": "Inlinks",
    "format": "integer"
  },
  "inSitemap": {
    "label": "In sitemap",
    "format": "boolean"
  },
  "canonical": {
    "label": "Canonical URL",
    "format": "string"
  },
  "responseTimeMs": {
    "label": "Response time (ms)",
    "format": "integer"
  },
  "site": {
    "label": "Site",
    "format": "string"
  }
}
```

## How it works

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

The SEO Audit Crawler: Broken Links, Duplicates & Site Health Actor is ready to run with the inputs already set for "Audit one section of a website". [Sign up or log in](https://console.apify.com/create-task-from-example/bibs27aBOHijsaf3u) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Audit one section of a website" task

The SEO Audit Crawler: Broken Links, Duplicates & Site Health 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 "Audit one section of a website" 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 row type, URL, HTTP status, 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 "Audit one section of a website" task via API](https://apify.com/steadyutil/seo-audit-crawler.md).

## FAQ

### How do I stay inside one section?

Turn on Stay in start path and start at a section URL, for example a category or blog path. This example also skips external link checks.

### What does it cost?

Each page audited is $8 per 1,000, and each extra link checked is $0.20 per 1,000. Higher Apify plans have lower prices. Set Max pages per site to cap the run.

## About this Actor

This example demonstrates how to use [SEO Audit Crawler: Broken Links, Duplicates & Site Health](https://apify.com/steadyutil/seo-audit-crawler.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/steadyutil/seo-audit-crawler.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/steadyutil/seo-audit-crawler.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`).
