Product Page Scraper: Product URL to JSON (Price, Stock, GTIN) avatar

Product Page Scraper: Product URL to JSON (Price, Stock, GTIN)

Pricing

from $0.40 / 1,000 product pages

Go to Apify Store
Product Page Scraper: Product URL to JSON (Price, Stock, GTIN)

Product Page Scraper: Product URL to JSON (Price, Stock, GTIN)

Paste product URLs from any online store and get clean JSON: name, brand, price, currency, stock, SKU, GTIN, rating, images and variants. Structured fields, no guesswork.

Pricing

from $0.40 / 1,000 product pages

Rating

0.0

(0)

Developer

MRSLM Data

MRSLM Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

Product Page Scraper: URL to JSON (Price, Stock, GTIN)

Turn any product page URL into clean JSON: name, brand, price, currency, stock, SKU/GTIN, rating, images and variants. $0.50 per 1,000 pages.

Think of it as a product scraper that works on any store without a per-site setup: give it product URLs, get back the same JSON shape every time, whether the page is on Shopify, WooCommerce, Magento or a custom platform.

Works across Shopify, WooCommerce, Magento, BigCommerce and custom stores by reading the product data that stores publish for Google (schema.org JSON-LD and microdata) and social previews (OpenGraph). No AI guessing, no browser, so it is fast and cheap.

Quick start

  1. Press Start. The form is already filled with this example input, so the first run returns real rows in under a minute:
{
"startUrls": [
{
"url": "https://www.allbirds.com/products/mens-tree-runners"
},
{
"url": "https://porterandyork.com/product/whole-turkey-12-14lb/"
}
]
}
  1. Swap in your own values, or call the Actor through the Apify API, Make, Zapier, n8n or the Python/JS clients with the same JSON.
  2. Download the results as JSON, CSV or Excel from the Output tab, or schedule the run to repeat.

Full guide: How to Extract Product Data from Any Product Page URL as JSON (Price, Stock, SKU and GTIN)

What the Product Page Scraper does

You give the Actor product page URLs from any store: Shopify, WooCommerce, Magento, BigCommerce or custom. For each page it reads the schema.org Product data (JSON-LD first, then microdata) and falls back to OpenGraph product tags. It saves one row per page with name, brand, SKU, GTIN, MPN, category, price and maximum price, currency, availability, condition, seller, price-valid-until date, rating and review count, images, variants with their own SKU, price and stock, the canonical URL, the site name and the source it used.

There is no browser and no AI in the loop, so a page takes well under a second and the output is exactly what the store published.

  • One format for every store, whatever its platform.
  • Variants (size, colour) with their own price, SKU and stock, up to 100 per page.
  • source tells you whether the data came from json-ld, microdata or opengraph.

Who it is for

  • Price comparison and deal sites: read prices and stock from many stores with a single tool.
  • Brands and manufacturers: check what retailers show for your products, including GTINs and stock.
  • Ecommerce SEO agencies: audit what structured data a client's product pages give Google and AI shopping assistants.
  • Developers and AI agents: turn a product link into JSON in one call.

Real example: four product pages from four different stores

Say you track a handful of products across different stores and want the same columns for each: a pair of Allbirds shoes, a ColourPop makeup bundle, a nutribullet juicer and a whole turkey from the WooCommerce shop Porter & York. You paste the four URLs and skip descriptions to keep rows short.

Step 1: Enter the input

Open the Product Page Scraper in Apify Console, switch the input form to JSON and paste this. It is the exact input used for the run in this guide:

{
"startUrls": [
{
"url": "https://www.allbirds.com/products/mens-tree-runners"
},
{
"url": "https://porterandyork.com/product/whole-turkey-12-14lb/"
},
{
"url": "https://www.nutribullet.com/shop/juicers/cold-press-juicer/"
},
{
"url": "https://colourpop.com/products/blush-pop-collection"
}
],
"includeDescription": false
}

What each setting does:

  • startUrls: four product pages from four different stores. Each page saved is one charge.
  • includeDescription: false to leave out the product description.

