# Shopify Store Scraper, App Detector & Tech Stack Profiler (`enrichstack/shopify-deep-store-profiler`) Actor

Shopify store scraper & Shopify app detector (35+ apps: Klaviyo, Gorgias, Judge.me, Recharge), Meta/Google/TikTok ad pixels, /products.json catalog pricing, contacts & DMARC. Flat $5/1K, $0 dead domains.

- **URL**: https://apify.com/enrichstack/shopify-deep-store-profiler.md
- **Developed by:** [SP SWE Services Ltd](https://apify.com/enrichstack) (community)
- **Categories:** E-commerce, Lead generation, Business
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 shopify store profiled

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/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 Scraper, App Detector & Tech Stack Profiler

> **Built by [EnrichStack (SP SWE Services Ltd)](https://spswe.co.uk)** · Pure HTTP + `/products.json` + native DNS · **Flat `$5.00 / 1K` live e-commerce stores** · **Zero result fees on unreachable, DNS-failed, HTTP-error, blocked-challenge, or non-e-commerce domains** *(Apify platform actor-start fee applies per run)* · [Free MIT n8n Workflow Templates](https://github.com/SP-SWE-SERVICES-LTD/enrichstack-n8n-templates)

Profile lists of **Shopify, WooCommerce, BigCommerce, and Magento** storefronts in a single pure-HTTP pass. Detect **35+ static-HTML storefront app signatures** (Klaviyo, Omnisend, Gorgias, Judge.me, Loox, Okendo, Recharge, Triple Whale), **8 paid ad pixel signatures** (including Shopify `webPixelsConfigList` inspection), public **`/products.json` & `/collections.json` catalog analytics**, store contacts, and **domain-level DNS MX/SPF/DMARC**.

***

### Scope & Accuracy Disclosures

- **Static-HTML & public JSON scope:** Inspects initial HTML, Shopify `webPixelsConfigList` metadata, and public `/products.json` / `/collections.json` endpoints without a headless browser. Apps or pixels injected solely via Google Tag Manager (GTM), sandboxed client-side scripts, or product-page-only widgets may not appear in homepage HTML. Every output item includes `staticHtmlObservationNote`.
- **E-commerce eligibility gating:** Only domains with affirmative e-commerce platform evidence (`shopify`, `woocommerce`, `bigcommerce`, `magento`) emit a `store-profiled` charge event. Non-e-commerce sites (such as SaaS sites or agency blogs) return `isEcommerce: false`, `statusReason: "not_ecommerce"`, and incur **zero result fees**.
- **Catalog & locale semantics:**
  - `productsSampled`: sample from `/products.json?limit=maxCatalogProducts` (up to **250 products**).
  - `collectionCount`: count from `/collections.json?limit=250` (**capped at 250**).
  - `priceMedian`: median of the **first variant's price** across sampled products.
  - `currency` / `detectedMarketCurrency` and `countryHint`: reflects the storefront market served to the **observer's IP/location** (e.g., US vs UK geo-routing).
- **Domain-level DNS MX/SPF/DMARC:** Checks domain-level mail routing and authentication (with RFC 7489 organizational-domain DMARC fallback), not SMTP mailbox verification.

***

### Transparent Pay-Per-Event Pricing

Flat per live e-commerce store profiled. **Zero result fees** on unreachable, DNS-failed, HTTP-error, blocked-challenge, or non-e-commerce domains. Apify's platform `apify-actor-start` fee applies once per run.

| Event Name | Price per Event | Price per 1,000 | When Charged |
| :--- | :--- | :--- | :--- |
| `store-profiled` *(Primary)* | **$0.005** | **$5.00 / 1K stores** | Once per live e-commerce store (`isLive: true && isEcommerce: true`) |
| `catalog-product-exported` *(Optional)* | **$0.0005** | **$0.50 / 1K rows** *(up to **+$125 / 1K stores** at 250 products/store)* | Only when you explicitly set `includeFullProductList: true` |
| `apify-actor-start` *(Platform)* | **$0.00005** | One-time per run | Charged once per GB on Actor start by Apify |
| **Unreachable, blocked-challenge, or non-e-commerce domains** | **$0.00** | **$0.00** | **Zero result events emitted** |

***

### Quick Start: Copy-Paste JSON Input

```json
{
  "domains": [
    "allbirds.com",
    "gymshark.com",
    "beardbrand.com"
  ],
  "includeCatalogStats": true,
  "maxCatalogProducts": 250,
  "includeContacts": true,
  "includeFullProductList": false,
  "concurrency": 10,
  "timeoutSecs": 14
}
```

#### Input Parameters

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `domains` | `string[]` | *required* | Non-empty list of store domains or URLs (missing/empty arrays fail cleanly with a validation error — never silently billed against demo domains). |
| `includeCatalogStats` | `boolean` | `true` | Fetches `/products.json` (up to 250 sampled SKUs) and `/collections.json` (capped at 250) for first-variant min/median/max price, OOS ratio, and top vendors (included in `$5.00/1K`). |
| `maxCatalogProducts` | `integer` (10–250) | `250` | Maximum products sampled from `/products.json`. |
| `includeContacts` | `boolean` | `true` | When `true`, extracts public emails, phones & socials from homepage, `/policies/contact-information`, `/pages/contact`, `/contact`, and `/contact-us`. When `false`, skips all contact extraction. |
| `includeFullProductList` | `boolean` | `false` | Optional add-on: attaches individual product rows (`products[]`) at `$0.50 / 1K` exported rows (up to `+$125 / 1K` stores at 250 products/store). Works even if `includeCatalogStats: false`. |
| `concurrency` | `integer` (1–20) | `10` | Number of stores profiled concurrently (clamped to `1..20`). |
| `timeoutSecs` | `integer` (5–30) | `14` | HTTP timeout per store. |

***

### Deterministic Output Fields & Flags

- **`agencyFlags[]` (deterministic only):**
  - `WEAK_OR_MISSING_DMARC` — Confirmed missing DMARC or `p=none` policy (never emitted on DNS lookup error).
  - `HIGH_OUT_OF_STOCK_RATIO` — `>= 25%` of sampled `/products.json` SKUs unavailable.
- **Static-HTML observations:** `installedApps[]`, `appCategories` (`emailSms`, `helpdesk`, `reviews`, `subscriptions`, `analytics`, `bookingOrChat`), `adPixels[]`, and `isRunningAdsLikely` report what was observed in static HTML / `webPixelsConfigList` without making false negative assertions about unrendered JS tags.

***

### Free MIT n8n Shopify Qualification Template

Import **[`shopify-agency-qualifier.json`](https://github.com/SP-SWE-SERVICES-LTD/enrichstack-n8n-templates/blob/main/workflows/shopify-agency-qualifier.json)** from [`SP-SWE-SERVICES-LTD/enrichstack-n8n-templates`](https://github.com/SP-SWE-SERVICES-LTD/enrichstack-n8n-templates):

- Chunks store lists into batches of 25 via `SplitInBatches` before calling Apify sync execution.
- Gates strictly on confirmed e-commerce stores (`isLive && isEcommerce`) with valid domain-level MX.
- Routes stores with deterministic flags (`WEAK_OR_MISSING_DMARC` or `HIGH_OUT_OF_STOCK_RATIO`) onto a priority review sheet while preserving `null` catalog values cleanly without zero-price distortion.

***

### Standby HTTP & Sync API Usage

Standby HTTP accepts `POST /` (JSON body, up to 50 domains, max 256 KB) and `GET /health`.

```bash
curl -X POST "https://api.apify.com/v2/acts/enrichstack~shopify-deep-store-profiler/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"domains": ["allbirds.com", "beardbrand.com"], "includeCatalogStats": true}'
```

***

Maintained by **[SP SWE Services Ltd](https://spswe.co.uk)** · Questions: `contact@spswe.co.uk` · Free MIT n8n templates: [github.com/SP-SWE-SERVICES-LTD/enrichstack-n8n-templates](https://github.com/SP-SWE-SERVICES-LTD/enrichstack-n8n-templates)

# Actor input Schema

## `domains` (type: `array`):

Required non-empty list of e-commerce store domains or URLs. Unreachable, blocked-challenge, or non-e-commerce domains emit zero result charge events (Apify platform actor-start fee applies per run).

## `includeCatalogStats` (type: `boolean`):

Fetches public Shopify /products.json (up to 250 sampled products) and /collections.json (capped at 250) to calculate SKU sample count, first-variant min/median/max price, out-of-stock ratio, and top vendors.

## `maxCatalogProducts` (type: `integer`):

Maximum products sampled from /products.json (up to 250 per store).

## `includeContacts` (type: `boolean`):

When true, checks homepage, /policies/contact-information, /pages/contact, /contact, and /contact-us for public emails, phones, and social profiles. When false, skips all contact extraction.

## `includeFullProductList` (type: `boolean`):

Includes individual product summary rows in output (emits catalog-product-exported at $0.0005/row — up to +$0.125/store or +$125/1K stores at 250 products/store). Works independently of includeCatalogStats.

## `concurrency` (type: `integer`):

Number of stores profiled in parallel (clamped to 1-20).

## `timeoutSecs` (type: `integer`):

Per-store HTTP timeout in seconds.

## Actor input object example

```json
{
  "domains": [
    "allbirds.com",
    "gymshark.com",
    "beardbrand.com"
  ],
  "includeCatalogStats": true,
  "maxCatalogProducts": 250,
  "includeContacts": true,
  "includeFullProductList": false,
  "concurrency": 10,
  "timeoutSecs": 14
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `fullDataset` (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 = {
    "domains": [
        "allbirds.com",
        "gymshark.com",
        "beardbrand.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("enrichstack/shopify-deep-store-profiler").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 = { "domains": [
        "allbirds.com",
        "gymshark.com",
        "beardbrand.com",
    ] }

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

```

## MCP server setup

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

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/JtVDmsOBLXcG6tm8C/builds/MYXfK9afV783znGqp/openapi.json
