# Shopify Product Scraper & Catalog Export (`firsthand/shopify-product-scraper`) Actor

Shopify product scraper for any store: the whole catalog with prices, variants, SKUs, availability and images, on headless stores and past the 25,000 feed limit. A free status row per store compares the count with the store's own and says why a store failed. JSON, CSV, Excel.

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

## Pricing

from $0.60 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Product Scraper & Catalog Export

Give it Shopify stores (a domain such as `allbirds.com` is enough) and get every product the store publishes: titles,
prices, compare-at (was) prices, variants with SKUs, availability, options, images, tags, vendor, product
type, descriptions and dates. Export to JSON, CSV or Excel, or read it through the API.

**Every store you give gets a free status row** saying whether its catalog came out complete and, if not, why:
the feed is switched off, the store is password-protected, it refused our requests, it is not a Shopify store, or it
has more products than its public feeds serve. You never get an empty dataset without an explanation.

### What you get

- **The whole catalog of a store**, page after page, with the product count the store itself reports next to the
  count delivered, so you can see completeness at a glance.
- **Collections and single products**: a collection link (`https://store.com/collections/sale`) exports just that
  collection; a product link exports one product.
- **Headless stores**: when a store's own domain serves no product feed, the Actor finds the store's own
  `myshopify.com` address and reads the catalog there, after checking that the address belongs to the same store.
- **Catalogs over 25,000 products**: see below.
- **Stores that refuse the first request**: the Actor retries and then switches to a proxy by itself only for that
  store. No proxy setup needed.

### How to export Shopify products to CSV or Excel

1. Put store links in **Store URLs**, one per line: store, collection or product links; a linked text file with one
   address per line is read too. Bare domains (`allbirds.com`) go to **Store domains**, where `a.com, b.com` on one
   line is split.
2. Optional: **Max products for the whole run** and **Max products per store**. Empty means the whole catalog.
3. Run. Products appear in the dataset as they are read; the **Store status** view shows one row per input.
4. Download the dataset as CSV, Excel or JSON from the **Output** tab.

Input fields from other Shopify scrapers are understood too (`domains`, `storeUrls`, `urls`, `maxProducts`,
`maxResults`, `maxItemsPerStore`, `collectionHandles`), so you can paste an existing input. `maxProducts` means a
per-store limit in some scrapers and a whole-run limit in others; here it is both at once, so a run never delivers
(or charges) more than either reading allows. Filters this Actor does not have (keywords, vendors, tags, price range
and similar), and collection links with a storefront filter or search in them (`?filter.p.vendor=`, `?q=`), stop the
run before any request with a clear message, instead of silently exporting everything.

### Shopify products.json limit: catalogs over 25,000 products

The public `products.json` feed of a Shopify store pages 250 products at a time and stops at page 100: page 101 and
later answer HTTP 400, so one feed address serves at most 25,000 products.
This Actor counts the products in the store sitemap, then keeps reading the `collections/all` feed and the store's
collections, largest first, until it reaches that count. The status row shows the sitemap count next to the delivered
one; if some products sit in no collection and stay out of reach, the row says `INCOMPLETE` with both numbers.
Measured on kith.com: 35,203 of the 35,430 products in its sitemap (99.4%) in one run.

### Store status values

| status | meaning |
|---|---|
| OK | everything the store publishes was delivered |
| EMPTY | the feed is open and the store lists no products |
| LIMIT_REACHED | stopped at the limit you set |
| INCOMPLETE | part of the catalog was not reachable; the row says how many of how many |
| FEED_DISABLED | the store runs on Shopify but does not serve its public product feed |
| PASSWORD_PROTECTED | the store is behind a password; it is not read |
| BLOCKED, RATE_LIMITED | the store refused our requests on every route |
| NOT_SHOPIFY | the site is not a Shopify store |
| NOT_FOUND | the collection or product link does not exist |
| UNREACHABLE | the site did not answer |
| STOPPED, NOT_PROCESSED | the run ended (timeout, cost limit) before this input; resurrect the run to continue |

### Output example

