# Shopify Products Scraper: Prices, Variants, Stock, Images (`sebdata/shopify-products`) Actor

All products from any number of Shopify stores in one run: titles, prices, sale prices, variants, SKUs, stock flags, images, tags, vendor and currency. One row per product, or one flat row per variant. Whole stores or single collections.

- **URL**: https://apify.com/sebdata/shopify-products.md
- **Developed by:** [Sebastian](https://apify.com/sebdata) (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

$0.80 / 1,000 product rows

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

### What does Shopify Products Scraper do?

Give Shopify Products Scraper store addresses and get back **every product with its prices, variants, SKUs, stock
flags, images, tags and vendor**. Many stores in one run, whole stores or single collections, as one
row per product or one flat row per variant.

- **Price:** $0.80 per 1,000 rows ($0.0008 per row). A row is a product, or a variant if you choose
  variant rows. You pay only for rows saved to the dataset; stores that cannot be read cost nothing.
- **Many stores per run:** up to 200 stores or collections, read 4 at a time.
- **Variants flattened:** in variant mode every size and colour is its own row with its own price,
  SKU, stock flag and link. Ready for a spreadsheet or a price tracker.
- **Sale detection:** current price, "was" price and an `onSale` flag.
- **Currency and store name** on every row.
- **Fast:** plain HTTP, no browser. In our test two stores, 600 products, took under 4 seconds.

### Input example

```json
{
    "stores": ["https://www.allbirds.com", "https://www.deathwishcoffee.com/collections/coffee"],
    "outputMode": "variant",
    "onlyAvailable": true,
    "maxProductsPerStore": 500
}
```

| Field | What it does | Default |
|---|---|---|
| `stores` | Store addresses, or collection addresses (`.../collections/<name>`). Up to 200. Required. | |
| `outputMode` | `product` (one row per product) or `variant` (one row per variant). | `product` |
| `maxProductsPerStore` | Cap per store or collection. | `0` (all) |
| `onlyAvailable` | Skip sold-out variants, and products with nothing in stock. | `false` |
| `includeDescription` | Product description as plain text. | `true` |
| `proxyConfiguration` | Optional proxy. Usually not needed. | none |

### Output example: variant mode

```json
{
    "store": "www.deathwishcoffee.com",
    "storeName": "Death Wish Coffee",
    "currency": "USD",
    "productId": 7173098373175,
    "title": "Peppermint Mocha Coffee",
    "handle": "peppermint-mocha-coffee",
    "url": "https://www.deathwishcoffee.com/products/peppermint-mocha-coffee",
    "vendor": "Death Wish Coffee",
    "productType": "Coffee",
    "tags": ["Bagged", "LTO Coffee", "Peppermint Mocha"],
    "variantId": 41276131115063,
    "variantTitle": "1 bag",
    "sku": "LGPEPM09",
    "price": 13.99,
    "compareAtPrice": null,
    "onSale": false,
    "available": true,
    "options": { "Size": "1 bag" },
    "grams": 283,
    "image": "https://cdn.shopify.com/s/files/1/0271/7209/files/Peppermint_Mocha_9oz_Ground_Angle_Cathedral_DTC_A1_FT.jpg?v=1764780253",
    "variantUrl": "https://www.deathwishcoffee.com/products/peppermint-mocha-coffee?variant=41276131115063",
    "createdAt": "2024-09-19T19:41:22.000Z",
    "publishedAt": "2026-11-04T14:26:35.000Z",
    "updatedAt": "2026-11-14T00:40:21.000Z",
    "scrapedAt": "2026-11-14T00:39:42.030Z"
}
```

### Output example: product mode

```json
{
    "store": "www.allbirds.com",
    "storeName": "Allbirds",
    "currency": "USD",
    "productId": 7292464824400,
    "title": "Women's Wool Cruiser - Port (Port Sole)",
    "handle": "womens-wool-cruiser-port-port-sole",
    "url": "https://www.allbirds.com/products/womens-wool-cruiser-port-port-sole",
    "vendor": "Allbirds",
    "productType": null,
    "tags": ["11/3/26 DROP", "allbirds::hue => red"],
    "description": "Innovation meets individuality in the Wool Cruiser, an instant icon designed for every day...",
    "priceMin": 120,
    "priceMax": 120,
    "compareAtPriceMax": null,
    "onSale": false,
    "available": true,
    "variantCount": 13,
    "variants": [
        { "variantId": 41990816137296, "variantTitle": "5", "sku": "A12858W050", "price": 120, "compareAtPrice": null, "onSale": false, "available": false, "options": { "Size": "5" }, "grams": 1000, "image": null }
    ],
    "options": [{ "name": "Size", "values": ["5", "5.5", "6"] }],
    "images": ["https://cdn.shopify.com/s/files/1/1104/4168/files/A12858W090-PORT_SIDE_TRANSPARENT.png?v=1793836076"],
    "createdAt": "2026-02-05T01:37:18.000Z",
    "publishedAt": "2026-11-04T23:48:27.000Z",
    "updatedAt": "2026-11-14T00:40:17.000Z",
    "scrapedAt": "2026-11-14T00:39:38.580Z"
}
```

(The lists are shortened here.) Export the dataset as JSON, CSV or Excel, or read it through the Apify API.

### Good to know

- **How it works:** Shopify stores publish their catalogue at `/products.json`. The Actor reads
  that feed page by page, so it gets the same data the storefront shows, without loading any pages.
- **Stock is a yes/no flag.** Shopify's public feed says whether a variant can be bought, not how
  many are left.
- **Prices are in the store's main currency** (the `currency` field), as numbers.
- **Stores that cannot be read** are listed in the log and in the run's `SUMMARY` record (key-value
  store) with the reason: not a Shopify store, password-protected, or blocking automated access (a
  few large brands do; a proxy can help). The rest of the run carries on.
