# Structured Data Checker: JSON-LD, Schema.org, rich results (`opstoolkit/structured-data-checker`) Actor

Give it page URLs, get their JSON-LD and Microdata checked: every schema.org item, missing required properties, bad dates, prices and ratings, and which types meet Google's documented rich result requirements. Reads only the pages you list. $2 per 1,000 pages.

- **URL**: https://apify.com/opstoolkit/structured-data-checker.md
- **Developed by:** [Elio Saliba](https://apify.com/opstoolkit) (community)
- **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 checkeds

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

## Structured Data Checker: JSON-LD, Schema.org, rich results

Check the schema.org markup on a list of web pages. Give it page URLs and get one row per page: every JSON-LD and Microdata item on it, what is wrong with each, and which types have all the properties Google's guidelines ask for. It reads the pages you list and nothing else.

Most extractors hand you the raw markup and stop. This one also tells you that the price is written `$1,299.00` instead of `1299.00`, that `@type` says `product` instead of `Product`, that the JSON has a trailing comma and the whole block is ignored, that an Event has no location, or that a rating of 7 sits on a 5 point scale.

Built for SEO agencies auditing client sites, shop owners checking product pages after a theme change, developers testing markup before release, and anyone comparing the markup of competitors.

**$2 per 1,000 pages.** Pages that cannot be read (blocked, not found, not HTML) are free. Apify's free monthly credit covers a first test at no cost.

### What you get

One row per page.

| Column | Example | Notes |
|---|---|---|
| `url` / `status` | `https://web.dev/articles/vitals` / `ok` | `ok`, `blocked_by_robots_txt`, `blocked`, `unreachable`, `not_html`, `invalid_input` or `error`. Only `ok` is charged. A page with no structured data is still `ok` |
| `hasJsonLd`, `hasMicrodata`, `hasStructuredData` | `true`, `false`, `true` | |
| `types` | `["Article", "BreadcrumbList"]` | Every type found, nested ones excluded |
| `itemCount`, `jsonLdBlocks`, `microdataItems` | `2`, `2`, `0` | |
| `errorCount`, `warningCount`, `valid` | `0`, `3`, `true` | `valid` is true when there is at least one item and no errors |
| `eligibleTypes` | `["Article", "BreadcrumbList"]` | Types Google documents, with every required property present |
| `missingRequired` | `["Event: location"]` | A flat list you can filter on |
| `issues` | `[{"severity": "error", "code": "bad_price", "path": "json-ld[1]:Product.offers.price", "message": "..."}]` | Every problem, with where it is and how to fix it |
| `entities` | `[{"type": "Product", "errors": 2, "warnings": 1}]` | One line per top-level item |
| `items` | `[{"format": "json-ld", "data": {...}}]` | The full items as JSON. Turn off with `includeItems` |
| `title`, `httpStatus`, `checkedAt` | | |

Export as JSON, CSV, Excel or HTML. In a spreadsheet, lists become one cell each.

### What it checks

| Check | Example it catches |
|---|---|
| JSON that does not parse | `{"name": "Mug",}` with a line and column number |
| `@context` and `@type` | Missing, or not schema.org. `"product"` instead of `"Product"` |
| Required properties, by type | Product without a name, offer, review or rating. Event without a start date or location. JobPosting without a hiring organization. FAQ question without an answer text |
| Recommended properties | Article without an image or author. Organization without a logo. LocalBusiness without a phone number. Shown as warnings |
| Dates | `next Friday`, `11/19/2026`. Expected: ISO 8601, like `2026-11-19` or `2026-11-19T09:00:00+02:00` |
| Prices and currencies | `$1,299.00`, `usd`. Expected: `1299.00` and `USD` |
| Ratings | `ratingValue` outside the best and worst rating |
| URLs | Relative image and logo paths. Google asks for full addresses |
| Placeholders | `{{ product.title }}`, `undefined`, `N/A` left in the output |
| Breadcrumbs | A missing `item` on all but the last crumb, wrong positions |

Types with rules: Article and its subtypes, Product, Offer, AggregateOffer, AggregateRating, Review, Organization, LocalBusiness and its common subtypes, FAQPage, BreadcrumbList, Event, Recipe, JobPosting, VideoObject, WebSite, SoftwareApplication, Course, Place. Other types are read and returned, and get the general checks (context, type, dates, URLs, placeholders).

JSON-LD inside `@graph`, in arrays, and wrapped in HTML comments is handled. A block nested more than 40 levels deep is reported as `too_deep` and skipped, and the rest of the page is still checked. Microdata is turned into the same JSON shape as JSON-LD, so one filter covers both.

### How to use

1. **Paste page addresses**, one per line. Use the page types you care about: product pages, articles, events, job posts.
2. **Press Start.** A hundred pages take a few minutes.
3. **Download the table.** Sort by `errorCount`, or filter `missingRequired` to build a fix list.

### Input example

```json
{
  "urls": ["https://web.dev/articles/vitals", "https://www.nasa.gov/", "https://en.wikipedia.org/wiki/Web_scraping"],
  "includeItems": true,
  "maxConcurrency": 5
}
```

### Use it from an AI agent

In Claude, ChatGPT or Cursor, add the Apify MCP server (https://mcp.apify.com) and ask in plain words. The agent passes your page addresses as `urls`, runs the Actor and reads `errorCount`, `missingRequired` and `issues` from each row.

Example prompt: "Check the structured data on these 25 product pages and list every page with errors, with what is missing or wrong on each."

### Real results

From a real run (shortened). Three pages took 16 seconds on a laptop.

| Page | Types found | Errors | Warnings | Required properties present |
|---|---|---|---|---|
| web.dev/articles/vitals | Article, BreadcrumbList | 0 | 3 | Article, BreadcrumbList |
| nasa.gov | Organization, WebSite, ImageObject, WebPage, Person, Article | 0 | 3 | Article, Organization |
| en.wikipedia.org/wiki/Web_scraping | Article | 0 | 1 | Article |

The warnings are real findings. For example, the Article markup on web.dev has a headline and a modified date but no image, publish date or author, which Google lists as recommended.

A broken example, from a test snippet and not a live page:

```json
{"@type": "product", "image": "/mug.jpg",
 "offers": {"@type": "Offer", "price": "$1,299.00", "priceCurrency": "usd", "availability": "in stock"}}
```

That gives 5 errors and 6 warnings. The errors: missing `@context`, `@type` case, missing product `name`, the price format and the currency code. The warnings include the relative image URL, the availability value and three recommended properties that are absent.

### What "eligible" means

`eligibleTypes` lists the top-level types that Google documents rich results for, where every required property is present. It does not say Google will show a rich result. Google also looks at the page content, the quality of the site and its own policies, and those rules change. Treat this as a fast, bulk first pass. For a final check on one page, use Google's Rich Results Test.

### Use cases

- **SEO audits**: find every product page on a site with a missing price or availability, from a list of 500 URLs.
- **After a migration**: check that the markup survived a new theme or platform.
- **Competitor research**: see which types and properties the pages that outrank you carry.
- **Release checks**: run on a staging list before and after a deploy, on a schedule.
- **Content teams**: see which articles lack an author, image or publish date.

### Pricing

Pay per event: **$2 per 1,000 pages** ($0.002 per page). Apify adds a small fee for each run start.

| Pages | Cost |
|---|---|
| 100 | $0.20 |
| 1,000 | $2 |
| 10,000 | $20 |

You pay only for pages with status `ok`. Unreachable, blocked and invalid ones are free, and they still appear in the output with the reason. Set a max cost per run in the run options to cap spending.

**Compared with other options.** The most used Actor on the Store that extracts JSON-LD and metadata charges $0.005 per page and does not check the values. Other structured data validators there charge between $0.0005 and $0.02 per page. This one is $0.002, 60% under the first, and it checks values, nested items and Microdata.

### How it treats other people's servers

- One request per page, one for the site's robots.txt. It does not crawl and does not follow links.
- It follows robots.txt. A page the file disallows is skipped and free.
- It sends a plain User-Agent that names the tool.
- Addresses that are not on the public internet are refused.

### Limits

- It reads the HTML the server sends. It does not run JavaScript. Markup that a script adds after the page loads, including some markup added through a tag manager, is not seen. If a page shows markup in Google's tool but not here, that is the usual reason.
- RDFa is not read. JSON-LD and Microdata are.
- Each page is read up to 2.5 MB of HTML. Markup after that point is not seen.
- The rules cover the types listed above. A type outside the list is returned with general checks only.
- Google changes which rich results it supports, and which sites can get them. The rules here follow Google's documented required and recommended properties and may lag a recent change. Open an issue if one has moved.
- Some sites answer bots with HTTP 403 or a challenge page. They get status `blocked` and are free.

### Works well with

- **[Sitemap URL Extractor](https://apify.com/opstoolkit/sitemap-url-extractor)**: get every page a site lists, keep one section with `includePattern` (for example `/products/`), and paste the `url` column here.
- **[Website SEO & Broken Link Audit](https://apify.com/opstoolkit/site-seo-link-audit)**: same pages, other checks: titles, meta descriptions, canonicals, noindex and broken links. Markup problems and on-page problems end up in one fix list.
- **[Core Web Vitals Bulk Checker](https://apify.com/opstoolkit/core-web-vitals-checker)**: run the same URL list for LCP, INP and CLS, so one audit covers markup and speed.
- **[AI Answer Visibility Tracker](https://apify.com/opstoolkit/ai-answer-visibility)**: after you fix the markup, track whether AI assistants name your brand when buyers ask.

A typical chain: Sitemap URL Extractor, then this Actor on the product or article URLs, then Website SEO & Broken Link Audit on the same list.

### Integrations

Everything Apify supports works here: weekly schedules, webhooks, the REST API, and the official integrations with Zapier, Make, n8n and Google Sheets. The **API** tab on this page has ready code for JavaScript, Python and cURL.

### FAQ

**Why does a page show no structured data when I can see it in my browser?**
Either a script adds it after load, or it is in a format this Actor does not read, such as RDFa. View the page source: if the markup is not in it, this Actor will not see it.

**Does it crawl a whole site?**
No. It checks the pages you list. To get the pages first, use a sitemap extractor and paste the URLs here.

**Is a green result a guarantee for Google?**
No. See "What eligible means" above.

**Something broke.**
Open an issue on the Issues tab with the run link. I reply within a day.

# Changelog

This Actor's version history is a separate document: https://apify.com/opstoolkit/structured-data-checker/changelog.md

# Actor input Schema

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

Addresses of the pages to check, one per entry. Example: \["https://example.com/products/blue-mug", "https://example.com/blog/launch"]. An address without https:// gets it added. Only these pages are read: nothing is crawled and links are not followed. Pick pages that carry markup, such as product, article, event, recipe or job pages. Up to 20,000 per run. Duplicates are merged. Required.

## `includeItems` (type: `boolean`):

true adds every JSON-LD and Microdata item found to each row, as JSON in the `items` column. Default true. Set false for smaller rows when you only need the errors, warnings and missing properties.

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

How many pages are read at the same time, from 1 to 30. Default 5. Each page is still one request. Keep it low when all pages are on one site.

## Actor input object example

```json
{
  "urls": [
    "https://web.dev/articles/vitals",
    "https://www.nasa.gov/",
    "https://en.wikipedia.org/wiki/Web_scraping"
  ],
  "includeItems": true,
  "maxConcurrency": 5
}
```

# Actor output Schema

## `pages` (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://web.dev/articles/vitals",
        "https://www.nasa.gov/",
        "https://en.wikipedia.org/wiki/Web_scraping"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("opstoolkit/structured-data-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://web.dev/articles/vitals",
        "https://www.nasa.gov/",
        "https://en.wikipedia.org/wiki/Web_scraping",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("opstoolkit/structured-data-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://web.dev/articles/vitals",
    "https://www.nasa.gov/",
    "https://en.wikipedia.org/wiki/Web_scraping"
  ]
}' |
apify call opstoolkit/structured-data-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,opstoolkit/structured-data-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/naOt0IeBh0Wfy4b3R/builds/KVmn5pdZPNv1kX0MU/openapi.json
