# Shopify Store & Product Catalog Spy (`knobby_wallpaper/shopify-product-catalog-spy`) Actor

Extract products, variants, pricing, inventory availability, images, and new arrivals from any Shopify store without proxies or captchas. Fast, reliable, and built for e-commerce, dropshipping, and AI workflows.

- **URL**: https://apify.com/knobby_wallpaper/shopify-product-catalog-spy.md
- **Developed by:** [Apex Data Solutions](https://apify.com/knobby_wallpaper) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $5.00 / 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.

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 Store & Product Catalog Spy

> **Extract full product catalogs, pricing, variants, SKUs, inventory availability, images, and new arrivals from any Shopify store in seconds.**\
> Built by **Apex Data Solutions** for e-commerce brands, dropshippers, competitive intelligence, and AI agents.

[![Apify](https://img.shields.io/badge/Apify-Actor-orange?logo=apify)](https://apify.com/knobby_wallpaper/shopify-product-catalog-spy)
[![Price](https://img.shields.io/badge/Price-%245.00%20%2F%201k%20results-green)]()
[![Success Rate](https://img.shields.io/badge/Success%20Rate-100%25-brightgreen)]()
[![Speed](https://img.shields.io/badge/Speed-%3C2s%20per%20page-blue)]()
[![No Proxies Needed](https://img.shields.io/badge/Proxies-Not%20Required-success)]()

***

### 🌟 Why Use Shopify Store & Product Catalog Spy?

Traditional e-commerce scrapers require slow browser instances (Puppeteer/Playwright), expensive residential proxies, and constantly break whenever website themes change.

**Shopify Store & Product Catalog Spy** takes an entirely different approach:

- ⚡ **Lightning Fast**: Extracts up to 250 products per request in under 200 milliseconds.
- 🛡️ **Zero Bot Blocks & Captchas**: Queries the store's native product endpoints directly with zero proxy overhead.
- 📦 **Complete Product Metadata**: Captures titles, handles, descriptions, vendors, categories, tags, image galleries, and structured option matrices.
- 🏷️ **Variant-Level Granularity**: Extracts every SKU, size, color, exact price, compare-at (original) price, and stock status.
- 🎯 **Advanced Filters**: Filter by keywords, minimum date (new arrivals), in-stock availability, or flatten output for 1-click Google Sheets / ERP import.

***

### 📊 Extracted Data Fields

Each scraped product includes comprehensive, structured fields:

| Field | Type | Description |
|---|---|---|
| `storeUrl` | String | Normalized base store URL (e.g. `https://allbirds.com`) |
| `productId` | String | Unique Shopify product identifier |
| `title` | String | Full product title |
| `handle` | String | URL slug / handle |
| `productUrl` | String | Direct link to the live product page |
| `vendor` | String | Brand, designer, or manufacturer |
| `productType` | String | Product category / classification |
| `tags` | Array | Tags associated with the product |
| `description` | String | Clean, tag-free plain text product description |
| `minPrice` | Number | Lowest variant price |
| `maxPrice` | Number | Highest variant price |
| `compareAtPrice` | Number | Original price (if discounted) |
| `hasDiscount` | Boolean | `true` if compare-at price is higher than live price |
| `discountPercent`| Number | Calculated discount percentage (e.g. `25.0`) |
| `inStock` | Boolean | `true` if at least one variant is available |
| `totalVariants` | Integer | Total number of variants |
| `availableVariants` | Integer | Number of variants currently in stock |
| `primaryImageUrl` | String | High-resolution hero image URL |
| `imageUrls` | Array | All gallery image URLs |
| `options` | Array | Product options (e.g., Size, Color, Material) |
| `variants` | Array | Array of variant objects with SKU, price, availability, and images |
| `publishedAt` | String | ISO timestamp of product publication |
| `createdAt` | String | ISO timestamp of creation |
| `updatedAt` | String | ISO timestamp of last update |
| `scrapedAt` | String | ISO timestamp of extraction |

***

### ⚙️ Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `startUrls` | Array | **Yes** | `[{"url": "https://allbirds.com"}]` | List of Shopify store URLs or collection links. |
| `maxProductsPerStore` | Integer | No | `100` | Maximum products to retrieve per store (up to 10,000). |
| `onlyInStock` | Boolean | No | `false` | When enabled, skips out-of-stock products. |
| `searchKeyword` | String | No | `""` | Filter products containing a specific keyword in title, vendor, or tags. |
| `publishedAfter` | String | No | `""` | ISO date (`YYYY-MM-DD`) to fetch only new arrivals launched after this date. |
| `flattenVariants` | Boolean | No | `false` | If `true`, outputs one row per variant instead of one row per product (perfect for SKU inventories). |

***

### 💻 Sample Input

```json
{
  "startUrls": [
    { "url": "https://allbirds.com" },
    { "url": "https://gymshark.com" }
  ],
  "maxProductsPerStore": 50,
  "onlyInStock": true,
  "flattenVariants": false
}
```

***

### 📋 Sample Output

```json
{
  "storeUrl": "https://allbirds.com",
  "productId": "7258385809488",
  "title": "Men's Canvas Runner NZ - Deep Navy Stripes",
  "handle": "mens-canvas-runner-nz",
  "productUrl": "https://allbirds.com/products/mens-canvas-runner-nz",
  "vendor": "Allbirds",
  "productType": "Shoes",
  "tags": [
    "mens",
    "runner",
    "cotton",
    "limited"
  ],
  "description": "Our classic low-top sneaker made from sustainable organic cotton canvas.",
  "minPrice": 100.0,
  "maxPrice": 100.0,
  "compareAtPrice": 120.0,
  "hasDiscount": true,
  "discountPercent": 16.7,
  "inStock": true,
  "totalVariants": 13,
  "availableVariants": 8,
  "primaryImageUrl": "https://cdn.shopify.com/s/files/1/1104/4168/files/runner-navy.png",
  "imageUrls": [
    "https://cdn.shopify.com/s/files/1/1104/4168/files/runner-navy.png",
    "https://cdn.shopify.com/s/files/1/1104/4168/files/runner-navy-sole.png"
  ],
  "options": [
    {
      "name": "Size",
      "values": ["8", "8.5", "9", "9.5", "10", "10.5", "11", "12", "13"]
    }
  ],
  "variants": [
    {
      "id": "41884547022928",
      "title": "8.5",
      "sku": "A12498M085",
      "price": 100.0,
      "compareAtPrice": 120.0,
      "hasDiscount": true,
      "discountPercent": 16.7,
      "available": true,
      "option1": "8.5"
    }
  ],
  "publishedAt": "2026-09-25T16:58:09-07:00",
  "createdAt": "2025-12-04T12:15:25-08:00",
  "updatedAt": "2026-10-05T22:47:03-07:00",
  "scrapedAt": "2026-10-06T08:45:00Z"
}
```

***

### 🚀 How to Integrate with Automation Tools

#### 1. Python (via Apify Client)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")

run_input = {
    "startUrls": [{"url": "https://allbirds.com"}],
    "maxProductsPerStore": 100,
    "onlyInStock": True
}

run = client.actor("knobby_wallpaper/shopify-product-catalog-spy").call(run_input=run_input)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"Product: {item['title']} - Price: ${item['minPrice']} (In Stock: {item['inStock']})")
```

#### 2. n8n / Make.com / Zapier

Connect the Apify node to trigger on schedule, feed the resulting JSON to Google Sheets, Airtable, or Notion, and send alerts on price drops or newly detected products.

***

### 🛡️ Support & Custom Integrations

Developed and maintained with ❤️ by **Apex Data Solutions**.\
Need custom e-commerce data pipelines, competitor monitoring, or dedicated actors? Contact us via our Apify profile or open an issue on GitHub.

# Actor input Schema

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

List of Shopify store URLs or domains (e.g., https://colourpop.com, https://shop.fentybeauty.com, or specific collections like https://kith.com/collections/mens).

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

Maximum number of products to extract per store.

## `onlyInStock` (type: `boolean`):

If enabled, only products with at least one variant available in stock will be returned.

## `searchKeyword` (type: `string`):

Filter products containing this keyword in the title, tags, or vendor (case-insensitive).

## `publishedAfter` (type: `string`):

Filter products published after this date (ISO format YYYY-MM-DD, e.g., 2026-01-01) to identify new arrivals.

## `flattenVariants` (type: `boolean`):

If true, each variant becomes a separate dataset row (ideal for SKU/inventory tracking). If false, each product is one row with variants nested.

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

Proxy settings for reliable crawling. Default uses Apify Proxy.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://colourpop.com"
    }
  ],
  "maxProductsPerStore": 50,
  "onlyInStock": false,
  "searchKeyword": "",
  "publishedAfter": "",
  "flattenVariants": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Dataset containing products, pricing, inventory, variants, and metadata from target Shopify stores.

# 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://colourpop.com"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("knobby_wallpaper/shopify-product-catalog-spy").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://colourpop.com" }],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("knobby_wallpaper/shopify-product-catalog-spy").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://colourpop.com"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call knobby_wallpaper/shopify-product-catalog-spy --silent --output-dataset

```

## MCP server setup

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

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/25d9XMSGvhd16pNIN/builds/vGaM0x7HGOsYNLbRd/openapi.json
