# Domain Tech Stack, Subdomain & B2B Email Readiness Profiler (`signalcraft_labs/domain-tech-email-profiler`) Actor

Fast, headless-free BuiltWith alternative & MCP-ready domain profiler. Detect 220+ B2B technologies on exact subdomains, extract verified socials & public emails, score SPF/DMARC/MX email readiness (0-100), and uncover hidden DNS SaaS signals behind WAFs — $0 on failures.

- **URL**: https://apify.com/signalcraft_labs/domain-tech-email-profiler.md
- **Developed by:** [SignalCraft Labs](https://apify.com/signalcraft_labs) (community)
- **Categories:** Lead generation, Developer tools, Marketing
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.05 / 1,000 domain profiles

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/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

## Domain Tech Stack, Subdomain, Social & B2B Email Readiness Profiler

A fast, headless-free **BuiltWith Alternative** and **Subdomain Technology Detector** built for B2B lead enrichment, ecommerce store qualification, cold-email pre-checks, and **MCP-ready** AI Agent workflows.

Detect **220+ commercial B2B technologies** (Shopify, WooCommerce, HubSpot, Klaviyo, Stripe, Next.js, Cloudflare, Salesforce, and more), extract **verified brand social links & public business emails**, audit **B2B Email Readiness (MX / SPF / DMARC 0–100 score)**, and uncover **hidden DNS TXT SaaS signals** (Atlassian, DocuSign, Notion, OpenAI, Figma, Slack) — even when target sites block scrapers with Cloudflare or HTTP 403 WAFs.

***

### Why Use This Instead of Legacy Tech Stack Scrapers?

| Feature | This Profiler (`domain-tech-email-profiler`) | Official / Legacy BuiltWith Scrapers |
|---|---|---|
| **Exact Subdomain Detection** (`blog.hubspot.com`, `shop.brand.com`) | Probes exact target host + preserves `subdomain` vs `rootDomain` | Often collapses subdomains into apex domain profiles |
| **Cloudflare / HTTP 403 WAF Resilience** | Automatic `dns_only` fallback extracts CDN/WAF headers, MX/SPF/DMARC & hidden DNS SaaS signals | Returns empty rows or crashes on WAF blocks |
| **Brand Social Links & Public Emails** | Extracts 8 social platforms + noise-filtered business emails (plus optional 1-page `/contact` fallback) | Missing social links or no email extraction |
| **B2B Email Readiness (SPF / DMARC / MX)** | Built-in async MX, SPF `include`/`redirect` senders, DMARC policy & 0–100 score | Not included |
| **Failed / Dead Domain Billing** | **Strict `$0` charge** on NXDOMAIN, invalid formats & unreachable hosts (`charged: false`) | Often bills start fees or full runs on empty/failed results |
| **Speed & Compute Footprint** | Pure `asyncio` + `httpx[http2]` + `selectolax` (~0.37s/domain, runs smoothly in 256–512 MB RAM) | Heavy browser overhead or high `$3–$37.50/1k` pricing |

***

### Transparent Pay-Per-Event (PPE) Pricing

- **Billable Event (`domain-profile`)**: Charged **only** when the Actor delivers actionable intelligence (`status: "ok"` or `status: "dns_only"`).
- **Zero-Charge-on-Failure Guarantee**: Dead domains (`NXDOMAIN`), malformed inputs, private/reserved IPs, or hosts yielding zero HTTP and zero DNS intelligence are marked `status: "failed"` with `charged: false` and **never trigger a `domain-profile` charge**.
- **Automatic Budget Guard**: Honors your Apify run spending limit (`maxTotalChargeUsd`) and stops gracefully the moment the limit is reached.

***

### Input Parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `domains` | `array<string>` | *Required* | Bare domains (`onegreenbottle.com`), subdomains (`shop.hodinkee.com`), or full URLs (`https://blog.hubspot.com/marketing`). Auto-deduplicated; recommended up to `5,000` domains per run. |
| `includeContactPages` | `boolean` | `false` | If enabled and the homepage has no public emails or fewer than 2 social links, fetches at most 1 same-site contact/about page (`/contact`, `/contact-us`, `/about`). |
| `includeEmailReadiness` | `boolean` | `true` | Performs async MX, SPF, and DMARC checks (with RFC-standard root-domain fallback for subdomains) and computes `readinessScore` (0–100). |
| `maxConcurrency` | `integer` | `15` | Concurrent async workers (`1–30`). Default `15` is tuned for 512 MB RAM. |

***

### Transparent B2B Email Readiness Score (0–100)

Subdomains falling back to `root_domain` for MX/SPF/DMARC follow standard RFC behavior and are **not penalized**:

- **Valid MX Record (`hasMx: true`)**: `+45`
- **Valid SPF Record (`hasSpf: true`)**: `+25`
- **Valid DMARC Record (`hasDmarc: true`)**: `+15`
- **DMARC Policy Enforcement**: `reject` (`+15`) | `quarantine` (`+10`) | `none` (`+5`)

***

### Sample Output (Clean, Deduplicated JSON)

```json
{
  "input": "blog.hubspot.com",
  "targetHost": "blog.hubspot.com",
  "rootDomain": "hubspot.com",
  "subdomain": "blog",
  "status": "ok",
  "httpStatus": 200,
  "finalUrl": "https://blog.hubspot.com",
  "pageTitle": "HubSpot Blog | Marketing, Sales, Agency, and Customer Success Content",
  "technologies": {
    "ecommerce_cms": ["HubSpot CMS"],
    "email_crm": ["HubSpot"],
    "cdn_hosting_security": ["Cloudflare"],
    "email_infra": ["Google Workspace"],
    "dns_saas": ["Atlassian", "DocuSign", "Notion", "Adobe", "Stripe", "Canva", "Zoom", "OpenAI", "Figma"]
  },
  "technologiesFlat": [
    "HubSpot CMS", "HubSpot", "Cloudflare", "Google Workspace",
    "Atlassian", "DocuSign", "Notion", "Adobe", "Stripe", "Canva", "Zoom", "OpenAI", "Figma"
  ],
  "techCount": 13,
  "socials": {
    "linkedin": "https://www.linkedin.com/company/hubspot",
    "instagram": "https://www.instagram.com/hubspot",
    "twitter": "https://x.com/HubSpot",
    "facebook": "https://www.facebook.com/hubspot",
    "youtube": "https://youtube.com/user/HubSpot",
    "tiktok": "https://www.tiktok.com/@hubspot"
  },
  "publicEmails": [],
  "emailReadiness": {
    "hasMx": true,
    "mxSource": "target_host",
    "mxHosts": ["smtp.google.com"],
    "emailProvider": "Google Workspace",
    "hasSpf": true,
    "spfSource": "root_domain",
    "spfIncludes": ["_hspf.hubspot.com"],
    "hasDmarc": true,
    "dmarcPolicy": "reject",
    "readinessScore": 100
  },
  "dnsSignals": [
    "Atlassian", "DocuSign", "Notion", "Adobe", "Stripe", "Meta / Facebook",
    "Apple", "HubSpot", "Canva", "Zoom", "Google Site Verification",
    "Microsoft / M365 Verification", "OpenAI", "Figma"
  ],
  "error": null,
  "charged": true
}
```

> **Clean Counting Guarantee**: Pure domain-ownership TXT records (e.g., `Google Site Verification`, `Microsoft / M365 Verification`, `Apple`, `Meta / Facebook`) remain visible in `dnsSignals` for auditability but are excluded from `technologies` and `techCount`. Brands detected via web/email layers (such as `HubSpot`, `Klaviyo`, `Brevo`) are never double-counted in `technologies.dns_saas`.

***

### MCP & API Integration Examples

#### 1. Call via Apify MCP Server (AI Agents: Claude, Cursor, Windsurf, n8n)

Add the Apify MCP server (`https://mcp.apify.com`) with this Actor enabled, then prompt your agent:

> *"Profile `onegreenbottle.com` and `shop.hodinkee.com` using `domain-tech-email-profiler` with `includeContactPages: true`. Tell me their ecommerce platform, email marketing stack, DMARC readiness score, and public contact email."*

#### 2. Call via Python API (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")

run = client.actor("signalcraft_labs/domain-tech-email-profiler").call(
    run_input={
        "domains": ["onegreenbottle.com", "blog.hubspot.com", "shop.hodinkee.com"],
        "includeContactPages": True,
        "includeEmailReadiness": True,
        "maxConcurrency": 15,
    }
)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["targetHost"], item["status"], item["techCount"], item["publicEmails"], item["emailReadiness"]["readinessScore"])
```

# Actor input Schema

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

List of bare domains (onegreenbottle.com), exact subdomains (shop.hodinkee.com), or full URLs (https://blog.hubspot.com/marketing). Automatically normalized and deduplicated while preserving exact target subdomains. Recommended batch size: up to 5,000 domains per run.

## `includeContactPages` (type: `boolean`):

When enabled and the homepage lacks public emails or social links, fetches at most 1 same-site contact/about page (/contact, /contact-us, /about). Disabled by default for maximum speed and minimal compute usage.

## `includeEmailReadiness` (type: `boolean`):

Run asynchronous DNS MX, SPF, and DMARC lookups (with RFC-standard root-domain fallback for subdomains) to identify enterprise mail providers, authorized senders, and a transparent 0-100 email readiness score.

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

Maximum number of domains profiled concurrently via asyncio (1 to 30). Default 15 is tuned for 512 MB RAM.

## Actor input object example

```json
{
  "domains": [
    "stripe.com",
    "apify.com"
  ],
  "includeContactPages": false,
  "includeEmailReadiness": true,
  "maxConcurrency": 15
}
```

# Actor output Schema

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

No description

## `items` (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": [
        "stripe.com",
        "apify.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("signalcraft_labs/domain-tech-email-profiler").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": [
        "stripe.com",
        "apify.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("signalcraft_labs/domain-tech-email-profiler").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": [
    "stripe.com",
    "apify.com"
  ]
}' |
apify call signalcraft_labs/domain-tech-email-profiler --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,signalcraft_labs/domain-tech-email-profiler"
        }
    }
}
```

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/KmDqXom1VOjCo1EpA/builds/c8xpTOM7SNzjjW8F4/openapi.json
