Structured Data Extractor – JSON-LD, Microdata & RDFa avatar

Structured Data Extractor – JSON-LD, Microdata & RDFa

Pricing

from $1.50 / 1,000 page extracteds

Go to Apify Store
Structured Data Extractor – JSON-LD, Microdata & RDFa

Structured Data Extractor – JSON-LD, Microdata & RDFa

Extract schema.org structured data from any list of URLs: JSON-LD (incl. @graph), Microdata and RDFa. Get the found types, the raw objects and validation warnings for Product, Offer, Organization, LocalBusiness, Article, Breadcrumb, FAQ, Event, Recipe and more.

Pricing

from $1.50 / 1,000 page extracteds

Rating

0.0

(0)

Developer

Adam Plänitz

Adam Plänitz

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Features

Limited permissions

Share

Extract the schema.org structured data of any list of web pages and check it for common mistakes. The Actor reads JSON-LD (including @graph and arrays), Microdata (including nested items and itemref) and RDFa Lite, returns the found types and the complete objects as JSON, and flags invalid JSON-LD as well as missing required and recommended properties for the types that matter for rich results – Product, Offer, Organization, LocalBusiness, Article, BreadcrumbList, FAQPage, Event, Recipe, JobPosting, VideoObject, Review and more. Plain HTTP requests, no browser. Export as JSON, CSV or Excel, or connect to Google Sheets, Make, Zapier, n8n or webhooks.

What does it do?

For every URL the Actor fetches the HTML (redirects are followed) and:

  1. Extracts structured data
    • JSON-LD: every <script type="application/ld+json"> block; arrays and @graph are unfolded into separate entities and inherit the @context. Blocks that are not valid JSON are reported as errors (search engines ignore them). If the breakage is a common one – trailing commas, raw line breaks in strings, JavaScript comments, several objects in one block, HTML comment / CDATA wrappers – the data is repaired for display only so you can see what was intended.
    • Microdata: itemscope / itemtype / itemprop following the HTML standard (values from content, href, src, datetime, value, nested items, itemref, itemid), converted to the same JSON shape as JSON-LD.
    • RDFa Lite: vocab / typeof / property / resource for schema.org (also schema: prefixes). Other RDFa vocabularies and Open Graph meta tags are not included.
  2. Lists the types: top-level types per page (types) and every type including nested ones (allTypes), counts per format.
  3. Validates (can be switched off):
    • required properties (error) and recommended properties (warning) for common types, based on the public rich result documentation of search engines – e.g. Product needs name and one of offers / review / aggregateRating; BreadcrumbList items need position, name and item (except the last); FAQPage questions need an accepted answer with text; Event needs name, startDate and location; LocalBusiness needs name and address;
    • values: ISO 8601 dates and durations (PT30M), numeric prices without currency symbols, 3-letter currency codes, schema.org availability and eventStatus values, numeric ratings, absolute URLs, missing or non-schema.org @context.
    • @id references to other nodes count as present. Subtypes are recognised (e.g. Dentist → LocalBusiness rules, BlogPosting → Article rules).

Who is it for?

  • SEO specialists and agencies: audit the structured data of product, recipe, event or article templates in bulk.
  • Developers: check markup after a deployment or a CMS / plugin update; find broken JSON-LD quickly.
  • Data teams: collect product, organisation or event data that websites publish in machine-readable form.

Input

FieldDefaultDescription
URLs–Pages to process (one per line). Duplicates are removed.
Outputone row per pageOr one row per top-level entity (flat).
JSON-LD / Microdata / RDFaonFormats to extract.
ValidateonRequired / recommended properties and value checks.
Include the extracted objectsonSwitch off to get only types, counts and warnings.
Only these types–e.g. Product, Recipe – keeps only top-level entities of these types.
User-Agent, parallel requests, timeout–Advanced settings.

Output example (one row per page, shortened)

{
"url": "https://apify.com/apify/web-scraper",
"finalUrl": "https://apify.com/apify/web-scraper",
"statusCode": 200,
"hasStructuredData": true,
"types": ["BreadcrumbList", "Organization", "SoftwareApplication"],
"allTypes": ["AggregateRating", "BreadcrumbList", "ContactPoint", "ImageObject", "ListItem", "Offer", "Organization", "PostalAddress", "SoftwareApplication"],
"entityCount": 3,
"formats": { "jsonLd": 3, "microdata": 0, "rdfa": 0 },
"jsonLdBlocks": 3,
"invalidJsonLdBlocks": 0,
"errorCount": 0,
"warningCount": 1,
"entities": [
{
"entityIndex": 1,
"format": "json-ld",
"type": "SoftwareApplication",
"types": ["SoftwareApplication"],
"nestedTypes": ["AggregateRating", "Offer"],
"data": {
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "Web Scraper",
"applicationCategory": "BrowserApplication",
"offers": { "@type": "Offer", "price": 0, "priceCurrency": "USD" },
"aggregateRating": { "@type": "AggregateRating", "ratingValue": 4.7, "reviewCount": 100 }
},
"errorCount": 0,
"warningCount": 1
}
],
"warnings": [
{ "severity": "warning", "entityIndex": 1, "format": "json-ld", "type": "SoftwareApplication", "path": "SoftwareApplication", "property": "operatingSystem", "code": "missing-recommended", "message": "SoftwareApplication: recommended property \"operatingSystem\" is missing." }
],
"error": null
}

In flat mode every top-level entity is its own row with url, format, type, types, data, its own warnings and counts. Pages without structured data get one row with hasStructuredData: false.

Warning codes: invalid-json, invalid-json-repaired, missing-context, non-schema-org-context, missing-type, missing-required, missing-recommended, invalid-value, invalid-date, invalid-duration, invalid-price, invalid-currency, relative-url, html-truncated.

Pricing and speed

See the Pricing tab. You pay per processed page – in both output modes, regardless of how many entities a page contains. Pages without structured data are charged too (the check was done). Rows for URLs that cannot be reached, return an HTTP error (4xx/5xx) or are not HTML are free. You can set a maximum cost per run – the Actor stops cleanly when it is reached.

One request per page. In a cloud test, a mixed list of 100 URLs (store pages, Wikipedia articles, shops) took about 5 seconds with the default 5 parallel requests. The Actor runs with 1024 MB memory by default (large pages are parsed faster with more CPU).

Privacy and responsible use

  • No personal data: Person objects are replaced by {"@type": "Person", "redacted": true, "properties": [...]} (the property names stay visible so validation results remain understandable), and plain-text names under author, creator, editor, reviewedBy, founder and similar properties are replaced by [redacted: personal data]. Organisations, products, places and events are kept. Free-text fields such as descriptions are passed through as published.
  • Only public pages are fetched, like a browser visit. Private, loopback and internal addresses are refused.
  • The structured data belongs to the website owners; respect their terms when you reuse it.

Not affiliated with schema.org, Google or any search engine. The validation is a plausibility check based on public documentation – not a replacement for the official Rich Results Test, and it does not guarantee rich results.

Limits

  • No JavaScript rendering: structured data that is injected by client-side JavaScript (e.g. by a tag manager) is not seen.
  • Only schema.org RDFa is extracted; RDFa with other vocabularies is skipped.
  • The rules cover common types and properties; types without rules are extracted but only value-checked.
  • HTML larger than 5 MB is truncated (reported as html-truncated).

Questions or feature requests? Please open an issue in the Issues tab.