Step 2: Run it

Press Start. On 30 October 2026 this input finished with status SUCCEEDED in about 4 seconds and saved 4 rows to the run's dataset. The run was charged 4 page events plus one start event, so the bill was $0.00205 on the Free/Bronze tier. All four pages were read; the summary shows 4 targets OK and 0 failed.

Step 3: Read the output

Here are the first rows of the real dataset, cut to the most useful columns:

domainnamebrandskugtinpricecurrencyavailabilityratingValuesource
porterandyork.comWhole Turkey (12–14 lbs) / Natural Poultry / Por…115USDopengraph
colourpop.comBlush Pop Full CollectionBundle-BlushPopCollectionFG00813042USDInStockjson-ld
nutribullet.comnutribullet Cold Press JuicerECOM01731149.99USDInStock4.7json-ld
allbirds.comMen's Tree RunnerAllbirdsMENS_TREE_RUNNERS100USDInStockjson-ld

And one full row as JSON (long text shortened with …):

{
"url": "https://www.allbirds.com/products/mens-tree-runners",
"domain": "allbirds.com",
"name": "Men's Tree Runner",
"brand": "Allbirds",
"sku": "MENS_TREE_RUNNERS",
"gtin": null,
"mpn": null,
"price": 100,
"priceMax": 100,
"currency": "USD",
"availability": "InStock",
"itemCondition": "NewCondition",
"ratingValue": null,
"reviewCount": null,
"images": [
"https://www.allbirds.com/cdn/shop/files/TR3MJBW080_SHOE_LEFT_GLOBAL_MENS_TREE_RUNNER_JET_BLACK_WHITE.png?v=1751165486&width=100",
"https://www.allbirds.com/cdn/shop/files/TR3MJBW080_SHOE_LEFT_GLOBAL_MENS_TREE_RUNNER_JET_BLACK_WHITE.png?v=1751165486&width=300",
"https://www.allbirds.com/cdn/shop/files/TR3MJBW080_SHOE_LEFT_GLOBAL_MENS_TREE_RUNNER_JET_BLACK_WHITE.png?v=1751165486&width=600",
"https://www.allbirds.com/cdn/shop/files/TR3MJBW080_SHOE_LEFT_GLOBAL_MENS_TREE_RUNNER_JET_BLACK_WHITE.png?v=1751165486&width=900"
],
"variantCount": 42,
"variants": [
{
"name": "Men's Tree Runner - Jet Black (White Sole) - Size 8",
"sku": "TR3MJBW080",
"gtin": null,
"price": 100,
"currency": "USD",
"availability": "InStock",
"color": "Men's Tree Runner - Jet Black (White Sole)",
"size": "8",
"url": "https://www.allbirds.com/products/mens-tree-runners?size=8"
},
{
"name": "Men's Tree Runner - Jet Black (White Sole) - Size 9",
"sku": "TR3MJBW090",
"gtin": null,
"price": 100,
"currency": "USD",
"availability": "OutOfStock",
"color": "Men's Tree Runner - Jet Black (White Sole)",
"size": "9",
"url": "https://www.allbirds.com/products/mens-tree-runners?size=9"
},
{
"name": "Men's Tree Runner - Jet Black (White Sole) - Size 10",
"sku": "TR3MJBW100",
"gtin": null,
"price": 100,
"currency": "USD",
"availability": "OutOfStock",
"color": "Men's Tree Runner - Jet Black (White Sole)",
"size": "10",
"url": "https://www.allbirds.com/products/mens-tree-runners?size=10"
},
{
"name": "Men's Tree Runner - Jet Black (White Sole) - Size 11",
"sku": "TR3MJBW110",
"gtin": null,
"price": 100,
"currency": "USD",
"availability": "OutOfStock",
"color": "Men's Tree Runner - Jet Black (White Sole)",
"size": "11",
"url": "https://www.allbirds.com/products/mens-tree-runners?size=11"
},
"…"
],
"canonicalUrl": "https://www.allbirds.com/products/mens-tree-runners",
"siteName": "Allbirds",
"source": "json-ld"
}

