# B2B Domain Contact, DMARC/SPF/SSL & KYB Enricher (`voxatools/b2b-domain-contact-security-kyb-enricher`) Actor

One-pass B2B domain intelligence engine that extracts public corporate emails, phones, and social profiles while auditing SPF, DMARC, DKIM, BIMI, MX, and SSL/TLS certificates plus EU Impressum legal entity names, HRB/HRA commercial registry IDs, and VAT numbers.

- **URL**: https://apify.com/voxatools/b2b-domain-contact-security-kyb-enricher.md
- **Developed by:** [VoxaTools](https://apify.com/voxatools) (community)
- **Categories:** AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 83.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 3-plane domain contact, doh spf/dmarc/mx & tls posture record (1 deduplicated record per domain)s

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 Domain Contact, DMARC/SPF/SSL Security Posture & Legal Entity KYB Enricher

**Enrich any B2B domain list with verified public emails, phones, social profiles, SPF/DMARC/DKIM/BIMI email security posture scores, SSL/TLS certificate expiry diagnostics, and EU Impressum legal entity & VAT numbers in a single pass — at $1.60 per 1,000 domains ($0.00 Start Fee, $0 Proxy Required).**

#### Start in 10 Seconds (Zero Setup — Minimal 1-Field Call)

Paste your target corporate domains and click **Start** — no API keys, browser sessions, or residential proxies required:

```json
{
  "domains": [
    "stripe.com",
    "hetzner.com",
    "sipgate.de"
  ]
}
```

***

### Why Revenue, MSP & Compliance Teams Switch to This Tool

Most B2B teams are forced to stitch together two or three separate tools just to qualify a corporate domain list: a per-page contact scraper (which charges you 3x–5x when inspecting `/`, `/contact`, and `/impressum`), an email deliverability/DNS checker, and a legal entity lookup tool.

This Actor unifies **Three Enrichment Planes in One Atomic Pass** while charging strictly **once per deduplicated domain**:

1. **Corporate Contact & Role-Inbox Hygiene Plane:** Inspects up to `maxPagesPerDomain` high-yield corporate paths (`/`, `/impressum`, `/contact`, `/about`, `/legal`, `/privacy`), extracts public emails, phone numbers, and official social links (`LinkedIn`, `GitHub`, `X`, `YouTube`, `Instagram`, `Facebook`), and separates generic role accounts (`info@`, `support@`, `privacy@`, `dpo@`) from `primaryEmails`.
2. **Email Authentication & Anti-Spoofing Plane (`SPF`, `DMARC`, `DKIM`, `BIMI`, `MX`):** Performs structured DNS-over-HTTPS verification to classify 3-tier DMARC enforcement (`MISSING_DMARC_RECORD` vs. monitoring-only `p=none` vs. `p=quarantine` / `p=reject`), flags subdomain spoofing loopholes (`sp=none`), fingerprints the email hosting provider (`Google Workspace`, `Microsoft 365`, `Cloudflare Email Security`, `Proofpoint`, `Mimecast`), and audits 8 enterprise DKIM selectors plus BIMI brand indicators.
3. **SSL/TLS X.509 Certificate & EU Impressum Legal Entity KYB Plane:** Inspects port `443` X.509 peer certificates (`subjectO`, `issuerO`, `daysRemaining`, `sanCount`, `fingerprint256`) and unmasks German/EU statutory Impressum disclosures (`§ 5 DDG` / `TMG`) to extract the exact legal entity name (`GmbH`, `SE`, `AG`, `Ltd.`, `LLC`, `Inc.`, `B.V.`), commercial register number (`HRB` / `HRA` + `Amtsgericht` / `Registergericht`), and EU `USt-IdNr.` / VAT number with a ready-to-run VIES handoff payload.

***

### Strategic Comparison: Per-Page Scrapers vs. Stitched Workflows vs. Unified 3-Plane Enrichment

| # | Capability / Cost Metric | Legacy Per-Page Contact Scrapers | Stitched 2-Tool Workflows (Contacts + DNS/SSL) | VoxaTools Domain Contact, Security & KYB Enricher |
|---|---|---|---|---|
| 1 | **Billing Unit Basis** | ❌ Charged **per page scraped** ($6.00+/1k domains when checking 3 pages/domain) | ❌ Double run-start fees + dual dataset charges ($5.00–$8.80/1k domains) | ✅ **1 deduplicated record per domain ($1.60 / 1,000 domains)** |
| 2 | **Run Start Fee** | ⚠️ Per-run / per-GB start fee on every batch | ⚠️ Charged twice across two separate tools | ✅ **$0.00 Start Fee** |
| 3 | **Public Emails, Phones & Social Profiles** | ✅ Basic extraction (often polluted by 403/429 challenge pages) | ⚠️ Requires manual domain join across exports | ✅ **2xx non-challenge verified + `primaryEmails` vs. `roleEmails` split** |
| 4 | **3-Tier DMARC (`p=` & `sp=`), SPF & MX Provider Audit** | ❌ Not supported | ⚠️ Raw TXT strings without spoofing classification | ✅ **Separates `MISSING_DMARC_RECORD` vs. `MONITORING_ONLY_P_NONE` vs. `ENFORCED_REJECT`** |
| 5 | **Deep 8-Selector DKIM & BIMI Brand Audit** | ❌ Not supported | ❌ Rarely included | ✅ **Value-gated add-on (+$0.40/1k ONLY when DKIM/BIMI verified)** |
| 6 | **SSL/TLS Port 443 X.509 Certificate & SAN Expiry** | ❌ Not supported | ⚠️ Separate SSL scanner required | ✅ **Included in base pass (`daysRemaining`, `issuerO`, `subjectO`, `sanCount`)** |
| 7 | **German/EU Impressum Legal Entity, `HRB/HRA` & VAT Unmasking** | ❌ Raw unparsed HTML | ❌ Not supported | ✅ **Extracts `GmbH`/`AG`/`SE`, `HRB`/`HRA` court, and `USt-IdNr.` (+$0.50/1k ONLY when verified)** |
| 8 | **Stateful Change-Detection Radar (`onlyChangedDomains`)** | ❌ Re-bills unchanged domains on every run | ❌ Manual spreadsheet diffing | ✅ **9-parameter `scopeKey` delta radar ($0.00 charged on unchanged domains)** |

***

### What You Can Do With This Tool

| # | B2B Use Case | Target Buyer / Team | Key Output Fields Used |
|---|---|---|---|
| 1 | **MSP & Cybersecurity Outbound Lead Generation** | Managed Service Providers, Email Security Vendors, vCISOs | Filter by `minimumPostureGrade: "VULNERABLE_C_D_F_ONLY"` to find companies running `MONITORING_ONLY_P_NONE`, `SUBDOMAIN_MONITORING_ONLY_SP_NONE`, or `MISSING_DMARC_RECORD` and use the auto-generated `b2bSalesPitchHook`. |
| 2 | **DACH & EU B2B Prospecting & Legal Entity Unmasking** | Sales Ops, RevOps, B2B Lead-Gen Agencies | Crawl `/impressum` and `/contact` on `.de`, `.at`, `.ch`, and `.eu` domains to extract `legalEntityName` (`Hetzner Online GmbH`, `sipgate GmbH`), `commercialRegisterNumber` (`HRB 6089`), `registerCourt`, and `vatIdCandidate` (`DE812871812`). |
| 3 | **Vendor KYB & Supply-Chain Security Pre-Screening** | FinTech Onboarding, Procurement, Third-Party Risk Teams | Verify `tlsCertificatePosture.daysRemaining`, `authorized`, `hostnameVerified`, `securityPostureScore.overallPostureScore` (`0–100`), and cross-check Impressum legal entities against TLS X.509 `subjectO`. |
| 4 | **Continuous Domain Portfolio & Competitor Monitoring** | Security Operations, Brand Protection, Private Equity | Schedule weekly runs with `onlyChangedDomains: true` to receive alerts only when a domain's DMARC policy, SPF record, TLS certificate fingerprint, or legal entity changes. |
| 5 | **AI Agent & MCP One-Call Domain Intelligence** | Autonomous SDR Agents, Claude / Cursor / LangChain Workflows | Call with a single field (`{"domains": ["stripe.com"]}`) to get a deterministic, schema-validated JSON dossier in under 2 seconds. |

***

### Quick-Start Guide & Copy-Paste Input Examples

#### Recipe 1: Full-Stack Contact, Email Security, TLS & EU Impressum KYB Audit (Default)

Enriches corporate contacts across `/`, `/contact`, and `/impressum`, audits SPF/DMARC/MX/TLS, probes 8 DKIM selectors + BIMI, and extracts EU Impressum legal entity & VAT signals:

```json
{
  "domains": [
    "stripe.com",
    "hetzner.com",
    "zalando.de"
  ],
  "maxDomains": 100,
  "crawlPaths": [
    "/",
    "/contact",
    "/impressum",
    "/de/legal/legal-notice",
    "/legal-notice"
  ],
  "maxPagesPerDomain": 3,
  "includeDeepDkimAndBimiAudit": true,
  "includeKybEntityAndVatCrosswalk": true,
  "maxChargedUsd": 5
}
```

#### Recipe 2: MSP Vulnerable DMARC & Email Spoofing Lead Finder (`onlyVulnerableOrHardeningTargets: true`)

Finds domains with weak email authentication (`p=none`, `sp=none`, missing DMARC, soft SPF `~all`, or TLS expiring within `<= 30` days) and filters out generic role-based mailboxes:

```json
{
  "domains": [
    "hetzner.com",
    "sipgate.de",
    "celonis.com"
  ],
  "maxPagesPerDomain": 2,
  "strictDomainMatch": true,
  "excludeRoleBasedEmails": true,
  "includeDeepDkimAndBimiAudit": true,
  "includeKybEntityAndVatCrosswalk": false,
  "onlyVulnerableOrHardeningTargets": true,
  "minSecurityPostureScore": 0,
  "includeIndeterminateRecords": false,
  "maxConcurrency": 8
}
```

#### Recipe 3: German & EU Impressum Legal Entity, HRB & VAT Extractor (`countryHint: "DE"`)

Prioritizes `/impressum` and `/de/legal/legal-notice` paths to unmask statutory corporate names, `HRB`/`HRA` commercial register numbers, courts of registration, and `USt-IdNr.` VAT numbers:

```json
{
  "domains": [
    "hetzner.com",
    "sipgate.de",
    "sap.com",
    "zalando.de"
  ],
  "candidatePaths": [
    "/",
    "/contact",
    "/impressum",
    "/de/legal/legal-notice",
    "/legal-notice"
  ],
  "maxPagesPerDomain": 3,
  "includeDeepDkimAndBimiAudit": false,
  "includeKybEntityAndVatCrosswalk": true,
  "countryHint": "DE",
  "requestTimeoutSecs": 10
}
```

#### Recipe 4: Base Cost-Saver Mode ($1.60 / 1,000 Domains — Contacts + SPF/DMARC/MX + SSL/TLS)

Disables optional add-on events so you pay strictly the **$1.60 / 1,000 domains** base rate (`3,125 domains` on the $5.00 Apify Free Tier credit):

```json
{
  "domains": [
    "stripe.com",
    "shopify.com",
    "cloudflare.com",
    "github.com",
    "vercel.com"
  ],
  "maxDomains": 500,
  "maxPagesPerDomain": 2,
  "includeDeepDkimAndBimiAudit": false,
  "includeKybEntityAndVatCrosswalk": false,
  "requestTimeoutSecs": 8,
  "maxChargedUsd": 5,
  "allowApifyProxy": false
}
```

#### Recipe 5: Stateful Weekly Change-Detection Radar (`onlyChangedDomainsSinceLastRun: true`)

Suppresses domains whose contacts, DNS/DMARC/DKIM/BIMI posture, TLS certificate fingerprint, and KYB signals have not changed since the previous run (`$0.0000` charged on suppressed unchanged domains):

```json
{
  "domains": [
    "stripe.com",
    "hetzner.com",
    "sipgate.de"
  ],
  "customDkimSelectors": [
    "google",
    "default",
    "selector1",
    "selector2",
    "k1",
    "s1",
    "s2",
    "mandrill"
  ],
  "onlyChangedDomainsSinceLastRun": true,
  "minSecurityPostureScore": 50,
  "includeIndeterminateRecords": false,
  "allowApifyProxy": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

***

### Complete Input Parameters Reference (All 20 Properties & Backward-Compatible Aliases)

| # | Parameter | Type | Default | Description |
|---|---|---|---|---|
| 1 | `domains` | `array` | `["stripe.com", "hetzner.com", "zalando.de"]` | List of corporate domains or URLs to enrich (also merges legacy `startUrls` if passed). Automatically normalizes URLs to lowercase root domains and deduplicates batches. |
| 2 | `maxPagesPerDomain` | `integer` | `3` | Maximum HTML pages fetched per domain (`1`–`5`). Billing remains strictly per domain, never per page. |
| 3 | `crawlPaths` | `array` | `["/", "/contact", "/impressum", "/de/legal/legal-notice", "/legal-notice"]` | Ordered list of corporate subpaths inspected per domain (takes strict precedence over `candidatePaths`). |
| 4 | `candidatePaths` | `array` | `["/", "/contact", "/impressum", "/de/legal/legal-notice", "/legal-notice"]` | Backward-compatible alias for `crawlPaths` when `crawlPaths` is omitted. |
| 5 | `includeDeepDkimAndBimiAudit` | `boolean` | `true` | Probes DKIM selectors and `default._bimi.<domain>` (also accepts alias `includeDeepDkimBimiAudit`). Add-on (`+$0.40/1k`) is charged ONLY when `deepDkimBimiVerified === true`. |
| 6 | `customDkimSelectors` | `array` | `[]` | Optional custom DKIM selectors to append to the standard 8-selector DKIM audit (`google`, `default`, `selector1`, `selector2`, `k1`, `s1`, `s2`, `mandrill`). |
| 7 | `includeKybEntityAndVatCrosswalk` | `boolean` | `true` | Unmasks EU Impressum legal entity names, `HRB`/`HRA` numbers, courts, and VAT IDs (also accepts alias `includeKybEntityCrosswalk`). Add-on (`+$0.50/1k`) is charged ONLY when `kybCrosswalkVerified === true`. |
| 8 | `countryHint` | `string` | `"ALL"` | Optional ISO-2 jurisdiction hint (`DE`, `AT`, `CH`, `NL`, `IE`, `US`, `ALL`) to prioritize localized legal disclosure paths. |
| 9 | `strictDomainMatch` | `boolean` | `false` | When `true`, filters public emails to addresses matching the target registrable domain (separating external dispute/regulatory emails). |
| 10 | `excludeRoleBasedEmails` | `boolean` | `false` | When `true`, generic role mailboxes (`info@`, `support@`, `sales@`, `privacy@`, `dpo@`) are excluded from `filteredPublicEmails` while preserving `rawObservedPublicEmails` in KVS state. |
| 11 | `minSecurityPostureScore` | `integer` | `0` | Filter output records to domains scoring at least `N` points (`0`–`100`) on the deterministic Security & KYB Posture rubric (also supports alias `minimumPostureGrade`). |
| 12 | `includeIndeterminateRecords` | `boolean` | `false` | When `minSecurityPostureScore > 0`, records with `overallPostureScore = null` (`riskGrade = "INDETERMINATE"`) are excluded by default unless `includeIndeterminateRecords = true`. |
| 13 | `onlyVulnerableOrHardeningTargets` | `boolean` | `false` | When `true`, emits only domains with `MISSING_DMARC_RECORD`, `MONITORING_ONLY_P_NONE`, `SUBDOMAIN_MONITORING_ONLY_SP_NONE`, soft SPF (`~all`/`?all`/missing), or TLS expiring within `<= 30` days. |
| 14 | `onlyChangedDomainsSinceLastRun` | `boolean` | `false` | Stateful delta mode (also accepts alias `onlyChangedDomains`): compares against `VOXA-DOMAIN-KYB-RADAR-STATE` in Key-Value Store and skips unchanged domains at `$0.00`. |
| 15 | `maxDomains` | `integer` | `100` | Maximum number of unique normalized root domains to process in a single run (`1`–`10000`). |
| 16 | `maxConcurrency` | `integer` | `8` | Maximum number of domains enriched in parallel (`1`–`25`). |
| 17 | `requestTimeoutSecs` | `integer` | `10` | Per-plane timeout in seconds (`3`–`30`) for HTTP HTML, DoH DNS, and TLS port 443 handshakes (also accepts `dohTimeoutMs` / `httpTimeoutMs`). |
| 18 | `maxChargedUsd` | `number` | `5` | Hard spending ceiling in USD (`$0.01`–`$1000`, default `$5.00`). Pre-calculates base + add-on event charges before every `pushData`/`charge` and stops cleanly before exceeding this ceiling. |
| 19 | `allowApifyProxy` | `boolean` | `false` | Zero-Browser direct HTTP/DoH/TLS mode is used by default (`$0.00` proxy cost). Enable only if crawling HTTP pages that rate-limit datacenter IPs. |
| 20 | `proxyConfiguration` | `object` | `{"useApifyProxy": false}` | Optional Apify Proxy configuration when `allowApifyProxy: true`. |

***

### Real Sample Output JSON (`hetzner.com`)

```json
{
  "recordType": "DOMAIN_3PLANE_CONTACT_SECURITY_KYB_RECORD",
  "recordSchemaVersion": "1.0.0",
  "domain": "hetzner.com",
  "queryInput": "hetzner.com",
  "queryDiagnosticStatus": "OK",
  "canonicalUrl": "https://www.hetzner.com/",
  "sourceUrl": "https://www.hetzner.com/",
  "overallDomainStatus": "HEALTHY_ALL_3_PLANES",
  "httpContactAndImpressum": {
    "httpPlaneStatus": "HEALTHY",
    "pagesFetchedCount": 2,
    "contactEmailEpistemicStatus": "OBSERVED_PUBLIC_HTML_STRINGS_UNVERIFIED_ROLE_OR_DELIVERABILITY",
    "observedEmails": [
      "info@hetzner.com",
      "tco@hetzner.com",
      "dsa-authorities@hetzner.com"
    ],
    "observedPhones": [
      "+49 9831 505-0"
    ],
    "socialLinks": {
      "linkedin": "https://www.linkedin.com/company/hetzner-online",
      "x": "https://twitter.com/Hetzner_Online"
    },
    "impressumLegalSignals": {
      "status": "OBSERVED_ON_2XX_HTML",
      "legalEntityNameObserved": "Hetzner Online GmbH",
      "commercialRegisterNumber": "HRB 6089",
      "registerCourt": "Registergericht Ansbach",
      "vatIdCandidate": "DE812871812",
      "provenancePageUrl": "https://www.hetzner.com/de/legal/legal-notice"
    }
  },
  "dohDnsSecurity": {
    "dohStatus": "HEALTHY",
    "spfRecordStatus": "PRESENT_HARD_FAIL_MINUS_ALL",
    "spfStatus": "SPF_STRICT_HARDFAIL_ALL",
    "spfPresent": true,
    "rawSpfRecord": "v=spf1 include:_spf.hetzner.com include:spf.nl2go.com include:spf.brevo.com -all",
    "rawDmarcRecord": "v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc-reports@hetzner.com; ruf=mailto:dmarc-reports@hetzner.com",
    "dmarcDomainPolicyP": "reject",
    "dmarcSubdomainPolicySp": "reject",
    "dmarcPolicyClassification": "ENFORCED_REJECT",
    "mxQueryStatus": "OK_RECORDS_FOUND",
    "mxRecordsCount": 1,
    "mxHosts": [
      "10 mail.hetzner.company."
    ],
    "emailInfrastructureProvider": "Self-Hosted / Custom MX",
    "deepDkimBimiVerified": false,
    "dkimSelectorsObserved": [],
    "bimiPresent": false,
    "rawBimiRecord": null
  },
  "tlsX509Certificate": {
    "tlsStatus": "HEALTHY",
    "certificateReadStatus": "CERT_READ_OK",
    "authorized": true,
    "hostnameVerified": true,
    "subjectCN": "*.hetzner.com",
    "subjectO": "Hetzner Online GmbH",
    "issuerO": "DigiCert Inc",
    "validFrom": "2026-01-19T00:00:00.000Z",
    "validTo": "2027-01-29T23:59:59.000Z",
    "daysRemaining": 81,
    "sanCount": 2,
    "fingerprint256": "D7:9F:67:B0:E2:4A:A8:55:B5:DF:8D:43:E8:31:5D:39:F1:E2:BA:C1:8E:51:43:39:01:4E:5B:F9:D3:32:77:09"
  },
  "kybCrosswalkDossier": {
    "kybCrosswalkVerified": true,
    "entityCrosswalkStatus": "VERIFIED_IMPRESSUM_AND_VAT_CANDIDATE",
    "resolvedLegalEntityName": "Hetzner Online GmbH",
    "legalEntityName": "Hetzner Online GmbH",
    "commercialRegisterNumber": "HRB 6089",
    "registerCourt": "Registergericht Ansbach",
    "vatIdCandidate": "DE812871812",
    "vatIdFormatValid": true,
    "viesChainedLookupInput": {
      "countryCode": "DE",
      "vatNumber": "812871812",
      "fullVatId": "DE812871812",
      "targetActorSlug": "eu-vat-vies-company-verifier"
    },
    "nis2AndKybPreScreeningDisclaimer": "PRELIMINARY_PUBLIC_DNS_TLS_IMPRESSUM_SIGNAL_NOT_LEGAL_OR_STATUTORY_NIS2_CERTIFICATION"
  },
  "securityAndKybPosture": {
    "scoreVersion": "1.0.0",
    "overallPostureScore": 100,
    "riskGrade": "A_STRONG_POSTURE",
    "spoofingVulnerabilityTier": "LOW_RISK_ENFORCED",
    "componentScores": {
      "spfPoints": 25,
      "dmarcPoints": 35,
      "mxPoints": 15,
      "tlsPoints": 25
    },
    "evaluatedComponents": [
      "SPF",
      "DMARC",
      "MX",
      "TLS"
    ],
    "unverifiedComponents": [],
    "scoreCoverageRatio": 1,
    "b2bSalesPitchHook": "Hetzner Online GmbH (hetzner.com) maintains a 100/100 (A_STRONG_POSTURE) security posture with DMARC p=reject on Self-Hosted / Custom MX and verified EU VAT DE812871812.",
    "recommendedNextActors": [
      "eu-vat-vies-company-verifier",
      "shopify-b2b-tech-stack-detector"
    ]
  },
  "incrementalDiffRadar": {
    "scopeKey": "STATE-DELTA-4aa9a4d21279-v1",
    "deltaClassification": "BASELINE_INITIALIZED",
    "deltaStatus": "NEW_DOMAIN",
    "contactDiffStatus": "INITIAL_BASELINE",
    "dmarcPolicyChanged": false,
    "tlsFingerprintChanged": false,
    "addedEmails": [
      "info@hetzner.com",
      "tco@hetzner.com",
      "dsa-authorities@hetzner.com"
    ],
    "removedEmails": [],
    "rawObservedPublicEmails": [
      "info@hetzner.com",
      "tco@hetzner.com",
      "dsa-authorities@hetzner.com"
    ],
    "filteredPublicEmails": [
      "info@hetzner.com",
      "tco@hetzner.com",
      "dsa-authorities@hetzner.com"
    ],
    "changedFields": []
  },
  "billingProvenance": {
    "baseCharged": true,
    "deepDkimBimiCharged": false,
    "kybCrosswalkCharged": true,
    "totalRecordChargeUsd": 0.0021,
    "baseEventCharged": true,
    "deepDkimBimiEventCharged": false,
    "kybCrosswalkEventCharged": true,
    "eventsCharged": [
      "domain-contact-kyb-enriched",
      "kyb-entity-vat-crosswalk-signal"
    ],
    "estimatedRecordChargeUsd": 0.0021
  },
  "scrapedAt": "2026-11-09T19:00:00.000Z"
}
```

***

### Transparent Pay-Per-Event (PPE) Pricing & Real Cost Examples

You pay **strictly per enriched domain** (`$0.00` Start Fee, `$0.00` charged on `NXDOMAIN`, SSRF-rejected, or suppressed unchanged domains):

| # | PPE Event Name | Unit Price | Price per 1,000 Domains | When Is It Charged? |
|---|---|---|---|---|
| 1 | `domain-contact-kyb-enriched` *(Base)* | **$0.0016** | **$1.60 / 1k** | Charged once per deduplicated domain pushed to the dataset (`Contacts + SPF/DMARC/MX + SSL/TLS + 0–100 Score`). |
| 2 | `deep-dkim-bimi-posture-audit` *(Optional Add-on)* | **+$0.0004** | **+$0.40 / 1k** | Charged **ONLY** when `includeDeepDkimBimiAudit: true` **AND** at least 1 DKIM public key or BIMI record is verified (`$2.00 / 1k` combined with base). |
| 3 | `kyb-entity-vat-crosswalk-signal` *(Optional Add-on)* | **+$0.0005** | **+$0.50 / 1k** | Charged **ONLY** when `includeKybEntityCrosswalk: true` **AND** at least 1 legal entity name, `HRB`/`HRA` number, or VAT ID is extracted (`$2.10 / 1k` with base, or **$2.50 / 1k** full stack). |

#### How Far Does Your $5.00 Apify Free Tier Credit Go?

- **Base Contact + SPF/DMARC/MX + SSL/TLS Mode (`$1.60 / 1k`):** **3,125 enriched domains** for $5.00.
- **Base + Deep DKIM/BIMI Mode (`$2.00 / 1k`):** **2,500 enriched domains** for $5.00.
- **Base + EU Impressum KYB Crosswalk Mode (`$2.10 / 1k`):** **2,380 enriched domains** for $5.00.
- **Full-Stack All-3-Events Verified Mode (`$2.50 / 1k`):** **2,000 enriched domains** for $5.00.

***

### Chained B2B Workflow & AI Agent Integration

Every domain enriched with a valid EU VAT candidate (`kybEntitySignal.viesCrosswalkPayload`) can be piped directly into our companion tools:

1. **`shopify-b2b-tech-stack-detector`** $\rightarrow$ Discover high-spend e-commerce & B2B domains.
2. **`b2b-domain-contact-security-kyb-enricher`** *(This Tool)* $\rightarrow$ Extract corporate contacts, audit DMARC/SPF/TLS security posture, and unmask EU Impressum legal entity & `vatIdCandidate`.
3. **`eu-vat-vies-company-verifier`** $\rightarrow$ Pass `viesCrosswalkPayload.fullVatId` (`DE812871812`) to obtain an official EU VIES consultation number and GLEIF ISO-17442 LEI parent/ultimate-parent tree.
4. **`b2b-saas-pricing-tracker`** & **`google-ads-transparency-scraper`** / **`meta-ad-library-longevity-spy-scraper`** / **`tiktok-creative-center-scraper`** $\rightarrow$ Benchmark the target domain's SaaS pricing tiers and active paid ad longevity.

***

### 24/7 Automated Canary SLA, Epistemic Boundaries & FAQ

#### Honest Epistemic Boundaries

- **Public HTML Contact Observation vs. SMTP Mailbox Probing:** `contactProfile.emails` reports public email strings extracted from HTTP `2xx` pages (`OBSERVED_PUBLIC_HTML_STRINGS_UNVERIFIED_ROLE_OR_DELIVERABILITY`). It does not execute intrusive SMTP `RCPT TO` handshakes.
- **Preliminary Security & KYB Pre-Screening:** `securityPostureScore` (`0–100`) and `kybEntitySignal` provide automated technical pre-screening from live public DNS, TLS X.509, and Impressum disclosures (`PRELIMINARY_PUBLIC_DNS_TLS_IMPRESSUM_SIGNAL_NOT_LEGAL_OR_STATUTORY_NIS2_CERTIFICATION`). When any core security query (`SPF`, `DMARC`, `MX`, or `TLS`) fails or times out upstream, `overallPostureScore` is honestly set to `null` (`riskGrade: "INDETERMINATE"`) with an exact `scoreCoverageRatio` (`0.00–0.75`) — never interpolated or guessed.

#### Frequently Asked Questions (FAQ)

1. **Am I charged per page if `maxPagesPerDomain` is set to 3 or 5?**
   No. Unlike per-page scrapers, you are billed strictly **once per deduplicated root domain** (`$0.0016` base), regardless of whether 1, 3, or 5 subpaths are inspected.
2. **What happens if a website blocks HTTP requests with a 403/429 challenge page?**
   Our 3-plane isolation engine automatically detects bot challenge pages, blocks false-positive HTML entity extraction on non-`2xx` responses, and still completes the DNS (`SPF`/`DMARC`/`DKIM`/`BIMI`/`MX`) and SSL/TLS X.509 planes normally.
3. **Am I charged for the DKIM/BIMI (`+$0.40/1k`) or KYB (`+$0.50/1k`) add-on if no signal is found?**
   Never. Both add-ons are strictly value-gated: if a domain has no verified DKIM/BIMI records or no extractable legal entity/HRB/VAT signal, the add-on charge is `$0.0000`.

# Actor input Schema

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

List of B2B company domains or URLs (e.g., \["stripe.com", "hetzner.com", "zalando.de"]). Automatically normalized to canonical lowercase registrable domains and deduplicated prior to billing.

## `maxPagesPerDomain` (type: `integer`):

Maximum number of public HTML routes (e.g., /, /contact, /impressum, /legal-notice, /about) to inspect per domain for emails, social profiles, and Impressum legal signals. Billing remains strictly per-domain (never per-page).

## `crawlPaths` (type: `array`):

Ordered list of relative paths to probe on each domain up to maxPagesPerDomain (default: \["/", "/contact", "/impressum", "/de/legal/legal-notice", "/legal-notice"]). Also accepts alias candidatePaths.

## `candidatePaths` (type: `array`):

Backward-compatible alias for crawlPaths. Ordered list of relative paths to probe on each domain up to maxPagesPerDomain.

## `includeDeepDkimAndBimiAudit` (type: `boolean`):

When enabled, probes common enterprise DKIM selectors (google, default, selector1, selector2, k1, s1, s2, mandrill + customDkimSelectors) and default.\_bimi.<domain> via RFC 8484 DoH. Adds +$0.0004/domain (+$0.40/1k) ONLY when deepDkimBimiVerified === true.

## `customDkimSelectors` (type: `array`):

Optional custom DKIM selector prefixes (e.g., \["mail", "zendesk", "sendgrid"]) to append to the standard 8-selector DKIM audit when includeDeepDkimAndBimiAudit=true.

## `includeKybEntityAndVatCrosswalk` (type: `boolean`):

When enabled, extracts structured German/EU Impressum (§ 5 DDG/TMG) legal entity names, commercial register numbers (HRB/HRA + Court), and USt-IdNr. VAT candidates, cross-checking against TLS X.509 Subject Organization. Adds +$0.0005/domain (+$0.50/1k) ONLY when kybCrosswalkVerified === true.

## `countryHint` (type: `string`):

Optional ISO-2 jurisdiction hint (e.g., "DE", "AT", "NL", "IE", "US", "ALL") to prioritize localized legal disclosure paths (/impressum vs /legal-notice).

## `strictDomainMatch` (type: `boolean`):

When true, filters observedEmails to addresses matching the target registrable domain (or its known official brand aliases), separating third-party dispute/regulatory emails.

## `excludeRoleBasedEmails` (type: `boolean`):

When true, filters generic role-based mailboxes (info@, support@, sales@, admin@, office@, contact@, security@, dpo@) out of filteredPublicEmails while preserving rawObservedPublicEmails in KVS state so incremental contact diffs never conflate filter changes with website removals.

## `minSecurityPostureScore` (type: `integer`):

Filter output records to domains scoring at least N points (0-100) on the deterministic Security & KYB Posture rubric.

## `includeIndeterminateRecords` (type: `boolean`):

When minSecurityPostureScore > 0, records with overallPostureScore = null (riskGrade = INDETERMINATE due to upstream DoH/TLS query failure) are excluded by default unless includeIndeterminateRecords = true.

## `onlyVulnerableOrHardeningTargets` (type: `boolean`):

When true, emits only domains with MISSING_DMARC_RECORD, MONITORING_ONLY_P_NONE, SUBDOMAIN_MONITORING_ONLY_SP_NONE, soft SPF (~all/?all/missing), or TLS certificates expiring within <= 30 days.

## `onlyChangedDomainsSinceLastRun` (type: `boolean`):

Compares current 3-plane posture and contacts against scopeKey-isolated KVS state (VOXA-DOMAIN-KYB-RADAR-STATE) and emits only domains with changed DMARC/SPF policy, rotated TLS certs, or newly discovered contacts.

## `maxDomains` (type: `integer`):

Maximum number of unique normalized domains to enrich in a single run.

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

Maximum number of domains enriched concurrently via non-blocking HTTP, DoH, and TLS sockets.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds (3-30s) for HTTP HTML pages, RFC 8484 DoH queries, and TLS port 443 handshakes.

## `maxChargedUsd` (type: `number`):

Hard spending guardrail in USD (minimum $0.01, default $5.00). Pre-calculates base + add-on event charges before every pushData/charge and stops cleanly before exceeding this ceiling.

## `allowApifyProxy` (type: `boolean`):

Zero-Browser direct HTTP/DoH/TLS mode is used by default ($0.00 proxy cost). Enable only if crawling HTTP pages that rate-limit datacenter IPs.

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

Optional Apify Proxy settings when allowApifyProxy=true (never used on the free web funnel).

## Actor input object example

```json
{
  "domains": [
    "stripe.com",
    "hetzner.com",
    "zalando.de"
  ],
  "maxPagesPerDomain": 3,
  "crawlPaths": [
    "/",
    "/contact",
    "/impressum",
    "/de/legal/legal-notice",
    "/legal-notice"
  ],
  "candidatePaths": [
    "/",
    "/contact",
    "/impressum",
    "/de/legal/legal-notice",
    "/legal-notice"
  ],
  "includeDeepDkimAndBimiAudit": true,
  "customDkimSelectors": [],
  "includeKybEntityAndVatCrosswalk": true,
  "countryHint": "ALL",
  "strictDomainMatch": false,
  "excludeRoleBasedEmails": false,
  "minSecurityPostureScore": 0,
  "includeIndeterminateRecords": false,
  "onlyVulnerableOrHardeningTargets": false,
  "onlyChangedDomainsSinceLastRun": false,
  "maxDomains": 100,
  "maxConcurrency": 8,
  "requestTimeoutSecs": 10,
  "maxChargedUsd": 5,
  "allowApifyProxy": false
}
```

# Actor output Schema

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

Default dataset containing enriched corporate contacts, SPF/DMARC/DKIM/BIMI posture scores, SSL/TLS certificate diagnostics, and EU Impressum KYB entity identifiers.

## `summaryReport` (type: `string`):

Aggregated run telemetry, security posture distribution, state-delta radar statistics, and upstream health diagnostics.

# 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",
        "hetzner.com",
        "zalando.de"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("voxatools/b2b-domain-contact-security-kyb-enricher").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",
        "hetzner.com",
        "zalando.de",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("voxatools/b2b-domain-contact-security-kyb-enricher").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",
    "hetzner.com",
    "zalando.de"
  ]
}' |
apify call voxatools/b2b-domain-contact-security-kyb-enricher --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,voxatools/b2b-domain-contact-security-kyb-enricher"
        }
    }
}
```

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/7SPAi98rRpf37RUCV/builds/zZvE7rxGxRKwa5aW9/openapi.json
