# Audit HTML meta tags, canonicals, and OpenGraph tags

**Use case:** 

Crawls website URLs over pure HTTP at 256MB RAM to audit title length, meta descriptions, canonical tags, meta robots directives, hreflang attributes, OpenGraph/Twitter Cards, and heading hierarchy with a 0-100 SEO score.

## Input

```json
{
  "startUrls": [
    "https://docs.apify.com"
  ],
  "maxPages": 5,
  "discoverFromSitemap": true,
  "discoverFromLinks": true,
  "includeAiReadiness": false,
  "maxSitemapUrls": 500,
  "checkBrokenLinks": false,
  "concurrency": 5,
  "requestTimeoutMs": 8000
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "httpStatus": {
    "label": "HTTP",
    "format": "integer"
  },
  "seoScore": {
    "label": "SEO Score",
    "format": "integer"
  },
  "issueCounts": {
    "label": "Issues",
    "format": "object"
  },
  "title": {
    "label": "Title",
    "format": "object"
  },
  "canonical": {
    "label": "Canonical",
    "format": "object"
  },
  "headings": {
    "label": "Headings",
    "format": "object"
  },
  "images": {
    "label": "Images",
    "format": "object"
  },
  "structuredData": {
    "label": "JSON-LD",
    "format": "object"
  },
  "redirectCount": {
    "label": "Redirects",
    "format": "integer"
  },
  "ttfbMs": {
    "label": "TTFB (ms)",
    "format": "integer"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

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

The Technical SEO, Sitemap & llms.txt AI Auditor (MCP) Actor is ready to run with the inputs already set for "Audit HTML meta tags, canonicals, and OpenGraph tags". [Sign up or log in](https://console.apify.com/create-task-from-example/ZaLLH2RdNVRhuDg4j) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Audit HTML meta tags, canonicals, and OpenGraph tags" task

The Technical SEO, Sitemap & llms.txt AI Auditor (MCP) Actor will start running based on the input automatically. You can also change all the input fields, like start urls, max pages, and more, to match your specific use case.

### 3. Receive the "Audit HTML meta tags, canonicals, and OpenGraph tags" 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, HTTP, 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 HTML meta tags, canonicals, and OpenGraph tags" task via API](https://apify.com/salmon_chaparral/seo-llms-auditor.md).

## FAQ

### Which on-page HTML SEO elements are audited per URL?

It checks title, meta description, canonical URL, robots directives, hreflang, H1-H3 headings, OpenGraph, Twitter Cards, JSON-LD, and image alt coverage.

### Can it automatically discover pages from XML sitemaps?

Yes. Enable discoverFromSitemap in the meta tags and OpenGraph checker to auto-crawl sitemap.xml and nested .xml.gz URLs up to maxPages.

### Can I also sample broken links on each audited page?

Yes. Set checkBrokenLinks to true to verify up to 10 unique links per page via HEAD/GET and flag 4xx/5xx responses.

## About this Actor

This example demonstrates how to use [Technical SEO, Sitemap & llms.txt AI Auditor (MCP)](https://apify.com/salmon_chaparral/seo-llms-auditor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/salmon_chaparral/seo-llms-auditor.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/salmon_chaparral/seo-llms-auditor.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`).
