Shopify & WooCommerce Product Price, Stock & JSON-LD Monitor avatar

Shopify & WooCommerce Product Price, Stock & JSON-LD Monitor

Pricing

from $2.00 / 1,000 results

Go to Apify Store
Shopify & WooCommerce Product Price, Stock & JSON-LD Monitor

Shopify & WooCommerce Product Price, Stock & JSON-LD Monitor

Fast async E-Commerce product price, stock availability (In Stock / Out of Stock), currency, SKU, and Schema.org Product JSON-LD extractor for Shopify, WooCommerce, and custom online catalogs.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Trung Thanh Tran

Trung Thanh Tran

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

17 days ago

Last modified

Features

Limited permissions

Share

E-Commerce Product Price, Stock Status and JSON-LD Extractor (Apify Actor)

Try it on Apify Store: https://apify.com/thanh81646/apify-ecommerce-price-and-stock-monitor

An Apify actor in async Python (httpx + BeautifulSoup4). For each product or category URL you give it, it fetches the page once and returns product title, price, currency, availability, SKU and product URL.

How extraction works

  1. Schema.org JSON-LD first. If the page has a Product JSON-LD block, it reads name, sku and the first entry in offers (price, priceCurrency, availability, url). Availability becomes In Stock if the value contains InStock, otherwise Out of Stock. Only the first offer is read, so there is no per-variant price or stock.
  2. HTML product cards next. If there is no JSON-LD product, it looks for common card selectors (article.product_pod, div.product, li.product, div.product-card, div.grid-product) and reads title, link, price text and a stock element. If a card has no stock element, it is reported as In Stock.
  3. Single product page last. If no cards are found, it tries a h1 plus a price element.

Prices are parsed with a regex that recognizes $, £, €, ¥, USD, EUR, GBP and VND. Anything else defaults to USD. Each record has an extraction_method field so you can see which step produced it.

Pages that return a non-200 status or fail to load produce no records. The actor does not use a headless browser, does not follow pagination, and does not store history between runs. To monitor changes over time, schedule it on Apify and compare datasets yourself.

Input

{
"startUrls": [
{ "url": "https://books.toscrape.com/catalogue/category/books/travel_2/index.html" },
{ "url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html" }
],
"maxItemsPerPage": 25,
"maxItems": 25
}

Runs on the Apify free tier are capped at 25 results.

Output record

{
"product_title": "It's Only the Himalayas",
"price_amount": 45.17,
"currency": "GBP",
"availability": "In Stock",
"sku": "",
"product_url": "https://books.toscrape.com/catalogue/its-only-the-himalayas_981/index.html",
"source_page_url": "https://books.toscrape.com/catalogue/category/books/travel_2/index.html",
"extraction_method": "HTML Product Card Parser"
}

Calling it from Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("thanh81646/apify-ecommerce-price-and-stock-monitor").call(
run_input={"startUrls": [{"url": "https://books.toscrape.com/catalogue/category/books/travel_2/index.html"}]}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

In n8n or Make.com, use the Apify "Run an Actor" node/module with the actor ID thanh81646/apify-ecommerce-price-and-stock-monitor.

Need a custom version?

If you need extra fields, another website, scheduled runs into Google Sheets, Airtable or a webhook, or an n8n / Make workflow around this actor, email ttrungthanh90@gmail.com with the target site and the fields you need, and I will reply with a fixed quote. You can also message me through my Apify profile.

Author

Trung Thanh Tran: Upwork · GitHub · Apify · Contra

The actor reads public product pages at the user's direction. It is not affiliated with Shopify, WooCommerce or any retailer; trademarks belong to their owners. It does not bypass logins or access controls. You are responsible for complying with each site's terms, rate limits and applicable law.