# SEO Meta Tags & Schema Extractor - Bulk On-Page SEO Audit (`scrolahdata/seo-meta-tags-extractor`) Actor

Bulk SEO audit and meta tags extractor: title, meta description, canonical, robots/noindex, hreflang, Open Graph, Twitter Card, H1-H6, alt text, links and JSON-LD schema markup for any URL list or sitemap. SEO issues + score. $1 per 1,000 pages.

- **URL**: https://apify.com/scrolahdata/seo-meta-tags-extractor.md
- **Developed by:** [Leping Gong](https://apify.com/scrolahdata) (community)
- **Categories:** SEO tools, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 page analyzeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 & Schema Extractor — Bulk On-Page SEO Audit, JSON-LD, Open Graph & Twitter Card Checker

Audit **thousands of pages or a whole sitemap** in minutes. For every URL get the **title and meta description (with lengths)**, **canonical**, **meta robots / X-Robots-Tag (noindex, nofollow)**, **hreflang**, **Open Graph** and **Twitter Card** tags, **H1–H6 headings**, **images missing alt text**, internal / external links, word count and the **JSON-LD structured data** (schema.org types like Product, Article, Recipe, FAQPage, BreadcrumbList, Organization) plus microdata and RDFa. Each page gets a list of **SEO issues** and a **0–100 SEO score**.

Plain HTTP, no browser, no API key — **$1 per 1,000 pages**.

### Why this extractor?

- 🏷️ **Meta tags extractor** — title, meta description, keywords, viewport, favicon, AMP, every meta tag on request
- 🧩 **JSON-LD / schema markup extractor** — full parsed JSON-LD objects, a flat list of **schemaTypes** (incl. `@graph`), microdata `itemtype` and RDFa `typeof`; broken JSON-LD is reported
- 📣 **Open Graph & Twitter Card checker** — all `og:*` and `twitter:*` tags, so you see how links look when shared
- 🔎 **On-page SEO audit** — missing / too long / too short title and description, missing or multiple H1, canonical to another URL, noindex, missing lang or viewport, thin content, images without alt
- 🌍 **hreflang checker** — every alternate language URL
- 🗺️ **Sitemaps** — paste `sitemap.xml`, a sitemap index, `.xml.gz` or just a domain
- 🎯 **Only pages with issues** mode — output (and pay for) only pages that need work
- 🤖 User agent: desktop Chrome, **Googlebot**, mobile Safari or custom

### Input

```json
{
  "urls": ["https://apify.com", "https://en.wikipedia.org/wiki/Search_engine_optimization"],
  "sitemapUrls": ["example.com"],
  "maxUrls": 1000,
  "includeJsonLd": true,
  "includeHeadings": true,
  "onlyPagesWithIssues": false
}
```

### Output

```json
{
  "url": "https://www.bbc.com/news",
  "statusCode": 200,
  "title": "BBC News - Breaking news, video and the latest top stories from the U.S. and around the world",
  "titleLength": 92,
  "metaDescriptionLength": 247,
  "canonical": "https://www.bbc.com/news",
  "canonicalIsSelf": true,
  "noindex": false,
  "h1Count": 1,
  "wordCount": 1663,
  "ogTitle": "BBC News - Breaking news, video and the latest top stories from the U.S. and around the world",
  "ogImage": null,
  "twitterCardType": null,
  "schemaTypes": ["WebPage", "NewsMediaOrganization"],
  "imagesMissingAlt": 21,
  "seoIssues": ["Title too long (>60 chars)", "Meta description too long (>160 chars)", "Incomplete Open Graph (og:title / og:image)", "Missing Twitter Card", "21 images missing alt text"],
  "seoScore": 85
}
```

### Use cases

- **Technical SEO audit** of a whole site from its sitemap — find missing titles, duplicate H1, noindex pages, wrong canonicals
- **Schema markup audit** — which pages have Product, Review, FAQPage or BreadcrumbList structured data, and which JSON-LD is broken
- **Competitor SEO research** — titles, descriptions, headings and schema used by competitor pages
- **Social sharing previews** — check og:image and Twitter Card across all pages before a launch
- **Data extraction** — JSON-LD is often the cleanest source of product prices, ratings, recipes and article dates
- **Monitoring** — schedule a weekly run and catch SEO regressions after deployments

### Tips & limits

- Pages are fetched as raw HTML without running JavaScript. Tags injected only by client-side JavaScript are not seen (Google sees most of them later, during rendering).
- Sites that block datacenter IPs: enable *Proxy* → Apify Proxy.
- Pages that fail (4xx / 5xx, DNS errors, non-HTML) are reported with an `error` and **not charged**.

### Pricing

- **Page analyzed** — $1 per 1,000 HTML pages. Errors and invalid input are free; in *Only pages with issues* mode you pay only for output pages.

Discounts for Apify Silver, Gold and higher plans.

### Integrations & API

- **API** — run it from Python, Node.js or any language with the Apify API / `apify-client` and get results as JSON, CSV or Excel.
- **Schedules & monitoring** — run it weekly on your sitemap to watch SEO health.
- **Zapier, Make, n8n, Google Sheets, Slack, webhooks** — send results to your tools automatically.
- **AI agents (MCP)** — use it from Claude, ChatGPT, Cursor or any MCP client through the Apify MCP server.

### FAQ

**Is this a full SEO crawler?** It audits the pages you give it (or every page in your sitemaps). To check status codes, redirect chains and broken links, use the [Bulk URL Status Checker](https://apify.com/scrolahdata/bulk-url-status-checker).

**Does it validate schema against Google rich results?** It extracts and parses all structured data and reports invalid JSON-LD; it does not apply Google's rich-result rules.

**How fast is it?** About 10 pages in parallel by default; raise *Max concurrency* for large sitemaps.

### More from ScrolahData

- [Bulk URL Status Checker](https://apify.com/scrolahdata/bulk-url-status-checker)
- [Tech Stack Detector](https://apify.com/scrolahdata/tech-stack-detector)
- [Domain WHOIS, DNS & SSL Checker](https://apify.com/scrolahdata/domain-whois-dns-checker)
- [Website Screenshot Generator](https://apify.com/scrolahdata/website-screenshot-generator)
- [Google Autocomplete Keyword Tool](https://apify.com/scrolahdata/google-autocomplete-keyword-tool)

# Actor input Schema

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

Pages to audit, one per line (https://example.com/page or example.com). Thousands at once.

## `sitemapUrls` (type: `array`):

sitemap.xml, sitemap index, .xml.gz or just a domain (we try /sitemap.xml). Every page in the sitemap is analyzed.

## `maxUrls` (type: `integer`):

Upper limit of pages per run.

## `includeJsonLd` (type: `boolean`):

Return the parsed JSON-LD structured data objects (Product, Article, Recipe, FAQPage, Organization, BreadcrumbList ...). schemaTypes is always returned.

## `includeHeadings` (type: `boolean`):

Return the text of all headings (H1-H6, first 50 each).

## `includeAllMetaTags` (type: `boolean`):

Return every <meta name=...> tag as a key-value object.

## `onlyPagesWithIssues` (type: `boolean`):

Skip pages with no SEO issue (you pay only for output pages).

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

Browser identity used for requests.

## `customUserAgent` (type: `string`):

Overrides the user agent above.

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

Pages fetched in parallel.

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

Per-page timeout.

## `proxyConfiguration` (type: `object`):

Optional. Use Apify Proxy for sites that block datacenter IPs.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://www.bbc.com/news",
    "https://en.wikipedia.org/wiki/Search_engine_optimization"
  ],
  "maxUrls": 10000,
  "includeJsonLd": true,
  "includeHeadings": true,
  "includeAllMetaTags": false,
  "onlyPagesWithIssues": false,
  "userAgent": "chrome",
  "maxConcurrency": 10,
  "timeoutSecs": 25,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

# 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.bbc.com/news",
        "https://en.wikipedia.org/wiki/Search_engine_optimization"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrolahdata/seo-meta-tags-extractor").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.bbc.com/news",
        "https://en.wikipedia.org/wiki/Search_engine_optimization",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("scrolahdata/seo-meta-tags-extractor").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.bbc.com/news",
    "https://en.wikipedia.org/wiki/Search_engine_optimization"
  ]
}' |
apify call scrolahdata/seo-meta-tags-extractor --silent --output-dataset

```

## MCP server setup

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

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/P9CShO6XkVccsTfHO/builds/97uc9kvwBON1SuK5U/openapi.json
