# Shopify Store Products Scraper (`foo121/shopify-products-scraper`) Actor

Scrape every product, variant, price, image and tag from any Shopify store via its public products.json — no login, fast, pay per result. Great for price tracking, dropship research and catalog feeds.

- **URL**: https://apify.com/foo121/shopify-products-scraper.md
- **Developed by:** [ziv shay](https://apify.com/foo121) (community)
- **Categories:** E-commerce, Lead generation
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 result items

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 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 Products Scraper

Scrape **every product, variant, price, image, vendor and tag** from any Shopify
store — via its public `/products.json` endpoint. No login, no anti-bot, fast.

### Input

```json
{
  "domains": ["allbirds.com", "https://shop.example.com"],
  "maxProductsPerStore": 0,
  "outputMode": "variant",
  "proxyConfiguration": { "useApifyProxy": true }
}
```

- `domains` — store domains or URLs (handles `shop.` subdomains automatically).
- `maxProductsPerStore` — `0` = whole catalog.
- `outputMode` — `product` (default) or `variant` (one flat row per SKU).

### Output

Two modes, set with `outputMode`:

- **`product`** (default) — one row per product:
  `shop, productId, title, handle, url, vendor, productType, tags, options[],
  priceMin, priceMax, available, variantCount, publishedAt, createdAt, updatedAt,
  images[], variants[{id,title,sku,barcode,price,compareAtPrice,onSale,available,
  position,option1,option2,option3,taxable,grams,featuredImage,variantUrl}]`

- **`variant`** — **one flat row per variant** (SKU-level): each variant becomes its
  own dataset item with `sku`, `price`, `compareAtPrice`, `onSale`, per-variant
  `option1/2/3`, `featuredImage` and `variantUrl`, plus the parent product context.
  This is the inventory/catalog-grade format the per-product-only Shopify scrapers
  on the Store can't produce — ideal for price-tracking feeds, dropship catalogs and
  BI/RAG pipelines that key on SKU.

### Use cases

Competitor price/catalog tracking, dropship product research, market analysis,
restock/price-drop monitoring, feeding a RAG/AI pipeline with live catalog data.

### Honest scope

Pulls everything Shopify's **public** `/products.json` exposes. `barcode` and
per-variant inventory *quantity* are **admin-API only** — they are not in the public
feed, so no public Shopify scraper (this one included) can return them; `barcode` is
emitted as `""` for schema stability. The honest wedge here is **SKU-level
per-variant rows + on-sale flagging + per-variant images/options/URLs** at a
cheap-at-volume price, which the per-product incumbents do not offer.

### Pricing

Pay per result (~$0.0005–0.001/product). Whole-catalog scrapes of large stores
run to thousands of products — priced to stay cheap at volume.

### Publish

`apify push` → Console → Publication → Publish + set Pay-per-result.

# Actor input Schema

## `domains` (type: `array`):

Store domains or URLs to scrape, e.g. allbirds.com or https://shop.example.com. Each is read via its public /products.json endpoint.

## `maxProductsPerStore` (type: `integer`):

Cap products fetched per store. 0 fetches the whole catalog.

## `outputMode` (type: `string`):

product = one row per product with a variants\[] array. variant = one flat row per variant (SKU-level — ideal for inventory/catalog feeds and per-variant price tracking).

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

Apify proxy (recommended). Spreads requests across IPs.

## Actor input object example

```json
{
  "domains": [
    "aquariumcoop.com"
  ],
  "maxProductsPerStore": 0,
  "outputMode": "product",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "domains": [
        "aquariumcoop.com"
    ]
};

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

# Run the Actor and wait for it to finish
run = client.actor("foo121/shopify-products-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 '{
  "domains": [
    "aquariumcoop.com"
  ]
}' |
apify call foo121/shopify-products-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/rgHNO5cJqkrbF14pT/builds/5x2noGfocXQctHdJ8/openapi.json
