# Shopify Products, Prices, Inventory & Store Leads Scraper (`emancip/shopify-products-leads-scraper`) Actor

All-in-one Shopify intelligence scraper: extracts products, variants, prices, discounts, stock availability, SKUs, and images alongside verified store B2B contact leads (emails, phones, social profiles) and installed Shopify apps/pixels (Klaviyo, Meta Pixel, TikTok Pixel, Judge.me, Loox).

- **URL**: https://apify.com/emancip/shopify-products-leads-scraper.md
- **Developed by:** [EmanCip](https://apify.com/emancip) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

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 Products, Prices, Inventory & Store Leads Scraper (All-in-One)

Extract complete **Shopify product catalogs, variant pricing, sale discounts (`compare_at_price`), real-time stock availability, SKUs, and product images** — plus **verified B2B store contact leads** (`emails`, `phones`, `WhatsApp`, `Instagram`, `TikTok`) and **installed Shopify apps/pixels** (`Klaviyo`, `Meta Pixel`, `TikTok Pixel`, `Judge.me`, `Loox`, `Yotpo`, `Gorgias`, `ReCharge`) in a single run.

***

### Why E-Commerce Teams, Dropshippers & Agencies Use This Actor

1. **2-in-1 E-Commerce & Agency Intelligence:**
   Combines a **Shopify Product & Inventory Scraper** with a **B2B Store Lead & Tech-Stack Enricher** in one ultra-fast execution.
2. **Real-Time Price, Discount & Stock Monitoring:**
   Automatically calculates discount percentages (`discount_pct`), tracks `in_stock` status across all variants, and supports filtering for **only in-stock** or **only on-sale** products.
3. **Installed Shopify App & Missing Pixel Detection:**
   Identifies whether a Shopify brand is using `Klaviyo`, `Meta Pixel`, `TikTok Pixel`, `Judge.me`, `Loox`, `Yotpo`, or `Gorgias` — and flags `missing_growth_pixels` for e-commerce marketing agencies.
4. **Zero-Browser Speed:**
   Built in pure concurrent Python with zero headless browser overhead — extracts hundreds of products in seconds at minimal compute cost.

***

### Input Example

```json
{
  "storeUrls": [
    "https://www.allbirds.com",
    "https://www.tentree.com"
  ],
  "maxProductsPerStore": 25,
  "onlyInStock": false,
  "onlyDiscounted": false,
  "keywordFilter": "",
  "enrichStoreLeads": true
}
```

***

### Output Example

```json
{
  "store_domain": "allbirds.com",
  "product_title": "Men's Tree Runners",
  "price": 98.0,
  "compare_at_price": 110.0,
  "discount_pct": 10.9,
  "in_stock": true,
  "available_variants_count": 12,
  "vendor": "Allbirds",
  "product_type": "Shoes",
  "store_emails": ["help@allbirds.com"],
  "store_socials": {
    "instagram": ["https://instagram.com/allbirds"],
    "tiktok": ["https://tiktok.com/@allbirds"]
  },
  "detected_shopify_apps": [
    "Klaviyo Email Marketing",
    "Meta Pixel (Facebook Ads)",
    "TikTok Pixel",
    "Google Analytics (GA4)"
  ],
  "missing_growth_pixels": [],
  "product_url": "https://www.allbirds.com/products/mens-tree-runners"
}
```

# Actor input Schema

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

Enter one or more Shopify store URLs or domains (e.g., 'https://www.allbirds.com', 'https://www.tentree.com').

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

Maximum number of products to extract per Shopify store (up to 5,000 per store).

## `onlyInStock` (type: `boolean`):

If enabled, only returns products that currently have at least one available variant in stock.

## `onlyDiscounted` (type: `boolean`):

If enabled, only returns products where the current price is lower than compare_at_price.

## `keywordFilter` (type: `string`):

Optional keyword to filter products by title, tag, or category (leave empty for all products).

## `enrichStoreLeads` (type: `boolean`):

Automatically extract the store's business emails, phone numbers, social media profiles, and installed Shopify apps/pixels (Klaviyo, Meta Pixel, TikTok Pixel, Judge.me, Loox, Yotpo).

## Actor input object example

```json
{
  "storeUrls": [
    "https://www.allbirds.com",
    "https://www.tentree.com"
  ],
  "maxProductsPerStore": 25,
  "onlyInStock": false,
  "onlyDiscounted": false,
  "keywordFilter": "",
  "enrichStoreLeads": true
}
```

# Actor output Schema

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

Dataset containing all extracted Shopify products, variants, pricing, stock availability, and B2B store contact intelligence.

# 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": [
        "https://www.allbirds.com",
        "https://www.tentree.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("emancip/shopify-products-leads-scraper").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": [
        "https://www.allbirds.com",
        "https://www.tentree.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("emancip/shopify-products-leads-scraper").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": [
    "https://www.allbirds.com",
    "https://www.tentree.com"
  ]
}' |
apify call emancip/shopify-products-leads-scraper --silent --output-dataset

```

## MCP server setup

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

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/ht6LD0jGM3V7ZoxeH/builds/XbDqGeT3rXKkbz5OK/openapi.json
