# Shopify Product Scraper (`webdatalabs/shopify-product-scraper`) Actor

Extract full product catalogues from any Shopify store with a public products.json feed: titles, prices, compare-at prices, discounts, price ranges, currency, every variant with SKU, options and in-stock status, images, tags and vendor. Non-Shopify or protected URLs get a clear reason.

- **URL**: https://apify.com/webdatalabs/shopify-product-scraper.md
- **Developed by:** [WebDataLabs](https://apify.com/webdatalabs) (community)
- **Categories:** E-commerce, Integrations, Business
- **Features:** Limited permissions
- **Stats:** 420 total users, 9 monthly users, 92.7% runs succeeded, 3 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $7.00 / 1,000 product scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Shopify Scraper - Extract Products, Prices & Variants

### What you get

One flat row per product: title, brand, product type, tags, price, compare-at price, discount %,
price range, store currency, every variant (option values, SKU, barcode, availability), all image
URLs, publish dates and the product URL. Paste either `www.` or the apex domain - the actor resolves
whichever host serves the data.

**And it tells you the truth when there is nothing to get.** Every run writes an `OUTPUT` record to
the key-value store with a per-store status (`OK`, `CAPPED`, `PARTIAL`, `EMPTY_CATALOGUE`,
`NOT_SHOPIFY`, `HEADLESS_STOREFRONT`, `PASSWORD_PROTECTED`, `BLOCKED`, `RATE_LIMITED`,
`UNREACHABLE`) and the reason. A run that was blocked or throttled fails loudly instead of finishing
green with an empty dataset, and a truncated catalogue is reported as `PARTIAL` rather than
"complete".

***

### Quick Start

#### Scrape Products from a Store (Default)

```json
{
  "storeUrls": [{ "url": "https://gymshark.com" }],
  "maxProducts": 100
}
```

#### Scrape Multiple Stores

```json
{
  "storeUrls": [
    { "url": "https://gymshark.com" },
    { "url": "https://allbirds.com" }
  ],
  "maxProducts": 0
}
```

***

### Product Data Extracted

- **Pricing**: Current price, original price, discount %, price ranges, store currency
- **Variants**: All sizes, colors, options (up to 250 per product)
- **Inventory**: Stock availability per variant
- **Metadata**: Brand, category, tags, SKU, barcode, images, description text, timestamps

Any value that could not be determined is `null`. The actor never fills a gap with a placeholder
such as `0`, `"N/A"` or `"Unknown"`.

**Not included:** review counts, ratings and sales estimates. See
[Why there is no review or sales data](#why-there-is-no-review-or-sales-data).

#### Product Output

```json
{
  "store": "gymshark.com",
  "product_id": 4592837465123,
  "product_url": "https://gymshark.com/products/training-shorts-black",
  "handle": "training-shorts-black",
  "title": "Training Shorts - Black",
  "vendor": "Gymshark",
  "type": "Shorts",
  "tags": ["training", "sale"],
  "price": 45,
  "currency": "GBP",
  "compare_at_price": 60,
  "discount_pct": 25,
  "price_min": 45,
  "price_max": 45,
  "variant_count": 12,
  "available_variants": 8,
  "featured_image": "https://cdn.shopify.com/s/files/1/0001/products/shorts.jpg",
  "variants": [
    {
      "title": "M / Black",
      "option1": "M",
      "option2": "Black",
      "price": 45,
      "sku": "GS-TS-M-BLK",
      "available": true
    }
  ],
  "scraped_at": "2026-07-27T10:15:00.000Z"
}
```

#### Why there is no review or sales data

`reviews_count`, `rating`, `review_app` and the `estimated_sales_*` fields were removed in build
1.0.25. They are not "coming back later" — they were removed because they could not be delivered
honestly:

- **Coverage was a coin flip.** Reading review counts needs one extra page request *per product* (a
  100x increase in requests against a store), and even then it only works when the theme prints the
  numbers into the HTML. Measured over 60 products on four live stores: 0% coverage on one store,
  13% on another, 60% and 80% on the other two. 62% of rows were empty overall.
- **The extra per-product requests broke runs.** That request amplification is what tripped
  Shopify's per-shop rate limit and caused zero-result runs, which is why the option had to be
  switched off by default — after which the fields were null on 100% of real customer rows.
- **Where it *was* populated, it was often wrong.** Sibling colourways shared one family-level
  number (three different products each reporting the same 281 reviews), and on one store a
  shop-wide total of 1,365 was attached to two unrelated bundle products as if it were theirs.
- **The sales numbers were an estimate of an estimate.** They were just `reviews_count / 2%`, so
  they inherited every error above and multiplied it by 50 — turning that bogus 1,365 into "68,250
  units sold" on two products at once.

A `null` that might mean "no reviews" *or* "we could not read it", next to a number that might be
this product's or its whole catalogue's, is worse than no column at all. If you need Shopify review
data, scrape it from the review provider directly.

***

### Input Parameters

| Parameter | Default | Description |
|-----------|---------|-------------|
| `storeUrls` | - | Shopify store URLs to scrape (required) |
| `maxProducts` | 100 | Max products for the whole run, shared across all store URLs; 0 = unlimited |
| `proxyConfiguration` | Apify proxy | Proxy settings; datacenter by default, auto-escalates to residential when a store throttles |

***

### Use Cases

#### 1. Competitor Product Monitoring

Track competitor prices and inventory:

```json
{ "storeUrls": [{ "url": "https://gymshark.com" }, { "url": "https://allbirds.com" }], "maxProducts": 0 }
```

#### 2. Dropshipping Product Research

Scrape full catalogues from trending stores and rank products by price, discount depth and how many
variants are still in stock.

***

### API Integration

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

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

// Scrape products
const run = await client.actor('webdatalabs/shopify-scraper-pro').call({
  storeUrls: [{ url: 'https://gymshark.com' }],
  maxProducts: 50
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items); // Array of products
```

***

### Technical Details

- **Products**: Shopify public JSON API (`/products.json`), no auth required
- **Host resolution**: both `www.` and the apex domain are tried before a store is judged
- **Proxy**: every request goes through Apify Proxy; a throttled or blocked request is retried on a
  fresh IP and escalated to residential
- **Rate limiting**: 0.5 s between catalogue pages, exponential backoff on HTTP 429

#### What happens when a store cannot be scraped

| Situation | What the run does |
|-----------|-------------------|
| Store throttled/blocked and 0 products delivered | Run **fails** with the HTTP status and the hosts tried |
| Catalogue cut short mid-way | Run reports `PARTIAL` in the log and in `OUTPUT`; the reported total is what actually landed in the dataset |
| URL is not a Shopify store | Run succeeds with 0 items, logs `NOT_SHOPIFY` and the evidence (server headers, HTTP status) |
| Headless (Hydrogen/Oxygen) storefront | Run succeeds with 0 items and says the store does not expose `/products.json` |
| Password-protected storefront | Run succeeds with 0 items and says the storefront is locked |

***

### Pricing

**Pay-Per-Event:** Transparent pricing per product scraped.

See current pricing in the Apify Console.

***

### FAQ

**Does URL mode require authentication?**
No, it uses Shopify's public `/products.json` API.

**Does it return reviews, ratings or sales estimates?**
No. Those fields were removed in build 1.0.25 because they could not be produced accurately - see
[Why there is no review or sales data](#why-there-is-no-review-or-sales-data). This actor returns
catalogue, pricing, variant and inventory-availability data only.

**Why did my run return 0 products?**
The run's status message names the URL and the measured reason (not a Shopify store, headless
storefront, password protected, empty catalogue, blocked or rate-limited). The same per-store
detail is in the run log and the `OUTPUT` record in the key-value store. A blocked or rate-limited
run fails rather than reporting success.

**Can I schedule recurring runs?**
Yes, use Apify's scheduler or integrate with n8n/Zapier/Make.

***

### Related Actors

| Actor | Description |
|-------|-------------|
| [Shopify Store Intelligence](https://apify.com/webdatalabs/shopify-store-intelligence) | Deep store analysis with tech stack, apps, pricing strategy |
| [Etsy Scraper Pro](https://apify.com/webdatalabs/etsy-scraper-pro) | Etsy products with ratings, reviews, shop data |
| [Amazon Reviews Scraper](https://apify.com/webdatalabs/amazon-reviews-scraper) | Amazon customer reviews for sentiment analysis |
| [Reddit Scraper Pro](https://apify.com/webdatalabs/reddit-scraper-pro) | Monitor subreddits and track keywords |

***

### Need this data as a managed feed?

If you would rather receive this data on a schedule than run the Actor yourself, we can build and operate the feed: the fields you specify, the cadence you set, delivered to a dataset, S3, a webhook, or your database. Every scheduled run is checked against an agreed shape rather than assumed to be fine, missing values are reported as null instead of filled with placeholders, and repairing the collector when the source changes is covered by the monthly rate. Priced as a one-time setup fee plus a monthly rate, scoped in writing before anything is built.

**Contact:** support@webdatalabs.net

### Support

- **Email:** support@webdatalabs.net
- **Issues:** [GitHub](https://github.com/webdatalabs/apify-actors/issues)

### Leave a review

Is this actor saving you time? A quick review on the Store helps other people find it — and tells us which fields to add next. **[Rate this actor →](https://apify.com/webdatalabs/shopify-product-scraper)**

### Legal Disclaimer

This actor is a general-purpose tool for analyzing publicly accessible web data. The user bears sole responsibility for ensuring their specific use complies with applicable laws, the target website's Terms of Service, and Apify's Terms of Service. The provider (webdatalabs) expressly disclaims liability for any unauthorized or unlawful use.

***

*This tool is not affiliated with Shopify. All trademarks belong to their respective owners.*

**Built by WebDataLabs** | [Website](https://apify.com/webdatalabs) | [More Actors](https://apify.com/webdatalabs)

***

### SEO Keywords

Shopify scraper, Shopify product scraper, Shopify data extractor, Shopify price scraper, Shopify inventory scraper, Shopify variant scraper, Shopify competitor analysis, Shopify dropshipping tool, Shopify catalog export, Shopify market research, scrape Shopify products

# Actor input Schema

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

Shopify store URLs to scrape, for example https://gymshark.com. Either the www or the apex host works - the actor tries both. (Discovery mode was removed in v2.1 - the store directory it read now blocks all access, so supply the stores you want here.)

## `maxProducts` (type: `integer`):

Maximum number of products for the whole run, shared across all store URLs (0 = unlimited).

## `proxyConfiguration` (type: `object`):

Apify Proxy is used for every request. Datacenter proxy is the default and works for most stores; the actor escalates to residential automatically when a store throttles or blocks it.

## Actor input object example

```json
{
  "storeUrls": [
    {
      "url": "https://www.allbirds.com"
    }
  ],
  "maxProducts": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `products` (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": [
        {
            "url": "https://www.allbirds.com"
        }
    ],
    "maxProducts": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("webdatalabs/shopify-product-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": [{ "url": "https://www.allbirds.com" }],
    "maxProducts": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("webdatalabs/shopify-product-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": [
    {
      "url": "https://www.allbirds.com"
    }
  ],
  "maxProducts": 100
}' |
apify call webdatalabs/shopify-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,webdatalabs/shopify-product-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/EXTe4qTgTfHMeLVgC/builds/NeNgVHMUJW5zoLvwc/openapi.json