```json
{
  "type": "product",
  "store": "www.allbirds.com",
  "productId": 7215632482384,
  "handle": "mens-wool-runner-nz-waterproof-natural-black",
  "title": "Men's Wool Runner NZ Waterproof - Natural Black (Natural Black Sole)",
  "url": "https://www.allbirds.com/products/mens-wool-runner-nz-waterproof-natural-black",
  "vendor": "Allbirds",
  "productType": "Shoes",
  "currency": "USD",
  "priceMin": 105,
  "priceMax": 105,
  "compareAtPriceMax": 150,
  "onSale": true,
  "maxDiscountPercent": 30,
  "available": true,
  "availableVariantCount": 1,
  "variantCount": 13,
  "options": [{ "name": "Size", "values": ["8", "8.5", "9"] }],
  "variants": [{ "variantId": 41315598073936, "title": "8", "sku": "A12019M080", "price": 105, "compareAtPrice": 150, "available": false }],
  "featuredImage": "https://cdn.shopify.com/s/files/1/1104/4168/files/A12019_25Q3_Wool-Runner-NZ-Waterproof.png",
  "imageCount": 5,
  "publishedAt": "2026-11-23T13:08:25-08:00",
  "updatedAt": "2026-11-24T07:38:49-08:00",
  "catalogSource": "store_domain"
}
```

A status row:

```json
{
  "type": "store",
  "store": "mejuri.com",
  "status": "OK",
  "complete": true,
  "productsDelivered": 614,
  "productsPublished": 614,
  "catalogSource": "shopify_origin",
  "shopName": "Mejuri",
  "currency": "USD",
  "message": null
}
```

### Pricing

Pay per product delivered. Status rows and failed stores are free, and each product is charged once per run, even
when two inputs cover it (a store and its collection, `www.` and the bare domain) or the run is resurrected.

| Apify plan | Price per 1,000 products |
|---|---|
| Free | $0.80 |
| Bronze | $0.70 |
| Silver | $0.65 |
| Gold and higher | $0.60 |

No start fee. A store with 2,000 products costs $1.40 on Bronze.

### Shopify scraper API for developers

Run it from your code with the Apify API or client (`apify-client` for JavaScript and Python), then read the dataset.
Filter `type = "product"` for products and `type = "store"` for the status rows.

### Good to know

- Only public data: the product feed every Shopify store serves to everyone. No login, no password-protected stores.
- Prices are in the store's base currency, given in `currency` (from the store's own settings).
- Exact stock quantities and barcodes are not in the public catalog feed; `available` and `availableVariantCount`
  are. A product link (read from the product's own data) can carry barcodes where the store publishes them.
- A product that is in no collection of a catalog over 25,000 products may stay unreachable; the status row shows the
  numbers when that happens.

# Actor input Schema

## `startUrls` (type: `array`):

Shopify stores to export, one link per line: a store address (https://www.allbirds.com), a collection link (https://store.com/collections/sale) for that collection only, or a product link for one product. A linked text file with one address per line works too. Every input gets a free status row saying whether its catalog was complete and, if not, why (feed switched off, password, blocked, not Shopify).

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

Or just domains, one per line (allbirds.com, gymshark.com); a.com, b.com on one line is split. Read together with Store URLs.

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

Stop after this many products in total. Empty or 0 means no limit: the whole catalog of every store.

## `maxItemsPerStore` (type: `integer`):

Limit for each store, collection or product link (for Collections of each store, one limit for all collections of a store). Empty or 0 means no limit.

## `collectionHandles` (type: `array`):

Optional collection handles (the part after /collections/ in the address, for example sale) to export instead of the whole catalog of every store above.

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

Not needed for most stores: the Actor reads directly and switches to a proxy by itself only for a store that refuses it. Your proxy here is used for those stores instead of ours.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.allbirds.com"
    }
  ],
  "maxItems": 100
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "startUrls": [
        {
            "url": "https://www.allbirds.com"
        }
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("firsthand/shopify-product-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 = {
    "startUrls": [{ "url": "https://www.allbirds.com" }],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("firsthand/shopify-product-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 '{
  "startUrls": [
    {
      "url": "https://www.allbirds.com"
    }
  ],
  "maxItems": 100
}' |
apify call firsthand/shopify-product-scraper --silent --output-dataset

```

## MCP server setup

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