# Shopify Store Leads & Tech Stack Scraper (`beakdo/shopify-b2b-store-intel`) Actor

Enriches Shopify and D2C store domains with catalog SKU counts, price ranges, in-stock ratios, installed apps and pixels (Klaviyo, Gorgias, Recharge, Yotpo, Meta, TikTok), social profiles, and business emails.

- **URL**: https://apify.com/beakdo/shopify-b2b-store-intel.md
- **Developed by:** [Kim SungHyun](https://apify.com/beakdo) (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

$3.80 / 1,000 shopify store leads & tech stack scraper records

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

Takes a list of ecommerce domains and pulls store-level lead data: whether the storefront runs on Shopify, product pricing statistics, how much of the catalog is currently in stock, which marketing apps or ad pixels are loaded on the storefront, social links, and company contact emails.

Useful when qualifying D2C brands for agency outreach, 3PL fulfillment sales, or ecommerce SaaS prospecting without paying per-seat subscription fees on static store databases.

### Why it falls back across three catalog sources

Plain `/products.json` scrapers fail on a lot of larger Shopify Plus stores because brands either rate-limit `/products.json`, redirect bare domains to regional `www.` subdomains, or run headless storefronts. For each domain, this actor checks:

1. Direct `/products.json?limit=N` on the resolved origin host
2. `/collections/all/products.json?limit=N` if the root feed is blocked or empty
3. Embedded `application/ld+json` (`@graph` Product and Offer nodes) plus storefront product card selectors when JSON feeds are disabled

Meanwhile, the storefront HTML is scanned for 18 common D2C script signatures (`Klaviyo`, `Gorgias`, `Yotpo`, `Judge.me`, `Okendo`, `Stamped.io`, `Recharge Subscriptions`, `Loop Returns`, `Attentive SMS`, `Postscript SMS`, `Smile.io Loyalty`, `Elevar`, `Triple Whale`, `Meta Pixel`, `TikTok Pixel`, `Google Tag Manager`, `Shop Pay`, and `Afterpay / Klarna`). If no company email appears on the homepage and `probeContactPage` is enabled, it also checks `/pages/contact`.

### Input example

```json
{
  "storeDomains": ["deathwishcoffee.com", "allbirds.com", "kyliecosmetics.com"],
  "maxProductsSample": 30,
  "probeContactPage": true
}
```

### Output sample

```json
{
  "store_domain": "deathwishcoffee.com",
  "brand_name": "Death Wish Coffee",
  "is_shopify_confirmed": true,
  "currency": "USD",
  "sampled_sku_count": 30,
  "in_stock_sku_count": 29,
  "in_stock_ratio": 0.967,
  "min_price": 14.99,
  "median_price": 21.99,
  "avg_price": 24.85,
  "max_price": 79.99,
  "top_product_types": ["Coffee", "Merch"],
  "detected_apps_and_pixels": ["Elevar", "Gorgias", "Google Tag Manager", "Klaviyo", "Meta Pixel", "Recharge Subscriptions"],
  "installed_app_count": 6,
  "corporate_emails": ["hey@deathwishcoffee.com"],
  "social_profiles": {
    "instagram": "https://www.instagram.com/deathwishcoffee",
    "tiktok": "https://www.tiktok.com/@deathwishcoffee"
  },
  "d2c_maturity_score": 0.925
}
```

### Pricing and limitations

Charged per enriched store at `$3.80` per 1,000 stores (`$0.0038` per `store-lead-enriched` event). Dead domains, DNS failures, and sites gated behind bot challenges are skipped without charging an event.

Server-side apps that leave zero client-side script tags or checkout footprints cannot be detected from public HTML. Personal webmail addresses (`gmail.com`, `outlook.com`, etc.) are redacted so output rows only retain role or company-domain emails.

# Actor input Schema

## `storeDomains` (type: `array`):

List of D2C store domains (e.g. 'allbirds.com', 'deathwishcoffee.com', 'kyliecosmetics.com').

## `maxProductsSample` (type: `integer`):

Number of products sampled from /products.json to calculate pricing tiers and inventory health (5-250).

## `probeContactPage` (type: `boolean`):

Fetch standard contact page if no corporate email is found on the homepage.

## Actor input object example

```json
{
  "storeDomains": [
    "deathwishcoffee.com",
    "allbirds.com",
    "kyliecosmetics.com"
  ],
  "maxProductsSample": 30,
  "probeContactPage": true
}
```

# Actor output Schema

## `stores` (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 = {
    "storeDomains": [
        "deathwishcoffee.com",
        "allbirds.com",
        "kyliecosmetics.com"
    ],
    "maxProductsSample": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("beakdo/shopify-b2b-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 = {
    "storeDomains": [
        "deathwishcoffee.com",
        "allbirds.com",
        "kyliecosmetics.com",
    ],
    "maxProductsSample": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("beakdo/shopify-b2b-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 '{
  "storeDomains": [
    "deathwishcoffee.com",
    "allbirds.com",
    "kyliecosmetics.com"
  ],
  "maxProductsSample": 30
}' |
apify call beakdo/shopify-b2b-store-intel --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,beakdo/shopify-b2b-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/u9LUvGnB9YtwhvgiX/builds/9julugdhlxzIR6Csg/openapi.json