What the four real rows show about each store's published data:

  • Allbirds publishes the most. Brand, SKU, $100 price, NewCondition and a ProductGroup of variants. The variants list has the seven sizes (8 to 14) of the Jet Black (White Sole) colour with their own SKUs, and on the run day only size 8 was InStock. variantCount is 42 because the page lists 42 variants, but 35 of them are only links to the other colours' own pages, with no price or stock, so only the 7 complete ones are in variants. To get another colour, add its page URL.
  • nutribullet has reviews. The Cold Press Juicer shows SKU ECOM01731, $149.99, InStock and a 4.7 rating from 19 reviews. It has no brand field in its data.
  • ColourPop's "GTIN" is not a GTIN. The Blush Pop Full Collection page publishes gtin as "FG008130", which has letters and is clearly an internal code, not a valid barcode number. The Actor reports what the page says; validate GTINs before matching products on them.
  • Porter & York only has OpenGraph. The turkey page has no schema.org Product data, so source is opengraph: name, $115 price, currency and image, but no SKU, stock or rating. The name is the page title, with the store name attached.
  • Brand is often missing. Only Allbirds publishes a brand. If you need one, siteName is a useful fallback for single-brand stores.

JSON-LD, microdata and OpenGraph

JSON-LD is a block of schema.org data in the page's HTML, and it is what Google recommends for product rich results; most modern stores have it. Microdata is the older way of tagging the same facts inside the HTML. OpenGraph tags are written for social previews and only carry a title, image and sometimes price. The Actor tries them in that order and records which one it used in source, so you can see at a glance which stores give complete data.

If you run an online store, this is also a quick check of what you publish. Pages that come back as opengraph, or with empty sku, gtin, brand or availability, are missing data that Google Shopping and AI shopping assistants look for. Our AI Shopping Readiness Checker runs a fuller audit.

Output fields

Each row in the dataset has these fields. The example column shows a value from the run above.

