# Shopify Store Scraper (`equal_anole/shopify-store-scraper`) Actor

Public Shopify products, variants, prices, collections, and stored price history.

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

## Pricing

$2.50 / 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 Store Scraper: products, variants, prices & collections

Export any Shopify store's public catalog as structured data: every product with its variants, prices, compare-at prices, availability, SKUs, images, vendor, and tags, plus the store's collections. Works on custom domains (`allbirds.com`) as well as `*.myshopify.com`. No browser, no proxies, no login: it reads the store's public product JSON.

### What you can use it for

- **Competitor price monitoring.** Track price and compare-at changes across a competitor's whole catalog. Turn on **price history** to get stored daily snapshots.
- **Product research and dropshipping.** Find what a store sells, how it prices variants, and which items are on sale.
- **Catalog migration and backup.** Pull a full product list with variants and images into a spreadsheet or your own database.
- **Agencies and app developers.** Audit a prospect's catalog (missing SKUs, out-of-stock variants, empty descriptions) before a pitch.

### How to use it

1. Add one or more stores as hostnames or URLs.
2. Optional: limit to one **collection**, or fetch specific products by **handle**.
3. Page through big catalogs with **page** and **limit** (at most 250 per page).
4. Run it and export as JSON, CSV, or Excel, or connect it to Google Sheets, Make, or Zapier.

```json
{
  "stores": ["allbirds.com", "example.myshopify.com"],
  "collection": "mens",
  "limit": 250,
  "includeCollections": true,
  "includePriceHistory": true
}
```

### Output

Each product is one row:

```json
{
  "kind": "product",
  "store": "allbirds.com",
  "title": "Men's Tree Runners",
  "handle": "mens-tree-runners",
  "vendor": "Allbirds",
  "sourceUrl": "https://allbirds.com/products/mens-tree-runners",
  "product": { "variants": [{ "title": "8 / Black", "price": "98.00", "compare_at_price": null, "available": true, "sku": "…" }], "images": [{ "src": "…" }], "tags": ["…"] },
  "priceHistory": { "store": "allbirds.com", "handle": "mens-tree-runners", "count": 2, "points": ["…"] }
}
```

The values above are illustrative. Prices and availability are exactly what the store published. Price history contains only snapshots that were actually collected; when there are none yet, it is empty, never estimated. With **Include collections**, each collection is an extra row with `kind: "collection"`.

### Pricing

Pay per result: **$2.50 per 1,000 rows** ($0.0025 per product or collection), plus Apify platform usage. A 400-product store costs about $1. A store that blocks the request returns one `error` row, which is free.

### FAQ

**Does it work on every Shopify store?** It works on any store that serves Shopify's standard public `products.json`, which is the default. A few stores disable it or sit behind a bot wall; those return an `error` row instead of made-up data.

**How do I get the whole catalog?** Run with `limit: 250` and increase `page` until a page returns fewer than 250 products.

**How is price history collected?** A background collector snapshots tracked stores daily. Products from stores it hasn't tracked yet return an empty history.

**Is this legal?** It reads public catalog data that Shopify stores expose to every visitor. It does not log in or read customer data.

# Actor input Schema

## `stores` (type: `array`):

Shopify hostnames or store URLs, one per line. A custom domain is accepted.

## `handles` (type: `array`):

Optional. When set, each handle is fetched instead of the catalog page.

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

Optional. Limit the product list to one collection handle.

## `page` (type: `integer`):

Catalog page. Ignored when handles are set.

## `limit` (type: `integer`):

Products or collections per page. Shopify allows at most 250.

## `includeCollections` (type: `boolean`):

Also read the public collections list.

## `includePriceHistory` (type: `boolean`):

Attach price snapshots already stored for each product handle. This does not invent prices.

## `maxConcurrency` (type: `integer`):

How many upstream requests run at once.

## `maxRetries` (type: `integer`):

Extra attempts after HTTP 429 or 5xx. The delay doubles each time, and a Retry-After header is honored.

## Actor input object example

```json
{
  "stores": [
    "allbirds.com"
  ],
  "page": 1,
  "limit": 5,
  "includeCollections": false,
  "includePriceHistory": false,
  "maxConcurrency": 3,
  "maxRetries": 4
}
```

# Actor output Schema

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

Dataset items. Successful rows were charged as result events. Rows with error were not charged.

# 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 = {
    "stores": [
        "allbirds.com"
    ],
    "limit": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("equal_anole/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 = {
    "stores": ["allbirds.com"],
    "limit": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("equal_anole/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 '{
  "stores": [
    "allbirds.com"
  ],
  "limit": 5
}' |
apify call equal_anole/shopify-store-scraper --silent --output-dataset

```

## MCP server setup

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