# WooCommerce Public Catalog — Prices & Stock (`abdulwhab95/woocommerce-public-catalog-scraper`) Actor

Extract WooCommerce public Store API products with currency-aware prices, stock, SKU, descriptions, categories and images. No merchant API key. Export JSON, CSV or Excel with a bounded result count.

- **URL**: https://apify.com/abdulwhab95/woocommerce-public-catalog-scraper.md
- **Developed by:** [ABDULWAHAB NASER RASHED ALQARAWI](https://apify.com/abdulwhab95) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## WooCommerce Public Catalog — Prices & Stock

Enter a WooCommerce store URL with an accessible public Store API; no merchant API key is needed.\
Download product names, prices, currency, stock status, categories and image URLs as JSON, CSV or Excel.

### Catalog summary and completeness

`RUN_REPORT.sources` contains a summary for every attempted store: delivered/fetched product counts, in-stock/out-of-stock/unknown counts, sale counts, and average/total prices separately for each currency. Missing or invalid prices are counted separately. Summary values cover only delivered products and add no billable dataset rows.

`RUN_REPORT.snapshotComplete` is true only when pagination finishes for every requested store without source errors or output/request limits. Page-cap exhaustion and a truncated first-run example are incomplete. `snapshotScope`, `sourceDatasetId`, `sourceRunId`, and `sourceActorId` bind the report to its source. The run report can feed this author's Dataset Change Detector together with the source dataset; use product keys `["storeUrl", "id"]` and reuse one named baseline store. Launch the comparison only after the source run finishes successfully.

This release does not add per-variation rows or private stock quantities. Existing product output and pricing remain unchanged.

### Batch delivery and store links

Results are saved in batches of up to 100 and reports count only the delivered prefix when a spending limit cuts a batch. A conventional `/shop/` link is normalized to the store root (or the parent WordPress installation directory). The 5,000-result setting is a cap, not a guarantee: response sizes, robots, requests and the 240-second processing deadline still apply.

### Real output example

Captured on 2026-09-14 from run `7WaNm6Ql94zwh0jf6` using the input below. Selected fields are shown; long values are shortened with an ellipsis. Live source data can change.

| name | price | currency | inStock |
| --- | --- | --- | --- |
| Help Scout Connector | 59 | USD | true |
| Bulk Search \&amp; Replace | 49 | USD | true |
| Product Dependencies | 29 | USD | true |

The first-run example intentionally stops at 3 results. `LIMIT_REACHED` is expected and does not mean the complete store, board or feed was collected.

### Quick start

1. Leave the prefilled example in place and click **Start** for a small first run. Replace it with your own source when ready.
2. Set **Maximum delivered results** and Apify's **Maximum cost per run**.
3. Run the Actor. Export the dataset as JSON, CSV or Excel. Open **Run report** for errors, skipped items and limits.

```json
{
  "storeUrls": [
    "https://woo.com"
  ],
  "maxResults": 3
}
```

### What it supports

Uses the public Store API products route /wp-json/wc/store/v1/products, falling back to ?rest\_route= for plain permalinks and to the site root when the given directory has no Store API. One row per publicly listed product, not per variation. Variable products may expose the public price range/default price rather than every variant. Supports WordPress installed in a subdirectory by including that path. Currency minor units are converted (including three-decimal currencies). No login, private inventory quantities, orders or customer data. Up to 10 stores, 50 pages per store and 5,000 results per run. A disabled Store API or robots restriction is reported, not bypassed.

### Price

**$0.0020 per product ($2 per 1,000)**, plus **$0.001 per run start** at the supported 512 MB–1 GB memory sizes. The custom `result` event is charged only for a delivered dataset row. There is no separate automatic dataset-row fee. A run that returns zero rows still incurs the start fee. Your account's displayed pricing and platform terms apply. Actor authors pay their own platform resource costs during development and testing.

Set the maximum cost in Apify to cap spending. maxResults also limits output. A limit may truncate a catalog or comparison; inspect RUN\_REPORT rather than assuming completeness.

### Output and reliability

Main fields: `name`, `sku`, `price`, `currency`, `inStock`, `url`. Each row includes `observedAt`. Nested values remain JSON; choose JSON export to preserve all detail.

RUN\_REPORT contains result count, HTTP request/download totals, source errors, skipped unchanged items and final status. PARTIAL means at least one source failed while other rows were delivered. FAILED means no successful result and at least one error. Successful empty feeds or no-change comparisons can legitimately return zero rows. A 240-second processing deadline and Apify's run timeout bound execution. Downloads are limited to 40 MB per run, with smaller per-response caps; robots checks count as requests. No proxy or external AI API subscription is required.

Only public pages and documented public APIs are supported. Access restrictions are reported. The crawler does not send your Apify token to target websites or connect to private network addresses. Use sources you are entitled to access. Static HTML tools do not execute website JavaScript.

### Repeated runs

For Actors with `stateStoreName`, use a distinct name for each collection and keep the same name for later runs. Apify creates that store in your account; storage retention and access follow your account settings. Do not start overlapping runs that share a store. `onlyChanges` emits new/updated items and retains at most 10,000 recent fingerprints. It does not infer removed pages/jobs. Other Actors are stateless: supply fresh inputs, or feed their datasets into the Dataset Change Detector.

Apify tasks, schedules and integrations can reuse this input. No recurring schedule or customer notification is created automatically.

### عربي

أداة جاهزة للتشغيل من واجهة Apify أو API. أدخل الروابط أو البيانات، وحدد عدد النتائج والحد الأعلى للتكلفة. النتائج بصيغ JSON وCSV وExcel، والتفاصيل والأخطاء في RUN\_REPORT. البيانات العامة فقط؛ الحقول غير المتوفرة تبقى فارغة. راجع حدود الأداة أعلاه قبل اعتماد النتائج.

# Actor input Schema

## `storeUrls` (type: `array`):

Public HTTP(S) URLs without credentials.

## `maxResults` (type: `integer`):

Integer from 1 to 5000.

## `maxRequests` (type: `integer`):

Integer from 1 to 300.

## Actor input object example

```json
{
  "storeUrls": [
    "https://woo.com"
  ],
  "maxResults": 3,
  "maxRequests": 100
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `runReport` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "storeUrls": [
        "https://woo.com"
    ],
    "maxResults": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("abdulwhab95/woocommerce-public-catalog-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "storeUrls": ["https://woo.com"],
    "maxResults": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("abdulwhab95/woocommerce-public-catalog-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "storeUrls": [
    "https://woo.com"
  ],
  "maxResults": 3
}' |
apify call abdulwhab95/woocommerce-public-catalog-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,abdulwhab95/woocommerce-public-catalog-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/rha3Xv7FKXGSvFIC8/builds/vPI8jhe863hvToO7K/openapi.json
