# Domain DNS, WHOIS, SSL & Tech Stack Scraper | 2Space (`2space/tech-stack-dns-whois-mcp`) Actor

Fast bulk domain DNS, WHOIS/RDAP, and SSL scraper. Scrapes MX, SPF, DMARC, 20+ SaaS TXT verification records, SSL expiry, domain age, registrar, and HTTP security headers at scale.

- **URL**: https://apify.com/2space/tech-stack-dns-whois-mcp.md
- **Developed by:** [2Space Group](https://apify.com/2space) (community)
- **Categories:** Developer tools, Lead generation, 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 $1.00 / 1,000 domains dns & infra audited

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

> **Built by 2Space Group** — Fast, lightweight AI & B2B data Actors on Apify. Zero browser bloat, predictable Pay-Per-Event pricing, and 1-step MCP support for ChatGPT, Claude Code, Cursor, Antigravity & n8n.

### What does Tech Stack, DNS, SSL & WHOIS/RDAP Auditor do?

**Tech Stack, DNS, SSL & WHOIS/RDAP Auditor** (`reminiscent_medaka/tech-stack-dns-whois-mcp`) is a fast, zero-LLM-cost **DNS lookup scraper**, **WHOIS & RDAP domain age API**, **SSL checker**, and **SPF DMARC email deliverability auditor**. Built on pure Node.js protocol modules (`node:dns/promises`, `node:tls`, native `fetch`, and public [RDAP](https://rdap.org/)), it inspects MX, SPF, DMARC, NS, CAA, and A records, identifies 25+ SaaS DNS TXT verification tokens, validates live TLS certificates, fetches domain registrar and registration age, checks HTTP security headers, and computes a deterministic **0–100 security & deliverability score**.

***

### Features

- **Pure Protocol Speed (Zero Headless Browsers)**: Audits dozens of domains per second using native DNS, TLS socket handshakes, HTTP `HEAD`/`GET`, and RDAP JSON endpoints—no Playwright or LLM keys required.
- **Email Deliverability & Provider Detection**: Classifies mail infrastructure (`Google Workspace`, `Microsoft 365`, `Proton Mail`, `Proofpoint`, `Mimecast`, `Custom/None`) and audits SPF (`v=spf1`), `_dmarc` policies (`reject`, `quarantine`, `none`, `missing`), and CAA records.
- **SaaS Stack Discovery via DNS TXT Tokens**: Detects 25+ verified SaaS platforms including Google, HubSpot, Atlassian, Stripe, OpenAI, DocuSign, Cloudflare, Slack, Notion, Figma, and 1Password.
- **Live SSL/TLS & RDAP WHOIS Age**: Extracts certificate issuer, expiration date, `sslDaysRemaining`, `sslAuthorized`, registrar name, `registrationDate`, `expirationDate`, and `domainAgeDays`.
- **Deterministic 0–100 Security Score & Grade**: Combines SPF (+20), DMARC (up to +25), CAA (+10), valid TLS (+15), HSTS (+15), CSP (+10), and `X-Frame-Options` (+5) into an `A`–`F` grade.
- **No Data, No Charge Guardrail**: Unresolvable or completely failed domains are skipped without charge, and `maxItems` + `maxCostUsd` enforce strict budget limits.

***

### What data can this Actor extract?

| Field | Type | Description |
| --- | --- | --- |
| `domain` | `string` | Normalized domain name |
| `apexDomain` | `string` | Registrable apex domain used for RDAP & zone lookups |
| `emailProvider` | `string` | Detected email provider (`Google Workspace`, `Microsoft 365`, etc.) |
| `hasSpf` / `spfRecord` | `boolean \| string` | SPF (`v=spf1`) presence and raw TXT record |
| `dmarcPolicy` / `dmarcRecord` | `string` | DMARC policy (`reject`, `quarantine`, `none`, `missing`) and raw record |
| `mxRecords`, `nsRecords`, `aRecords`, `caaRecords` | `string` | Comma-separated DNS zone records |
| `verifiedSaasTokens` / `verifiedSaasCount` | `string \| integer` | Detected SaaS verification platforms and count |
| `sslIssuer`, `sslValidTo`, `sslDaysRemaining`, `sslAuthorized` | `string \| integer \| boolean` | Live port-443 TLS certificate metadata |
| `registrar`, `registrationDate`, `expirationDate`, `domainAgeDays` | `string \| integer` | Public RDAP registration and domain age metrics |
| `httpStatus`, `serverHeader`, `hasHsts`, `hasCsp`, `hasXFrameOptions` | `integer \| string \| boolean` | HTTPS response and security header flags |
| `securityScore` / `securityGrade` | `integer \| string` | Deterministic `0–100` score and `A`–`F` letter grade |

***

### How much does it cost?

This Actor uses transparent **Pay-Per-Event (PPE)** monetization with **No Data, No Charge** protection:

- **`domain-dns-audited`**: Charged once (`count: 1`) per validated domain record pushed to the dataset.
- **`deliverability-security-grade`**: Optional add-on event charged once (`count: 1`) per domain when `includeSecurityGrade` is `true`.

Invalid or unresolvable domains produce zero records and cost **$0.00**.

***

### Input & Output Examples

#### Input Example

```json
{
  "domains": ["apify.com", "stripe.com"],
  "includeRdap": true,
  "includeSsl": true,
  "includeSecurityGrade": true,
  "maxConcurrency": 10,
  "maxItems": 100,
  "maxCostUsd": 2.0
}
```

#### Output Example

You can download the dataset in various formats such as **JSON, HTML, CSV, or Excel**. Every field sits flat at the root level for immediate spreadsheet, CRM, and SQL ingestion:

```json
{
  "domain": "stripe.com",
  "apexDomain": "stripe.com",
  "emailProvider": "Google Workspace",
  "hasSpf": true,
  "spfRecord": "v=spf1 include:_spf.google.com ~all",
  "dmarcPolicy": "reject",
  "dmarcRecord": "v=DMARC1; p=reject; rua=mailto:dmarc@stripe.com",
  "mxRecords": "aspmx.l.google.com, alt1.aspmx.l.google.com",
  "nsRecords": "ns-111.awsdns-13.com, ns-888.awsdns-47.net",
  "aRecords": "192.0.2.10",
  "caaRecords": "0 issue \"digicert.com\"",
  "verifiedSaasTokens": "Google, DocuSign, Atlassian, OpenAI",
  "verifiedSaasCount": 4,
  "sslIssuer": "DigiCert Inc",
  "sslValidTo": "2027-03-15T23:59:59.000Z",
  "sslDaysRemaining": 106,
  "sslAuthorized": true,
  "registrar": "MarkMonitor Inc.",
  "registrationDate": "1995-09-12T04:00:00.000Z",
  "expirationDate": "2028-09-11T04:00:00.000Z",
  "domainAgeDays": 11401,
  "httpStatus": 200,
  "serverHeader": "nginx",
  "hasHsts": true,
  "hasCsp": true,
  "hasXFrameOptions": true,
  "securityScore": 100,
  "securityGrade": "A",
  "auditedAt": "2026-11-30T07:00:00.000Z"
}
```

***

### Connect Permanently to Your AI Agent (1 Step)

#### ChatGPT

Open **ChatGPT -> Settings -> Apps & Connectors -> Create -> Apify MCP OAuth**, authorize Apify, and enable `reminiscent_medaka/tech-stack-dns-whois-mcp` (`https://mcp.apify.com?tools=reminiscent_medaka/tech-stack-dns-whois-mcp`).

#### Claude Code

```bash
claude mcp add 2space "https://mcp.apify.com?tools=reminiscent_medaka/tech-stack-dns-whois-mcp" -t http
```

#### Cursor / Antigravity

Add to `.cursor/mcp.json` or Antigravity MCP settings:

```json
{
  "mcpServers": {
    "2space": {
      "url": "https://mcp.apify.com?tools=reminiscent_medaka/tech-stack-dns-whois-mcp",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_TOKEN"
      }
    }
  }
}
```

#### n8n, Make & Zapier

- **n8n**: Import [`n8n/domain-security-dns-audit.json`](./n8n/domain-security-dns-audit.json) or call the **Apify** node to trigger Slack alerts when SSL expires within 30 days or `securityScore < 75`.
- **Make**: Connect **Apify -> Run an Actor** (`reminiscent_medaka/tech-stack-dns-whois-mcp`) and map fields into HubSpot, Airtable, or Google Sheets.
- **Zapier**: Trigger **Apify -> Run Actor** on new CRM domains to enrich email provider, SaaS stack, and domain age automatically.

***

### Troubleshooting & Support

- **Why is `registrar` or `registrationDate` null for certain ccTLDs?** Some country-code registries do not publish full RDAP records via `rdap.org`. DNS, SSL, and security header checks still complete normally.
- **Need another SaaS TXT signature or found a bug?** Please open an **Issue** in the **Issues** tab on Apify Store! Check the **API** tab for REST, JS, and Python integration snippets.
- **Ethical Data Notice**: This Actor queries strictly public DNS zones, public TLS handshakes, HTTP headers, and public RDAP endpoints. Always comply with GDPR and applicable data regulations when processing domain metadata.

***

### More Tools by 2Space Group

Explore all fast, lightweight AI & B2B data Actors at **[2Space Group on Apify](https://apify.com/reminiscent_medaka)**:

- [B2B Domain Enricher](https://apify.com/reminiscent_medaka/b2b-domain-enricher) (`b2b-domain-enricher`)
- [SaaS Pricing Extractor](https://apify.com/reminiscent_medaka/saas-pricing-extractor) (`saas-pricing-extractor`)
- [ATS Career & Jobs API](https://apify.com/reminiscent_medaka/ats-career-jobs-api) (`ats-career-jobs-api`)
- [Shopify Store Intel](https://apify.com/reminiscent_medaka/shopify-store-intel) (`shopify-store-intel`)
- [SEC EDGAR Intelligence](https://apify.com/reminiscent_medaka/sec-edgar-intelligence) (`sec-edgar-intelligence`)
- [Gov Grants & Contracts Radar](https://apify.com/reminiscent_medaka/gov-grants-contracts-radar) (`gov-grants-contracts-radar`)
- [Sitemap & llms.txt Precision AI Docs Crawler](https://apify.com/reminiscent_medaka/llms-sitemap-rag-mcp) (`llms-sitemap-rag-mcp`)
- [Tech Stack, DNS, SSL & WHOIS/RDAP Auditor](https://apify.com/reminiscent_medaka/tech-stack-dns-whois-mcp) (`tech-stack-dns-whois-mcp`)
- [GitHub Repo & Maintainer B2B Signals](https://apify.com/reminiscent_medaka/github-repo-b2b-signals) (`github-repo-b2b-signals`)
- [JSON-LD & AI SEO (GEO) Auditor](https://apify.com/reminiscent_medaka/jsonld-ai-seo-auditor) (`jsonld-ai-seo-auditor`)
- [YouTube Transcript & Metadata MCP](https://apify.com/reminiscent_medaka/youtube-transcript-metadata-mcp) (`youtube-transcript-metadata-mcp`)
- [Google News Article Scraper MCP](https://apify.com/reminiscent_medaka/google-news-article-scraper-mcp) (`google-news-article-scraper-mcp`)
- [Universal Web Extractor MCP](https://apify.com/reminiscent_medaka/universal-web-extractor-mcp) (`universal-web-extractor-mcp`)

# Actor input Schema

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

List of domain names or URLs to audit (e.g. apify.com, stripe.com). URLs are automatically normalized to hostnames.

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

Query rdap.org for domain registrar, registration date, expiration date, and domain age in days.

## `includeSsl` (type: `boolean`):

Inspect the live TLS certificate on port 443 for issuer, expiration date, trust status, and days remaining.

## `includeSecurityGrade` (type: `boolean`):

Calculate a deterministic 0-100 securityScore and letter securityGrade from SPF, DMARC, CAA, SSL, and HTTP security headers.

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

Maximum number of domains audited concurrently.

## `maxItems` (type: `integer`):

Hard cap on the number of audited domain records pushed to the dataset.

## `maxCostUsd` (type: `number`):

Pre-charge spending cap in USD. Auditing stops cleanly before exceeding this budget.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "stripe.com"
  ],
  "includeRdap": true,
  "includeSsl": true,
  "includeSecurityGrade": true,
  "maxConcurrency": 10,
  "maxItems": 100,
  "maxCostUsd": 2
}
```

# Actor output Schema

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

Audited domain records including email provider, DMARC policy, SaaS tokens, SSL validity, RDAP age, and security score.

# 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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("2space/tech-stack-dns-whois-mcp").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",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("2space/tech-stack-dns-whois-mcp").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"
  ]
}' |
apify call 2space/tech-stack-dns-whois-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,2space/tech-stack-dns-whois-mcp"
        }
    }
}
```

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/j3uPTAfaMzptAyAFD/builds/eb19m1zY1P4kNqXWU/openapi.json
