# Shopify Store Leads Scraper (`fetch_cat/shopify-store-leads-scraper`) Actor

Enrich public Shopify merchant domains with contacts, social links, public pages, storefront diagnostics, and bounded product context.

- **URL**: https://apify.com/fetch\_cat/shopify-store-leads-scraper.md
- **Developed by:** [Hanna Nosova](https://apify.com/fetch_cat) (community)
- **Categories:** Lead generation, E-commerce, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.17 / 1,000 item extracteds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Shopify Store Leads Scraper

Discover public Shopify merchant domains and export contact-ready lead rows with source provenance, storefront metadata, emails, phones, and social profiles. Use repeat runs to refresh ecommerce prospect lists without accessing Shopify admin, customers, orders, checkout, or account data.

### Who is it for

Built for B2B sales teams, Shopify app vendors, ecommerce agencies, partnership teams, and market researchers who need repeatable public merchant lead exports.

### What you get

- Curated public Shopify merchant domains from Shopify's official Examples directory
- Shopify Examples source URL and deterministic document-order rank on every lead
- Normalized storefront URL and public Shopify detection
- Public storefront title, description, emails, phones, and directly linked social profiles
- Explicit enrichment status and failure reason, so partial leads are preserved rather than silently dropped
- Persistent domain deduplication for scheduled lead-list refreshes

### Example input

```json
{
  "startUrls": [{ "url": "https://www.shopify.com/examples" }],
  "maxItems": 10,
  "enrichStorefronts": true,
  "maxEnrichmentPagesPerStore": 2,
  "skipPreviouslyScraped": false
}
```

### Example output

```json
{
  "domain": "mollyjogger.com",
  "storeUrl": "https://www.mollyjogger.com/",
  "sourceUrl": "https://www.mollyjogger.com/",
  "sourceRank": 1,
  "myshopifyDomain": null,
  "shopifyDetected": true,
  "title": "Fashion Nova | Trendy Clothes for Women, Men & Plus Sizes",
  "description": "Trend-first fashion for every body.",
  "emails": [],
  "phones": [],
  "socialLinks": {
    "instagram": ["https://www.instagram.com/fashionnova/"],
    "facebook": ["https://www.facebook.com/Fashionnova/"]
  },
  "enrichmentStatus": "ok",
  "failureReason": null,
  "scrapedAt": "2026-08-20T22:13:36.669Z",
  "sourceCapturedAt": "2026-08-20T22:13:35.830Z"
}
```

### Shopify lead scraper use cases

Use the Actor as a **Shopify lead scraper**, a scheduled **Shopify stores scraper**, or a public-data alternative to a Shopify store finder API.

- **Shopify app sales:** refresh merchant prospect lists for public, relevant outreach.
- **Ecommerce agencies:** identify storefronts that may need design, development, SEO, or retention services.
- **Partnership teams:** export merchant domains and public social profiles for partner research.
- **Market research:** compare public Shopify-hosted merchant populations over time.
- **Scheduled lead refreshes:** enable `skipPreviouslyScraped` to avoid saving and charging duplicate domains across runs that share the same key-value store.

### Input settings

| Setting | JSON key | Description | Default |
| --- | --- | --- | --- |
| Shopify Examples pages | `startUrls` | Optional Shopify-owned public Examples URLs. | `https://www.shopify.com/examples` |
| Maximum leads | `maxItems` | Unique lead rows to save. | `25` |
| Enrich storefronts | `enrichStorefronts` | Fetch public storefront pages for metadata and contacts. | `true` |
| Extra pages per store | `maxEnrichmentPagesPerStore` | Maximum same-site contact/about/support pages. | `2` |
| Skip previous domains | `skipPreviouslyScraped` | Persist and skip domains already saved in the same key-value store. | `false` |
| Request timeout | `requestTimeoutSecs` | Per-request timeout in seconds. | `20` |
| Require Shopify signal | `failOnNoShopifySignal` | Save only enriched storefronts with a public Shopify marker. | `false` |

### Output fields

| Field | Description |
| --- | --- |
| `domain`, `storeUrl` | Normalized merchant domain and final public storefront URL. |
| `sourceUrl`, `sourceRank`, `sourceCapturedAt` | Shopify Examples link, deterministic document-order rank, and capture time. |
| `myshopifyDomain`, `shopifyDetected` | Directly visible Shopify domain/marker and detection result. |
| `title`, `description` | Public storefront metadata. |
| `emails`, `phones` | Deduplicated public contact values with source URLs. |
| `socialLinks` | Directly linked Instagram, Facebook, TikTok, X, YouTube, LinkedIn, Pinterest, or Linktree profiles. |
| `enrichmentStatus`, `failureReason` | `not_requested`, `ok`, `partial`, or `failed`, plus a diagnostic when applicable. |
| `scrapedAt` | ISO timestamp when the lead row was saved. |

### Input recipes

**Fast source-only export**

```json
{ "maxItems": 50, "enrichStorefronts": false }
```

**Scheduled enriched refresh**

```json
{ "maxItems": 100, "enrichStorefronts": true, "skipPreviouslyScraped": true }
```

**Strict Shopify-only list**

```json
{ "maxItems": 25, "enrichStorefronts": true, "failOnNoShopifySignal": true }
```

### Pricing

The Actor charges a small run-start event and one `item` event for each unique merchant lead saved. Failed enrichment attempts are not separate billable items, and duplicate domains skipped through recurrence history are not charged as items. See the live [Pricing tab](https://apify.com/fetch_cat/shopify-store-leads-scraper/pricing) for current plan-specific rates and volume discounts.

### Tips and limits

- Start with source-only mode for fast domain exports; enable enrichment when contact and social signals are needed.
- Public storefront fields vary. Empty contact arrays mean no matching public value was found within the configured page limit.
- `failOnNoShopifySignal` requires enrichment and may reduce output when storefronts block requests.
- The Actor discovers curated merchant examples from Shopify-owned public Examples pages. It deduplicates domains and fails clearly when a source page unexpectedly contains no merchant links.
- This Actor does not provide keyword/category/country search, verified emails, payment methods, private analytics, full products, customer data, or order data.

### API usage

#### Node.js

```js
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('fetch_cat/shopify-store-leads-scraper').call({
  maxItems: 10,
  enrichStorefronts: true
});
console.log(run.defaultDatasetId);
```

#### Python

```python
from apify_client import ApifyClient
client = ApifyClient('YOUR_APIFY_TOKEN')
run = client.actor('fetch_cat/shopify-store-leads-scraper').call(run_input={
    'maxItems': 10,
    'enrichStorefronts': True,
})
print(run['defaultDatasetId'])
```

#### cURL

```bash
curl -X POST 'https://api.apify.com/v2/acts/fetch_cat~shopify-store-leads-scraper/runs?token=YOUR_APIFY_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"maxItems":10,"enrichStorefronts":true}'
```

### MCP and AI agents

Connect through the Apify MCP Server:

```bash
claude mcp add apify --transport http 'https://mcp.apify.com?tools=fetch_cat/shopify-store-leads-scraper'
```

Or add the server to your MCP client configuration:

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=fetch_cat/shopify-store-leads-scraper"
    }
  }
}
```

Example prompts:

- “Export 25 public Shopify merchant leads with contact enrichment.”
- “Refresh this scheduled Shopify lead dataset and skip domains already saved.”
- “Show leads with public Instagram profiles and successful enrichment.”

### Related actors

- [Shopify Products Scraper](https://apify.com/fetch_cat/shopify-products-scraper) — export full public product catalogs.
- [Shopify App Store Scraper](https://apify.com/fetch_cat/shopify-app-store-scraper) — research apps serving Shopify merchants.
- [Shopify App Reviews Scraper](https://apify.com/fetch_cat/shopify-app-reviews-scraper) — analyze public merchant feedback about Shopify apps.
- [Website Contact Finder](https://apify.com/fetch_cat/website-contact-finder) — enrich a known list of general websites.
- [Ecommerce Product Page Scraper](https://apify.com/fetch_cat/ecommerce-product-page-scraper) — extract structured data from known product pages.

### FAQ

#### What data can I export with Shopify Store Leads Scraper?

You can export merchant domains, storefront URLs, source provenance, public metadata, emails, phones, social profiles, Shopify detection, and enrichment diagnostics as JSON, CSV, Excel, XML, or through the dataset API.

#### Can I run Shopify Store Leads Scraper through an API, schedule, or MCP client?

Yes. Use the API and MCP examples above, or create an Apify schedule with persistent storage to refresh leads and skip previously saved domains.

#### How much does it cost to use Shopify Store Leads Scraper?

The Actor charges once when a run starts and once per unique result saved. Current plan-specific rates and volume discounts are shown on the live Pricing tab.

#### Can I export the leads to CSV or Excel?

Yes. Apify datasets can be downloaded as JSON, CSV, Excel, XML, or accessed through the API.

#### Why is a lead marked partial or failed?

A storefront or one of its public contact pages may time out, block access, or omit expected fields. The source lead is retained with `enrichmentStatus` and `failureReason` so discovery work is not lost.

#### Does this access Shopify Admin or customer information?

No. It uses public source pages and public storefront pages only.

### Support

Open an issue from the Actor page and include the run URL, input, expected behavior, and one reproducible public source or storefront URL.

# Actor input Schema

## `startUrls` (type: `array`):

Optional Shopify-owned public Examples URLs. Leave empty to use https://www.shopify.com/examples.

## `maxItems` (type: `integer`):

Stop after saving this many unique merchant leads.

## `enrichStorefronts` (type: `boolean`):

Fetch each public storefront for contact and social signals.

## `maxEnrichmentPagesPerStore` (type: `integer`):

Maximum same-site contact/about/support pages checked after the homepage.

## `skipPreviouslyScraped` (type: `boolean`):

Persist domain history in the default key-value store for schedule-friendly refreshes.

## `requestTimeoutSecs` (type: `integer`):

Maximum time allowed for each public HTTP request.

## `failOnNoShopifySignal` (type: `boolean`):

When enabled, save only enriched stores with a public Shopify marker.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.shopify.com/examples"
    }
  ],
  "maxItems": 20,
  "enrichStorefronts": true,
  "maxEnrichmentPagesPerStore": 2,
  "skipPreviouslyScraped": false,
  "requestTimeoutSecs": 20,
  "failOnNoShopifySignal": false
}
```

# Actor output Schema

## `overview` (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 = {
    "startUrls": [
        {
            "url": "https://www.shopify.com/examples"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fetch_cat/shopify-store-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 = { "startUrls": [{ "url": "https://www.shopify.com/examples" }] }

# Run the Actor and wait for it to finish
run = client.actor("fetch_cat/shopify-store-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 '{
  "startUrls": [
    {
      "url": "https://www.shopify.com/examples"
    }
  ]
}' |
apify call fetch_cat/shopify-store-leads-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fetch_cat/shopify-store-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/ZhZ68FPFAaI61YmoZ/builds/bnXvYUdixrfyCPYmb/openapi.json
