# Shopify Store Intelligence & B2B Leads (`vesper_studio/shopify-store-intelligence-leads`) Actor

Ultra-cost-effective 100% HTTP pay-per-use alternative to Store Leads ($250-$950/mo) and StoreCensus. Extracts 50+ Shopify apps, ad pixels, Shopify Plus signals, theme, catalog pricing & activity recency, missing-app sales angles, and verified public contacts.

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

## Pricing

from $4.00 / 1,000 shopify store analyzeds

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 Intelligence & B2B Leads

An ultra-fast, **100% HTTP (zero-browser)** Apify Actor that inspects any batch of Shopify stores—or discovers new stores by niche keyword—to extract installed Shopify apps (50+), ad pixels, Shopify Plus status, theme details, catalog pricing & activity recency, missing-app sales angles, and verified public contacts.

Built as a **pay-per-use alternative** to **$250–$950/month** subscriptions like **Store Leads**, **StoreCensus**, and **TechPeeker**—running smoothly on **256–512 MB RAM** with **zero proxies required by default**.

***

### Who Is This For?

- **Klaviyo / Retention & Email Agencies**: Filter for brands running Meta/TikTok Ads with `missingEmailMarketing: true` (no Klaviyo/Omnisend/Drip detected) — instant cold-outreach angle.
- **Shopify App Developers**: Prospect stores using a competitor (`requiredApps`) or lacking your category (`excludedApps`, `missingReviewsApp`, `missingSubscriptions`) for targeted displacement campaigns.
- **CRO & Theme Designers**: Spot stores still running legacy themes (`themeName`, `themeVersion`), missing social proof (`missingReviewsApp`), or running paid traffic without attribution/CRO tools.
- **3PL & Logistics Providers**: Identify active high-SKU brands (`publishedProductsCount`, `daysSinceLastProductUpdate`, `shipsToCountriesCount`) and see whether they already use ShipBob, Bigblue, Loop Returns, Narvar, or AfterShip.
- **Clay / n8n / Make Workflows**: Pass raw lead objects in `stores` and every extra input column (CRM ID, owner, lead score) is preserved untouched in the output dataset.

***

### Key Features

- **100% Native HTTP & Zero Browser**: Uses `got-scraping` (browser TLS fingerprint) + `cheerio` against Shopify's native public endpoints (`/meta.json`, `/products.json`, `/collections.json`, `/search/suggest.json`, `/sitemap.xml`) and storefront HTML.
- **Resilient 3-Tier Catalog & Activity Pipeline**: Automatically falls back to `/search/suggest.json` + `/sitemap_products_1.xml` `<lastmod>` when merchants restrict `/products.json`, ensuring accurate `avgPrice`, `minPrice`, `maxPrice`, and `latestProductUpdatedAt` (active vs abandoned store detection).
- **50+ Flagship Shopify Apps & 5 Ad Pixels**:
  - **Email & SMS**: Klaviyo, Omnisend, Attentive, Postscript, Privy, Yotpo SMSBump, Drip, Mailchimp, ElectricSMS, Fondue
  - **Support & Chat**: Gorgias, Zendesk, Intercom, Tidio, Re:amaze, Richpanel, Siena AI, Shopify Inbox
  - **Reviews & UGC**: Yotpo, Judge.me, Loox, Okendo, Stamped.io, Reviews.io, Junip
  - **Subscriptions**: Recharge, Skio, Smartrr, Ordergroove, Bold Subscriptions, Appstle
  - **Loyalty & Referrals**: Smile.io, LoyaltyLion, Yotpo Loyalty, Rivo
  - **Returns, Shipping & 3PL**: Loop Returns, ShipBob, AfterShip, Route, Narvar, Malomo, Bigblue
  - **CRO, Attribution & Search**: Triple Whale, Northbeam, Elevar, Rebuy, Intelligems, Nosto, Algolia, Searchspring, Dynamic Yield, Hotjar, Microsoft Clarity, Kameleoon, Fomo, Tapcart, MinMaxify
  - **Ad Pixels**: Meta, TikTok, Google, Pinterest, Snapchat
