# SEO Meta Tags Checker – On-Page Audit with Issues (`adamplaenitz/seo-meta-tags-checker`) Actor

On-page SEO audit for a list of URLs or a small site crawl: title, meta description, canonical, robots / X-Robots-Tag, hreflang, Open Graph, Twitter card, H1 and headings, missing alt texts, word count, links and a prioritised issue list. Plain HTTP, no browser.

- **URL**: https://apify.com/adamplaenitz/seo-meta-tags-checker.md
- **Developed by:** [Adam Plänitz](https://apify.com/adamplaenitz) (community)
- **Categories:** SEO tools, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 page auditeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## SEO Meta Tags Checker – On-Page Audit with Issues

**Audit the on-page SEO of a list of URLs – or crawl a small website – and get every important tag plus a prioritised issue list per page.** Title and meta description with lengths, canonical, meta robots and `X-Robots-Tag`, hreflang alternates (with optional return-link check), Open Graph and Twitter card tags, H1 and heading outline, images without alt text, word count, internal/external links, `lang`, viewport and robots.txt status. Plain HTTP requests, no browser – fast and cheap. Export as JSON, CSV or Excel, or connect to Google Sheets, Make, Zapier, n8n or webhooks.

### What does it do?

For every page the Actor sends one normal `GET` request (redirects are followed and reported) and analyses the HTML of the final page:

- **Title:** text, length, missing / empty / too long / too short / multiple `<title>` tags.
- **Meta description:** text, length, missing / empty / too long / too short / multiple.
- **Canonical:** from `<link rel="canonical">` or the HTTP `Link` header; self-referencing or not, relative, invalid, several different canonicals, canonical to another host, to `http://`, conflicting tag and header, canonical in `<body>`.
- **Indexing:** meta robots (incl. `googlebot` / `bingbot`), `X-Robots-Tag` header, robots.txt rule for Googlebot, `noindex` / `nofollow` and an overall `indexable` flag (200, not noindex, not canonicalised elsewhere, not blocked by robots.txt).
- **Hreflang:** all alternates from the HTML and the `Link` header; invalid language codes, relative URLs, the same code with different URLs, missing self-reference, missing `x-default`, mismatch with the `lang` attribute, hreflang on noindex or canonicalised pages. Optional: fetch the alternates and check that they answer with 200 and **link back** (return tags).
- **Social:** all Open Graph (`og:*`) and Twitter card (`twitter:*`) tags; missing or incomplete sets, invalid `og:image`, `og:url` that differs from the canonical.
- **Content:** H1 count and texts, number of H1–H6, skipped heading levels, images without `alt` (plus a sample of their URLs), images with empty `alt`, visible word count, internal / external / nofollow link counts, JSON-LD types on the page, `lang`, viewport, charset.
- **Technical:** status code, redirect chain, response time, HTML size, plain HTTP, invalid TLS certificate.

Every finding is an **issue** with a `severity` (`error`, `warning`, `notice`), a stable `code` and a readable message. The run summary adds totals per issue code and lists **duplicate titles and meta descriptions** across all audited pages.

### Who is it for?

- **SEO specialists and agencies:** quick on-page checks of landing pages, client sites, migrations and relaunches.
- **Developers and QA:** check templates after a deployment (schedule a run and alert on new errors).
- **Content teams:** find missing descriptions, too long titles, missing H1 or alt texts across a site section.

### Input

| Field | Default | Description |
|---|---|---|
| URLs | – | Pages to audit (one per line). Bare domains are checked as `https://domain/`. |
| Crawl the website | off | Also audit the internal pages linked from the start URLs. |
| Maximum pages (crawl) | 50 | Total number of pages in crawl mode (start URLs included). |
| Maximum link depth (crawl) | 2 | Clicks away from a start URL. |
| Which pages count as internal | same domain | Same domain incl. subdomains, or same hostname only. |
| Crawl only / Do not crawl pages matching | – | Glob (`/blog/*`) or `/regex/` patterns. |
| Respect robots.txt when crawling | on | Discovered pages disallowed by robots.txt are skipped (start URLs are always audited). |
| Check hreflang return links | off | Fetches up to 10 alternates per page (cached). |
| Output | all | All pages, pages with warnings/errors, or pages with errors only. Hidden pages are not charged. |
| Thresholds | 60 / 20 / 160 / 70 / 200 | Max/min title length, max/min description length, minimum word count. |
| User-Agent, parallel requests, timeout | – | Advanced settings. |

### Output example (shortened)

```json
{
  "url": "https://apify.com/",
  "finalUrl": "https://apify.com/",
  "statusCode": 200,
  "redirectCount": 0,
  "indexable": true,
  "lang": "en",
  "title": "Apify: Marketplace of ready-to-run tools for AI",
  "titleLength": 47,
  "metaDescription": "Thousands of tools to automate your business. …",
  "metaDescriptionLength": 143,
  "canonical": "https://apify.com/",
  "canonicalIsSelf": true,
  "metaRobots": "index,follow",
  "xRobotsTag": null,
  "robotsTxtAllowed": true,
  "hreflang": [],
  "openGraph": { "og:title": "Apify: Marketplace of ready-to-run tools for AI", "og:type": "website", "og:image": "https://apify.com/og-image?…" },
  "twitter": { "twitter:card": "summary_large_image" },
  "h1Count": 1,
  "h1": ["124,117 tools for your AI"],
  "headings": { "h1": 1, "h2": 11, "h3": 20, "h4": 3, "h5": 0, "h6": 0 },
  "imagesTotal": 78,
  "imagesWithoutAlt": 0,
  "wordCount": 1238,
  "internalLinks": 115,
  "externalLinks": 22,
  "nofollowLinks": 20,
  "jsonLdTypes": ["Organization", "SoftwareApplication", "WebSite"],
  "issues": [],
  "issueCounts": { "error": 0, "warning": 0, "notice": 0 },
  "issueCodes": []
}
```

An issue looks like this:

```json
{ "severity": "warning", "code": "meta-description-missing", "message": "No meta description." }
```

Main issue codes: `title-missing`, `title-empty`, `title-too-long`, `title-too-short`, `title-multiple`, `meta-description-missing`, `meta-description-too-long`, `meta-description-too-short`, `meta-description-multiple`, `canonical-missing`, `canonical-multiple`, `canonical-invalid`, `canonical-relative`, `canonical-other-host`, `canonical-to-http`, `canonical-not-self`, `canonical-conflict`, `canonical-in-body`, `noindex`, `nofollow`, `robots-txt-blocked`, `hreflang-invalid-code`, `hreflang-relative-url`, `hreflang-conflicting`, `hreflang-no-self-reference`, `hreflang-no-x-default`, `hreflang-missing-return`, `hreflang-target-not-200`, `h1-missing`, `h1-multiple`, `h1-empty`, `heading-level-skipped`, `images-missing-alt`, `lang-missing`, `viewport-missing`, `open-graph-missing`, `twitter-card-missing`, `low-word-count`, `json-ld-invalid`, `redirected`, `redirect-chain`, `not-https`, `certificate-invalid`, `http-error`.

The **Overview** table shows page, status, indexable, issue counts and codes, title, lengths, canonical, H1 count, images without alt, word count and language.

### Pricing and speed

See the **Pricing** tab. You pay per audited HTML page. **Rows for URLs that cannot be reached, return an HTTP error (4xx/5xx) or are not HTML are free**, and so are pages hidden by the *Output* filter. In crawl mode, *Maximum pages* caps the cost; you can also set a maximum cost per run – the Actor stops cleanly when it is reached.

One request per page (plus one robots.txt request per host, plus the alternates if the hreflang return check is on). In cloud tests with the default 5 parallel requests, a crawl of 200 pages of a documentation site took about 9 seconds and a 300-page crawl about 23 seconds; slow or rate-limiting servers take longer. The Actor runs with 512 MB memory by default.

### Privacy and responsible use

- Only public pages are fetched, like a browser visit; no forms, no logins. Private, loopback and internal addresses are refused.
- **No personal data:** author and creator tags (`author`, `article:author`, `twitter:creator`) are not stored.
- In crawl mode, robots.txt is respected by default and at most the configured number of parallel requests is sent. Please audit only sites you own or are allowed to check.

Not affiliated with Google, X/Twitter or any search engine. The checks follow common SEO practice and public search engine documentation; they are indicators, not guarantees of rankings.

### Limits

- **No JavaScript rendering:** tags that are only added by client-side JavaScript (some single-page apps) are not seen. Most search-relevant tags are server-rendered; if a page shows unexpected "missing" issues, it may rely on JavaScript.
- Some sites answer automated clients with a block page (e.g. status 403) – check `statusCode`. You can set a custom User-Agent.
- Character limits are a proxy for pixel widths in search results.
- HTML larger than 5 MB is truncated (reported as `html-truncated`).

Questions or feature requests? Please open an issue in the **Issues** tab.

# Actor input Schema

## `urls` (type: `array`):

Pages to audit, one per line (e.g. https://example.com/pricing). Bare domains are checked as https://domain/. Duplicates are removed. With "Crawl the website" switched on, these are the start pages of the crawl.

## `crawl` (type: `boolean`):

Also audit the internal pages linked from the start URLs (same website only), up to "Maximum pages". Off: only the listed URLs are audited.

## `maxPages` (type: `integer`):

Crawl mode only: stop after this many pages in total (start URLs included). You pay per audited page, so this also caps the cost.

## `maxDepth` (type: `integer`):

Crawl mode only: how many clicks away from a start URL internal links are followed.

## `crawlScope` (type: `string`):

Same domain: the start host and its subdomains. Same hostname: only the start host. "www." is ignored in both cases. Also used for the internal/external link counts.

## `includePatterns` (type: `array`):

Optional, crawl mode. Glob patterns (`*` = any characters) matched against the full URL or – if they start with `/` – against path + query, e.g. `/blog/*`. Regular expressions go between slashes, e.g. `/(en|de)/`. Start URLs are always audited.

## `excludePatterns` (type: `array`):

Optional, crawl mode. Same syntax, e.g. `*?replytocom=*` or `/tag/*`.

## `respectRobotsTxt` (type: `boolean`):

Do not crawl discovered pages that robots.txt disallows. Start URLs are always audited. Independently of this setting, every page is flagged when robots.txt blocks it for Googlebot.

## `checkHreflangReturnLinks` (type: `boolean`):

For pages with hreflang tags, fetch up to 10 alternate URLs per page and check that they return 200 and link back (return tag). Costs extra requests; results are cached per run.

## `outputFilter` (type: `string`):

All audited pages, only pages with at least one warning or error, or only pages with errors. Hidden pages are not charged.

## `maxTitleLength` (type: `integer`):

Titles longer than this (characters) get a "title-too-long" warning.

## `minTitleLength` (type: `integer`):

Titles shorter than this get a "title-too-short" notice.

## `maxDescriptionLength` (type: `integer`):

Descriptions longer than this get a "meta-description-too-long" warning.

## `minDescriptionLength` (type: `integer`):

Descriptions shorter than this get a "meta-description-too-short" notice.

## `minWordCount` (type: `integer`):

Indexable pages with less visible text get a "low-word-count" notice.

## `userAgent` (type: `string`):

Leave empty to identify as 'Mozilla/5.0 (compatible; seo-meta-tags-checker/0.1; Apify Actor; +https://apify.com)'.

## `maxConcurrency` (type: `integer`):

How many pages are fetched at the same time (1–20). In list mode at most 3 per host.

## `timeoutSecs` (type: `integer`):

Maximum time for each page download (complete response).

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://www.wikipedia.org",
    "https://developer.mozilla.org/en-US/",
    "https://example.com"
  ],
  "crawl": false,
  "maxPages": 50,
  "maxDepth": 2,
  "crawlScope": "same-domain",
  "respectRobotsTxt": true,
  "checkHreflangReturnLinks": false,
  "outputFilter": "all",
  "maxTitleLength": 60,
  "minTitleLength": 20,
  "maxDescriptionLength": 160,
  "minDescriptionLength": 70,
  "minWordCount": 200,
  "maxConcurrency": 5,
  "timeoutSecs": 30
}
```

# Actor output Schema

## `results` (type: `string`):

One item per audited page (plus free rows for unreachable URLs, HTTP errors and non-HTML start URLs).

## `summary` (type: `string`):

Counts of audited pages, issue codes, severities, duplicate titles/descriptions and requests.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://apify.com",
        "https://www.wikipedia.org",
        "https://developer.mozilla.org/en-US/",
        "https://example.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("adamplaenitz/seo-meta-tags-checker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "urls": [
        "https://apify.com",
        "https://www.wikipedia.org",
        "https://developer.mozilla.org/en-US/",
        "https://example.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("adamplaenitz/seo-meta-tags-checker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://apify.com",
    "https://www.wikipedia.org",
    "https://developer.mozilla.org/en-US/",
    "https://example.com"
  ]
}' |
apify call adamplaenitz/seo-meta-tags-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,adamplaenitz/seo-meta-tags-checker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Nku3f1Vly2ylxQKAR/builds/VPaxrEd7firmFG8UD/openapi.json
