# Domain Tech-Stack, DNS/Email-Auth, RDAP, TLS & BGP OSINT MCP (`hgreene624/domain-techstack-dns-osint`) Actor

Live commercial-clean domain intelligence: HTTP/HTML tech fingerprinting (150+ sigs), DNS TXT/MX/SPF/DMARC/DKIM/BIMI/CAA SaaS & email-auth audit, GDPR-safe IANA RDAP, direct TLS cert audit, CertSpotter CT & RIPEstat BGP/ASN.

- **URL**: https://apify.com/hgreene624/domain-techstack-dns-osint.md
- **Developed by:** [Holden Greene](https://apify.com/hgreene624) (community)
- **Categories:** Developer tools, Lead generation, MCP servers
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.50 / 1,000 core domain tech-stack & osint profiles

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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, DNS/Email-Auth, RDAP, TLS & BGP OSINT API + MCP

Turn any list of domains into live website technology stacks, email deliverability grades, SaaS tool footprints, domain age, and SSL certificate health in seconds. Probes public DNS, homepages, domain registries, and TLS certificates in real time instead of serving months-old crawl databases.

Works in **Batch Mode** (CSV, Excel, JSON, Clay, n8n) and as a **live MCP server** for Claude, Cursor, ChatGPT, and autonomous AI agents.

> **Free Plan Preview:** Free Apify accounts return up to 25 preview domains per batch run and 5 MCP calls per 24 hours. Any paid Apify plan unlocks bulk enrichment up to 5,000 domains per run.

![Domain Tech-Stack, DNS/Email-Auth, RDAP, TLS & BGP OSINT Architecture](https://hgreene624.github.io/studio-docs/assets/apify/banners/domain-techstack-dns-osint-architecture.png)

### Why teams use this Actor

- **Live domain checks, never stale crawls:** Inspects live DNS records, homepage headers and scripts, domain registration dates, and active SSL certificates on every run.
- **Website tech stack and SaaS discovery:** Detects 160+ web frameworks, CDNs, payment tools, and analytics platforms alongside 65+ verified SaaS vendors in DNS records.
- **Email deliverability and security grading:** Checks MX routing, SPF, DMARC, BIMI, and optional DKIM selectors to score every domain from A to F before outbound outreach.
- **GDPR-safe by default:** Strips personal registrant and contact details from domain records, reads cookie names without values, and distinguishes active tools from older verification records.
- **Fair outcome-based billing:** Charges $0 on invalid or nonexistent domains, automatically downgrades to DNS-only pricing if a website blocks requests, and waives Deep OSINT fees on upstream limits.

### What data do you get?

| Category | Fields Included |
|---|---|
| **Website tech stack** | 160+ detected frameworks, CMS, CDN, payments, and analytics tools, HTTP status code, and security headers grade |
| **Email auth & routing** | Email provider (Google Workspace, Microsoft 365), MX records, SPF, DMARC policy, BIMI, optional DKIM selectors, and A–F grade |
| **SaaS footprint** | 65+ verified SaaS vendors from DNS records with active vs. historical verification status and redacted tokens |
| **Domain age & registry** | Authoritative registrar name, domain creation date, domain age in years, and days until expiry (personal WHOIS contacts stripped) |
| **SSL / TLS certificate** | TLS version, certificate issuer, days until expiry, chain validity, hostname match, and self-signed warning |
| **Deep OSINT (optional)** | Network owner, autonomous system number, cloud host classification, and Certificate Transparency subdomain exposure |

### Pricing

Simple Pay-Per-Event billing with volume discounts up to 35% off on higher Apify plans. You pay **$0 on invalid domains or nonexistent hosts**.

| Mode / Event | Price | Per 1,000 | Best For |
|---|---:|---:|---|
| **DNS & Email-Auth Only** (`domain-dns-email-audit`) | $0.003 / domain | $3 | Email deliverability grading and 65+ SaaS checks without touching the website |
| **Full Core Profile** (`domain-core-profile`) | $0.006 / domain | $6 | Live 160+ website tech stack, DNS/email auth, domain age, and TLS health |
| **Deep OSINT Add-On** (`domain-deep-osint-addon`) | $0.010 / domain | $10 | Additive BGP/ASN network ownership and Certificate Transparency subdomains |
| **Batch Run Start** (`apify-actor-start`) | $0.005 / run | — | One-time batch start fee (covers startup compute) |

### Quick Start

Paste a list of domains and choose which modules to run:

```json
{
  "domains": ["stripe.com", "linear.app"],
  "maxDomains": 100,
  "includeHttpTechStack": true,
  "includeDnsAndEmailAuth": true,
  "includeRdap": true,
  "includeTlsCert": true,
  "includeDeepOsint": false
}
```

<details>
<summary>View sample JSON output</summary>

```json
{
  "domain": "stripe.com",
  "emailProvider": "Google Workspace",
  "emailSecurityGrade": "A",
  "securityHeadersGrade": "A",
  "topTechStack": "Stripe, nginx",
  "topSaaSTools": "Atlassian, Google Workspace, Slack",
  "registrar": "SafeNames Ltd.",
  "domainAgeYears": 31.2,
  "tlsDaysUntilExpiry": 186
}
```

</details>

### Connect to AI Agents (MCP), Clay, n8n, or Python

#### Cursor, Claude Code, and Windsurf (MCP)

```json
{
  "mcpServers": {
    "domain-techstack-dns-osint": {
      "type": "streamable-http",
      "url": "https://hgreene624--domain-techstack-dns-osint.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_APIFY_TOKEN>"
      }
    }
  }
}
```

Available MCP tools: `audit_email_deliverability_dns`, `inspect_domain_techstack`, `inspect_domain_deep_osint`, and `batch_compare_domains`.

<details>
<summary>Claude Desktop, Apify MCP Gateway, n8n, and Python examples</summary>

**Claude Desktop (local config via mcp-remote):**

```json
{
  "mcpServers": {
    "domain-techstack-dns-osint": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://hgreene624--domain-techstack-dns-osint.apify.actor/mcp",
        "--header",
        "Authorization: Bearer <YOUR_APIFY_TOKEN>"
      ]
    }
  }
}
```

**Hosted Apify MCP Gateway:** `https://mcp.apify.com?tools=hgreene624/domain-techstack-dns-osint`

**Direct Standby REST API (Clay, n8n, Make, Zapier):**
`POST https://hgreene624--domain-techstack-dns-osint.apify.actor/api/v1/inspect-domain`

**Python SDK:**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("hgreene624/domain-techstack-dns-osint").call(
    run_input={"domains": ["stripe.com", "linear.app"], "includeDeepOsint": False},
    max_total_charge_usd=0.10,
)
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
```

</details>

### FAQ

**What happens if a domain is down, blocked, or rate-limited?**
Invalid or nonexistent domains cost $0. If both website and TLS checks fail while DNS succeeds, the $0.006 Core charge automatically drops to the $0.003 DNS-only rate. If Certificate Transparency hits an upstream limit, it returns `rate_limited_skipped` and waives the $0.010 Deep OSINT fee automatically.

**Can I inspect SaaS tools and email deliverability without visiting the company's website?**
Yes. Turn off HTTP, RDAP, and TLS checks (or use the `audit_email_deliverability_dns` MCP tool) to inspect live DNS records, email authentication grades, and 65+ SaaS verification records at $0.003 per domain with zero web requests to the target server.

**Is this GDPR-safe for B2B outreach and vendor security monitoring?**
Yes. Personal registrant, administrative, and technical WHOIS contact fields are stripped automatically, returning only registrar name and registration dates, and cookie checks read cookie names without ever storing cookie values.

**Why use live checks instead of a static tech-stack database?**
Static databases rely on periodic crawls that miss recent migrations and cannot verify live SSL certificate expiry, active DMARC enforcement, or current domain registration status.

# Actor input Schema

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

Domains or http(s) URLs to inspect (strictly validated for IDNA/PSL and SSRF safety). Example: \["stripe.com", "linear.app"].

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

Maximum number of domains to process in this batch run (1..5000; Apify Free plan automatically capped at 25 preview domains).

## `includeHttpTechStack` (type: `boolean`):

Run live polite pinned-IP homepage fetch (8s timeout, 512 KB cap) for 160+ header, cookie-name, meta, and script tech signatures plus HTTP security headers grade.

## `includeDnsAndEmailAuth` (type: `boolean`):

Query Google/Cloudflare DoH for A/AAAA/MX/NS/TXT/CAA/DMARC/BIMI records, email security grade (A-F), and 65+ SaaS TXT verification signals.

## `includeDkimSelectors` (type: `boolean`):

Probe 9 standard DKIM selector TXT records (google, selector1, selector2, k1, s1, s2, dkim, default, mail).

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

Fetch GDPR-safe authoritative IANA/Verisign RDAP registration date, expiry, domain age, registrar name, and EPP locks (private-suffix hosts like \*.github.io are skipped cleanly).

## `includeTlsCert` (type: `boolean`):

Perform two-step pinned-IP SNI TLS inspection for issuer, SANs, expiry, isSelfSigned, chainValid, and hostnameMatch.

## `includeDeepOsint` (type: `boolean`):

Add RIPEstat BGP/ASN hosting ownership and CertSpotter Certificate Transparency subdomain exposure (+$0.010 add-on charged ONLY if both return status 'ok'; waived at $0.00 when CertSpotter returns HTTP 429 with certificateTransparency.status = 'rate_limited_skipped').

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

Number of domains inspected concurrently in batch mode (1..25).

## Actor input object example

```json
{
  "domains": [
    "stripe.com",
    "linear.app"
  ],
  "maxDomains": 100,
  "includeHttpTechStack": true,
  "includeDnsAndEmailAuth": true,
  "includeDkimSelectors": false,
  "includeRdap": true,
  "includeTlsCert": true,
  "includeDeepOsint": false,
  "maxConcurrency": 5
}
```

# Actor output Schema

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

Clean domain_osint_profile records (non-deliverable invalid/NXDOMAIN/SSRF entries are excluded from default dataset).

## `mcpEndpoint` (type: `string`):

Stateless Streamable HTTP JSON-RPC 2.0 endpoint supporting MCP 2025-03-26 and 2025-06-18.

# 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"
    ],
    "maxDomains": 100,
    "includeHttpTechStack": true,
    "includeDnsAndEmailAuth": true,
    "includeDkimSelectors": false,
    "includeRdap": true,
    "includeTlsCert": true,
    "includeDeepOsint": false,
    "maxConcurrency": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("hgreene624/domain-techstack-dns-osint").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",
    ],
    "maxDomains": 100,
    "includeHttpTechStack": True,
    "includeDnsAndEmailAuth": True,
    "includeDkimSelectors": False,
    "includeRdap": True,
    "includeTlsCert": True,
    "includeDeepOsint": False,
    "maxConcurrency": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("hgreene624/domain-techstack-dns-osint").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"
  ],
  "maxDomains": 100,
  "includeHttpTechStack": true,
  "includeDnsAndEmailAuth": true,
  "includeDkimSelectors": false,
  "includeRdap": true,
  "includeTlsCert": true,
  "includeDeepOsint": false,
  "maxConcurrency": 5
}' |
apify call hgreene624/domain-techstack-dns-osint --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hgreene624/domain-techstack-dns-osint"
        }
    }
}
```

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/DwnbhVsGO3rTKrIc8/builds/tWUJDpw27eYIUDFks/openapi.json
