# Shopify Products Scraper - Prices, Variants & Stock (`robindesbios/shopify-products-scraper`) Actor

Scrape any public Shopify store or collection: title, vendor, type, tags, min/max price, compare-at price, discount %, availability, every variant (SKU, price, stock, options) and images. Uses the public /products.json storefront endpoint, respects robots.txt. No API key. Pay per product.

- **URL**: https://apify.com/robindesbios/shopify-products-scraper.md
- **Developed by:** [Robin DESBIOS](https://apify.com/robindesbios) (community)
- **Categories:** E-commerce, Lead generation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 results

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?

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 Products Scraper - Prices, Variants & Stock

Extract the full product catalog of **any public Shopify store** in seconds: titles, prices, compare-at (sale) prices, discount %, every variant with SKU and stock status, images, tags, vendor, product type and dates. No API key, no login, no browser - just paste store URLs.

### Who is it for?

- **E-commerce brands & agencies** - monitor competitor prices, new launches and discounts.
- **Dropshippers & product researchers** - find winning products and vendors across stores.
- **Price-monitoring and BI tools** - feed clean, structured catalog data on a schedule.
- **AI & data teams** - build product datasets for matching, enrichment or RAG.

### How it works

Every Shopify storefront publishes its public catalog at `/products.json`. This Actor reads that endpoint page by page (250 products per request), with retries, backoff on rate limits and a polite delay between pages. It **checks each store's robots.txt first** and skips any store that disallows access. Only public product data is collected - no customer or personal data.

### Input

| Field | Type | Description |
|---|---|---|
| `storeUrls` | array of strings | Store home pages (`https://www.allbirds.com`) or collection URLs (`https://store.com/collections/sale`). |
| `maxItems` | integer | Max products saved in total (default 20). |
| `maxItemsPerStore` | integer | Optional cap per store (0 = none). |
| `includeDescription` | boolean | Add the plain-text product description (default true). |
| `proxyConfiguration` | object | Optional Apify Proxy if a store rate-limits you. |

Example:

```json
{
  "storeUrls": ["https://www.allbirds.com", "https://colourpop.com/collections/lips"],
  "maxItems": 500,
  "maxItemsPerStore": 250
}
```

### Output

One item per product:

```json
{
  "storeDomain": "www.allbirds.com",
  "productId": 1234567890,
  "title": "Men's Tree Runners",
  "handle": "mens-tree-runners",
  "url": "https://www.allbirds.com/products/mens-tree-runners",
  "vendor": "Allbirds",
  "productType": "Shoes",
  "tags": ["mens", "runners"],
  "price": 98.0,
  "maxPrice": 98.0,
  "compareAtPrice": 120.0,
  "onSale": true,
  "discountPercent": 18.3,
  "available": true,
  "variantsCount": 12,
  "options": [{"name": "Size", "values": ["8", "9", "10"]}],
  "variants": [{"id": 1, "title": "8", "sku": "TR-8", "price": 98.0, "compareAtPrice": 120.0, "available": true}],
  "imageUrl": "https://cdn.shopify.com/...jpg",
  "images": ["https://cdn.shopify.com/...jpg"],
  "description": "Our lightweight everyday sneaker...",
  "createdAt": "2024-01-10T10:00:00-05:00",
  "updatedAt": "2026-11-01T08:00:00-05:00",
  "publishedAt": "2024-01-10T10:00:00-05:00",
  "scrapedAt": "2026-11-14T09:00:00+00:00"
}
```

The values above are only an example. Prices are decimal amounts in the store's default currency (the endpoint does not return the currency code). Export to JSON, CSV, Excel, or connect via API, Make, Zapier or n8n.

### Pricing

**Pay per result: $0.80 per 1,000 products** ($0.0008 per product saved). There's no start fee, and you never pay for failed stores.

### Limits

- Works with standard Shopify storefronts. Headless stores (custom frontends with no `/products.json`) and password-protected stores return no data, and the run log says why.
- Stores whose robots.txt disallows the endpoint are skipped on purpose.
- Stock is returned as available or not available. Exact inventory counts are not part of the public endpoint.
- Very large catalogs are paginated. Shopify may stop serving pages after a few tens of thousands of products.

### Tips

- Use a collection URL to scrape only one category.
- Schedule the Actor daily to track price and stock changes over time.

# Actor input Schema

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

Home page of any public Shopify store (e.g. https://www.allbirds.com) or a collection URL (e.g. https://store.com/collections/sale). One URL per line.

## `maxItems` (type: `integer`):

Maximum number of products to save across all stores. You pay per saved product.

## `maxItemsPerStore` (type: `integer`):

Optional cap per store, so one huge catalog does not use the whole budget. 0 = no per-store cap.

## `includeDescription` (type: `boolean`):

Add the product description as plain text (HTML stripped).

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

Optional. Use Apify Proxy if a store rate-limits you.

## Actor input object example

```json
{
  "storeUrls": [
    "https://www.allbirds.com",
    "https://colourpop.com"
  ],
  "maxItems": 20,
  "maxItemsPerStore": 0,
  "includeDescription": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (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://www.allbirds.com",
        "https://colourpop.com"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("robindesbios/shopify-products-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://www.allbirds.com",
        "https://colourpop.com",
    ],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("robindesbios/shopify-products-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://www.allbirds.com",
    "https://colourpop.com"
  ],
  "maxItems": 20
}' |
apify call robindesbios/shopify-products-scraper --silent --output-dataset

```

## MCP server setup

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