# Shopify Products Scraper - Prices, Stock, Variants ($0.50/1K) (`yakk000/shopify-products-scraper`) Actor

Scrape every product of any Shopify store or collection: prices, compare-at (sale) prices, stock availability, variants, SKUs, images, tags, vendor and currency. Filters for in-stock, on-sale and keywords. Only $0.50 per 1,000 products, no start fee.

- **URL**: https://apify.com/yakk000/shopify-products-scraper.md
- **Developed by:** [Víctor Carrión](https://apify.com/yakk000) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 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 Products Scraper: prices, stock and variants for $0.50 per 1,000

Get **every product of any Shopify store**, or of one collection, with **prices, compare-at (sale) prices, stock availability, variants, SKUs, options, images, tags, vendor, product type and store currency**. Paste store domains and get a clean table or JSON in seconds.

- **$0.50 per 1,000 products**, with no start fee. Non-Shopify sites and products removed by your filters are **free**.
- **All variants included:** SKU, price, compare-at price, availability, options (size, color…) and weight.
- **Ready-made filters:** only in-stock, only on sale, title keywords.
- **Works on collections** (`/collections/sale`, `/collections/new-arrivals`) as well as whole stores.

### Use cases

- **Competitor price monitoring:** schedule daily runs and track price and stock changes of competitor stores.
- **Dropshipping and product research:** find best-sellers, new arrivals and discounts across stores.
- **Catalog sync and migration:** export a full catalog with variants and images.
- **Market research:** compare assortments, price points and vendors across a niche.
- **Deal sites and affiliates:** list only on-sale products from many stores.

### How to use it

1. In **Shopify stores or collections**, add store domains (`allbirds.com`) or collection URLs (`https://www.gymshark.com/collections/new-releases`).
2. Optionally turn on **Only in-stock** or **Only on sale**, or add **title keywords**.
3. Click **Start** and export the dataset as JSON, CSV or Excel, or use the API.

#### Input example

```json
{
  "stores": ["allbirds.com", "https://www.gymshark.com/collections/new-releases"],
  "onlyAvailable": true,
  "maxProductsPerStore": 500
}
```

#### Output example (one item per product)

```json
{
  "status": "ok",
  "store": "allbirds.com",
  "storeName": "Allbirds",
  "currency": "USD",
  "productId": 7012345678901,
  "title": "Men's Tree Runners",
  "url": "https://allbirds.com/products/mens-tree-runners",
  "vendor": "Allbirds",
  "productType": "Shoes",
  "tags": ["mens", "runners"],
  "priceMin": 98.0,
  "priceMax": 98.0,
  "compareAtPriceMax": null,
  "onSale": false,
  "available": true,
  "variantsCount": 7,
  "options": ["Size"],
  "imageUrl": "https://cdn.shopify.com/…",
  "variants": [{"variantId": 4012…, "title": "8", "sku": "TR3M…", "price": 98.0, "compareAtPrice": null, "available": true, "option1": "8"}],
  "images": ["https://cdn.shopify.com/…"],
  "createdAt": "2025-03-01T10:00:00-05:00",
  "updatedAt": "2026-10-30T08:12:00-04:00",
  "scrapedAt": "2026-10-31T12:00:00+00:00"
}
```

Sites that are not Shopify, or that disabled the product feed, return a free item with `status: "not_shopify"`. A wrong collection name returns `collection_not_found`.

### Pricing

Pay per event: **$0.0005 per product** ($0.50 per 1,000), whatever the number of variants. No start fee. Free items: non-Shopify sites, missing collections and filtered-out products. You can cap the cost of a run in the run options, and the Actor stops cleanly when the cap is reached.

### How it works

Every Shopify storefront publishes its product catalog as public JSON (`/products.json`). The Actor reads it page by page and politely: about 2 requests per second per store, with back-off if the store asks to slow down. It doesn't log in, doesn't use proxies and doesn't touch carts or checkouts.

### Use it from code, Make, Zapier, n8n or an AI agent

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("Yakk000/shopify-products-scraper").call(run_input={"stores": ["allbirds.com"], "onlyOnSale": True})
for p in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(p["title"], p["priceMin"], p["currency"], p["available"])
```

### FAQ

**Does it get the exact stock quantity?** Shopify's public feed exposes availability (in stock / sold out) per variant, not the exact unit count.

**Which currency are prices in?** The store's base currency, in the `currency` field.

**Something not working for a store?** Open an issue with the store URL.

# Actor input Schema

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

Store domains (allbirds.com) or collection URLs (https://store.com/collections/sale). One per line.

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

Stop after this many products for each store or collection (after filters).

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

Keep only products with at least one available variant.

## `onlyOnSale` (type: `boolean`):

Keep only products whose compare-at price is above the price.

## `titleKeywords` (type: `array`):

Keep products whose title contains one of these words (case-insensitive).

## `includeVariants` (type: `boolean`):

Each product includes its variants (SKU, price, compare-at price, availability, options) and all image URLs.

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

Product description as plain text.

## Actor input object example

```json
{
  "stores": [
    "allbirds.com",
    "https://www.gymshark.com/collections/new-releases"
  ],
  "maxProductsPerStore": 1000,
  "onlyAvailable": false,
  "onlyOnSale": false,
  "includeVariants": true,
  "includeDescription": false
}
```

# Actor output Schema

## `products` (type: `string`):

No description

## `productsJson` (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 = {
    "stores": [
        "allbirds.com",
        "https://www.gymshark.com/collections/new-releases"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("yakk000/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 = { "stores": [
        "allbirds.com",
        "https://www.gymshark.com/collections/new-releases",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("yakk000/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 '{
  "stores": [
    "allbirds.com",
    "https://www.gymshark.com/collections/new-releases"
  ]
}' |
apify call yakk000/shopify-products-scraper --silent --output-dataset

```

## MCP server setup

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