# Shopify Store Product Scraper (`seemuapps/shopify-store-product-scraper`) Actor

Extract the full product catalog of any Shopify store, titles, variants, prices, images, and tags, exported to JSON, CSV, or Google Sheets.

- **URL**: https://apify.com/seemuapps/shopify-store-product-scraper.md
- **Developed by:** [Andrew](https://apify.com/seemuapps) (community)
- **Categories:** SEO tools, Lead generation, E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 Product Scraper

Extract the full product catalog of any Shopify store — titles, variants, prices, images, and tags — no login required.

### What you get

One row per product (or per variant), with:

- **Product**: store domain, product ID, handle, title, vendor, product type, tags, created / updated / published dates, and product URL
- **Description**: clean plain-text version of the product body (HTML stripped)
- **Pricing**: minimum and maximum price across variants, and an `isOnSale` flag (any variant discounted below its compare-at price)
- **Variants** (when *One row per variant* is on): variant ID, title, SKU, price, compare-at price, availability, position, and the size/color/style options
- **Media**: featured image, image count, and every image URL

Export everything to JSON, CSV, Excel, or Google Sheets straight from the Apify console.

### Use cases

- **Competitor price monitoring** — snapshot a rival store's catalog and prices on a schedule
- **Dropshipping & product research** — discover what's selling, at what price, and in which variants
- **Catalog migration** — pull an entire catalog before moving platforms
- **Market & assortment analysis** — compare vendors, product types, and price bands across stores
- **Deal & discount tracking** — flag products on sale via the `isOnSale` field

### How to use

1. Enter one or more **Shopify store URLs or domains** (e.g. `allbirds.com`)
2. Optionally set a **Collection handle** to scope the scrape to one collection (e.g. `mens-shoes`)
3. Choose **One row per variant** (on) or one row per product (off)
4. Set **Max items** (default 1000; set `0` for unlimited)
5. Run the actor — results appear in the **Dataset** tab

### Fetching more across runs

The actor auto-paginates within a single run up to your **Max items**. To pull a very large catalog across runs (or to resume after a timeout):

> After the run finishes, open the **Key-value store** tab → copy the `NEXT_PAGE_ID` value → paste it into **Page ID** on your next run. If `NEXT_PAGE_ID` is `null`, you've fetched every product.

`NEXT_PAGE_ID` is a JSON map of store domain to the next page number, so you can resume several stores at once.

### Output format

A variant row:

```json
{
  "storeDomain": "allbirds.com",
  "productId": 6616124981328,
  "handle": "trino-cozy-crew-heathered-onyx",
  "title": "Trino® Cozy Crew - Heathered Onyx",
  "vendor": "Allbirds",
  "productType": "Socks",
  "tags": ["collection:apr26", "shoprunner"],
  "productUrl": "https://allbirds.com/products/trino-cozy-crew-heathered-onyx",
  "priceMin": 24,
  "priceMax": 24,
  "isOnSale": false,
  "variantCount": 3,
  "featuredImage": "https://cdn.shopify.com/...",
  "variantId": 39574630924368,
  "variantTitle": "S (W5-7)",
  "sku": "PCC1HONU301",
  "price": 24,
  "compareAtPrice": null,
  "available": true,
  "options": ["S (W5-7)"]
}
````

### Input options

| Field | Type | Description |
|-------|------|-------------|
| Shopify store URLs or domains | array | Domains or full URLs — required |
| Collection handle | string | Restrict to one collection — optional |
| One row per variant | boolean | Variant rows vs. product rows — default `true` |
| Max items | integer | Cap across all stores; `0` = unlimited — default 1000 |
| Page ID | string | `NEXT_PAGE_ID` from a previous run to resume |

### Notes

- Works on any Shopify store that exposes the public `products.json` endpoint (the default). Stores that have explicitly disabled it return no products and are skipped with a warning.
- The product description is provided as clean plain text with HTML markup removed.

# Actor input Schema

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

One or more Shopify store domains (e.g. allbirds.com) or full URLs (e.g. https://www.gymshark.com). Non-Shopify or unsupported stores are skipped with a warning.

## `collection` (type: `string`):

Restrict the scrape to a single collection handle (e.g. 'mens-shoes' from /collections/mens-shoes). Leave empty to fetch the entire catalog. Applies to every store in the list.

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

When on, emit one dataset row per product variant (size/color/etc.). When off, emit one row per product with aggregated price range and variant count.

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

Maximum number of rows to push across all stores combined. Set 0 for unlimited (paginates until every store is exhausted or the run nears its timeout).

## `pageId` (type: `string`):

Paste the NEXT\_PAGE\_ID value from the previous run's Key-value store to resume where you left off. A JSON map of store domain to the next page number.

## Actor input object example

```json
{
  "storeUrls": [
    "allbirds.com"
  ],
  "includeVariants": true,
  "maxItems": 1000
}
```

# Actor output Schema

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

One product or variant per row. Fields: storeDomain, productId, handle, title, vendor, productType, tags, createdAt/updatedAt/publishedAt, productUrl, bodyText, priceMin/priceMax, isOnSale, variantCount, image fields, and (when 'One row per variant' is on) variantId, variantTitle, sku, price, compareAtPrice, available, options.

## `nextPageId` (type: `string`):

NEXT\_PAGE\_ID record in the default key-value store. A JSON map of store domain to the next page number for stores with more products to fetch; null when every store is exhausted. Paste into Page ID on the next run to resume.

# 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": [
        "allbirds.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("seemuapps/shopify-store-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": ["allbirds.com"] }

# Run the Actor and wait for it to finish
run = client.actor("seemuapps/shopify-store-product-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "allbirds.com"
  ]
}' |
apify call seemuapps/shopify-store-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=seemuapps/shopify-store-product-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Shopify Store Product Scraper",
        "description": "Extract the full product catalog of any Shopify store, titles, variants, prices, images, and tags, exported to JSON, CSV, or Google Sheets.",
        "version": "1.0",
        "x-build-id": "KU6xSnhsTCS2w3c0p"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/seemuapps~shopify-store-product-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-seemuapps-shopify-store-product-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/seemuapps~shopify-store-product-scraper/runs": {
            "post": {
                "operationId": "runs-sync-seemuapps-shopify-store-product-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/seemuapps~shopify-store-product-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-seemuapps-shopify-store-product-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "storeUrls"
                ],
                "properties": {
                    "storeUrls": {
                        "title": "Shopify store URLs or domains",
                        "type": "array",
                        "description": "One or more Shopify store domains (e.g. allbirds.com) or full URLs (e.g. https://www.gymshark.com). Non-Shopify or unsupported stores are skipped with a warning.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "collection": {
                        "title": "Collection handle (optional)",
                        "type": "string",
                        "description": "Restrict the scrape to a single collection handle (e.g. 'mens-shoes' from /collections/mens-shoes). Leave empty to fetch the entire catalog. Applies to every store in the list."
                    },
                    "includeVariants": {
                        "title": "One row per variant",
                        "type": "boolean",
                        "description": "When on, emit one dataset row per product variant (size/color/etc.). When off, emit one row per product with aggregated price range and variant count.",
                        "default": true
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of rows to push across all stores combined. Set 0 for unlimited (paginates until every store is exhausted or the run nears its timeout).",
                        "default": 1000
                    },
                    "pageId": {
                        "title": "Page ID (pagination)",
                        "type": "string",
                        "description": "Paste the NEXT_PAGE_ID value from the previous run's Key-value store to resume where you left off. A JSON map of store domain to the next page number."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
