DEV Community

Bachir Djoukbala
Bachir Djoukbala

Posted on

Scraping WooCommerce product catalogs through the public Store API (no HTML parsing)

Most WooCommerce shops ship with the WooCommerce Store API enabled at /wp-json/wc/store/v1/products. It's the same public endpoint the shop's own block-based cart uses, and it returns clean JSON: names, prices, sale prices, stock status, categories, images and variations.

That means you can pull a whole catalog without parsing any theme HTML, which breaks every time a shop changes its design.

I built a scraper and price monitor on top of it that:

  • extracts every product from any WooCommerce store that exposes the Store API
  • normalises prices across currencies and minor units
  • compares against the previous run and flags new products, price drops and restocks
  • skips stores behind Cloudflare challenges instead of trying to get around them

Good for competitor price tracking, catalog research and reseller monitoring.

Use it

It runs on Apify at $3 per 1,000 products.

https://apify.com/rejoicing_shanty/woocommerce-store-data-monitor

If you sell on Shopify instead, there's a sister tool: https://apify.com/rejoicing_shanty/shopify-store-data-monitor

Top comments (0)