# Shopify Store Scraper & B2B Contact Lead Extractor (`egeusta/shopify-lead-extractor`) Actor

Extract verified emails, phone numbers, social media links, apps, tech stack, and product catalogs from any Shopify store for targeted B2B outreach.

- **URL**: https://apify.com/egeusta/shopify-lead-extractor.md
- **Developed by:** [Ege Usta](https://apify.com/egeusta) (community)
- **Categories:** Lead generation, E-commerce, Marketing
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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 & E-Commerce Lead & Intelligence Extractor

Extract verified contact emails, customer support phone numbers, WhatsApp chat lines, social media profiles, **installed Shopify & marketing app stack**, **official legal company entities (A.Ş., Ltd., Inc.)**, and **catalog AOV price statistics** from any e-commerce storefront.

Turn store URLs or domains into fully enriched B2B merchant profiles for cold outreach, lead generation, and competitive intelligence.

### What this actor extracts

- 📧 **Direct & Support Emails:** Discovered from homepage, footer, contact pages, and legal policies.
- 📱 **Phone & WhatsApp:** Mobile/landline numbers and direct WhatsApp (`wa.me`) customer support links.
- 🏢 **Legal Entity & Tax IDs:** Official registered company names (A.Ş., Ltd. Şti., LLC, Inc.), Tax Numbers, and MERSİS registration.
- 🧩 **Shopify App & Tech Stack:** Automatic detection of 20+ key apps:
  - *Email & Marketing:* Klaviyo, Omnisend, Mailchimp, Sendlane, Attentive.
  - *Reviews & UGC:* Loox, Judge.me, Yotpo, Okendo, Stamped.io.
  - *Customer Support:* Gorgias, Zendesk, Tidio, Intercom, Crisp.
  - *Ad Pixels & Analytics:* Meta Pixel, TikTok Pixel, Google Analytics 4, GTM, Hotjar, Clarity, Pinterest Tag.
  - *Subscriptions & Payments:* Recharge, Bold, Smartrr, Stripe, Klarna, iyzico, PayTR.
- 🏷️ **E-Commerce Stack:** Automatic detection of Shopify, Shopify Plus, WooCommerce, Ticimax, ikas, Ideasoft, Magento, BigCommerce.
- 💰 **Catalog Overview & AOV:** Estimates total product count, minimum price, maximum price, and average order value (AOV).
- 🔍 **Scopras Audit Signals:** Checks JSON-LD, OpenGraph, Microdata, and SEO meta health.

### Input Example

```json
{
  "startUrls": [
    { "url": "https://cottonbox.com.tr" },
    { "url": "https://dagi.com.tr" },
    { "url": "https://shopigo.com" }
  ],
  "crawlContactPages": true,
  "crawlLegalPages": true,
  "detectApps": true,
  "fetchCatalogStats": true,
  "maxStores": 50
}
```

### Output Record

```json
{
  "ok": true,
  "domain": "shopigo.com",
  "storeName": "shopi go",
  "legalTitle": "Shopigo Mağazacılık ve Tic. A.Ş.",
  "emails": ["info@shopigo.com", "hr@shopigo.com", "press@shopigo.com"],
  "phones": ["+90 212 444 86 84", "0542 250 86 84"],
  "whatsapp": ["+905422508684"],
  "socials": {
    "instagram": "https://www.instagram.com/shopi_go",
    "tiktok": "https://www.tiktok.com/@shopi_go"
  },
  "isShopify": true,
  "isShopifyPlus": true,
  "platform": "Shopify",
  "appsDetected": [
    "Klaviyo",
    "Meta Pixel",
    "Google Tag Manager",
    "TikTok Pixel",
    "Hotjar"
  ],
  "catalog": {
    "sampleCount": 30,
    "avgPrice": 4250.00,
    "minPrice": 350.00,
    "maxPrice": 28900.00,
    "currency": "TRY"
  },
  "scoprasAudit": {
    "hasJsonLd": true,
    "hasOpenGraph": true,
    "hasMicrodata": false,
    "missingDescription": false,
    "missingFavicon": false
  },
  "currency": "TRY",
  "language": "tr",
  "pagesScanned": [
    "https://shopigo.com",
    "https://shopigo.com/pages/hakkimizda",
    "https://shopigo.com/pages/iletisim",
    "https://shopigo.com/policies/privacy-policy"
  ]
}
```

### Pricing

Billed on a **pay-per-event** model (`store-audited`):

- Unreachable or failed domains (`ok: false`) are **never billed**.
- Only verified, processed stores are counted.

# Actor input Schema

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

Store homepages or domains to extract contact information and tech stack from.

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

Automatically check /pages/contact, /contact-us, /iletisim, /about-us pages to discover hidden emails and phone numbers.

## `crawlLegalPages` (type: `boolean`):

Extract registered legal company titles (A.Ş./Ltd. Şti.), Tax IDs, and MERSİS numbers from terms, privacy, and distance sales agreements.

## `detectApps` (type: `boolean`):

Detect installed marketing tools (Klaviyo, Omnisend), customer support (Gorgias, Zendesk), reviews (Loox, Judge.me), and ad pixels (Meta, TikTok, GA4).

## `fetchCatalogStats` (type: `boolean`):

Estimate catalog product count, min/max price range, and average product price (AOV) for Shopify stores.

## `maxStores` (type: `integer`):

Hard cap on how many distinct stores are fetched in this run.

## `crawlerIdentity` (type: `string`):

How the crawler introduces itself to the stores. Leave blank for the default browser User-Agent.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://cottonbox.com.tr"
    },
    {
      "url": "https://dagi.com.tr"
    },
    {
      "url": "https://shopigo.com"
    }
  ],
  "crawlContactPages": true,
  "crawlLegalPages": true,
  "detectApps": true,
  "fetchCatalogStats": true,
  "maxStores": 50
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://cottonbox.com.tr"
        },
        {
            "url": "https://dagi.com.tr"
        },
        {
            "url": "https://shopigo.com"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("egeusta/shopify-lead-extractor").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://cottonbox.com.tr" },
        { "url": "https://dagi.com.tr" },
        { "url": "https://shopigo.com" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("egeusta/shopify-lead-extractor").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://cottonbox.com.tr"
    },
    {
      "url": "https://dagi.com.tr"
    },
    {
      "url": "https://shopigo.com"
    }
  ]
}' |
apify call egeusta/shopify-lead-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,egeusta/shopify-lead-extractor"
        }
    }
}

```

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/KE6TeJRSFEYXtHxo9/builds/oYjutXpCseSmUhruk/openapi.json