- **Shopify Plus Detection**: Multi-signal detection via Multipass, Shopify B2B, Hydrogen/Oxygen headers, custom checkout subdomains, checkout extensibility, and enterprise app stacks.
- **Contact & Policy Crawling**: Inspects `/pages/contact`, `/policies/legal-notice`, and `/policies/privacy-policy` to extract clean emails (filtering Sentry DSNs and placeholders), E.164 phones (`libphonenumber-js`), and official Instagram, TikTok, Facebook, and LinkedIn URLs.
- **Polite Rate-Limit & Edge Handling**: Respects Shopify `429 Retry-After` headers with exponential backoff and cleanly classifies `password_protected`, `unavailable`, and `not_shopify` domains.

***

### Input Example

```json
{
    "urls": [
        "https://www.allbirds.com",
        "https://www.ridge.com",
        "https://www.beardbrand.com",
        "https://www.cabaia.fr"
    ],
    "excludedApps": ["Privy"],
    "minProducts": 20,
    "activeWithinDays": 90,
    "crawlContactPages": true,
    "maxConcurrency": 6
}
```

You can also pass `searchQueries` (e.g. `["specialty coffee", "clean skincare"]`) to discover candidate Shopify stores automatically, or pass enriched objects in `stores` for Clay/n8n round-tripping.

***

### Output Sample

```json
{
    "url": "https://www.beardbrand.com",
    "finalUrl": "https://www.beardbrand.com/",
    "domain": "beardbrand.com",
    "myshopifyDomain": "beardbrand.myshopify.com",
    "isShopify": true,
    "isShopifyPlus": false,
    "shopifyPlusSignals": [],
    "storeStatus": "active",
    "shopName": "Beardbrand",
    "themeName": "Split",
    "themeLabel": "Split v1.0.3.9.5 [fc/collection grid fixes+]",
    "themeVersion": "3.1.0",
    "themeStoreId": 842,
    "currency": "USD",
    "country": "US",
    "productCountSample": 69,
    "publishedProductsCount": 69,
    "collectionsCount": 49,
    "avgPrice": 46.12,
    "minPrice": 12.0,
    "maxPrice": 185.0,
    "latestProductUpdatedAt": "2026-11-13T18:21:49-06:00",
    "daysSinceLastProductUpdate": 0,
    "isActiveStore": true,
    "installedApps": ["Klaviyo", "ElectricSMS", "Richpanel", "Judge.me", "Recharge"],
    "appsCount": 5,
    "adPixels": ["Meta", "Google"],
    "missingEmailMarketing": false,
    "missingReviewsApp": false,
    "missingSubscriptions": false,
    "salesAngles": [],
    "primaryEmail": "support@beardbrand.com",
    "emails": ["support@beardbrand.com"],
    "primaryPhone": null,
    "phones": [],
    "socialLinks": {
        "instagram": "https://www.instagram.com/beardbrand",
        "tiktok": null,
        "facebook": "https://www.facebook.com/beardbrand",
        "linkedin": null
    },
    "catalogSource": "products_json",
    "pagesCrawled": ["/", "/pages/contact", "/policies/privacy-policy"],
    "error": null,
    "analyzedAt": "2026-11-14T00:30:00.000Z"
}
```

***

### Pay-Per-Event (PPE) Pricing

| Event            | Trigger                                                                       | Default Price |
| ---------------- | ----------------------------------------------------------------------------- | ------------- |
| `store-analyzed` | Charged once per analyzed store (non-Shopify discovery noise is skipped free) | `$0.004`      |
| `contact-found`  | Charged additionally when at least one verified email or E.164 phone is found | `$0.002`      |

All runs strictly honor `maxTotalChargeUsd` via Apify's `ChargingManager`.

***

