# B2B Lead, Contact, Tech Stack, Shopify & AI/SEO Intelligence (`lahcen_ai/b2b-lead-tech-seo-extractor`) Actor

Extract verified B2B emails, phone numbers, 12+ social media links, 50+ tech stack & ad pixels (Meta, TikTok, GA4, Klaviyo), Shopify product & pricing analytics, AI search readiness (/llms.txt, JSON-LD), clean LLM Markdown, and automated agency sales pitch insights.

- **URL**: https://apify.com/lahcen_ai/b2b-lead-tech-seo-extractor.md
- **Developed by:** [Lahcen El-Hadi](https://apify.com/lahcen_ai) (community)
- **Categories:** Lead generation, E-commerce, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 b2b lead & domain intelligence 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

## 🚀 B2B Lead, Contact, Tech Stack, Shopify & AI/SEO Intelligence Extractor

An enterprise-grade, all-in-one **B2B Lead Enrichment, Contact Scraper, Tech Stack & Ad Pixel Detector, Shopify Product Spy, and 2026 AI/SEO Readiness Auditor** built for **Marketing Agencies, Outbound Sales Teams, E-Commerce Researchers, and MCP / AI Agents**.

Give it any list of company websites, local business domains, or e-commerce stores—and in seconds, it extracts verified decision-maker contacts, detects 50+ technologies & tracking pixels, analyzes Shopify catalogs, audits AI search readiness (`/llms.txt`), and generates **tailored outbound sales pitch angles** automatically.

***

### ✨ Key Features & Capabilities

#### 1. 📧 Deep B2B Contact & Social Graph Extraction

- **Multi-Page Smart Discovery:** Automatically scans the homepage plus internal `/contact`, `/about`, `/team`, `/impressum`, and `/support` pages.
- **Verified Emails & De-obfuscation:** Extracts `mailto:` links, visible emails, and de-obfuscates `[at]` / `[dot]` patterns while filtering out false positives (such as image filenames or Sentry hashes).
- **Phone Numbers:** Extracts clickable `tel:` links and international phone numbers.
- **12+ Social Media Networks:** Extracts company and founder profiles across **LinkedIn, X (Twitter), Instagram, Facebook, YouTube, TikTok, GitHub, Discord, Telegram, WhatsApp, Pinterest, and Threads**.

#### 2. 🛠️ 50+ Tech Stack & Ad Pixel Detection (BuiltWith / Wappalyzer Alternative)

- **Ad & Analytics Pixels:** Detects **Meta (Facebook) Pixel, TikTok Pixel, Google Analytics 4 (GA4), Google Tag Manager (GTM), Google Ads Conversion, LinkedIn Insight Tag, Pinterest Tag, Snapchat Pixel, Microsoft Clarity, Hotjar, Mixpanel, PostHog, Segment, and Plausible**.
- **CMS, Frameworks & E-Commerce:** Detects **Shopify, WooCommerce, WordPress, Webflow, Wix, Squarespace, Framer, Magento, BigCommerce, Next.js, Nuxt.js, React, Vue.js, Angular, Svelte, Tailwind CSS**.
- **CRM, Email & Live Chat Widgets:** Detects **Klaviyo, HubSpot, Mailchimp, ActiveCampaign, Intercom, Zendesk, Crisp Chat, Drift, Tidio, LiveChat, Gorgias, Stripe, PayPal**.

#### 3. 🛍️ Automatic Shopify Store Product & Pricing Intelligence

- Whenever a target domain runs on **Shopify**, the Actor automatically inspects its public `/products.json` endpoint to extract:
  - Total sampled catalog products
  - **Minimum, Maximum, and Average Product Price**
  - Active brands/vendors & product categories
  - Top 5 sample products with direct links and pricing

#### 4. 🤖 2026 AI Search Readiness (`/llms.txt`) & Technical SEO Audit

- **AI / LLM Discovery:** Checks whether the domain implements the `/llms.txt` standard and inspects `/robots.txt` to see if AI crawlers (`GPTBot`, `ClaudeBot`, `PerplexityBot`, `Google-Extended`) are permitted or blocked.
- **Technical SEO & Schema.org:** Extracts `title`, `meta description`, `canonical URL`, `H1` headings, and `application/ld+json` structured data schemas.
- **Clean Markdown for RAG / MCP Agents:** Converts webpage content into clean, token-efficient Markdown ready to feed directly into LLMs.

#### 5. 🎯 Automated Agency Sales Pitch Generator (`agencySalesAngles`)

- Automatically cross-references the target's tech stack, ad pixels, and SEO gaps to write **ready-to-use cold outreach hooks** (e.g., *"Running Meta Ads on Shopify without Klaviyo or TikTok Pixel detected"* or *"No Live Chat / AI Receptionist widget installed"*).

***

### 📥 Input Parameters

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `urls` | `Array<string>` | `["https://apify.com"]` | List of URLs or raw domains (e.g., `stripe.com`, `https://gymshark.com`). |
| `crawlContactPages` | `Boolean` | `true` | Automatically discover and scan `/contact`, `/about`, and `/team` subpages. |
| `maxContactSubpages` | `Integer` | `3` | Maximum number of internal contact/about pages to scan per domain. |
| `checkAiAndSeoFiles` | `Boolean` | `true` | Audit `/llms.txt`, `/robots.txt` AI bot rules, and `/sitemap.xml`. |
| `extractShopifyProducts` | `Boolean` | `true` | Automatically extract product pricing & catalog stats if the site uses Shopify. |
| `includeCleanMarkdown` | `Boolean` | `true` | Output clean Markdown text of the homepage for LLMs and MCP agents. |

***

### 📤 Sample Output JSON

```json
{
  "url": "https://apify.com/",
  "domain": "apify.com",
  "companyName": "Apify",
  "leadQualityScore": 85,
  "emails": ["hello@apify.com"],
  "phones": [],
  "socialProfiles": {
    "linkedin": ["https://www.linkedin.com/company/apify"],
    "twitter_x": ["https://x.com/apify"],
    "github": ["https://github.com/apify"],
    "discord": ["https://discord.com/invite/jyEM2PRvMU"],
    "youtube": ["https://www.youtube.com/@apify"]
  },
  "techStack": ["Next.js", "React", "Tailwind CSS", "Intercom", "Cloudflare"],
  "adPixels": ["Google Tag Manager (GTM)", "Google Analytics 4 (GA4)", "LinkedIn Insight Tag"],
  "isShopify": false,
  "shopifyIntelligence": null,
  "aiReadiness": {
    "hasLlmsTxt": true,
    "hasRobotsTxt": true,
    "hasSitemapXml": true,
    "blockedAiBots": [],
    "allowsAiSearchCrawlers": true
  },
  "seoAudit": {
    "title": "Apify: Full-stack web scraping and data extraction platform",
    "h1Count": 1,
    "hasJsonLdSchema": true
  },
  "agencySalesAngles": [
    "Paid Media Expansion: Actively running ads/analytics but missing TikTok Pixel — strong prospect for short-form UGC & TikTok Ads scaling."
  ]
}
```

***

### 🤖 MCP & AI Agent Integration

This Actor is fully compatible with **Model Context Protocol (MCP)** servers, Claude Desktop, Cursor, LangChain, n8n, Make.com, and Zapier. Pass any array of URLs to enrich leads or feed clean website intelligence directly into your autonomous agent workflows.

# Actor input Schema

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

List of company websites, e-commerce stores, or domains to analyze (e.g., https://stripe.com, gymshark.com, apify.com).

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

Automatically discover and scan /contact, /about, /team, and /impressum subpages to find hidden emails, phone numbers, and social profiles.

## `maxContactSubpages` (type: `integer`):

Maximum number of internal contact/about pages to scan per domain.

## `checkAiAndSeoFiles` (type: `boolean`):

Check whether the website implements /llms.txt, AI bot rules in /robots.txt, and XML sitemaps.

## `extractShopifyProducts` (type: `boolean`):

If a target website is a Shopify store, automatically inspect /products.json to calculate product count, price range, average price, and sample catalog items.

## `includeCleanMarkdown` (type: `boolean`):

Convert the webpage content into clean, LLM-friendly Markdown text for RAG and MCP workflows.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com",
    "https://news.ycombinator.com"
  ],
  "crawlContactPages": true,
  "maxContactSubpages": 3,
  "checkAiAndSeoFiles": true,
  "extractShopifyProducts": true,
  "includeCleanMarkdown": true
}
```

# Actor output Schema

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

The default dataset containing all analyzed domains and B2B lead intelligence items.

# 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://apify.com",
        "https://news.ycombinator.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lahcen_ai/b2b-lead-tech-seo-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 = { "urls": [
        "https://apify.com",
        "https://news.ycombinator.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("lahcen_ai/b2b-lead-tech-seo-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 '{
  "urls": [
    "https://apify.com",
    "https://news.ycombinator.com"
  ]
}' |
apify call lahcen_ai/b2b-lead-tech-seo-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lahcen_ai/b2b-lead-tech-seo-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/xLsXuMr0ICoMsDmgc/builds/KLWBJWw0PHLhGmO7O/openapi.json
