# B2B Domain Pre-Flight & AI-Readiness Fusion (`lu-tools/b2b-domain-preflight-fusion`) Actor

5-in-1 ultra-fast B2B domain auditor for n8n, Clay, Make & AI agents: MX/SPF/DMARC/DKIM deliverability, DNSBL reputation, TLS security, tech stack, llms.txt & Trust Center detection with a 0-100 lead score. Zero proxies.

- **URL**: https://apify.com/lu-tools/b2b-domain-preflight-fusion.md
- **Developed by:** [lu Jerry](https://apify.com/lu-tools) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 domain pre-flight audits

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?

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 Domain Pre-Flight & AI-Readiness Fusion

**Replace 5 separate enrichment nodes with 1 ultra-fast, zero-proxy Pay-Per-Event API call.**

Built specifically for **n8n, Make, Clay, RevOps teams, and MCP AI Agents**, this Actor audits any list of company domains, URLs, or email addresses across **5 deterministic B2B signal pillars** in ~1–2 seconds per domain—and returns a clean `READY / CAUTION / REJECT` verdict plus a 0–100 lead quality score.

***

### Why Use One Fusion Node Instead of Chaining 5 Tools?

When qualifying B2B leads or screening third-party SaaS vendors in **n8n / Make / Clay**, chaining separate DNS, SSL, tech-stack, trust-center, and `llms.txt` tools burns extra workflow operations, requires multiple API keys, and floods LLM context windows with raw HTML.

**B2B Domain Pre-Flight Fusion** runs all 5 pillars concurrently with **zero headless browsers and zero proxies**:

1. **Email Deliverability & Auth Stack**: MX records & provider detection (`Google Workspace`, `Microsoft 365`, `Proofpoint`, `Mimecast`, etc.), **recursive SPF DNS lookup counter** (RFC 7208 10-lookup limit check), DMARC enforcement policy (`reject` / `quarantine` / `none`), parallel enterprise DKIM selector probing, MTA-STS, BIMI, plus freemail & disposable domain flags.
2. **Public DNSBL Reputation**: Safe public blocklist screening with automatic resolver-error filtering (zero false positives).
3. **TLS / SSL & Security Posture**: Direct TLS handshake check (`TLSv1.3`/`TLSv1.2`), certificate validity & `daysUntilExpiry`, HTTP→HTTPS redirect, and security headers (`HSTS`, `CSP`, `X-Frame-Options`, `X-Content-Type-Options`).
4. **Web Health, Tech Stack & Parked-Domain Guard**: Live status, latency, CDN/CMS/RevOps stack detection (`Cloudflare`, `Vercel`, `Next.js`, `Webflow`, `HubSpot`, `Segment`, `PostHog`, `Intercom`, `Stripe`, etc.), buying-intent pages (`/pricing`, `/docs`, `/careers`, `/security`), and parked/for-sale domain detection.
5. **AI-Readiness & Enterprise Trust Center Signals**: `/llms.txt` verification, `/robots.txt` AI crawler policies (`GPTBot`, `ClaudeBot`, `PerplexityBot`, `Google-Extended`), `/sitemap.xml`, `/.well-known/security.txt`, `/.well-known/agent.json` / `agent-card.json`, and Trust Center detection (`Vanta`, `Drata`, `SafeBase`, `Secureframe`, `Conveyor`).

***

### Sample Output (`compactMode: true` — ~250 Tokens, MCP & n8n Friendly)

```json
{
  "domain": "stripe.com",
  "verdict": "READY",
  "grade": "A",
  "leadQualityScore": 94,
  "deliverabilityScore": 95,
  "securityScore": 96,
  "webHealthScore": 95,
  "aiReadinessScore": 85,
  "emailProvider": "Google Workspace",
  "dmarcPolicy": "reject",
  "spfLookupCount": 6,
  "dkimFound": true,
  "httpsReachable": true,
  "sslDaysUntilExpiry": 74,
  "isFreeEmailDomain": false,
  "isDisposableEmailDomain": false,
  "isParkedDomain": false,
  "hasTrustCenter": true,
  "trustCenterProvider": "Custom / First-Party",
  "hasLlmsTxt": true,
  "hasAgentCard": false,
  "techStack": ["Cloudflare", "Stripe"],
  "redFlags": [],
  "positiveSignals": [
    "ENTERPRISE_EMAIL_GOOGLE_WORKSPACE",
    "DMARC_ENFORCED_REJECT",
    "DKIM_VERIFIED",
    "HAS_TRUST_CENTER",
    "HAS_PRICING_PAGE",
    "HAS_DOCS_PAGE",
    "HAS_LLMS_TXT"
  ],
  "auditedAt": "2026-11-21T02:00:00.000Z"
}
```

Set `compactMode: false` (default) to include the complete `details` object (every MX record, full SPF/DMARC strings, matched DKIM selectors, certificate issuer/expiry dates, per-bot `robots.txt` policy, and Trust Center URL).

***

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

- **Event**: `domain-preflight-check` — **$0.008 per unique valid domain audited** ($8 per 1,000 B2B leads).
- **Zero proxy surcharges & minimal compute**: Built on pure Node.js networking with 256–512 MB RAM.
- **Automatic deduplication & budget guard**: Duplicate URLs/emails resolve to a single domain charge, and the Actor stops gracefully the moment your `maxTotalChargeUsd` budget limit is reached.

***

### Input Configuration

You can pass mixed formats in `domains`—raw domains (`stripe.com`), full URLs (`https://linear.app/pricing`), or emails (`ops@apify.com`). Everything is normalized and deduplicated automatically.

```json
{
  "domains": [
    "stripe.com",
    "https://www.linear.app/pricing",
    "ops@apify.com"
  ],
  "includeAiReadiness": true,
  "includeTrustCenterProbe": true,
  "includeDnsbl": true,
  "compactMode": false,
  "maxConcurrency": 5,
  "timeoutMs": 6000
}
```

***

### Quick Integration: n8n, Make, Clay & MCP AI Agents

- **n8n / Make / Clay**: Call the Actor via the native **Apify node** (or synchronous API endpoint `run-sync-get-dataset-items`), then branch on `verdict === "READY"` before enrolling leads into outbound sequences or CRM enrichment.
- **MCP (Claude Desktop / Cursor / Custom Agents)**: Connect via `mcp.apify.com` and enable `"compactMode": true` to keep responses under ~250 tokens per domain with zero context bloat.

# Actor input Schema

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

List of company domains (e.g. stripe.com), full URLs (https://linear.app/pricing), or emails (ops@apify.com). Automatically normalized and deduplicated.

## `includeAiReadiness` (type: `boolean`):

Inspect /llms.txt, /robots.txt AI crawler policies (GPTBot, ClaudeBot, PerplexityBot), /sitemap.xml, and /.well-known/agent.json.

## `includeTrustCenterProbe` (type: `boolean`):

Detect Trust Center links/subdomains (Vanta, Drata, SafeBase, Secureframe) and B2B buying-intent pages (/pricing, /security, /docs).

## `includeDnsbl` (type: `boolean`):

Check domain reputation against public DNS blocklists with safe resolver error filtering.

## `compactMode` (type: `boolean`):

Return a slim, flattened JSON payload (~250 tokens per domain) optimized for LLM tool-calling and n8n/Make workflows.

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

Number of domains audited in parallel (1 to 20). Higher values finish large batches faster.

## `timeoutMs` (type: `integer`):

Timeout for HTTP and TLS network probes in milliseconds (2000 to 15000).

## Actor input object example

```json
{
  "domains": [
    "stripe.com",
    "linear.app",
    "apify.com"
  ],
  "includeAiReadiness": true,
  "includeTrustCenterProbe": true,
  "includeDnsbl": true,
  "compactMode": false,
  "maxConcurrency": 5,
  "timeoutMs": 6000
}
```

# Actor output Schema

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

Summary view of every audited domain with 0-100 score, verdict, email provider, tech stack, and red flags.

## `deliverability` (type: `string`):

Focused table of MX, SPF lookup counts, DMARC policy, DKIM selectors, and SSL expiry status.

## `summary` (type: `string`):

Aggregated statistics for the entire batch run stored in Key-Value Store.

# 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",
        "linear.app",
        "apify.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lu-tools/b2b-domain-preflight-fusion").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",
        "linear.app",
        "apify.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("lu-tools/b2b-domain-preflight-fusion").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",
    "linear.app",
    "apify.com"
  ]
}' |
apify call lu-tools/b2b-domain-preflight-fusion --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lu-tools/b2b-domain-preflight-fusion"
        }
    }
}
```

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/BxmjcdVcpgKNZswRd/builds/q5gt9WyPguMnn3cpq/openapi.json
