# Technical SEO, Meta & Schema.org JSON-LD Auditor (`piotrhl/seo-schema-audit-crawler`) Actor

Ultra-fast async SEO and structured data crawler. Audits page title/meta descriptions, OpenGraph tags, headings structure, image alt attributes, and Schema.org JSON-LD types with automated SEO scoring under 128 MB RAM.

- **URL**: https://apify.com/piotrhl/seo-schema-audit-crawler.md
- **Developed by:** [Piotr Hładik](https://apify.com/piotrhl) (community)
- **Categories:** SEO tools, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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

## Technical SEO, Meta & Schema.org JSON-LD Auditor

[![Apify Actor](https://img.shields.io/badge/Apify-Actor-blue.svg)](https://apify.com)
[![Pay-Per-Event](https://img.shields.io/badge/Monetization-Pay--Per--Event-green.svg)](https://docs.apify.com/actors/development/pay-per-event)
[![Memory: <128MB](https://img.shields.io/badge/RAM-%3C128MB-success.svg)](https://apify.com)

Ultra-fast, asynchronous Technical SEO and Schema.org structured data auditor. Crawls web pages to audit metadata lengths, OpenGraph/Twitter Cards, headings hierarchy, image alt accessibility, and Schema.org JSON-LD structured data with an automated 0-100 SEO health score under **128 MB RAM**.

***

### Key Features

- **Automated Health Score (0-100)**: Evaluates critical technical SEO signals and produces instant scores with passed checks and actionable fixes.
- **Head Metadata Auditing**: Analyzes `<title>` and `<meta name="description">` length against modern Google SERP pixel/character limits (30-60 and 70-160 chars).
- **Social Share Verification**: Audits OpenGraph (`og:title`, `og:description`, `og:image`) and Twitter Card tags.
- **Semantic Hierarchy**: Validates single H1 structure and counts H2/H3 depth.
- **Image Accessibility**: Detects missing `alt` attributes on images.
- **Schema.org JSON-LD Detection**: Extracts and catalogues all microdata and JSON-LD schemas (`Product`, `Organization`, `Article`, `FAQPage`, etc.).
- **Internal Link Crawler**: Automatically discovers and audits internal pages up to `max_pages`.
- **Pay-Per-Event (PPE) Pricing**: Pay only **$0.002** per page audited. No fixed monthly commitment!

***

### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `start_urls` | Array | **Yes** | `[{"url": "https://apify.com"}]` | Seed URLs to begin crawling and auditing. |
| `max_pages` | Integer | No | `10` | Maximum pages to audit across target domains (1 to 200). |
| `crawl_internal_links` | Boolean | No | `true` | Automatically discover and audit internal links on the same host. |
| `concurrency` | Integer | No | `5` | Concurrent network workers (1 to 25). |
| `request_timeout_sec` | Integer | No | `15` | Request timeout in seconds (5 to 60). |
| `proxy_configuration` | Object | No | `{"useApifyProxy": true}` | Apify Proxy configuration. |

***

### Pay-Per-Event (PPE) Monetization

This Actor is monetized with Apify's **Pay-Per-Event** model:

- `apify-actor-start`: **$0.00005** (initialization fee)
- `page-audited`: **$0.002** per web page deeply audited and scored

***

### Output Dataset Schema

Each record pushed to the default Apify Dataset contains:

```json
{
  "url": "https://cloudflow.io/platform",
  "status_code": 200,
  "seo_health_score": 95,
  "passed_checks": [
    "Title tag is optimal (52 chars).",
    "Meta description is optimal (132 chars).",
    "Canonical URL specified.",
    "Mobile viewport meta tag present.",
    "Exactly one H1 heading found.",
    "Complete OpenGraph social metadata (title, description, image).",
    "All images have non-empty alt attributes.",
    "Structured data detected (SoftwareApplication)."
  ],
  "failed_checks": [],
  "meta": {
    "title": "Enterprise Cloud Analytics Platform | CloudFlow",
    "title_length": 52,
    "title_status": "OK",
    "description": "CloudFlow delivers unified cloud observability, automated performance analytics, and cost intelligence for modern engineering teams.",
    "description_length": 132,
    "description_status": "OK",
    "canonical_url": "https://cloudflow.io/platform",
    "viewport": "width=device-width, initial-scale=1"
  },
  "headings": {
    "h1_count": 1,
    "h1_tags": ["Cloud Observability Platform"],
    "h2_count": 1,
    "h3_count": 1
  },
  "images": {
    "total_images": 1,
    "missing_alt_count": 0
  },
  "json_ld": {
    "has_jsonld": true,
    "types_detected": ["SoftwareApplication"]
  },
  "markdown_summary": "## SEO Audit Report: `https://cloudflow.io/platform`..."
}
```

# Actor input Schema

## `start_urls` (type: `array`):

List of URLs to start crawling and auditing.

## `max_pages` (type: `integer`):

Maximum number of pages to crawl and audit across provided domains.

## `crawl_internal_links` (type: `boolean`):

Automatically discover and crawl internal links on the same host up to max_pages.

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

Number of concurrent network workers for auditing pages.

## `request_timeout_sec` (type: `integer`):

HTTP request timeout in seconds.

## `custom_user_agent` (type: `string`):

Custom HTTP User-Agent header string.

## `proxy_configuration` (type: `object`):

Apify Proxy settings to bypass anti-scraping and rate limits.

## Actor input object example

```json
{
  "start_urls": [
    {
      "url": "https://apify.com"
    }
  ],
  "max_pages": 10,
  "crawl_internal_links": true,
  "concurrency": 5,
  "request_timeout_sec": 15,
  "proxy_configuration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "start_urls": [
        {
            "url": "https://apify.com"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrhl/seo-schema-audit-crawler").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 = { "start_urls": [{ "url": "https://apify.com" }] }

# Run the Actor and wait for it to finish
run = client.actor("piotrhl/seo-schema-audit-crawler").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 '{
  "start_urls": [
    {
      "url": "https://apify.com"
    }
  ]
}' |
apify call piotrhl/seo-schema-audit-crawler --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,piotrhl/seo-schema-audit-crawler"
        }
    }
}
```

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/l3BoVQKzySrIvLKrF/builds/llB2PIIlta7bfhJcR/openapi.json
