# JSON-LD Schema.org & OpenGraph SEO Validator (`risimwell/bulk-rendered-json-ld-schema-auditor`) Actor

Audit client-side rendered JSON-LD schemas, OpenGraph meta tags, and Twitter Cards across batch URLs using Playwright. Ideal for SEO teams, agencies, and LLM automation.

- **URL**: https://apify.com/risimwell/bulk-rendered-json-ld-schema-auditor.md
- **Developed by:** [Ricardo Enriquez](https://apify.com/risimwell) (community)
- **Categories:** SEO tools, MCP servers, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 items extracted

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/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

## Bulk Rendered JSON-LD & OpenGraph SEO Schema Auditor\n\n## Why use this Actor?\nSupercharge your SEO auditing workflows, technical site audits, and programmatic metadata verification. Traditional scrapers miss dynamically injected meta tags and JavaScript-rendered JSON-LD schemas. This enterprise-grade Actor utilizes headless Playwright browser rendering to fully execute client-side scripts, capturing exact markup as search engine crawlers and LLM browsers see it.\n\n### Dataset Overview\n| Field | Type | Description |\n| :--- | :--- | :--- |\n| `url` | string | Target web page URL audited. |\n| `title` | string | Fully rendered HTML page title. |\n| `json_ld_valid` | boolean | Indicates if parsed JSON-LD blocks are syntactically valid. |\n| `json_ld_types` | array | List of extracted schema types (e.g., WebSite, Product, Organization). |\n| `json_ld_schemas` | array | Complete parsed raw JSON-LD objects. |\n| `has_open_graph` | boolean | True if OpenGraph tags are present. |\n| `rendered_via` | string | Browser rendering engine identifier. |\n\nEliminate manual inspection, prevent broken schema alerts in Google Search Console, and automate zero-code reporting with ease.\n\n## Use Cases\n- **Agency SEO Audits**: Scale technical audits across thousands of product or blog pages instantly.\n- **No-Code Automation**: Trigger schema validations directly from Make, n8n, or Zapier when new pages are published.\n- **AI Agents & MCP**: Provide contextual structured data audits to AI models via Model Context Protocol (mcp.apify.com).\n- **E-commerce Monitoring**: Track competitor structured data changes (Product, Offer, Review schemas) in real-time.\n\n## Input JSON Example\n`json\n{\n  "startUrls": [\n    "https://example.com/reference"\n  ],\n  "maxItems": 5,\n  "waitUntil": "networkidle",\n  "extractOpenGraph": true,\n  "extractJsonLd": true\n}\n`\n\n## Output JSON Example\n\`\`\`json\n\[\n  {\n    "url": "https://example.com/reference",\n    "title": "Schema.org - Schema.org",\n    "meta_description": "Schema.org is a set of extensible schemas that enables webmasters to embed structured data on their web pages.",\n    "canonical_url": "",\n    "json_ld_count": 1,\n    "json_ld_types": \[\n      "WebSite"\n    ],\n    "json_ld_valid": true,\n    "json_ld_errors_count": 0,\n    "og_title": "",\n    "og_image": "",\n    "og_type": "",\n    "has_open_graph": false,\n    "has_twitter_card": false,\n    "json_ld_schemas": \[\n      {\n        "@context": "https://example.com/reference",\n        "@type": "WebSite",\n        "url": "https://example.com/reference",\n        "name": "Schema.org"\n      }\n    ],\n    "json_ld_errors": \[],\n    "open_graph": {},\n    "twitter_card": {},\n    "status_code": 200,\n    "rendered_via": "playwright"

}\n]\n`\n\n## Quick Automation\n\n### n8n / Make / cURL\nCall this Actor synchronously using the Apify API to fetch dataset items directly in your workflows:\n`bash\ncurl -X POST "https://api.apify.com/v2/acts/bulk-rendered-json-ld-schema-auditor/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \n-H "Content-Type: application/json" \n-d '{\n  "startUrls": \["https://example.com/reference"]\n}'\n\`\`\`\n\n### MCP Server (Model Context Protocol)\nConnect this Actor to your AI agents seamlessly via endpoint `https://mcp.apify.com`. Ask your LLM assistant to audit any target website URL on demand.\n\n## Pricing (Pay-Per-Event)\nThis Actor follows a transparent Pay-Per-Event pricing model:\n- **ACTOR_START**: $0.002 flat charge per audit session start.\n- **ITEM_EXTRACTED**: $0.005 charge for each fully rendered page successfully audited and extracted.\n\n*Estimated cost for 1,000 audited pages:* Approximately $5.002 (plus compute usage).

### Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `startUrls` | array | `["https://schema.org"]` | List of web page URLs to audit for dynamic JSON-LD and OpenGraph tags. |
| `maxItems` | integer | `5` | Maximum number of URLs to process in this run. |
| `waitUntil` | string | `"networkidle"` | Playwright wait condition to ensure JS client-side rendering completes. |
| `extractOpenGraph` | boolean | `true` | Extract og:title, og:image, og:description, and Twitter cards. |
| `extractJsonLd` | boolean | `true` | Parse and validate dynamic script tags of type application/ld+json. |

# Actor input Schema

## `startUrls` (type: `array`):

List of web page URLs to audit for dynamic JSON-LD and OpenGraph tags.

## `maxItems` (type: `integer`):

Maximum number of URLs to process in this run.

## `waitUntil` (type: `string`):

Playwright wait condition to ensure JS client-side rendering completes.

## `extractOpenGraph` (type: `boolean`):

Extract og:title, og:image, og:description, and Twitter cards.

## `extractJsonLd` (type: `boolean`):

Parse and validate dynamic script tags of type application/ld+json.

## Actor input object example

```json
{
  "startUrls": [
    "https://schema.org"
  ],
  "maxItems": 5,
  "waitUntil": "networkidle",
  "extractOpenGraph": true,
  "extractJsonLd": true
}
```

# Actor output Schema

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

Structured records extracted by this Actor.

# 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 = {
    "startUrls": [
        "https://schema.org"
    ],
    "maxItems": 5,
    "waitUntil": "networkidle",
    "extractOpenGraph": true,
    "extractJsonLd": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("risimwell/bulk-rendered-json-ld-schema-auditor").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 = {
    "startUrls": ["https://schema.org"],
    "maxItems": 5,
    "waitUntil": "networkidle",
    "extractOpenGraph": True,
    "extractJsonLd": True,
}

# Run the Actor and wait for it to finish
run = client.actor("risimwell/bulk-rendered-json-ld-schema-auditor").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 '{
  "startUrls": [
    "https://schema.org"
  ],
  "maxItems": 5,
  "waitUntil": "networkidle",
  "extractOpenGraph": true,
  "extractJsonLd": true
}' |
apify call risimwell/bulk-rendered-json-ld-schema-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,risimwell/bulk-rendered-json-ld-schema-auditor"
        }
    }
}
```

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/TOEEhPnNTaqc1izSS/builds/tdEu8Qhk7AlmMbl1q/openapi.json