### Local Development

```bash
npm install
npm test
npm run lint
npm run format:check
```

# Actor input Schema

## `urls` (type: `array`):

List of Shopify store URLs or bare domains (e.g. 'allbirds.com', 'https://www.beardbrand.com', 'https://www.cabaia.fr').

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

Optional array of objects like { "url": "beardbrand.com", "accountOwner": "Alex" }. All extra input columns are preserved in output for seamless Clay/n8n round-tripping.

## `searchQueries` (type: `array`):

Optional niche keywords (e.g. 'organic skincare', 'specialty coffee') to discover candidate Shopify stores from public search results before analyzing them.

## `maxSearchResultsPerQuery` (type: `integer`):

Maximum candidate domains collected per keyword discovery query.

## `requiredApps` (type: `array`):

Only emit stores that have ALL listed apps or ad pixels installed (e.g. \['Klaviyo', 'Meta']). Leave empty for no filter.

## `excludedApps` (type: `array`):

Exclude stores already using any listed app (e.g. \['Recharge', 'Gorgias']) — ideal for SaaS outbound prospecting.

## `minProducts` (type: `integer`):

Only emit stores with at least this many published/sampled products (0 = no minimum).

## `currency` (type: `string`):

Optional 3-letter currency filter (e.g. 'USD', 'EUR', 'GBP'). Leave empty to include all currencies.

## `activeWithinDays` (type: `integer`):

Only emit stores whose latest product update (`latestProductUpdatedAt`) occurred within the last N days (0 = disable filter).

## `onlyShopify` (type: `boolean`):

When enabled, skips non-Shopify domains instead of outputting them with `isShopify: false`. Discovered search results always filter to Shopify only.

## `crawlContactPages` (type: `boolean`):

Inspect /pages/contact, /policies/legal-notice, and /policies/privacy-policy to extract public emails, E.164 phone numbers, and social links.

## `defaultCountry` (type: `string`):

Fallback ISO-3166-1 alpha-2 country code (e.g. 'US', 'FR', 'GB') for E.164 phone normalization when store country is unavailable.

## `maxConcurrency` (type: `integer`):

Bounded concurrent store workers (recommended 4-6 for 256-512 MB RAM and polite Shopify rate limits).

## `timeoutMs` (type: `integer`):

Per-request HTTP timeout in milliseconds.

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

Disabled by default (zero-proxy 100% HTTP). Enable Apify Proxy only for very large batch runs.

## Actor input object example

```json
{
  "urls": [
    "https://www.allbirds.com",
    "https://www.ridge.com",
    "https://www.beardbrand.com",
    "https://www.cabaia.fr"
  ],
  "stores": [],
  "searchQueries": [],
  "maxSearchResultsPerQuery": 10,
  "requiredApps": [],
  "excludedApps": [],
  "minProducts": 0,
  "currency": "",
  "activeWithinDays": 0,
  "onlyShopify": false,
  "crawlContactPages": true,
  "defaultCountry": "US",
  "maxConcurrency": 4,
  "timeoutMs": 10000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (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 = {
    "urls": [
        "https://www.allbirds.com",
        "https://www.ridge.com",
        "https://www.beardbrand.com",
        "https://www.cabaia.fr"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("vesper_studio/shopify-store-intelligence-leads").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 = { "urls": [
        "https://www.allbirds.com",
        "https://www.ridge.com",
        "https://www.beardbrand.com",
        "https://www.cabaia.fr",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("vesper_studio/shopify-store-intelligence-leads").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 '{
  "urls": [
    "https://www.allbirds.com",
    "https://www.ridge.com",
    "https://www.beardbrand.com",
    "https://www.cabaia.fr"
  ]
}' |
apify call vesper_studio/shopify-store-intelligence-leads --silent --output-dataset

```

## MCP server setup

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

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/7Fcc5UjztlV6zrQGz/builds/x1UKhAy3ehtHpnD1p/openapi.json
