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

Shopify scraper for the public product catalog of any store: title, price, compare-at (sale) price, variants, SKU, barcode, stock status, images, vendor and tags. Paste a store, collection or product URL. No login. $1 per 1,000 products, failed or blocked stores are free.

- **URL**: https://apify.com/joesimo/shopify-products.md
- **Developed by:** [Joe Simo](https://apify.com/joesimo) (community)
- **Categories:** E-commerce, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 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 Scraper: products, prices, variants and stock

**Paste any Shopify store URL and get its public product catalog as one spreadsheet: title, price, sale price, every variant with SKU and stock status, images, vendor and tags.** Use it to track competitor prices, build product feeds or size up a niche. No login, no API key, and you pay $1 per 1,000 products.

- **$0.001 per product** ($1.00 per 1,000). Stores that fail, ask for a password, return no products or are blocked by robots.txt are saved as free status rows. You are not charged for errors.
- **Plain HTTP, no browser:** the Actor reads the same public `/products.json` catalog a shopper can see. Default memory is 256 MB.

### Quick start

1. Click **Try for free**, keep the prefilled allbirds.com store (or paste your own) and press **Start**. Max products is prefilled at 20, so a first run costs about $0.02.
2. Or call the API with an empty input `{}`. It runs this demo:

```json
{
  "stores": ["https://www.allbirds.com"],
  "maxProducts": 20
}
```

Price monitoring input (several stores or collections in one run, in-stock products only; `maxProducts` is one cap for the whole run, 0 means no cap):

```json
{
  "stores": ["https://www.allbirds.com/collections/mens", "https://www.brooklinen.com"],
  "inStockOnly": true,
  "maxProducts": 0
}
```

Cloud tests on 8 November 2026 at 256 MB: this 20-product Allbirds demo used about $0.000080 (0.40% of the $0.02 price). One of the rows:

```json
{
  "status": "ok",
  "store": "www.allbirds.com",
  "title": "Women's Wool Cruiser",
  "vendor": "Allbirds",
  "priceMin": 98,
  "priceMax": 98,
  "available": true,
  "variantCount": 13,
  "url": "https://www.allbirds.com/products/womens-wool-cruiser-port-port-sole"
}
```

### What you get

Each paid row is one product (`status: ok`) with:

- `store`, `storeUrl`, `url`, `handle`, `productId`, `title`
- `vendor`, `productType`, `tags`
- `priceMin`, `priceMax`, `compareAtPriceMin`, `compareAtPriceMax`
- `available` (true when at least one variant is in stock)
- `variants`: id, title, sku, barcode, price, compare-at price, available, grams, options
- `images`, `image`, `options`
- `description` (plain text) and `bodyHtml` (turn "Include description" off to skip them)
- `publishedAt`, `updatedAt`, `createdAt`, `scrapedAt`

### Use cases

- **Competitor price monitoring:** schedule a daily run on a rival store and compare `priceMin`, `compareAtPriceMin` and `available` with yesterday's dataset to spot price drops, sales and sellouts.
- **Product research and dropshipping:** export a niche store's full catalog with vendors, product types, tags and images, then sort by price or variant count.
- **Catalog migration and backups:** copy titles, descriptions, variants, SKUs, barcodes and image URLs out of a store you run, without an Admin API app.
- **Brand and reseller checks:** filter by **Vendors** to see which brands a retailer carries and at what price.
- **Feeds for apps and spreadsheets:** download as CSV, Excel or JSON, or pull the dataset into Google Sheets, Make, Zapier or n8n.

### How to run it

Store URLs you can paste:

- `allbirds.com` or `https://www.allbirds.com` (whole catalog)
- `https://gymshark.com/collections/mens` (one collection)
- `https://kith.com/products/some-handle` (one product)

Optional filters:

- **Vendors**: keep products whose vendor matches one of the values (case insensitive, substring).
- **Tags**: keep products that have at least one of the tags.
- **In stock only**: drop products where every variant is unavailable.
- **Max products**: stop after N matching products. 0 means no extra cap (the run still stops at your max cost).

### How it works

Shopify storefronts publish a JSON catalog at `/products.json` (and `/collections/{handle}/products.json`, `/products/{handle}.json`). The Actor reads those public endpoints with plain HTTP, 250 products per page, at 256 MB. It does not open a browser and does not log in.

The Actor reads `robots.txt` on each host and skips a path that is disallowed. Those rows are free (`blocked_by_robots`). Password-protected stores and stores that have turned the JSON catalog off are free too (`password_protected` or `not_found`).

This is the same public catalog a customer sees in the shop. The Actor does not touch `/admin`, checkout or customer accounts.

### Pricing

| Event | Price | When it is charged |
| --- | --- | --- |
| `product` | $0.001 | One matching product saved with `status: ok` |
| (free) | $0 | `failed`, `blocked_by_robots`, `password_protected`, `not_found`, `no_products`, `invalid_input` |

Cloud tests on 8 November 2026 at 256 MB: an empty demo of 20 Allbirds products used about $0.000080 (0.40% of the $0.02 price). A collection run of 30 Allbirds men's products used about $0.000234 (0.78% of the $0.03 price). Apify keeps 20% of pay-per-event revenue as its commission.

### Input example

```json
{
  "stores": ["https://www.allbirds.com", "https://www.gymshark.com/collections/womens-leggings"],
  "inStockOnly": true,
  "maxProducts": 100
}
```

### Output example

```json
{
  "status": "ok",
  "store": "www.allbirds.com",
  "title": "Women's Wool Cruiser",
  "vendor": "Allbirds",
  "priceMin": 98,
  "priceMax": 98,
  "available": true,
  "variantCount": 13,
  "url": "https://www.allbirds.com/products/womens-wool-cruiser-port-port-sole"
}
```

### Use with the API, Make, Zapier or n8n

```bash
curl -X POST "https://api.apify.com/v2/acts/joesimo~shopify-products/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"stores": ["https://www.allbirds.com"], "inStockOnly": true, "maxProducts": 50}'
```

The response is the list of products. The Actor also works from Make, Zapier and n8n through their Apify integrations, and as a tool through the Apify MCP server. To track prices over time, create a Schedule in Apify Console for this Actor and compare each run's dataset with the previous one.

### FAQ

**How do I know a store runs on Shopify?**
Paste it and run. If the store is not on Shopify or has its catalog turned off, you get one free `not_found` row and pay nothing. Many stores on their own domain (allbirds.com, gymshark.com) are Shopify stores.

**Do I pay for stores that fail?**
No. Failed, password-protected, robots-blocked and empty stores are saved as free status rows with the reason. You pay $0.001 only for each product saved with `status: ok`.

**Can I scrape many stores in one run?**
Yes. Put one store per line in **Stores**, or paste a list in **Bulk paste**. Each store gets its own status row if it fails.

**Does it get stock counts?**
Every variant has `available` (in stock or not). The exact `inventoryQuantity` appears only when the merchant publishes it on the public catalog.

**Which currency are prices in?**
The store's own currency as it publishes it. The public catalog does not always name the currency, so check the store when you mix stores from several countries.

**Do I need a proxy or a Shopify login?**
No. The Actor reads the public `/products.json` catalog with plain HTTP, retries with backoff and waits before retrying when a store answers HTTP 429. It never logs in and never touches `/admin`, checkout or customer accounts.

### Limits and notes

- Some merchants turn `/products.json` off or put the store behind a password page. Those stores produce a free status row, not a failed run.
- Variant `inventoryQuantity` is only present when the merchant publishes it. `available` is the field Shopify always exposes on the public catalog.
- Prices are numbers as the store publishes them (usually the store's currency). The public catalog does not always name the currency.
- Very large catalogs are read 250 products per page. Use **Max products** or your run cost cap to stop early.
- Default memory is 256 MB. No proxy is required for public catalogs.

### Support

Questions or feature requests: joesimo@mail.grokbot.com

Docs for every Joe Simo Actor: [github.com/Joe-Simo/apify-actors](https://github.com/Joe-Simo/apify-actors)

# Actor input Schema

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

Shopify store domains or URLs, collection pages or product pages. Examples: allbirds.com, https://gymshark.com/collections/mens, https://kith.com/products/some-handle. The form is prefilled with allbirds.com. Clear the list and start to run the 20-product Allbirds demo.

## `storesText` (type: `string`):

Optional extra stores, one per line (or separated by commas). Mixed with Store URLs.

## `vendors` (type: `array`):

Keep products whose vendor matches one of these values (case insensitive, substring match). Leave empty for every vendor.

## `tags` (type: `array`):

Keep products that have at least one of these tags (case insensitive). Leave empty for every tag.

## `inStockOnly` (type: `boolean`):

Keep only products that have at least one available variant.

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

Save the HTML description and a plain-text copy. Turn off for smaller rows.

## `maxProducts` (type: `integer`):

Stop after this many matching products. 0 means no extra cap (the run still stops at your max cost). The form is prefilled at 20 so a first Try costs about $0.02. Empty input (no store URL) also uses 20 for the Allbirds demo.

## `respectRobotsTxt` (type: `boolean`):

Skip a store when its robots.txt disallows /products.json or the collection or product path you asked for. Those rows are free.

## `timeoutSecs` (type: `integer`):

Timeout for each HTTP request to a store.

## Actor input object example

```json
{
  "stores": [
    "allbirds.com"
  ],
  "vendors": [],
  "tags": [],
  "inStockOnly": false,
  "includeDescription": true,
  "maxProducts": 20,
  "respectRobotsTxt": true,
  "timeoutSecs": 25
}
```

# Actor output Schema

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

One item per product, plus free status rows for a store that failed, is password protected, or is blocked by robots.txt.

## `runSummary` (type: `string`):

JSON summary: products saved, per-store counts, requests and stop reason.

# 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"
    ],
    "maxProducts": 20
};

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

# Run the Actor and wait for it to finish
run = client.actor("joesimo/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": [
    "allbirds.com"
  ],
  "maxProducts": 20
}' |
apify call joesimo/shopify-products --silent --output-dataset

```

## MCP server setup

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