WooCommerce Product Scraper avatar

WooCommerce Product Scraper

Pricing

from $3.00 / 1,000 product scrapeds

Go to Apify Store
WooCommerce Product Scraper

WooCommerce Product Scraper

Scrape WooCommerce store products via Store REST API. Extract prices, SKUs, stock status, categories, and images for competitor and market research.

Pricing

from $3.00 / 1,000 product scrapeds

Rating

0.0

(0)

Developer

Harsh

Harsh

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

17 hours ago

Last modified

Share

Scrape product data from WooCommerce stores for competitor research, price monitoring, and catalog analysis. This Actor uses HTTP requests only (no browser) and tries multiple data sources automatically.

Features

  • Store API first — uses the public WooCommerce Store API (/wp-json/wc/store/v1/products)
  • REST API fallback — tries the WooCommerce REST API v3 (/wp-json/wc/v3/products) when the Store API is unavailable
  • HTML fallback — scrapes product links from /shop/ and parses product pages when JSON APIs are blocked
  • Variation support — optionally fetches product variations for variable products
  • Graceful errors — pushes error records when a store cannot be scraped

Input

FieldTypeRequiredDefaultDescription
storeUrlsstring[]YesWooCommerce store base URLs
maxProductsintegerNo100Max products per store
includeVariationsbooleanNofalseInclude variable product variations

Example input

{
"storeUrls": [
"https://demo.woothemes.com/storefront"
],
"maxProducts": 25,
"includeVariations": false
}

Output

Each dataset item contains:

FieldDescription
titleProduct name
skuStock keeping unit
priceCurrent price
regularPriceRegular price
salePriceSale price
stockStatusinstock, outofstock, or onbackorder
categoriesCategory names
imagesImage URLs
permalinkProduct page URL
storeUrlSource store URL
scrapedAtISO timestamp
errorError message when scraping failed

How it works

  1. For each store URL, the Actor normalizes the base URL.
  2. It paginates through the Store API (per_page=100).
  3. If that fails, it tries the WC REST API v3 endpoint.
  4. If both JSON endpoints fail, it scrapes /shop/ for product links and parses each product page.
  5. Results are saved to the default dataset.

Local development

npm install
apify run

Create storage/key_value_stores/default/INPUT.json with your test input, or edit the prefill values in the input schema.

Deploy

apify login
apify push

Notes

  • Some stores disable public REST APIs and only allow HTML scraping.
  • WC REST API v3 often requires authentication; the Actor handles this by falling back automatically.
  • Respect each store's terms of service and robots.txt when scraping.