- **Is a site on Shopify?** If `https://the-site.com/products.json` shows data in your browser, it
  will work here.
- **Spending limit:** if you set a maximum charge for the run, the Actor stops when it is reached
  and keeps what it has saved.
- Only public catalogue data is read: no login, no customer data.

### How to use Shopify Products Scraper

1. Open the **Input** tab and paste store addresses (`allbirds.com`) or collection URLs, one per line (up to 200).
2. Choose **One row per** product (with a list of its variants) or variant (one flat row per size and colour).
3. Set **Maximum products per store** to cap the cost, or 0 for the whole catalogue: each saved row is charged.
4. Press **Start**. Two stores with 600 products took under 4 seconds in our test.
5. Open the **Output** tab and download the rows as JSON, CSV, Excel or HTML, or read them through the API.

### How much does Shopify Products Scraper cost?

**$0.80 per 1,000 rows**, charged per row saved to the dataset. The price includes the platform
usage of the run: there is no separate charge for compute.

| Run | For example | Cost |
|---|---|---|
| 100 rows | the example input: 2 stores, 50 products each | $0.08 |
| 1,000 rows | a mid-sized store in product rows | $0.80 |
| 10,000 rows | several large stores, or one in variant rows | $8.00 |

Stores that are not Shopify, are password-protected or block the request are reported in the run summary and not charged. To cap a run, set a maximum charge when you start it: the Actor stops
there and keeps what it has saved.

### API, schedules and integrations

Shopify Products Scraper runs like every Apify Actor: from the Console, through the Apify API and its JavaScript and
Python clients, on a schedule, from a webhook, from workflow tools such as Make, n8n and Zapier, and as a
tool for AI agents through the Apify MCP server. A daily schedule over the same stores gives you a price and stock history.

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('sebdata/shopify-products').call({ stores: ['https://www.allbirds.com'], maxProductsPerStore: 50 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

### Related Actors

- [Google News Scraper](https://apify.com/sebdata/google-news-scraper): Google News articles with the real publisher URLs.
- [Google Autocomplete Scraper](https://apify.com/sebdata/search-autocomplete): autocomplete suggestions from Google, YouTube, Amazon and DuckDuckGo.
- [ATS Jobs Scraper](https://apify.com/sebdata/ats-jobs-feed): jobs from Greenhouse, Lever, Ashby, Workable, Recruitee and SmartRecruiters in one schema.
- [WHOIS Domain Lookup via RDAP](https://apify.com/sebdata/domain-rdap-lookup): registration, expiry, registrar and nameservers for a list of domains.
- [Contact Page Finder](https://apify.com/sebdata/contact-page-finder): contact page, contact form, social profiles and role addresses for a list of websites.
- [Website Tech Stack Detector](https://apify.com/sebdata/tech-stack-detector): the technologies a list of websites runs on, with the evidence for each.
- [Sitemap URLs Extractor](https://apify.com/sebdata/sitemap-urls-extractor): every URL from the sitemaps of many websites, with lastmod.

### Typical uses

Competitor price and assortment tracking, spotting new products and sales, stock monitoring,
building product feeds for comparison sites, market research across a niche's stores, product data
for an LLM or agent.

### Who maintains this

This Actor is built and maintained by an AI agent (Anthropic's Claude), under a human account owner.
Report a problem in the Issues tab: it is read and answered.

# Actor input Schema

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

One per line, up to 200. A store address (allbirds.com or https://www.allbirds.com) reads the whole store. A collection address (https://store.com/collections/sale) reads only that collection.

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

Product: one row per product, with a price range and a list of its variants. Variant: one flat row per variant (size, colour...), best for spreadsheets and price tracking. Each row saved is charged.

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

Stop after this many products for each store or collection. 0 = all products.

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

Skip variants that are sold out, and products with no variant in stock.

## `includeDescription` (type: `boolean`):

The description as plain text. Turn off for a smaller output.

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

Optional. Most stores answer without a proxy; a few block datacenter addresses.

## Actor input object example

```json
{
  "stores": [
    "https://www.allbirds.com",
    "https://www.deathwishcoffee.com/collections/coffee"
  ],
  "outputMode": "product",
  "maxProductsPerStore": 50,
  "onlyAvailable": false,
  "includeDescription": true
}
```

# Actor output Schema

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

All rows saved by the run (the default dataset).

## `summary` (type: `string`):

Counts, and every input that could not be read with its reason (SUMMARY record in the default key-value store).

# 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": [
        "https://www.allbirds.com",
        "https://www.deathwishcoffee.com/collections/coffee"
    ],
    "maxProductsPerStore": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("sebdata/shopify-products").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": [
        "https://www.allbirds.com",
        "https://www.deathwishcoffee.com/collections/coffee",
    ],
    "maxProductsPerStore": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("sebdata/shopify-products").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": [
    "https://www.allbirds.com",
    "https://www.deathwishcoffee.com/collections/coffee"
  ],
  "maxProductsPerStore": 50
}' |
apify call sebdata/shopify-products --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sebdata/shopify-products"
        }
    }
}
```

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/cfYNDCNgT2FYKyhiV/builds/qGkRZ49ykqh5pXXZA/openapi.json
