# Shopify Store Intelligence — Catalog + Pricing (`v0iddo/shopify-store-intelligence`) Actor

Snapshot any Shopify storefront's full public catalog. One row per product with title, vendor, type, tags, all variants (SKU, price, compare\_at\_price, available), images. Skips non-Shopify domains gracefully. Source: /products.json + /collections.json (public, no auth).

- **URL**: https://apify.com/v0iddo/shopify-store-intelligence.md
- **Developed by:** [vøiddo](https://apify.com/v0iddo) (community)
- **Categories:** Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 shopify product extracteds

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 — Catalog + Pricing Snapshot

Pull the **full public catalog** of any Shopify-powered storefront — all products,
variants, prices, SKUs, vendor portfolio, and stock signals — in one run. No
login, no HTML scraping, no headless browser. Just the open `/products.json`
endpoint that Shopify exposes for every store by design.

### What you get

**One row per product** (default) — or one row per variant (SKU) if you'd rather
join in a spreadsheet. Every row carries:

- Identifiers: `productId`, `handle`, `url`, `storeDomain`
- Catalog metadata: `title`, `vendor`, `productType`, `tags`, `imageCount`
- Pricing signal: `minPrice`, `maxPrice`, `anyOnSale`, per-variant
  `price` + `compareAtPrice`
- Stock signal: `variantsInStock` / `variantsTotal`, per-variant `available`
- Timestamps: `publishedAt`, `createdAt`, `updatedAt`

Plus a per-store summary in OUTPUT with vendor distribution (top 10), product
types breakdown, products on sale / in stock, and an optional `/collections.json`
snapshot.

### Why this matters

Shopify powers >4 million live stores. Each one of them silently publishes its
full product catalog at `/products.json`, paginated 250 at a time. Most growth
teams don't know this — and the ones that do are stitching together one-off
scripts. This actor turns that into a single, reliable, paginated, billable
data source.

**Built for:**

- **Competitive intelligence** — track a competitor's catalog every week:
  what's new, what dropped, what went on sale.
- **DTC / dropshipping research** — discover niches by surveying which vendors
  are inside which collections across a list of stores.
- **Pricing surveillance** — compare your prices vs. a curated panel of peers.
- **M&A / investor due diligence** — snapshot a target's full SKU count,
  vendor mix, and pricing distribution from a single run.

### Input

| Field | Required | Default | Description |
|---|---|---|---|
| `stores` | yes | — | List of domains or URLs. `"gymshark.com"`, `"https://allbirds.com"`, `"shop.example.com"` — all valid. |
| `maxProductsPerStore` | no | `5000` | Hard cap per store. Shopify itself enforces a page index ceiling of ~150 (true max ≈ 37 500 products / store). |
| `includeCollections` | no | `true` | Also pull `/collections.json` into the per-store summary. |
| `rowMode` | no | `per_product` | `per_product` (one row, all variants nested) or `per_variant` (one row per SKU). |
| `includeBodyHtml` | no | `false` | Include the long-form HTML product description. Skip unless you need it — adds 2–10 KB / row. |
| `detectStack` | no | `false` | Fetch the store's homepage and detect installed apps + tech stack. Adds `installedApps` and `techStack` to the per-store summary. One extra HTTP request per store, **no billing impact**. |

### Output

**Dataset** — one row per product (or per variant).
**Key-value store** — `OUTPUT` with per-store summaries and the billing ledger
summary; `BILLING_LOG` with the full audit trail of every charge call.

### Pricing

PAY_PER_EVENT, $0.001 per product extracted (`product_extracted`). A 5 000-SKU
store costs ~$5. The `per_variant` mode is free of extra charge — billing is
per product, not per variant.

### v0.2 — what's new

**Stack detection.** Set `detectStack: true` to fetch the store's homepage
once and surface the installed apps + tech stack in the per-store summary:

````

"installedApps": \["klaviyo", "recharge", "loox", "gorgias", "meta\_pixel"],
"techStack": {
"checkout":      \["shopify"],
"subscriptions": \["recharge"],
"reviews":       \["loox"],
"email":         \["klaviyo"],
"chat":          \["gorgias"],
"pixels":        \["meta\_pixel", "tiktok\_pixel"],
"analytics":     \["ga4"]
}

````

Tells covered: Recharge / Ordergroove / Appstle / Loop (subscriptions);
Loox / Judge.me / Yotpo / Stamped / Okendo / Reviews.io (reviews); Klaviyo
/ Privy / Justuno / Omnisend / Mailchimp (email); Gorgias / Intercom /
Tidio / Crisp / Zendesk / Drift (chat); Smile.io / Refersion (loyalty);
GA4 / Northbeam / TripleWhale (analytics); Meta / TikTok / Pinterest
(pixels); Shogun / PageFly / GemPages (page builders); Rebuy (upsell).

Adds one extra GET request per store. **No billing impact** — billing
still charges per `product_extracted`.

### Notes & limits

- **Non-Shopify URLs are skipped, not failed.** If a domain doesn't serve
  `/products.json`, the store appears in OUTPUT with a `skipped` reason
  (404, non-JSON, network) and no rows or charges are emitted.
- **Shopify hard limit.** The public storefront API caps the `page` parameter
  around 150 — a true ceiling of ~37 500 products. The actor stops cleanly
  when it hits that.
- **No personal data.** This endpoint is public catalog data designed to be
  served to anyone who lands on the store. No customer info, no order info,
  no inventory counts beyond `available: true/false`.
- **Polite by default.** Uses a normal browser User-Agent and follows
  redirects; no Apify Proxy needed because the endpoint is openly served.

### Source

Each Shopify storefront exposes:
- `GET /products.json?limit=250&page=N` — paginated product feed.
- `GET /collections.json?limit=250` — collection metadata.

These are public endpoints, served the same way to scrapers, plugins, and
your browser's view-source.

# Actor input Schema

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

Storefront URLs or bare domains. Examples: "gymshark.com", "https://allbirds.com", "shop.example.com". The actor probes /products.json; non-Shopify URLs are skipped with a note in the output.
## `maxProductsPerStore` (type: `integer`):

Hard cap per store. Each page returns up to 250 products; the actor paginates until empty or this cap is reached. Shopify's public storefront API enforces an upper page index ~150, so true cap is ~37500.
## `includeCollections` (type: `boolean`):

Also pull /collections.json. Adds collection metadata (title, handle, products_count) to the store summary in OUTPUT.
## `rowMode` (type: `string`):

"per_product" (default) emits one row per product with all variants nested. "per_variant" emits one row per SKU — more rows, easier for spreadsheet joins.
## `includeBodyHtml` (type: `boolean`):

Adds the long-form product description HTML to each row. Roughly 2-10 KB per product. Off by default to keep dataset compact.
## `detectStack` (type: `boolean`):

Fetch the store homepage and detect installed apps (Recharge, Loox, Klaviyo, Yotpo, Judge.me, …) plus tech-stack categories (subscriptions, reviews, email, chat, loyalty, pixels). Adds `installedApps` and `techStack` fields to the per-store summary. One extra HTTP request per store, no billing impact.

## Actor input object example

```json
{
  "stores": [
    "gymshark.com",
    "allbirds.com",
    "kith.com"
  ],
  "maxProductsPerStore": 5000,
  "includeCollections": true,
  "rowMode": "per_product",
  "includeBodyHtml": false,
  "detectStack": false
}
````

# 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": [
        "gymshark.com",
        "allbirds.com",
        "kith.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("v0iddo/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": [
        "gymshark.com",
        "allbirds.com",
        "kith.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("v0iddo/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": [
    "gymshark.com",
    "allbirds.com",
    "kith.com"
  ]
}' |
apify call v0iddo/shopify-store-intelligence --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Shopify Store Intelligence — Catalog + Pricing",
        "description": "Snapshot any Shopify storefront's full public catalog. One row per product with title, vendor, type, tags, all variants (SKU, price, compare_at_price, available), images. Skips non-Shopify domains gracefully. Source: /products.json + /collections.json (public, no auth).",
        "version": "0.2",
        "x-build-id": "OZmN8PBZkqa7uGv4l"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/v0iddo~shopify-store-intelligence/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-v0iddo-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/v0iddo~shopify-store-intelligence/runs": {
            "post": {
                "operationId": "runs-sync-v0iddo-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/v0iddo~shopify-store-intelligence/run-sync": {
            "post": {
                "operationId": "run-sync-v0iddo-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 domains / URLs",
                        "type": "array",
                        "description": "Storefront URLs or bare domains. Examples: \"gymshark.com\", \"https://allbirds.com\", \"shop.example.com\". The actor probes /products.json; non-Shopify URLs are skipped with a note in the output.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxProductsPerStore": {
                        "title": "Max products per store",
                        "minimum": 1,
                        "maximum": 37500,
                        "type": "integer",
                        "description": "Hard cap per store. Each page returns up to 250 products; the actor paginates until empty or this cap is reached. Shopify's public storefront API enforces an upper page index ~150, so true cap is ~37500.",
                        "default": 5000
                    },
                    "includeCollections": {
                        "title": "Include collections snapshot",
                        "type": "boolean",
                        "description": "Also pull /collections.json. Adds collection metadata (title, handle, products_count) to the store summary in OUTPUT.",
                        "default": true
                    },
                    "rowMode": {
                        "title": "Row granularity",
                        "enum": [
                            "per_product",
                            "per_variant"
                        ],
                        "type": "string",
                        "description": "\"per_product\" (default) emits one row per product with all variants nested. \"per_variant\" emits one row per SKU — more rows, easier for spreadsheet joins.",
                        "default": "per_product"
                    },
                    "includeBodyHtml": {
                        "title": "Include product body HTML",
                        "type": "boolean",
                        "description": "Adds the long-form product description HTML to each row. Roughly 2-10 KB per product. Off by default to keep dataset compact.",
                        "default": false
                    },
                    "detectStack": {
                        "title": "Detect installed apps + tech stack",
                        "type": "boolean",
                        "description": "Fetch the store homepage and detect installed apps (Recharge, Loox, Klaviyo, Yotpo, Judge.me, …) plus tech-stack categories (subscriptions, reviews, email, chat, loyalty, pixels). Adds `installedApps` and `techStack` fields to the per-store summary. One extra HTTP request per store, no billing impact.",
                        "default": false
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
