# Shopify Store Scraper — Full Product Catalog Exporter (`avinashchby/shopify-store-scraper`) Actor

Extract complete product catalogs from any Shopify store without API keys. Uses Shopify JSON API with Playwright HTML fallback. Extracts titles, prices, variants, images, tags, vendors, and availability. Perfect for competitor analysis and dropshipping research.

- **URL**: https://apify.com/avinashchby/shopify-store-scraper.md
- **Developed by:** [Avinash](https://apify.com/avinashchby) (community)
- **Categories:** Lead generation
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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

## Shopify Store Scraper — Full Product Catalog Exporter

Extract complete product catalogs from any Shopify store without API keys. Uses Shopify's built-in JSON API with Playwright HTML fallback. Extracts titles, prices, variants, images, tags, vendors, and availability for competitive research.

### How It Works

The actor first tries Shopify's public `products.json` API, paginating through 250-product batches until it reaches your limit or hits three empty pages in a row. For each product it parses the title, handle, product URL, price, compare-at price, vendor, product type, tags, sanitized HTML description, full variant list (title, price, SKU, stock status), and image URLs. If the JSON API returns nothing, it falls back to a Playwright crawler that walks the `/collections/all` page and extracts product cards from the rendered HTML. The complete catalog is pushed to the dataset along with a price summary for downstream analysis.

### Features

- **No API keys needed**: Works with any Shopify store domain
- **Dual extraction method**: Shopify JSON API (fast) with Playwright HTML fallback
- **Full variant support**: Size, color, and other variant data
- **Complete catalog**: All products, not just the first page
- **Availability tracking**: In-stock and out-of-stock status
- **Image extraction**: Product image URLs for visual analysis

### Input Parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `storeDomain` | string | `example.myshopify.com` | Shopify store URL |
| `maxProducts` | integer | `100` | Max products (1-5000) |
| `includeVariants` | boolean | true | Include product variants |
| `includeImages` | boolean | false | Include image URLs |
| `outputFormat` | string | `json` | Export format |
| `proxyConfiguration` | object | Apify Proxy | Proxy for reliable scraping |

### Output Example

```json
{
  "title": "Organic Cotton Hoodie",
  "handle": "organic-cotton-hoodie",
  "productUrl": "https://example.myshopify.com/products/organic-cotton-hoodie",
  "price": 68.00,
  "compareAtPrice": 89.00,
  "currency": "USD",
  "availability": "In Stock",
  "vendor": "EcoThreads",
  "productType": "Hoodie",
  "tags": ["organic", "cotton", "unisex", "sale"],
  "description": "Soft 100% organic cotton hoodie with brushed interior and metal-tipped drawcords.",
  "variants": [
    { "title": "Small / Black", "price": 68.00, "sku": "HOD-BLK-S", "available": true },
    { "title": "Medium / Black", "price": 68.00, "sku": "HOD-BLK-M", "available": true },
    { "title": "Large / Black", "price": 68.00, "sku": "HOD-BLK-L", "available": false }
  ],
  "images": ["https://cdn.shopify.com/s/files/1/0500/0001/products/hoodie-front.jpg"],
  "scrapedAt": "2026-07-27T11:42:00.000Z"
}
```

### Use Cases

- **Competitive research**: Download competitor product catalogs for analysis
- **Dropshipping research**: Find winning products across Shopify stores
- **Price monitoring**: Track competitor pricing strategies
- **Product research**: Identify trending products and best-sellers

### Cost Estimate

- 100 products: ~$1.00
- 1000 products: ~$5.00
- 5000 products: ~$20.00

# Actor input Schema

## `storeDomain` (type: `string`):

Shopify store URL, e.g. 'example.myshopify.com' or 'example.com'

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

Maximum products to extract (1-5000)

## `includeVariants` (type: `boolean`):

Include product variants (size, color, etc.)

## `includeImages` (type: `boolean`):

Include product image URLs in output

## `outputFormat` (type: `string`):

Output format for exported data

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

Select a proxy to avoid blocking. Use Apify Proxy (recommended) or bring your own.

## Actor input object example

```json
{
  "storeDomain": "example.myshopify.com",
  "maxProducts": 100,
  "includeVariants": true,
  "includeImages": false,
  "outputFormat": "json",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All scraped and enriched data items.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("avinashchby/shopify-store-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("avinashchby/shopify-store-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 '{}' |
apify call avinashchby/shopify-store-scraper --silent --output-dataset

```

## MCP server setup

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