# Shopify Store Intel — Competitor Catalog, Prices & Discounts (`youfuxu/shopify-store-intel`) Actor

Analyze any Shopify store's public catalog: product count, price range, share on sale and average discount, sold-out items, new launches, top product types, vendors and tags — plus every product.

- **URL**: https://apify.com/youfuxu/shopify-store-intel.md
- **Developed by:** [Youfu Xu](https://apify.com/youfuxu) (community)
- **Categories:** E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 saved rows

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 Intel — Competitor Catalog, Prices & Discounts

Point it at any Shopify store and get a one-row competitor snapshot: how big the catalog is, where prices sit, how much of it is on sale and how deep the discounts go, what's sold out, and what they launched recently. Every product comes along too, if you want it.

Built for DTC founders, e-commerce agencies, dropshippers and analysts who keep an eye on competitors.

### What you get

**One summary row per store** (`type: "store_summary"`):

| Field | Meaning |
|---|---|
| `storeName`, `currency`, `country` | From the store's public meta data |
| `productsAnalyzed`, `variants` | Catalog size |
| `priceMin`, `priceMedian`, `priceMax` | Price positioning (lowest variant price per product) |
| `onSaleShare`, `averageDiscountPctOnSale` | % of products with a compare-at price above the price, and how deep those discounts are |
| `soldOutProducts`, `outOfStockVariantShare` | Stock pressure |
| `newProducts`, `newestProducts` | Launches in the last N days (you choose N) |
| `lastProductUpdate` | When the catalog last changed |
| `topProductTypes`, `topVendors`, `topTags` | What the store is really selling |

**One row per product** (`type: "product"`, optional): title, URL, vendor, type, tags, price range, compare-at price, on-sale flag, max discount %, availability, variant and sold-out variant counts, created / published / updated dates, main image.

### How to use it

1. Add store domains or URLs to `storeUrls` (e.g. `allbirds.com`, `colourpop.com`).
2. Pick how many products to read per store and the "new product" window.
3. Run it on a schedule to track launches and sales over time.

### Example summary (Allbirds)

```json
{
  "type": "store_summary",
  "storeName": "Allbirds",
  "currency": "USD",
  "productsAnalyzed": 359,
  "priceMedian": 77,
  "onSaleShare": 57.66,
  "averageDiscountPctOnSale": 44.57,
  "outOfStockVariantShare": 30.55,
  "newProducts": 92,
  "topProductTypes": [{ "name": "Shoes", "count": 263 }, { "name": "Socks", "count": 52 }]
}
```

### Good to know

- **Public storefront data only.** It reads the store's own public `products.json` and `meta.json` — no login, no proxies. Some stores switch that endpoint off or put it behind a bot check; those stores are reported in the run's `RUN_SUMMARY` (e.g. `HTTP 403`) and are **not charged**.
- **No sales numbers.** Shopify does not publish units sold; this Actor reports catalog, price, discount and stock signals.
- Prices are in the store's own currency (see `currency`).

### Pricing

Pay per event: a small start fee per run, one fee per analyzed store, and a per-row fee for each saved product.

# Actor input Schema

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

Store homepages or domains, e.g. allbirds.com. Works for stores that keep Shopify's public products.json on.

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

Products are read 250 per request, newest first.

## `newWithinDays` (type: `integer`):

Window used for the newProducts count and the newest-products list.

## `includeProducts` (type: `boolean`):

Turn off to get only the per-store summary.

## Actor input object example

```json
{
  "storeUrls": [
    "allbirds.com"
  ],
  "maxProductsPerStore": 1000,
  "newWithinDays": 30,
  "includeProducts": true
}
```

# Actor output Schema

## `datasetItemsJson` (type: `string`):

All scraped records as a JSON array.

## `datasetItemsCsv` (type: `string`):

All scraped records as a CSV file.

## `datasetItemsXlsx` (type: `string`):

All scraped records as an Excel workbook.

## `dataset` (type: `string`):

The default dataset of this run in Apify Console.

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

// Run the Actor and wait for it to finish
const run = await client.actor("youfuxu/shopify-store-intel").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": ["allbirds.com"] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,youfuxu/shopify-store-intel"
        }
    }
}
```

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/biv5X1eJB4fOmPYeC/builds/SZoxplpfdvJ6buHaL/openapi.json