FieldWhat it meansExample from this run
url / domainThe page you gave and its domain.https://porterandyork.com/product/whole-turkey-12-14lb/ / porterandyork.com
name / brandProduct name and brand, when published.Whole Turkey (12–14 lbs) / Natural Poultry / Porter & York / Allbirds
sku / gtin / mpnStore SKU, barcode number (GTIN) and manufacturer part number.Bundle-BlushPopCollection / FG008130 / (empty in this run)
categoryProduct category, when published.(empty in this run)
price / priceMaxLowest and highest price across offers and variants.115 / 115
currencyISO currency code.USD
availabilityInStock, OutOfStock, PreOrder and so on.InStock
itemConditionNewCondition, UsedCondition and so on.NewCondition
seller / priceValidUntilSeller name and price expiry date, when published.(empty in this run) / (empty in this run)
ratingValue / reviewCountAverage rating and number of reviews.4.7 / 19
imagesProduct image links.https://porterandyork.com/wp-content/uploads/2013/09/whole_t…
variantCount / variantsHow many variants the page lists, and up to 100 with name, SKU, GTIN, price, currency, availability, colour, size and URL.0 / {"name": "Men's Tree Runner - Jet Black (White Sole) - Size…
canonicalUrl / siteNameCanonical page link and site name.https://porterandyork.com/product/whole-turkey-12-14lb/ / Porter and York
sourcejson-ld, microdata or opengraph.opengraph

Export product data to CSV, Excel or Google Sheets

Every run saves its rows to a dataset, and a dataset can be downloaded in any common format. You do not need to write code for this.

From Apify Console. Open the run, go to the Output tab and click Export. Pick CSV, Excel (XLSX), JSON, XML, HTML or RSS. You can tick only the columns you want, for example domain, name, sku, gtin, price. Nested values such as lists are flattened into columns like variants/0/sku in CSV and Excel.

From a URL. The same export is a plain HTTPS link. Replace <DATASET_ID> with the dataset ID shown on the run's Storage tab:

# CSV with just the columns you need
curl -H "Authorization: Bearer $APIFY_TOKEN" \
"https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=csv&clean=1&fields=domain,name,sku,gtin,price,currency,availability,ratingValue,reviewCount,url" -o product-pages.csv
# Excel
curl -H "Authorization: Bearer $APIFY_TOKEN" \
"https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=xlsx&clean=1" -o product-pages.xlsx

Into Google Sheets. You have three good options:

  1. One-off: download the CSV and use File > Import > Upload in Google Sheets. Choose "Replace current sheet" to refresh an existing tab.
  2. Automatic, no code: in Make, Zapier or n8n, use the Apify app's "Watch Actor runs" (or "Run Actor") trigger, then "Get dataset items", then the Google Sheets "Add row" action. Every scheduled run then lands in your sheet. Apify's own Google Sheets Import & Export Actor can also append a dataset to a sheet, and you can chain it to this Actor's runs with an integration.
  3. Formula: =IMPORTDATA("https://api.apify.com/v2/actor-tasks/<USERNAME>~<TASK_NAME>/runs/last/dataset/items?status=SUCCEEDED&format=csv&token=<YOUR_TOKEN>") always pulls the latest successful run of a saved task. The token sits in the formula, so anyone who can open the sheet can see it. Only use this in a private sheet.

Schedule it to run every 6 hours

Prices and stock change during the day, especially around sales. Save your list of URLs as a task and run it every few hours, then compare price and availability by url with the last run. At $0.50 per 1,000 pages, 100 URLs four times a day cost about $6 a month.

  1. In the Actor's input form, set up the input from Step 1 and click Save as new task. Give it a clear name such as product-pages-6h.
  2. Go to Schedules > Create new, set the cron expression to 0 */6 * * * and pick your timezone, so it runs every 6 hours.
  3. Add the task to the schedule and save. Each run gets its own fresh dataset.
  4. Optional: on the task's Integrations tab, add a webhook, Slack or email notification for "Run succeeded", or connect Make, Zapier or n8n, so the new rows go where you need them.

To fetch the newest results without looking up a run ID, use the task's last-run link: https://api.apify.com/v2/actor-tasks/<USERNAME>~product-pages-6h/runs/last/dataset/items?status=SUCCEEDED&format=json.

Call it from the API (Python, JavaScript or curl)

You can start the Actor from your own code with the official Apify clients. Put your API token (Console > Settings > API & Integrations) in an environment variable called APIFY_TOKEN rather than in the code.

Python (pip install "apify-client>=3"). Tested with apify-client 3.4:

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run_input = {
"startUrls": [
{
"url": "https://www.allbirds.com/products/mens-tree-runners"
},
{
"url": "https://porterandyork.com/product/whole-turkey-12-14lb/"
},
{
"url": "https://www.nutribullet.com/shop/juicers/cold-press-juicer/"
},
{
"url": "https://colourpop.com/products/blush-pop-collection"
}
],
"includeDescription": False
}
run = client.actor("mrslm_data/product-page-json").call(run_input=run_input)
# apify-client 3.x returns a Run object, so use run.default_dataset_id
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item["domain"], item["price"])

In apify-client 3.x, call() returns a typed object. Older examples that use run["defaultDatasetId"] were written for 1.x and 2.x and fail in 3.x with TypeError: 'Run' object is not subscriptable.

JavaScript / Node.js (npm install apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const input = {
"startUrls": [
{
"url": "https://www.allbirds.com/products/mens-tree-runners"
},
{
"url": "https://porterandyork.com/product/whole-turkey-12-14lb/"
},
{
"url": "https://www.nutribullet.com/shop/juicers/cold-press-juicer/"
},
{
"url": "https://colourpop.com/products/blush-pop-collection"
}
],
"includeDescription": false
};
const run = await client.actor('mrslm_data/product-page-json').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, items[0]);

curl, one request that runs the Actor and returns the rows as CSV (it waits up to 5 minutes, so keep the input small):

