# Audit a website's meta tags, headings and links

**Use case:** 

Audit every page of a website from its sitemap: SEO score, list of issues, title and meta description length, canonical, H1 and heading structure, word count, images without alt text, internal and external links, Open Graph, Twitter card, structured data and hreflang. Export to CSV or Excel, or schedule it to catch new issues after each release.

## Input

```json
{
  "urls": [
    "https://apify.com"
  ],
  "crawlSitemap": true,
  "maxPagesPerSite": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "maxConcurrency": 5
}
```

## Output

```json
{
  "url": {
    "label": "Url",
    "format": "string"
  },
  "score": {
    "label": "Score",
    "format": "integer"
  },
  "statusCode": {
    "label": "StatusCode",
    "format": "integer"
  },
  "issues": {
    "label": "Issues",
    "format": "array"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "titleLength": {
    "label": "TitleLength",
    "format": "integer"
  },
  "metaDescriptionLength": {
    "label": "MetaDescriptionLength",
    "format": "integer"
  },
  "h1Count": {
    "label": "H1Count",
    "format": "integer"
  },
  "wordCount": {
    "label": "WordCount",
    "format": "integer"
  },
  "responseTimeMs": {
    "label": "ResponseTimeMs",
    "format": "integer"
  }
}
```

## How it works

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

The SEO Audit: Meta Tags, Headings, Links, Score Actor is ready to run with the inputs already set for "Audit a website's meta tags, headings and links". [Sign up or log in](https://console.apify.com/create-task-from-example/Lx7VEmwUD0OVFcXDh) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Audit a website's meta tags, headings and links" task

The SEO Audit: Meta Tags, Headings, Links, Score Actor will start running based on the input automatically. You can also change all the input fields, like URLs, audit the whole sitemap, and more, to match your specific use case.

### 3. Receive the "Audit a website's meta tags, headings and links" 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, score, statuscode, 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 a website's meta tags, headings and links" task via API](https://apify.com/rakish_bobby_gwr/seo-audit-scraper.md).

## FAQ

### What output fields does this task provide?

The task outputs fields like URL, SEO score, HTTP status code, issue codes found, title, title length, meta description length, H1 count, word count, and response time in milliseconds.

### What does the SEO score indicate?

The SEO score is a value from 0-100, reflecting the page's optimization level, calculated by subtracting penalties for identified issues.

### How can I schedule this task to run automatically?

This task can be scheduled to run automatically in the Apify Console, enabling regular audits and tracking of SEO issues.

### What types of issues can this task identify?

This example audits up to 50 pages per site. Raise Max pages per site to audit larger sites from their sitemap.

### What is the maximum number of pages the task can audit?

The task can audit up to 50 pages per site, based on the provided sitemap.

### How does this task handle crawling a website's sitemap?

The task crawls the sitemap when the 'crawlSitemap' option is activated, enabling auditing of listed pages.

## About this Actor

This example demonstrates how to use [SEO Audit: Meta Tags, Headings, Links, Score](https://apify.com/rakish_bobby_gwr/seo-audit-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/rakish_bobby_gwr/seo-audit-scraper.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/rakish_bobby_gwr/seo-audit-scraper.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`).
