# Website Tech Stack, Ad Pixels & SaaS Detector (MCP) (`spiky_closet/tech-stack-ad-pixel-detector`) Actor

Detect 150+ web technologies, unpack static GTM containers for Google Ads (AW-), Meta, LinkedIn, TikTok & GA4 pixel IDs without a browser, and verify internal SaaS via DNS + Standby /mcp. Independent tool, not affiliated with Google, Meta, BuiltWith, or Wappalyzer.

- **URL**: https://apify.com/spiky_closet/tech-stack-ad-pixel-detector.md
- **Developed by:** [AdPulse Labs](https://apify.com/spiky_closet) (community)
- **Categories:** Lead generation, MCP servers
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 domain scanneds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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?

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

## Website Tech Stack, Ad Pixels & SaaS Detector (MCP)

**Fast, browserless Go alternative to BuiltWith & Wappalyzer: detect 180+ website technologies, unpack static Google Tag Manager (`gtm.js`) AST containers & constant macros for consent-gated ad pixel IDs, and verify 70+ internal enterprise SaaS & email tools via DNS (`MX`/`SPF`/`TXT`/`DMARC`) — with a real-time Standby REST API & `/mcp` server for AI agents.**

*Independent tool, not affiliated with Google, Meta, BuiltWith, or Wappalyzer.*

***

### Why Teams Switch from BuiltWith, Wappalyzer & 4GB Browser Scrapers

| Capability | Basic HTTP Tech Detectors | 4GB Browser Crawlers | **This Go Engine (`128MB–256MB`)** |
| :--- | :--- | :--- | :--- |
| **Consent-gated GTM pixels** | Missed (only sees `GTM-...`) | Missed behind OneTrust / Cookiebot banners | **Static GTM AST & `["macro", N]` resolver** (`AW-`, `GT-`, Meta, LinkedIn, TikTok, Bing UET, Pinterest, Reddit, X, GA4) |
| **Shopify Web Pixels** | Missed in escaped JSON config | Heavy headless browser cost | **Extracts escaped Shopify `webPixelsConfigList` pixel IDs** (Meta, Google Tag, Reddit, Elevar) |
| **WAF-protected domains (`HTTP 403`)** | Empty error row | Fails or requires pricey Residential proxies | **Graceful DNS fallback** (`Stripe`, `OpenAI`, `Anthropic`, `Cursor`, `HubSpot`, `Slack`, `Rippling`, `Vanta`, `Datadog`, `Google Workspace`) |
| **Dirty CRM / Clay lead lists** | Fails on emails or UTM URLs | Slow per-URL browser boot | **Auto-cleans work emails (`ceo@klaviyo.com`), UTM URLs, & CSV pastes** |
| **Lead qualification filtering** | Export everything & filter in Excel | Expensive per-page billing before filtering | **Built-in `mustHaveAny` / `mustHaveAll` / `mustNotHave` / `onlyWithAdPixels`** |
| **Real-time REST & AI Agent MCP** | None | Too slow for interactive agent loops | **Sub-2s Standby REST (`/scan`) & Streamable HTTP `/mcp` (`scan_domains`, `extract_ad_pixels`, `check_enterprise_saas`)** |

***

### Quick Start (1-Field Input)

Paste company domains, landing page URLs, or work emails into **`domains`** (or click **Start** right away with the prefilled examples `hubspot.com`, `klaviyo.com`, `linear.app`):

```json
{
  "domains": [
    "hubspot.com",
    "https://www.klaviyo.com/pricing?utm_source=ads",
    "ceo@linear.app"
  ]
}
```

***

### 5 Ready-to-Use Recipes

#### 1. Agency Prospecting: "Shopify + Meta Pixel WITHOUT Klaviyo"

Find e-commerce brands already spending on Meta Ads that haven't adopted Klaviyo yet:

```json
{
  "domains": ["allbirds.com", "gymshark.com", "example-brand.com"],
  "mustHaveAll": ["Shopify", "Meta Pixel"],
  "mustNotHave": ["Klaviyo"],
  "onlyWithAdPixels": true
}
```

#### 2. AI-Native & High-Growth B2B SaaS Qualification

Check internal enterprise SaaS adoption (`Stripe`, `OpenAI`, `Anthropic`, `Cursor`, `Rippling`, `Greenhouse`, `HubSpot`, `Vanta`, `Datadog`, `Gong`) via public DNS + HTTP headers:

```json
{
  "domains": ["linear.app", "vercel.com", "posthog.com", "openai.com"],
  "mustHaveAny": ["OpenAI", "Anthropic", "Cursor"]
}
```

#### 3. Paid-Ads Lead Filtering + Ad Creative Inspection

Every scanned domain includes a direct **`googleAdsTransparencyUrl`** link so you can jump straight into [Google Ads Transparency Scraper & Real-Time MCP Server](https://apify.com/spiky_closet/google-ads-transparency-scraper) to inspect the advertiser's live Search, Display, and YouTube creatives.

#### 4. Drop-In Migration for Clay, n8n & Make

Already using `urls`, `startUrls`, `websites`, `targetUrls`, `technologies`, `excludeTechnologies`, `includeDns`, or `maxItems`? Paste your existing JSON payload directly — competitor field aliases and shorthand names (`"GA4"`, `"Facebook Pixel"`, `"Bing Ads"`, `"GTM"`, `"O365"`) are mapped automatically.

#### 5. Real-Time Standby REST (`/scan`) & MCP Server (`/mcp`) for Claude, Cursor & AI Agents

Connect directly over Apify Standby Streamable HTTP (`2025-03-26`):

```json
{
  "mcpServers": {
    "tech-stack-pixel-detector": {
      "url": "https://spiky-closet--tech-stack-ad-pixel-detector.apify.actor/mcp"
    }
  }
}
```

Available MCP tools:

- `scan_domains` — Full 4-layer technology, static GTM AST ad-pixel ID, `/ads.txt`, and DNS enterprise SaaS scan (1–200 domains)
- `extract_ad_pixels` — Focused ad pixel & tracking ID extractor (`AW-`, `GT-`, Meta, LinkedIn, TikTok, Bing UET, Pinterest, Reddit, X, GA4, HubSpot Portal ID)
- `check_enterprise_saas` — Ultra-fast DNS-only (`MX`/`SPF`/`TXT`/`DMARC`) enterprise SaaS lookup (`<200ms`, works even when HTTP returns `403`)

***

### Pay-Per-Event Pricing Transparency

- **`$0` Actor start fee** — pay only for delivered reachable domains.
- **`domain-scanned`** — charged once per delivered domain with `scanStatus != "unreachable"` across Batch runs, Standby `/scan`, and Standby `/mcp`.
- **Unreachable domains are never charged**, and domains filtered out by `mustHaveAny` / `mustHaveAll` / `mustNotHave` / `onlyWithAdPixels` are not emitted or charged.
- See the **Pricing** tab on this Actor's Apify Store page for current per-tier rates (Free, Bronze, Silver, Gold+).

***

### Verified Apify Cloud Benchmark

- **Run ID**: `dHZHLhBChoqeUULni` (`256 MB` RAM, `$0` proxy)
- **Batch**: 6 mixed dirty inputs (`hubspot.com`, `https://www.klaviyo.com/pricing?utm=test`, `ceo@linear.app`, `shopify.com`, `allbirds.com`, `openai.com`)
- **Result**: `6 / 6` domains emitted in **`2.802s`** — including static GTM unpacking (`GTM-N5LT88`, `GTM-M28G2G`) and `23` DNS-verified technologies on WAF-blocked `openai.com` (`HTTP 403`, `83ms`).

***

### Honest Limitations & Scope

- **No headless browser execution**: Single-page apps that dynamically inject third-party tags solely through client-side JS (outside static HTML, static `gtm.js` AST containers/macros, and Shopify `webPixelsConfigList`) or first-party server-side CAPI endpoints without public markers will not appear in HTML/GTM results — DNS enterprise SaaS checks still run normally.
- **WAF / Cloudflare `403` protection**: In live Apify Cloud testing (`AS14618 Amazon.com, Inc.`, `us-east-1`), direct `$0`-proxy HTTP achieved `22/25 (88%)` `HTTP 200` and `15/15 (100%)` GTM unpacking; WAF-blocked domains degrade gracefully to `scanStatus: "dns_only_waf_blocked"` with `100%` DNS SaaS & email intelligence rather than failing your run.
- **Independent tool**: Not affiliated with Google, Meta, LinkedIn, TikTok, BuiltWith, or Wappalyzer.

# Actor input Schema

## `domains` (type: `array`):

Enter company domains ('hubspot.com'), full URLs ('https://www.klaviyo.com/pricing'), or work emails ('ceo@linear.app'). Click Start right away to test with the 3 prefilled sample domains.

## `bulkDomains` (type: `string`):

Paste a multiline or comma-separated list of domains, URLs, or emails. Duplicates and URL paths are cleaned automatically.

## `onlyWithAdPixels` (type: `boolean`):

Output only domains with active paid advertising pixels (Google Ads, Meta Pixel, LinkedIn, TikTok, Microsoft/Bing, X, Reddit, Pinterest, Snapchat).

## `mustHaveAny` (type: `array`):

Keep companies using at least one listed tool (e.g. 'Shopify', 'Meta Pixel', 'HubSpot', 'Stripe', 'OpenAI').

## `mustHaveAll` (type: `array`):

Keep only companies using every listed tool together (e.g. \['Shopify', 'Meta Pixel']).

## `mustNotHave` (type: `array`):

Exclude companies already using a specific tool (e.g. \['Klaviyo'] to find Shopify stores not yet using Klaviyo).

## `unpackGtm` (type: `boolean`):

Unpacks Google Tag Manager containers so Meta, Google Ads, LinkedIn, TikTok, and GA4 pixel IDs are found even behind cookie consent banners.

## `checkDns` (type: `boolean`):

Checks public DNS records to identify Google Workspace, Microsoft 365, Stripe, OpenAI, Anthropic, HubSpot, Slack, and Rippling — works even when websites block crawlers (HTTP 403).

## `checkAdsTxt` (type: `boolean`):

Also checks /ads.txt on media and publisher sites.

## `maxResults` (type: `integer`):

Stop the run after emitting this many matching domains (0 = no limit).

## `maxConcurrency` (type: `integer`):

Number of websites scanned simultaneously.

## `proxyConfiguration` (type: `object`):

Optional proxy override. Default direct mode ($0 proxy cost) already achieves ~90% HTTP + 100% DNS coverage.

## Actor input object example

```json
{
  "domains": [
    "hubspot.com",
    "klaviyo.com",
    "linear.app"
  ],
  "onlyWithAdPixels": false,
  "unpackGtm": true,
  "checkDns": true,
  "checkAdsTxt": false,
  "maxResults": 0,
  "maxConcurrency": 15,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `adPixels` (type: `string`):

No description

## `enterpriseSaaS` (type: `string`):

No description

## `fullTechStack` (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 = {
    "domains": [
        "hubspot.com",
        "klaviyo.com",
        "linear.app"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("spiky_closet/tech-stack-ad-pixel-detector").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 = {
    "domains": [
        "hubspot.com",
        "klaviyo.com",
        "linear.app",
    ],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("spiky_closet/tech-stack-ad-pixel-detector").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 '{
  "domains": [
    "hubspot.com",
    "klaviyo.com",
    "linear.app"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call spiky_closet/tech-stack-ad-pixel-detector --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,spiky_closet/tech-stack-ad-pixel-detector"
        }
    }
}
```

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/B3KndRDe1y0ASzoGB/builds/HluonbQKqPMDqOF2H/openapi.json
