Menu

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

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

DEV Community: python·Bachir Djoukbala·about 8 hours ago
#YGWbxPqJ
#devtopython#devto#dev#store#woocommerce
Reading 0:00
15s threshold

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:…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.