# Shopify Store Scraper — Products & Variants (`tortuga/shopify-store-scraper`) Actor

Scrape any Shopify store's products from its public JSON endpoints: title, vendor, type, tags, variants with prices, compare-at prices, SKUs and stock status, images and URLs. Filter by collection, one row per product or per variant, monitor prices and stock on a schedule. No login or API key.

- **URL**: https://apify.com/tortuga/shopify-store-scraper.md
- **Developed by:** [Trevor Ortega](https://apify.com/tortuga) (community)
- **Categories:** E-commerce
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.80 / 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?

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 Store Scraper: Products & Variants

Scrape any **Shopify store**'s **products** with their **variants**, **prices** and **stock** status. Paste a store domain, a collection page or a product page and get every product as clean data: title, vendor, product type, tags, description, price and compare-at price, currency, whether it is in stock, every variant (size, colour, SKU, barcode, price, compare-at price, availability, weight), options, images, dates and the product URL. Export to JSON, CSV or Excel, or pull the results through the API into a spreadsheet, your app or an LLM pipeline.

It reads the public JSON endpoints that every Shopify storefront serves (`/products.json`, `/collections/<handle>/products.json`, `/products/<handle>.js`), so one request returns up to 250 complete products and a whole catalog takes seconds. Use it for competitor price monitoring, MAP checks, assortment and stock tracking, product research, feed building and catalog migration. Switch on **One row per variant** when you need one line per size or colour, and **Only new or changed items** to watch prices and stock on a schedule.

### What data does Shopify Store Scraper extract?

| Field | Description |
|---|---|
| `productId`, `handle`, `url` | Shopify's product id, the handle (the last part of the product URL) and the product page URL |
| `title`, `vendor`, `productType`, `tags` | Product title, brand/vendor, the merchant's product type and tag list |
| `description` | The product description as plain text (HTML removed) |
| `price`, `maxPrice`, `compareAtPrice`, `currency` | The cheapest variant's price, the most expensive variant's price, the cheapest variant's crossed-out "compare at" price (null when not on sale) and the store's currency (e.g. `USD`, `EUR`, `GBP`) |
| `available` | `true` when at least one variant can be bought |
| `variantCount`, `variants` | All variants: `variantId`, `title`, `sku`, `barcode`, `price`, `compareAtPrice`, `available`, `inventoryQuantity` (when the store exposes it), `options` (e.g. `{"Size": "10"}`), `weightGrams`, `requiresShipping`, `imageUrl`, `position` |
| `options` | The product's option names and values, e.g. `[{"name": "Size", "values": ["5", "6", "7"]}]` |
| `images`, `imageUrl` | All product images (CDN URLs) and the first one |
| `createdAt`, `updatedAt`, `publishedAt` | When the product was created, last changed and published, ISO 8601 UTC |
| `storeUrl`, `storeName`, `collection` | The store's origin and name, and the collection handle the product was listed in (when you scrape collections) |
| `scrapedAt` | When the item was scraped |

With **One row per variant** on, each item is one variant: the product fields above plus `variantId`, `variantTitle`, `sku`, `barcode`, the variant's own `price`, `compareAtPrice`, `available`, `inventoryQuantity`, `options`, `weightGrams`, `requiresShipping`, `imageUrl` and a `url` that opens that variant (`?variant=...`).

### How to scrape a Shopify store

1. Put one or more stores into **Store URLs**: a domain such as `allbirds.com`, or any page of the store. A collection page (`https://colourpop.com/collections/best-sellers`) scrapes that collection, a product page (`https://colourpop.com/products/bare-necessity`) that product, anything else the whole catalog.
2. Optionally list **Collections** (handles such as `sale` or `new-arrivals`, applied to every store) or single **Product URLs**.
3. Set **Max items** and **Max pages per store** (250 products per page), switch on **One row per variant** or **Only in-stock products** if you need them, and click **Start**. Download the results as JSON, CSV or Excel, or read them through the API.

### Input example

```json
{
  "storeUrls": ["https://www.allbirds.com", "colourpop.com/collections/best-sellers"],
  "productUrls": ["https://kyliecosmetics.com/products/dewy-balm-stick"],
  "collections": [],
  "itemPerVariant": false,
  "onlyAvailable": false,
  "maxItems": 500,
  "maxPagesPerStore": 20
}
```

### Output example

```json
{
  "productId": 7340901859408,
  "handle": "womens-allbirds-flip-flop-dusty-pink",
  "title": "Women's Allbirds Flip Flop - Dusty Pink",
  "vendor": "Allbirds",
  "productType": "Shoes",
  "tags": ["allbirds::gender => womens", "allbirds::hue => pink", "allbirds::material => sugar"],
  "description": "Sun on your feet. Comfort underneath. Light, easy, and made for warm weather, these flip flops bring everyday comfort to sunny days, beach walks, and everything in between. Just slip them on and go.",
  "price": 50,
  "maxPrice": 50,
  "compareAtPrice": null,
  "currency": "USD",
  "available": true,
  "variantCount": 7,
  "variants": [
    {"variantId": 42146889039952, "title": "5", "sku": "A12513W050", "barcode": null, "price": 50, "compareAtPrice": null, "available": false, "inventoryQuantity": null, "options": {"Size": "5"}, "weightGrams": 455, "requiresShipping": true, "imageUrl": null, "position": 1},
    {"variantId": 42146889203792, "title": "10", "sku": "A12513W100", "barcode": null, "price": 50, "compareAtPrice": null, "available": true, "inventoryQuantity": null, "options": {"Size": "10"}, "weightGrams": 594, "requiresShipping": true, "imageUrl": null, "position": 6}
  ],
  "options": [{"name": "Size", "values": ["5", "6", "7", "8", "9", "10", "11"]}],
  "images": ["https://cdn.shopify.com/s/files/1/1104/4168/files/A12513_26Q2_Allbirds-Flip-Flop-Dusty-Pink_PDP_LEFT.png?v=1774646345", "..."],
  "imageUrl": "https://cdn.shopify.com/s/files/1/1104/4168/files/A12513_26Q2_Allbirds-Flip-Flop-Dusty-Pink_PDP_LEFT.png?v=1774646345",
  "url": "https://www.allbirds.com/products/womens-allbirds-flip-flop-dusty-pink",
  "createdAt": "2026-03-27T21:03:50Z",
  "updatedAt": "2026-11-01T20:48:00Z",
  "publishedAt": "2026-09-25T23:58:13Z",
  "storeUrl": "https://www.allbirds.com",
  "storeName": "Allbirds",
  "collection": null,
  "scrapedAt": "2026-11-01T20:52:10Z"
}
```

### Which stores work?

Any store that runs on Shopify's standard storefront (the vast majority), including stores on a custom domain or a `myshopify.com` address. The scraper is generic: you supply the store URLs. Prices come in the store's base currency (`currency`, from the store's `/meta.json`), not in the currency of a local market. These stores do **not** work; each one is reported in the run summary (`errors`) instead of crashing the run, and the other stores of the run still run:

- **Headless storefronts** (Shopify Hydrogen or a custom front end that only uses the Storefront API): their domains answer `404`, `403` or `429` on `/products.json`. Examples at the time of writing: bombas.com, gymshark.com.
- **Password-protected stores**: there is nothing public to read; the Actor reports the store as password-protected.
- **Closed or restricted stores** (for example a store that answers `401`) and sites that are not Shopify stores at all: reported with the HTTP status or "did not answer JSON".

Products that are not published to the online store (or are visible only in another sales channel) do not appear in the JSON endpoints; a collection that is empty for that reason, or a misspelled collection handle, is listed under `sourcesWithoutProducts` in the run summary.

### Does it need an API key or a login?

No. It reads the same public product JSON that the store's own theme and apps load for every visitor; no Shopify account, access token or Storefront API key is involved. Apify's datacenter proxy (the default) is enough. Shopify occasionally answers a request with its own "Verify your browser" check; the Actor does not solve it, it retries the request on a fresh proxy connection a few times and reports the store if the check persists (`challengePages` in the run summary). Nothing is solved or bypassed.

### Monitor Shopify prices and stock on a schedule

Turn on **Only new or changed items** to watch stores, collections or single products: each run remembers what earlier runs returned and outputs only products that are new or whose **price** or **stock status** changed. Unchanged products are dropped before they are saved, so they are not charged; a daily run over a 1,000-product catalog that saw 12 price changes costs 12 results. With monitoring on, **Max items** is the number of products checked per run, so set it to the catalog size (for example 1,000 with 4 pages). Save the input as a task and add a Schedule in Apify (hourly, daily, weekly); give each watch its own **Monitoring key** if several schedules use the same stores. Every output item has `changeType` (`new` or `changed`), and changed items carry `previousValues` with the old values, e.g. `{"price": 135}` or `{"available": true}`. With **One row per variant**, variants are watched one by one, so a single size selling out is reported.

### How much does it cost?

You pay per product saved to the dataset (or per variant row with **One row per variant**): see the Pricing tab. There is no start fee, no per-collection fee and no subscription, and platform usage is included in the price. A store page holds up to 250 products, so a 1,000-product catalog is four requests.

### Is it legal to scrape Shopify stores?

This Actor collects publicly visible product data that every visitor of the store sees without an account: product titles, prices, variants, availability, descriptions, tags and images. It does not log in, does not collect customer or order data and does not export anything personal. Product descriptions and images are the merchant's content; check the store's terms of use and the laws that apply to you (copyright, database rights, competition law) for your use case, and use the data responsibly.

### Limits

- `inventoryQuantity` (the exact stock count) is exposed only by stores whose theme settings allow it, and only for single **Product URLs** (the `/products/<handle>.js` endpoint); catalog pages carry `available` (true/false) per variant.
- Prices are the store's base prices in its base currency. Market-specific prices (e.g. a EUR price shown to visitors in Germany) and customer-specific discounts are not in the public JSON.
- Collections are read by handle; the Actor does not list a store's collections. Find handles in the store's navigation URLs (`/collections/<handle>`).
- A catalog page is 1-2 MB; very large stores (10,000+ products) need **Max pages per store** above the default 20.

### Integrations and API

Run it from the Apify API, schedule it, and send the results to Google Sheets, Slack, Make, Zapier, n8n or a webhook. Use `maxItems` and `maxPagesPerStore` to cap the cost of each run.

### Support

Found a bug, a store that should work but does not, or a field that is missing? Open an issue on the Issues tab with the input you used and the run link.

### Related scrapers

- [Shopify App Store Scraper](https://apify.com/tortuga/shopify-app-store-scraper): Apps, Pricing, Reviews & Developers
- [Etsy Scraper](https://apify.com/tortuga/etsy-scraper): Listings, Prices, Shops & Badges
- [Google Shopping Scraper](https://apify.com/tortuga/google-shopping-scraper): Prices & Offers

### Found it useful?

A ★ review on this Actor's Apify Store page helps other users find it and tells us what to improve. Issues and feature requests are welcome in the Actor's **Issues** tab.

# Actor input Schema

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

Shopify stores to scrape: a domain (allbirds.com) or any page of the store (https://colourpop.com/collections/best-sellers). A collection page scrapes that collection, a product page that product, anything else the whole catalog. One line per store.

## `collections` (type: `array`):

Collection handles to scrape instead of the whole catalog, applied to every store above: the part after /collections/ in the store's URL, e.g. best-sellers, new-arrivals, sale. An unknown handle returns no products and is listed in the run summary.

## `productUrls` (type: `array`):

Single product pages to scrape, e.g. https://colourpop.com/products/bare-necessity. Fetched first, before the stores; a product that is no longer published is listed in the run summary (not charged).

## `itemPerVariant` (type: `boolean`):

Off: one item per product with a `variants` array (price = the cheapest variant). On: one item per variant (size, colour, ...) with its own price, compare-at price, SKU, barcode, stock status and URL; each variant row is charged as one result.

## `onlyAvailable` (type: `boolean`):

Skip products (or variants, with one row per variant) that are sold out. Skipped items are not charged.

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

Stop after this many items in total (products, or variant rows with one row per variant). Keeps the cost predictable: a request returns up to 250 products.

## `maxPagesPerStore` (type: `integer`):

How many catalog pages of 250 products to read per store (or per collection, when Collections are set), so one huge store does not use up Max items for the others. 20 pages = 5,000 products; up to 400.

## `onlyNewOrChanged` (type: `boolean`):

Remember what earlier runs of this input returned and output only new products or products whose price or stock status changed. Use with a Schedule; unchanged products are not charged. With this on, Max items is the number of products checked per run.

## `monitoringKey` (type: `string`):

Name for this watch, so several schedules on the same stores stay separate; defaults to a key derived from the input

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

Apify Proxy (datacenter) is the default and is enough: Shopify's public JSON endpoints answer datacenter IPs (one page of 250 products is 1-2 MB). Switch to residential only if a store keeps answering Shopify's 'Verify your browser' check.

## Actor input object example

```json
{
  "storeUrls": [
    "https://www.allbirds.com"
  ],
  "itemPerVariant": false,
  "onlyAvailable": false,
  "maxItems": 50,
  "maxPagesPerStore": 1,
  "onlyNewOrChanged": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (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"
    ],
    "maxItems": 50,
    "maxPagesPerStore": 1,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tortuga/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 = {
    "storeUrls": ["https://www.allbirds.com"],
    "maxItems": 50,
    "maxPagesPerStore": 1,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("tortuga/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 '{
  "storeUrls": [
    "https://www.allbirds.com"
  ],
  "maxItems": 50,
  "maxPagesPerStore": 1,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call tortuga/shopify-store-scraper --silent --output-dataset

```

## MCP server setup

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