curl -X POST "https://api.apify.com/v2/acts/mrslm_data~product-page-json/run-sync-get-dataset-items?format=csv" \
-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
-d '{"startUrls": [{"url": "https://www.allbirds.com/products/mens-tree-runners"}, {"url": "https://porterandyork.com/product/whole-turkey-12-14lb/"}, {"url": "https://www.nutribullet.com/shop/juicers/cold-press-juicer/"}, {"url": "https://colourpop.com/products/blush-pop-collection"}], "includeDescription": false}' -o product-pages.csv

What it costs

The Actor uses pay-per-event pricing. Product page: $0.50 per 1,000 on the Free and Bronze tiers, $0.45 on Silver and $0.40 on Gold. Each run also has a start fee of $0.00005 per GB of memory (one event at the default memory). You are not billed separately for compute on normal runs: the event prices are the whole bill.

Price per event

Current pay-per-event prices for this Actor on Apify, by Apify subscription plan:

Event (per 1,000)Free / BronzeSilverGold / Platinum / Diamond
Product page (page)$0.50$0.45$0.40
Actor start (once per run at the default memory, not per 1,000)$0.00005$0.00005$0.00005

You are charged only for the events in this table: nothing for compute, and nothing for searches that return no rows beyond the start fee.

ScenarioFree / BronzeSilverGold
The run in this guide (4 product pages)$0.00205$0.00185$0.00165
100 URLs, 4 times a day (120 runs, 12,000 pages a month)$6.01$5.41$4.81
One-off check of 50,000 product pages$25.00$22.50$20.00

To cap spending, set Maximum cost per run in the run options (or maxTotalChargeUsd in the API). The Actor stops cleanly at the cap and you are never billed past it. Pages with no product data, and pages that fail to load, get a free row with an error field and are not charged.

Limits

  • Only data the page publishes. If a store has no structured data, you get the OpenGraph basics or nothing.
  • Values are reported as published: wrong GTINs, stale prices or missing brands on the page stay wrong in the output.
  • No JavaScript rendering. Stores that only build product data in the browser may show less.
  • Some large retailers block automated requests; the optional residential proxy helps there (it is billed by Apify separately).
  • Variants that are only links to other pages are counted in variantCount but not listed; add those pages as URLs.

FAQ

Is this a general product scraper or only for one store? General. It reads the structured product data that stores publish for Google Shopping and social previews, so it works on any store that publishes it, with no per-site setup.

Which stores does it work on? Any store that publishes schema.org Product data or OpenGraph product tags. That covers almost all Shopify, WooCommerce, Magento and BigCommerce stores and many custom ones.

Do I pay for pages with no product data? No. Those pages get a free row with an error field, so you can see which URLs to fix. Only rows with product data are charged.

Can it crawl a whole store? No, it reads the URLs you give it. For full catalogs use our Shopify, WooCommerce or Magento scrapers.

Why does the name include the store name? When a page only has OpenGraph tags, the name is the page title, which many stores end with their brand.

Can I run it on a schedule? Yes. Save your input as a task and attach a schedule, as shown above. Each run is independent and returns the product data available at that moment.

Does it work with Make, Zapier or n8n? Yes. All three have an Apify app. Use "Run Actor" (or run a saved task), then "Get dataset items" to pass the rows to the next step, such as Google Sheets, Airtable, a CRM or Slack.

Can AI agents use it through MCP? Yes. Apify's hosted MCP server can expose this Actor as a tool to any MCP client (Claude Desktop, Cursor, VS Code and others). Add https://mcp.apify.com/?tools=mrslm_data/product-page-json as a remote MCP server and sign in with your Apify account or API token. The agent fills in the same input fields shown above and gets the same rows back, billed at the same per-event prices.

This Actor only reads pages and feeds that the website itself publishes to every visitor without a login. It obeys each site's robots.txt, keeps a polite request rate, and never tries to get past logins, paywalls, captchas or bot checks. It does not collect personal data such as emails, phone numbers or names of private individuals. You are responsible for how you use the data: follow the source site's terms, copyright and the privacy laws that apply to you (GDPR, CCPA, etc.). This tool is independent and not affiliated with or endorsed by the platforms it reads.