# Audit a documentation site

**Use case:** 

Documentation sites generate pages from templates, so a single bad template shows up as the same defect on hundreds of URLs. Crawling twenty pages is usually enough to see whether that is happening before paying to crawl the rest.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://docs.python.org/3/"
    }
  ],
  "maxPages": 20,
  "respectRobots": true,
  "timeoutSecs": 20,
  "maxRetries": 3
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "string"
  },
  "httpStatus": {
    "label": "Status",
    "format": "integer"
  },
  "analyzed": {
    "label": "Analysed",
    "format": "boolean"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "titleLength": {
    "label": "Title length",
    "format": "integer"
  },
  "metaDescription": {
    "label": "Meta description",
    "format": "string"
  },
  "canonical": {
    "label": "Canonical",
    "format": "string"
  },
  "canonicalIsSelf": {
    "label": "Canonical is self",
    "format": "boolean"
  },
  "noindex": {
    "label": "Noindex",
    "format": "boolean"
  },
  "h1Count": {
    "label": "H1 count",
    "format": "integer"
  },
  "imagesMissingAltAttr": {
    "label": "Images without alt",
    "format": "integer"
  },
  "internalLinks": {
    "label": "Internal links",
    "format": "integer"
  },
  "externalLinks": {
    "label": "External links",
    "format": "integer"
  },
  "jsonLdTypes": {
    "label": "JSON-LD types",
    "format": "array"
  },
  "lang": {
    "label": "Lang",
    "format": "string"
  },
  "wordCount": {
    "label": "Words",
    "format": "integer"
  },
  "redirectCount": {
    "label": "Redirects",
    "format": "integer"
  },
  "responseMs": {
    "label": "Response (ms)",
    "format": "integer"
  },
  "htmlBytes": {
    "label": "HTML bytes",
    "format": "integer"
  },
  "issueCount": {
    "label": "Issues",
    "format": "integer"
  },
  "blockingIssueCount": {
    "label": "Blocking issues",
    "format": "integer"
  },
  "reason": {
    "label": "Reason",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Technical SEO Audit Crawler - Site, Meta, Canonical, H1, Robots](https://apify.com/neverempty/seo-site-audit.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/neverempty/seo-site-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/neverempty/seo-site-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`).
