# Shopify Products Scraper (`bakos_bence/scrap-shopify-products-scraper`) Actor

Unofficial Shopify catalog scraper. Extract products, prices, variants, images, and availability from any public Shopify store via /products.json. Supports collection sharding for catalogs over 25k products. Not affiliated with Shopify Inc.

- **URL**: https://apify.com/bakos\_bence/scrap-shopify-products-scraper.md
- **Developed by:** [Bakos Bence](https://apify.com/bakos_bence) (community)
- **Categories:** E-commerce, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.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.
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?

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

### What does Shopify Products Scraper do?

**Extract the full public product catalogue** from any Shopify store domain via `/products.json` (and optional collection shards). Get **titles, vendors, prices with currency, variants, images, and availability** — no Shopify API key and no collection URLs required. Unofficial; not affiliated with Shopify Inc.

Schedule runs, export **JSON/CSV/Excel**, or call via **API / MCP**.

**Other product catalog scrapers:** [eMAG Product Scraper](https://apify.com/bakos_bence/scrap-emag-products) (RO/BG/HU marketplace) and [Chrono24 Watch Listings Scraper](https://apify.com/bakos_bence/scrap-chrono24-listings) (luxury watch listings) — useful when you monitor prices across Shopify boutiques, CEE marketplaces, and secondary-market watches.

#### Why use this Shopify scraper?

- 🏪 **Store domain only** — paste `gymshark.com` or a full URL
- 📦 Automatic pagination (250 products per page)
- 🧩 **Collection sharding** when catalogues exceed Shopify’s ~25k `/products.json` cap
- 💱 Optional `currency` / `localization` cookies for price context
- 🛡️ TLS fingerprint handling (plain HTTP first, browser-like fallback when blocked)
- 🔁 Multi-store runs in one input list

#### What Shopify product data can you extract?

| Fields | Meaning |
|--------|---------|
| `store`, `title`, `vendor`, `url` | Store, title, brand, product URL |
| `currency`, `priceMin`, `priceMax` | Prices with currency |
| `available`, `variantCount`, `variants` | Stock and variant detail |
| `images` / image URLs | CDN images |
| `handle`, `productId` | Stable identifiers |

#### Use cases

- Competitor **price monitoring** on Shopify boutiques
- Catalogue exports for **market research**
- Inventory / availability snapshots
- Multi-store assortment comparison

#### How to scrape all products from a Shopify store

1. Create a free Apify account and open this Actor.
2. Add one or more `storeUrls` (domain or URL).
3. Set `maxProducts` (`100` to test, `0` = unlimited).
4. For huge catalogues, enable `useCollectionShards`.
5. Leave proxy off unless you see HTTP 403; then enable Apify Proxy.
6. Run and export the dataset.

#### How much does it cost to scrape Shopify products?

**PPE:** Actor start + each product **result**. Free plan is about **$1.50–$3.00 / 1,000** depending on your configured tiers — check the Pricing tab. Cap with `maxProducts`.

#### Input

| Field | Description |
|-------|-------------|
| `storeUrls` | Required. Domains or URLs |
| `maxProducts` | Cap per store (`0` = unlimited) |
| `collectionHandles` | Extra collections to scrape |
| `useCollectionShards` | Walk collections after ~25k products |
| `currency` / `localization` | Price-context cookies |
| `sleepSeconds` | Polite delay between pages |
| `proxyConfiguration` | Enable on 403 / rate limits |

#### Sample output

```json
{
  "store": "hardlyeverwornit.com",
  "storeUrl": "https://hardlyeverwornit.com",
  "productId": 8234567890123,
  "title": "Example Item",
  "handle": "example-item",
  "url": "https://hardlyeverwornit.com/products/example-item",
  "vendor": "Brand",
  "currency": "GBP",
  "priceMin": 120.0,
  "priceMax": 120.0,
  "available": true,
  "variantCount": 1,
  "variants": [{ "sku": "ABC", "price": "120.00", "available": true }],
  "images": ["https://cdn.shopify.com/..."]
}
```

#### FAQ

##### Does every Shopify store expose `/products.json`?

Most Online Store themes do. Hydrogen / headless stores without the JSON feed will fail — use Storefront GraphQL separately.

##### Why do I stop around 25,000 products?

Shopify’s `page×limit` cap on `/products.json`. Enable `useCollectionShards` to continue via collections.

##### Is scraping Shopify product data legal?

This Actor reads **public storefront catalogue** data. Review the target site’s terms and your use case. Unofficial — not affiliated with Shopify Inc.

##### Monitoring non-Shopify catalogs too?

Use [eMAG Product Scraper](https://apify.com/bakos_bence/scrap-emag-products) for emag.ro/.bg/.hu category/search URLs, or [Chrono24 Watch Listings Scraper](https://apify.com/bakos_bence/scrap-chrono24-listings) for luxury watch listings — same “price + currency + URL” monitoring pattern, different sources.

#### Related Actors

| Actor | Use together when… |
|-------|-------------------|
| [eMAG Product Scraper](https://apify.com/bakos_bence/scrap-emag-products) | You also track **CEE marketplace** SKUs (Romania, Bulgaria, Hungary) |
| [Chrono24 Watch Listings Scraper](https://apify.com/bakos_bence/scrap-chrono24-listings) | You monitor **luxury watch** listing prices alongside fashion/product catalogs |
| [Shopify Products Scraper](https://apify.com/bakos_bence/scrap-shopify-products-scraper) | *(this Actor)* — any public Shopify `/products.json` store |

Profile: [bakos\_bence on Apify](https://apify.com/bakos_bence)

#### For AI agents & LLM apps

**Actor ID:** `bakos_bence/scrap-shopify-products-scraper`

**Purpose:** Full public Shopify catalogue via `/products.json`, with optional collection sharding past the 25k cap.

**Minimal input:**

```json
{ "storeUrls": ["https://hardlyeverwornit.com"], "maxProducts": 100 }
```

**Output:** one dataset row per product with prices, variants, images, availability.

#### Disclaimer

Unofficial. Not affiliated with Shopify Inc. Trademarks belong to their owners.

#### SEO keywords

shopify products scraper, scrape shopify store, shopify products.json, shopify catalogue scraper, shopify price monitoring, extract shopify products, shopify variants scraper, shopify inventory scraper, ecommerce product scraper api

# Actor input Schema

## `storeUrls` (type: `array`):

One or more Shopify store domains or URLs (e.g. hardlyeverwornit.com, https://www.gymshark.com).

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

Maximum products to return per store. 0 or empty = no limit. Alias: maxProductsPerStore (bisketapis).

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

Alias of maxProducts for bisketapis/shopify-products-scraper drop-in. 0 = unlimited.

## `outputGranularity` (type: `string`):

product (default, nested variants) or variant (one row per variant — bisketapis default).

## `includeUnavailable` (type: `boolean`):

When outputGranularity=variant, include out-of-stock variants (bisketapis).

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

Also scrape these collection handles (e.g. sale, new-arrivals). Useful for targeted pulls or large catalogs.

## `useCollectionShards` (type: `boolean`):

When /products.json returns ~25k products, automatically walk all /collections/{handle}/products.json to bypass Shopify's pagination cap.

## `currency` (type: `string`):

cart\_currency cookie for price context (ISO 4217, e.g. GBP, USD, EUR).

## `localization` (type: `string`):

localization cookie (ISO country code, e.g. GB, US, DE).

## `sleepSeconds` (type: `number`):

Polite delay between paginated API calls. Alias: requestDelayMs / 1000.

## `requestDelayMs` (type: `integer`):

Alias of sleepSeconds in milliseconds (bisketapis requestDelayMs).

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

Most Shopify stores work without a proxy. Enable Apify Proxy if you see 403 or rate limits.

## Actor input object example

```json
{
  "storeUrls": [
    "https://hardlyeverwornit.com",
    "gymshark.com"
  ],
  "maxProducts": 100,
  "outputGranularity": "product",
  "includeUnavailable": true,
  "collectionHandles": [],
  "useCollectionShards": false,
  "currency": "USD",
  "localization": "US",
  "sleepSeconds": 0.05,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Scraped Shopify products (default dataset).

# 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 = {
    "storeUrls": [
        "https://hardlyeverwornit.com"
    ]
};

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

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bakos_bence/scrap-shopify-products-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/SLWiLQHNsgqYZmh8l/builds/RZfzAyZG5gYekiXXT/openapi.json
