Skip to content

Structured data (schema.org)

Structured data is machine-readable markup, usually schema.org Product in JSON-LD, describing a product page's price, availability, GTIN and brand.

What it contains

Many online stores publish schema.org Product markup so that search engines can show prices and stock in results. It usually sits in a JSON-LD script in the page code and lists the product name, price, currency, availability, brand and identifiers such as GTIN, SKU or MPN. On Shopify, the same product details can also be read as JSON.

Why scrapers read it first

For the fields it contains, structured data is the cheapest and most reliable source: no model and no selector are needed. It is also a check on extraction. If the price a scraper or an AI model took from the visible page differs from the price in the markup, that record needs a second look.

What it leaves out

Markup rarely tells the whole story. It may cover just the default variant, and during a sale it can still show the old price. Promotion badges, shipping terms, full specifications and cart-only prices are usually missing from it. Those fields have to be extracted from the page itself; see AI web scraping for product data.

Full guideAI Web Scraping for Product Data: What Works and What Breaks

Related terms

Turn any website into a product data table

Every product page is a data source.