# Domain Trust, Deliverability & B2B Infrastructure Profiler (`sviat-boilo-tools/domain-trust-profiler`) Actor

Fast zero-browser B2B domain profiler using DNS-over-HTTPS (MX, SPF, DMARC, NS, SaaS TXT signals), IANA RDAP domain age & registrar, and optional crt.sh subdomains. Built for Clay, n8n, cold outreach, MSPs, and AI agents (MCP).

- **URL**: https://apify.com/sviat-boilo-tools/domain-trust-profiler.md
- **Developed by:** [Sviat Boilo](https://apify.com/sviat-boilo-tools) (community)
- **Categories:** Lead generation, Developer tools, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 domains profiled

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/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 Trust, Deliverability & B2B Infrastructure Profiler

Fast, zero-browser domain intelligence Actor that audits **email deliverability**, **DMARC/SPF security posture**, **DNS & mail providers**, **RDAP domain age & registrar**, and **verified B2B SaaS DNS signals** at scale over pure HTTP. Designed for **Clay**, **n8n**, **Make**, cold outreach agencies, cybersecurity MSPs, and autonomous **AI agents (MCP)**.

![Domain Trust Profiler Output Table Preview](https://api.apify.com/v2/key-value-stores/u2Vj4IdgFvaYvqxpV/records/domain-trust-profiler-preview.png)

### What It Extracts Per Domain

- **Email & Deliverability Posture:** `MX` records, classified mail provider (Google Workspace, Microsoft 365, Proofpoint, Mimecast, Zoho, Proton, Amazon SES, etc.), dedicated Email Security Gateway detection, `SPF` policy (`hardfail`, `softfail`, `neutral`, `pass_all`, `none`), and `DMARC` policy (`reject`, `quarantine`, `none`, `missing`) with reporting (`rua=`) detection.
- **Deterministic Trust Score & Risk:** `trustScore` (`0–100`), `deliverabilityRisk` (`low`, `medium`, `high`), and an actionable `securityGaps` array (e.g., `missing_dmarc`, `dmarc_monitoring_only`, `young_domain_under_90d`).
- **Domain Age & Ownership Metadata (RDAP):** Queries official IANA RDAP registries (zero scraping, no legacy WHOIS rate-limit errors) for `registeredAt`, `expiresAt`, `domainAgeDays`, and `registrar`.
- **B2B SaaS Tech Signals:** Detects verified SaaS tools directly from public DNS TXT verification records and SPF `include:` entries (HubSpot, Salesforce, Stripe, Atlassian, Slack, Notion, DocuSign, Zendesk, Klaviyo, SendGrid, Postmark, OpenAI, and more).
- **DNS Provider & Optional CT Subdomains:** Identifies DNS hosting (Cloudflare, AWS Route 53, Azure DNS, Google Cloud DNS, GoDaddy, Namecheap) and optionally discovers subdomains via public `crt.sh` Certificate Transparency logs.

### Popular Use Cases

1. **Cold Email Deliverability Filtering (Clay / n8n / Instantly):** Check domain age (>90 days), valid MX, and SPF/DMARC health before launching outreach sequences, or segment prospects by Google Workspace vs. Microsoft 365.
2. **Cybersecurity & MSP Prospecting:** Find high-value companies that have `missing_dmarc` or `dmarc_monitoring_only` (`p=none`) without an Email Security Gateway.
3. **KYB & Fraud Triage:** Flag newly registered domains (`young_domain_under_90d`) or domains lacking basic email infrastructure during onboarding.
4. **AI Agents via Apify MCP:** Zero-config flat JSON input and sub-second DoH + RDAP execution make this Actor ideal as an MCP tool call.

### Input Parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `domains` | `string[]` | `["apify.com", "stripe.com", "example.com"]` | Domains, URLs, or email addresses. Normalized & deduplicated automatically. |
| `includeRdap` | `boolean` | `true` | Fetch registration date, expiration date, age in days, and registrar via IANA RDAP. |
| `includeSubdomains` | `boolean` | `false` | Optional `crt.sh` Certificate Transparency subdomain lookup (slower on huge domains). |
| `maxConcurrency` | `integer` | `10` | Parallel domains processed (`1`–`25`). |
| `requestTimeoutSecs` | `integer` | `8` | Timeout per upstream request in seconds (`3`–`25`). |
| `maxDomains` | `integer` | `1000` | Maximum unique domains processed per run (`1`–`50000`). |

### Output Example

```json
{
  "input": "apify.com",
  "domain": "apify.com",
  "status": "ok",
  "billable": true,
  "trustScore": 85,
  "deliverabilityRisk": "low",
  "mailProvider": "Google Workspace",
  "hasEmailSecurityGateway": false,
  "hasMx": true,
  "hasSpf": true,
  "spfPolicy": "softfail",
  "hasDmarc": true,
  "dmarcPolicy": "reject",
  "hasDmarcReporting": true,
  "dnsProvider": "Cloudflare",
  "domainAgeDays": 6385,
  "registeredAt": "2009-06-02T17:14:10.000Z",
  "expiresAt": "2035-06-02T17:14:10.000Z",
  "registrar": "Cloudflare, Inc.",
  "saasSignals": ["Atlassian", "Google Workspace", "HubSpot", "Stripe"],
  "securityGaps": [],
  "rdapStatus": "ok",
  "subdomainsStatus": "skipped",
  "subdomainsCount": 0,
  "error": null,
  "checkedAt": "2026-11-25T15:30:00.000Z"
}
```

### Pay-Per-Event Pricing

| Event | Price (USD) | Charged When |
|---|---|---|
| `domain-profiled` | `$0.002` | Domain profiled with `status: "ok"` or `status: "not_found"` |

- **100 domains:** `~$0.20`
- **1,000 domains:** `~$2.00`
- **10,000 domains:** `~$20.00`
- **Never charged:** Malformed inputs (`invalid_input`) and upstream timeouts (`service_unavailable`) are never billed.

### Legal & GDPR Notice

This Actor queries exclusively public technical infrastructure protocols — RFC DNS-over-HTTPS (Cloudflare / Google Public DNS), official IANA RDAP domain endpoints, and optional public Certificate Transparency logs (`crt.sh`). It does not scrape private websites or collect personal contact data of natural persons.

### Ready-to-Import n8n Template, MCP & Clay Integration

- **Open-source n8n Data Table Template (JSON):** [06-domain-trust-profiler.json](https://github.com/sviatBoilo/apify-b2b-n8n-mcp-templates/blob/main/templates/06-domain-trust-profiler.json)
- **Full 9-Template Showcase & Setup Guide:** [sviatBoilo/apify-b2b-n8n-mcp-templates](https://github.com/sviatBoilo/apify-b2b-n8n-mcp-templates)
- **Apify MCP Endpoint (Claude / Cursor / Windsurf):** `https://mcp.apify.com/?actors=sviat-boilo-tools/domain-trust-profiler`
- **Clay / n8n Sync API:** `POST https://api.apify.com/v2/acts/Sviat-boilo-tools~domain-trust-profiler/run-sync-get-dataset-items`

### Complete B2B & Automation Suite by Sviat Boilo Tools

| Actor | Best For | Pricing |
| :--- | :--- | :--- |
| **[AI-Readiness (llms.txt), AI-Bot Access & Schema.org GEO Auditor](https://apify.com/sviat-boilo-tools/ai-readiness-auditor)** | Auditing `/llms.txt`, `GPTBot`/`ClaudeBot` rules & Schema.org GEO signals | `$3.00 / 1,000 websites` |
| **[EU KYB & Compliance Screener (VIES VAT, GLEIF LEI & Sanctions)](https://apify.com/sviat-boilo-tools/eu-kyb-compliance-screener)** | Automated EU VIES VAT, GLEIF LEI & OFAC/UN sanctions checks | `$5.00 / 1,000 entities` |
| **[SEC EDGAR Newly Funded Startups (Form D) & Hiring Signals](https://apify.com/sviat-boilo-tools/sec-funded-startups)** | Fresh SEC Form D venture rounds + Greenhouse/Lever/Ashby ATS detection | `$15.00 / 1,000 startups` |
| **[Shopify Store Analyzer, App Stack & Marketing Gap Profiler](https://apify.com/sviat-boilo-tools/shopify-store-gap-profiler)** | Shopify verification, app stack & DTC marketing outreach hooks | `$5.00 / 1,000 stores` |
| **[Remote Tech Jobs Feed (Himalayas, RemoteOK, Remotive & More)](https://apify.com/sviat-boilo-tools/remote-tech-jobs-feed)** | Aggregated & deduplicated remote tech jobs across 5 official JSON APIs | `$2.00 / 1,000 jobs` |
| **[Public Tenders Monitor (EU TED, UK Find a Tender & Prozorro)](https://apify.com/sviat-boilo-tools/public-tenders-monitor)** | Daily EU, UK & Ukraine government tender alerts via official APIs | `$5.00 / 1,000 tenders` |
| **[Package Release, Breaking Changes & CVE Security Radar (MCP)](https://apify.com/sviat-boilo-tools/package-release-cve-radar)** | Auditing npm, PyPI, Crates.io & Go dependencies + live OSV.dev CVEs | `$2.00 / 1,000 packages` |
| **[EU New Company Registrations Feed (Norway, Finland & GLEIF)](https://apify.com/sviat-boilo-tools/eu-new-companies-feed)** | Daily newly incorporated European companies from 3 official registries | `$4.00 / 1,000 companies` |

# Actor input Schema

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

List of domains, URLs, or business email addresses to profile (e.g., apify.com, https://stripe.com, sales@example.com). Duplicates are automatically removed.

## `includeRdap` (type: `boolean`):

Query IANA RDAP registries to retrieve registration date, expiration date, domain age in days, and registrar name.

## `includeSubdomains` (type: `boolean`):

Query public Certificate Transparency logs via crt.sh for discovered subdomains. Note: crt.sh can be slower on large domains.

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

Maximum number of domains profiled concurrently.

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

Timeout per upstream DNS, RDAP, or crt.sh request in seconds.

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

Safety cap on the maximum number of unique domains processed per run.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "stripe.com",
    "example.com"
  ],
  "includeRdap": true,
  "includeSubdomains": false,
  "maxConcurrency": 10,
  "requestTimeoutSecs": 8,
  "maxDomains": 1000
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (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": [
        "apify.com",
        "stripe.com",
        "example.com"
    ],
    "includeRdap": true,
    "includeSubdomains": false,
    "maxConcurrency": 10,
    "requestTimeoutSecs": 8,
    "maxDomains": 1000
};

// Run the Actor and wait for it to finish
const run = await client.actor("sviat-boilo-tools/domain-trust-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": [
        "apify.com",
        "stripe.com",
        "example.com",
    ],
    "includeRdap": True,
    "includeSubdomains": False,
    "maxConcurrency": 10,
    "requestTimeoutSecs": 8,
    "maxDomains": 1000,
}

# Run the Actor and wait for it to finish
run = client.actor("sviat-boilo-tools/domain-trust-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": [
    "apify.com",
    "stripe.com",
    "example.com"
  ],
  "includeRdap": true,
  "includeSubdomains": false,
  "maxConcurrency": 10,
  "requestTimeoutSecs": 8,
  "maxDomains": 1000
}' |
apify call sviat-boilo-tools/domain-trust-profiler --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sviat-boilo-tools/domain-trust-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/Bx4bmR1Uq5VtucNKj/builds/UQgOq1dt6u7D3BNdq/openapi.json
