Schema.org / Structured Data Extractor avatar

Schema.org / Structured Data Extractor

Pricing

Pay per usage

Go to Apify Store
Schema.org / Structured Data Extractor

Schema.org / Structured Data Extractor

Extracts JSON-LD, Microdata, and RDFa structured data from any list of URLs. Ideal for SEO audits and structured data validation.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Luck Vergouwen

Luck Vergouwen

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

Schema Extractor

Extract all structured data from any list of web pages — JSON-LD, Microdata, and RDFa — in a single lightweight crawl. No browser required.

What it does

The actor fetches each URL you provide using an HTTP crawler (CheerioCrawler) and parses three structured data formats:

FormatHow it works
JSON-LDParses every <script type="application/ld+json"> block; validates that each entry has at least @type or @context
MicrodataFinds all [itemscope] elements; extracts itemtype and all [itemprop] name/value pairs
RDFaFinds all [typeof] elements; extracts vocab and all [property] name/value pairs

Each URL produces one output record. Schema types are normalised (URL prefixes like https://schema.org/ are stripped) and deduplicated across all three sources.

Who should use this

  • SEO professionals auditing structured data coverage across a site
  • Dev teams validating JSON-LD before submitting to Google's Rich Results Test
  • Data teams doing competitive intelligence on how competitors mark up Products, Reviews, FAQs, etc.
  • Content teams verifying that CMS templates emit correct schema on every page type

Input

{
"urls": [
"https://example.com/product/widget",
"https://competitor.com/faq"
],
"maxPagesPerDomain": 10,
"requestTimeoutSecs": 30,
"maxConcurrency": 5
}
FieldTypeRequiredDefaultDescription
urlsstring[]Yes—Pages to scan
maxPagesPerDomainintegerNo10Cap on pages per domain to prevent runaway runs
requestTimeoutSecsintegerNo30Per-request timeout in seconds
maxConcurrencyintegerNo5Parallel requests

Output

One dataset record per URL:

{
"url": "https://example.com/product/widget",
"jsonLd": [
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Widget Pro",
"offers": { "@type": "Offer", "price": "29.99" }
}
],
"microdata": [],
"rdfa": [],
"schemaTypes": ["Offer", "Product"],
"totalSchemas": 1,
"hasJsonLd": true,
"hasMicrodata": false,
"hasRdfa": false,
"scannedAt": "2026-11-18T10:00:00.000Z"
}

If a page fails to load, the record will contain an error field with the reason and all schema arrays will be empty — so your downstream pipeline never has missing rows.

Schema types recognised

The actor surfaces all types it finds, including but not limited to:

Article · BreadcrumbList · Event · FAQPage · HowTo · ImageObject · JobPosting · LocalBusiness · NewsArticle · Organization · Person · Product · ProductGroup · Recipe · Review · SearchAction · VideoObject · WebPage · WebSite

Limitations

  • JavaScript-rendered structured data is not supported. The actor uses an HTTP crawler, not a headless browser. If a site injects JSON-LD via client-side JS, use the Puppeteer Scraper instead.
  • RDFa extraction is simplified: it handles the most common patterns (typeof + property) but does not implement the full RDFa 1.1 processing algorithm.
  • Microdata nested scopes are flattened: each [itemscope] element is emitted as a top-level record regardless of nesting depth.

Running locally

npm install
npm run start:dev

Place your input in storage/key_value_stores/default/INPUT.json:

{
"urls": ["https://schema.org/Product"]
}

Results appear in storage/datasets/default/.

Pricing

This actor uses Pay-Per-Event pricing. You are charged one url-extracted event for each URL that is successfully crawled and pushed to the dataset. Failed URLs are not charged.