# Bulk SEO Data Extractor (`thirdwatch/seo-data-extractor`) Actor

Extract every on-page SEO signal from any URL: title, meta tags, canonical, OG/Twitter cards, JSON-LD schema, heading hierarchy, alt-text gaps, internal/external link counts, word count, text-to-HTML ratio.

- **URL**: https://apify.com/thirdwatch/seo-data-extractor.md
- **Developed by:** [Thirdwatch](https://apify.com/thirdwatch) (community)
- **Categories:** SEO tools, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Bulk SEO Audit - Titles, Meta, Headings, Schema, Links

> The fastest bulk SEO meta tags and headings extractor — audit titles, meta descriptions, headings, canonicals, social cards, and schema across hundreds of URLs in one pass.

### What you get

Paste a list of URLs and get a complete on-page SEO snapshot for each one: title, meta description, heading hierarchy, canonical, robots directive, Open Graph and Twitter social cards, schema markup, image alt-text gaps, internal/external link counts, and word count. Designed for SEO consultants, content auditors, and in-house SEO teams who need real on-page data across hundreds of pages without firing up a desktop crawler.

### Output fields

| Field | Description |
|-------|-------------|
| `url` | The URL you submitted. |
| `final_url` | The URL after following redirects. |
| `status_code` | HTTP status code (200, 301, 404, etc.). |
| `title` | The `<title>` tag text. |
| `title_length` | Character count of the title (Google typically truncates over ~60). |
| `meta_description` | The meta description tag. |
| `meta_description_length` | Character count (Google typically truncates over ~160). |
| `meta_keywords` | The meta keywords tag (rarely used today). |
| `canonical` | The canonical URL declared by the page. |
| `robots_meta` | The meta robots directive (e.g. `index,follow`, `noindex`). |
| `viewport` | The viewport meta tag (mobile-friendliness signal). |
| `lang` | The `lang` attribute on the `<html>` tag. |
| `charset` | Character set declared by the page. |
| `h1_tags` | List of unique H1 headings on the page. |
| `h2_tags` | List of unique H2 headings on the page. |
| `h1_count` | Total H1 tags (more than one is an SEO smell). |
| `h2_count` | Total H2 tags. |
| `h3_count` | Total H3 tags. |
| `h4_count` | Total H4 tags. |
| `og` | Open Graph tags (`og:title`, `og:description`, `og:image`, etc.) as a flat dict. |
| `twitter` | Twitter card tags (`twitter:card`, `twitter:title`, etc.) as a flat dict. |
| `json_ld` | Parsed schema markup blocks (Product, Article, FAQ, Breadcrumb, etc.). |
| `images_total` | Total `<img>` tags on the page. |
| `images_missing_alt` | Images with no `alt` attribute (accessibility + SEO gap). |
| `internal_links` | Links pointing back to the same domain. |
| `external_links` | Links pointing to other domains. |
| `nofollow_links` | Links marked `rel="nofollow"`. |
| `word_count` | Visible word count (script and style content excluded). |
| `text_to_html_ratio` | Word count divided by HTML byte size — low values flag thin or template-heavy pages. |
| `response_time_ms` | Time to fetch the page in milliseconds. |
| `content_length` | HTML byte size. |
| `error` | Error message on failure (`null` on success). |
| `checked_at` | ISO timestamp when the audit ran. |

### Example output

```json
{
  "url": "https://example.com",
  "final_url": "https://example.com/",
  "status_code": 200,
  "title": "Example Domain",
  "title_length": 14,
  "meta_description": "Illustrative example for documentation.",
  "meta_description_length": 39,
  "meta_keywords": "",
  "canonical": "https://example.com/",
  "robots_meta": "index,follow",
  "viewport": "width=device-width, initial-scale=1",
  "lang": "en",
  "charset": "utf-8",
  "h1_tags": ["Example Domain"],
  "h2_tags": ["More information"],
  "h1_count": 1,
  "h2_count": 1,
  "h3_count": 0,
  "h4_count": 0,
  "og": {
    "og:title": "Example Domain",
    "og:description": "Illustrative example for documentation.",
    "og:image": "https://example.com/og.png",
    "og:type": "website",
    "og:url": "https://example.com/",
    "og:site_name": "Example"
  },
  "twitter": {
    "twitter:card": "summary_large_image",
    "twitter:title": "Example Domain",
    "twitter:description": "Illustrative example for documentation.",
    "twitter:image": "https://example.com/og.png"
  },
  "json_ld": [
    {
      "@context": "https://schema.org",
      "@type": "WebSite",
      "name": "Example",
      "url": "https://example.com/"
    }
  ],
  "images_total": 4,
  "images_missing_alt": 1,
  "internal_links": 17,
  "external_links": 3,
  "nofollow_links": 2,
  "word_count": 412,
  "text_to_html_ratio": 0.0421,
  "response_time_ms": 184,
  "content_length": 9786,
  "error": null,
  "checked_at": "2026-05-04T12:00:00Z"
}
````

When a URL fails, the same shape is returned with `error` set and the numeric fields zeroed out.

### Input parameters

| Parameter | Required | Description |
|-----------|----------|-------------|
| `urls` | Yes | List of page URLs to audit. Each URL produces one result. |
| `timeoutSecs` | No (default `20`) | Maximum seconds to wait for each page (1–120). Slow pages report a `timeout` error. |
| `concurrency` | No (default `10`) | How many pages to fetch in parallel (1–50). |
| `userAgent` | No | The User-Agent header sent with each request. Override to mimic a specific bot or browser. |
| `proxyConfiguration` | No | Optional Apify proxy. Most public pages don't need one. |

### Use cases

- **SEO consultants** running on-page audits — surface every page missing a title, meta description, or canonical, and rank H1 issues across the whole site.
- **Content auditors** cleaning up legacy content — find thin pages by word count and text-to-HTML ratio, then prioritize rewrites.
- **In-house SEO teams** monitoring schema coverage — verify every product page has Product schema, every article has Article schema, and every FAQ page has FAQ schema.
- **Accessibility leads** finding images missing alt text — get a per-page count and prioritize the worst offenders.
- **Competitive researchers** comparing social previews — pull Open Graph and Twitter cards from a competitor's blog to see how they package shares.

### Limitations

- Captures the HTML the server returns. Pages that render their content entirely in the browser (heavy single-page apps) may show empty title, missing headings, or zero links — for those sites, use a browser-based scraper instead.
- Some sites rate-limit aggressive scraping. Use the proxy option if you start hitting 403s.
- Word count is computed from visible text after removing script and style content. Inline SVG and obscure HTML may slightly inflate or reduce the count.
- Schema markup blocks that are syntactically broken are skipped rather than failing the whole audit.
- Authenticated pages are not supported — this is for public URLs only.

### Compared to alternatives

| | Thirdwatch Bulk SEO Audit | typical "SEO On-Page Analyzer" actors on Apify Store |
|---|---|---|
| Open Graph + Twitter cards as structured dicts | Yes | Often title/description only |
| Parsed schema markup blocks | Yes (full JSON) | Often missing |
| Heading lists (not just counts) | Yes | Often only counts |
| Internal vs external vs nofollow link counts | Yes | Often "total links" only |
| Image alt-text gap count | Yes | Sometimes |
| Text-to-HTML ratio (thin-content signal) | Yes | Rarely included |
| Concurrency control | Up to 50 parallel | Often 5–10 |

### FAQ

**Does this respect robots.txt?**
This actor sends one request per URL and does not crawl. It uses a clearly identifiable User-Agent (`ThirdwatchSEO/1.0`) so site owners can recognize and rate-limit it if they want.

**What's the rate limit?**
You control it via `concurrency` (max 50). For sites you don't own, keep it low and enable the proxy option if you hit 429 or 403.

**Can I audit pages behind a login?**
No — this actor does not handle authentication, cookies, or session headers. It's designed for public URLs.

**Why are some fields empty on JavaScript-heavy sites?**
Single-page apps render content in the browser after the initial HTML loads. This actor reads the server-rendered HTML only. For React/Vue/Angular sites with no server-side rendering, use a browser-based audit tool instead.

**Does it parse every kind of schema markup?**
Yes — every `<script type="application/ld+json">` block is parsed and returned as structured data. Microdata and RDFa are not parsed.

### SEO meta tags and headings extractor for site-wide audits

Run a full on-page SEO audit across an entire site in minutes. Pair this with the [Sitemap URL Extractor](https://apify.com/thirdwatch/sitemap-extractor) to pull every URL on the site, then pipe the list into this actor for a complete title/meta/heading/schema audit.

For uptime, redirect, and SSL checks across the same URL list, combine with the [Bulk URL Status Checker](https://apify.com/thirdwatch/status-code-checker).

Built and maintained by [Thirdwatch](https://thirdwatch.dev).

Last verified: 2026-05

# Actor input Schema

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

List of page URLs to audit. Each URL produces one result with title, meta description, headings, canonical, Open Graph, Twitter cards, schema markup, link counts, and word count.

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

Maximum seconds to wait for each page to respond. Pages slower than this are reported with a timeout error.

## `concurrency` (type: `integer`):

How many pages to fetch in parallel (1–50).

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

User-Agent header sent with every request. Override to mimic a specific browser or search-engine bot.

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

Optional Apify proxy. Off by default — most public pages don't need one. Turn on if you start hitting 403 or 429.

## Actor input object example

```json
{
  "urls": [
    "https://example.com"
  ],
  "timeoutSecs": 20,
  "concurrency": 10,
  "userAgent": "Mozilla/5.0 (compatible; ThirdwatchSEO/1.0; +https://thirdwatch.dev)",
  "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://example.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("thirdwatch/seo-data-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://example.com"] }

# Run the Actor and wait for it to finish
run = client.actor("thirdwatch/seo-data-extractor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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://example.com"
  ]
}' |
apify call thirdwatch/seo-data-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=thirdwatch/seo-data-extractor",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Bulk SEO Data Extractor",
        "description": "Extract every on-page SEO signal from any URL: title, meta tags, canonical, OG/Twitter cards, JSON-LD schema, heading hierarchy, alt-text gaps, internal/external link counts, word count, text-to-HTML ratio.",
        "version": "1.0",
        "x-build-id": "wlRKKS64LBZRxqrgB"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/thirdwatch~seo-data-extractor/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-thirdwatch-seo-data-extractor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/thirdwatch~seo-data-extractor/runs": {
            "post": {
                "operationId": "runs-sync-thirdwatch-seo-data-extractor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/thirdwatch~seo-data-extractor/run-sync": {
            "post": {
                "operationId": "run-sync-thirdwatch-seo-data-extractor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "urls"
                ],
                "properties": {
                    "urls": {
                        "title": "URLs",
                        "type": "array",
                        "description": "List of page URLs to audit. Each URL produces one result with title, meta description, headings, canonical, Open Graph, Twitter cards, schema markup, link counts, and word count.",
                        "default": [
                            "https://example.com"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "timeoutSecs": {
                        "title": "Request Timeout (seconds)",
                        "minimum": 1,
                        "maximum": 120,
                        "type": "integer",
                        "description": "Maximum seconds to wait for each page to respond. Pages slower than this are reported with a timeout error.",
                        "default": 20
                    },
                    "concurrency": {
                        "title": "Concurrency",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "How many pages to fetch in parallel (1–50).",
                        "default": 10
                    },
                    "userAgent": {
                        "title": "User-Agent",
                        "type": "string",
                        "description": "User-Agent header sent with every request. Override to mimic a specific browser or search-engine bot.",
                        "default": "Mozilla/5.0 (compatible; ThirdwatchSEO/1.0; +https://thirdwatch.dev)"
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Optional Apify proxy. Off by default — most public pages don't need one. Turn on if you start hitting 403 or 429.",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
