# Shopify Store Intelligence - Product & Price Monitor (`handstands.io/shopify-store-intelligence`) Actor

Extract full product catalogs from any Shopify store and monitor price changes, inventory signals, and discounts - across multiple stores at once. Powered by Shopify's public /products.json endpoint: no scraping, no blocks, no legal risk.

- **URL**: https://apify.com/handstands.io/shopify-store-intelligence.md
- **Developed by:** [handstands io](https://apify.com/handstands.io) (community)
- **Categories:** E-commerce, Other
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## Shopify Store Intelligence by Handstands

**See exactly what any Shopify store is selling, at what price, and what changed since yesterday.**

Monitor competitor products, track price drops, catch discount launches, and get notified when sold-out items come back in stock — across as many stores as you want, in a single run.

---

### Why this actor exists

Most Shopify intelligence tools either scrape HTML (fragile, slow, legally grey) or charge enterprise prices. This actor uses Shopify's own public `/products.json` endpoint — a documented, official feature every Shopify store exposes by default. That means:

- No scraping. No CAPTCHAs. No proxies needed.
- Works on all 4.6M+ Shopify stores.
- Near-zero failure rate.
- Zero legal risk.

We do the heavy lifting so you don't have to.

---

### Two modes

#### Full extraction
Pull the complete product catalog from one or more stores on demand. Every product, every variant, every price. Great for market research, supplier audits, or building a competitor price database.

#### Change detection *(the powerful one)*
Run this on a schedule and only get back what actually changed. New products added. Products removed. Price increases or drops. Discounts launched or ended. Items back in stock.

The first run saves a baseline silently. Every run after that outputs only the delta.

---

### What you get

Each result includes:

| Field | Description |
|-------|-------------|
| `store` | The store URL |
| `title` | Product name |
| `vendor` | Brand / manufacturer |
| `productType` | Category |
| `lowestPrice` | Cheapest variant price |
| `highestPrice` | Most expensive variant price |
| `hasDiscount` | True if any variant is on sale |
| `available` | True if any variant is in stock |
| `variantCount` | Number of variants (sizes, colours, etc.) |
| `variants` | Full variant list: SKU, price, compare-at price, stock status |
| `images` | Product image URLs |
| `tags` | All product tags |
| `createdAt` / `updatedAt` | Timestamps |

In change detection mode, results also include:

| Field | Description |
|-------|-------------|
| `changeType` | What changed: `price_change`, `availability_change`, `discount_added`, `discount_removed`, `new_product`, `removed_product` |
| `previousPrice` | Price before the change |
| `newPrice` | Price after the change |

---

### Example output

```json
{
  "store": "https://gymshark.com",
  "title": "Vital Seamless 2.0 Shorts",
  "vendor": "Gymshark",
  "productType": "Shorts",
  "lowestPrice": "45.00",
  "hasDiscount": true,
  "available": true,
  "variantCount": 8,
  "variants": [
    {
      "title": "XS / Black",
      "sku": "GS-VS2-BLK-XS",
      "price": "45.00",
      "compareAtPrice": "55.00",
      "available": true
    }
  ]
}
````

Change detection example:

```json
{
  "store": "https://gymshark.com",
  "changeType": "price_change",
  "title": "Vital Seamless 2.0 Shorts",
  "variantTitle": "XS / Black",
  "previousPrice": "55.00",
  "newPrice": "45.00"
}
```

***

### Input options

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `stores` | string\[] | required | Store URLs to monitor |
| `mode` | string | `full` | `full` or `changeDetection` |
| `maxProductsPerStore` | integer | 0 (no limit) | Cap per store |
| `includeImages` | boolean | `true` | Include image URLs |
| `requestDelayMs` | integer | 500 | Delay between page requests (ms) |

***

### Pricing

This actor uses Apify's pay-per-result model — you only pay for what you extract.

| Mode | Rate |
|------|------|
| Full extraction | ~$0.50 per 1,000 products |
| Change detection | ~$2.00 per 1,000 changed items |

A store with 500 products costs roughly $0.25 to extract in full. Running change detection daily on 10 stores costs pennies unless you're tracking thousands of changes.

***

### Common use cases

**Dropshippers** — Know the moment a supplier product sells out or changes price before your customers notice.

**Shopify merchants** — Track 3–5 competitors. Get notified the moment they drop prices or launch a sale, so you can respond fast.

**Agencies** — Run store audits for clients. Pull a competitor's full catalog in seconds.

**Brand managers** — Monitor who's selling your products and at what price.

**Market researchers** — Map what products a niche of stores carries without visiting each one manually.

***

### How to run on a schedule (change detection)

1. Add your stores to the input
2. Set `mode` to `changeDetection`
3. Go to Schedules in your Apify account and set it to run daily (or hourly)
4. Connect the dataset output to a webhook, Google Sheet, or Slack notification

The actor stores its baseline state between runs automatically — no setup required.

***

### Notes

- Shopify's `/products.json` returns up to 250 products per page. Pagination is handled automatically.
- Some stores limit the products returned via their storefront settings. If a store seems to return fewer products than expected, this is a Shopify-side restriction, not an actor limitation.
- Change detection state is stored in the actor's Key-Value Store and persists between runs.

***

*Built by [Handstands](https://handstands.io) — tools that do the heavy lifting.*

# Actor input Schema

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

List of Shopify store URLs to extract products from. Accepts any Shopify store URL — e.g. https://gymshark.com or https://example.myshopify.com

## `mode` (type: `string`):

full — extract all products on every run. changeDetection — only output products that changed since the last run (new, removed, price changes, availability changes, discounts added/removed).

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

Maximum number of products to extract per store. Set to 0 for no limit.

## `includeImages` (type: `boolean`):

Include product image URLs in the output.

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

Milliseconds to wait between paginated requests to the same store. Increase if you encounter rate limiting.

## Actor input object example

```json
{
  "stores": [
    "https://gymshark.com",
    "https://allbirds.com"
  ],
  "mode": "full",
  "maxProductsPerStore": 50,
  "includeImages": true,
  "requestDelayMs": 500
}
```

# 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": [
        "https://gymshark.com"
    ],
    "maxProductsPerStore": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("handstands.io/shopify-store-intelligence").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": ["https://gymshark.com"],
    "maxProductsPerStore": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("handstands.io/shopify-store-intelligence").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "https://gymshark.com"
  ],
  "maxProductsPerStore": 50
}' |
apify call handstands.io/shopify-store-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=handstands.io/shopify-store-intelligence",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Shopify Store Intelligence - Product & Price Monitor",
        "description": "Extract full product catalogs from any Shopify store and monitor price changes, inventory signals, and discounts - across multiple stores at once. Powered by Shopify's public /products.json endpoint: no scraping, no blocks, no legal risk.",
        "version": "0.1",
        "x-build-id": "8ecqG9tX4iXd6tvg6"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/handstands.io~shopify-store-intelligence/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-handstands.io-shopify-store-intelligence",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/handstands.io~shopify-store-intelligence/runs": {
            "post": {
                "operationId": "runs-sync-handstands.io-shopify-store-intelligence",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/handstands.io~shopify-store-intelligence/run-sync": {
            "post": {
                "operationId": "run-sync-handstands.io-shopify-store-intelligence",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "stores"
                ],
                "properties": {
                    "stores": {
                        "title": "Store URLs",
                        "type": "array",
                        "description": "List of Shopify store URLs to extract products from. Accepts any Shopify store URL — e.g. https://gymshark.com or https://example.myshopify.com",
                        "items": {
                            "type": "string"
                        }
                    },
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "full",
                            "changeDetection"
                        ],
                        "type": "string",
                        "description": "full — extract all products on every run. changeDetection — only output products that changed since the last run (new, removed, price changes, availability changes, discounts added/removed).",
                        "default": "full"
                    },
                    "maxProductsPerStore": {
                        "title": "Max products per store",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of products to extract per store. Set to 0 for no limit.",
                        "default": 0
                    },
                    "includeImages": {
                        "title": "Include image URLs",
                        "type": "boolean",
                        "description": "Include product image URLs in the output.",
                        "default": true
                    },
                    "requestDelayMs": {
                        "title": "Delay between page requests (ms)",
                        "minimum": 0,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Milliseconds to wait between paginated requests to the same store. Increase if you encounter rate limiting.",
                        "default": 500
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
