# Check Noindex and Canonical Tags Across a Site

**Use case:** 

Crawl a site's source HTML and list every page's meta robots, X-Robots-Tag and canonical. Run it again after each deploy: new noindex tags and canonical changes are flagged, with a pass/warn/fail gate for CI.

## Input

```json
{
  "startUrl": "https://crawler-test.com/",
  "maxPages": 60,
  "timeoutSecs": 15,
  "maxResponseBytes": 2000000,
  "maxSitemaps": 30,
  "maxConcurrency": 5,
  "requestDelayMillis": 0,
  "maxDurationSecs": 1800,
  "respectRobots": true,
  "includeSitemaps": true,
  "checkRootRedirects": true,
  "failOn": [
    "critical",
    "high"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "url": {
    "label": "Page URL",
    "format": "string"
  },
  "finalUrl": {
    "label": "Final URL",
    "format": "string"
  },
  "status": {
    "label": "HTTP status",
    "format": "integer"
  },
  "title": {
    "label": "Page title",
    "format": "string"
  },
  "canonical": {
    "label": "Canonical URL",
    "format": "string"
  },
  "noindex": {
    "label": "Noindex",
    "format": "boolean"
  },
  "inSitemap": {
    "label": "In sitemap",
    "format": "boolean"
  },
  "internalLinksInCount": {
    "label": "Incoming links",
    "format": "integer"
  },
  "issues": {
    "label": "SEO issues",
    "format": "array"
  },
  "change": {
    "label": "Baseline changes",
    "format": "array"
  }
}
```

## How it works

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

The SEO Deploy Guard: Catch SEO Regressions After Deploys Actor is ready to run with the inputs already set for "Check Noindex and Canonical Tags Across a Site". [Sign up or log in](https://console.apify.com/create-task-from-example/RfHHEFoGTbc1omnPy) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Check Noindex and Canonical Tags Across a Site" task

The SEO Deploy Guard: Catch SEO Regressions After Deploys Actor will start running based on the input automatically. You can also change all the input fields, like start url, maximum page attempts, and more, to match your specific use case.

### 3. Receive the "Check Noindex and Canonical Tags Across a Site" 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 page url, final 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 "Check Noindex and Canonical Tags Across a Site" task via API](https://apify.com/smartlinks/seo-deploy-guard.md).

## FAQ

### Does it render JavaScript?

No. It checks the source HTML and HTTP headers that search engines receive first. Client-rendered tags may not be visible.

### How does the deploy check work?

The first complete run becomes the baseline. Later runs with the same settings report only new or changed issues and set a pass/warn/fail gate.

### What does it cost?

$2 per 1,000 audited HTML pages on the free plan. Errors, blocked pages, duplicates and non-HTML URLs are free.

## About this Actor

This example demonstrates how to use [SEO Deploy Guard: Catch SEO Regressions After Deploys](https://apify.com/smartlinks/seo-deploy-guard.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/smartlinks/seo-deploy-guard.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/smartlinks/seo-deploy-guard.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`).
