# Bulk Domain, Cloud-Stack & Email Deliverability Recon (`majestic_tiger12/bulk-domain-cloud-recon`) Actor

Concurrently audit thousands of domains for DNS (A, MX, SPF, DMARC), TLS certificate expiry, cloud/CDN provider (AWS, Cloudflare, GCP, Azure, Shopify), and HTTP status.

- **URL**: https://apify.com/majestic_tiger12/bulk-domain-cloud-recon.md
- **Developed by:** [Karnajeet Sawant](https://apify.com/majestic_tiger12) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.80 / 1,000 enriched domains

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

## Bulk Domain, Cloud-Stack & Email Deliverability Recon

Concurrently enrich thousands of company domains in seconds with live HTTP status, cloud/CDN provider detection, email provider identification, SPF/DMARC deliverability checks, and TLS certificate expiration monitoring.

Built for **B2B outbound workflows (n8n, Make, Clay)**, **technical lead qualification**, and **attack-surface or vendor audits**—with zero proxy overhead and deterministic RFC-compliant lookups.

### What Data Does It Extract?

For every domain in your input list, this Actor returns a structured JSON record:

- **Website Health & Redirects:** Live status (`isLive`), HTTP status code (`200`, `301`, `403`, etc.), and final resolved URL (`finalUrl`).
- **Cloud, CDN & Platform Detection:** Identifies **Cloudflare, AWS, Google Cloud, Microsoft Azure, Shopify, Vercel, Netlify, Fastly, Managed WordPress**, and origin web servers.
- **Email Infrastructure & Deliverability:** Extracts sorted MX records, identifies the email host (**Google Workspace, Microsoft 365, Zoho, Proton Mail, Amazon SES, Mimecast, Proofpoint**), and verifies whether **SPF** (`v=spf1`) and **DMARC** (`_dmarc`) records are configured.
- **TLS / SSL Certificate Audit:** Verifies active SSL handshake, certificate issuer (e.g., DigiCert, Let's Encrypt, Google Trust Services), and exact days remaining until expiration (`sslDaysRemaining`).
- **Optional B2B Buying Signals (`checkKeyPages`):** Concurrently checks whether `/pricing` and `/careers` return HTTP `200` to qualify active SaaS/B2B prospects.

### Input Example

```json
{
  "domains": [
    "stripe.com",
    "shopify.com",
    "cloudflare.com"
  ],
  "checkKeyPages": true,
  "maxConcurrency": 25
}
```

### Output Example

```json
{
  "domain": "stripe.com",
  "isLive": true,
  "httpStatus": 200,
  "finalUrl": "https://stripe.com/en-ca",
  "cloudOrCdn": "Nginx",
  "emailProvider": "Google Workspace",
  "hasSpf": true,
  "hasDmarc": true,
  "sslValid": true,
  "sslIssuer": "DigiCert, Inc.",
  "sslDaysRemaining": 175,
  "hasPricingPage": true,
  "hasCareersPage": true,
  "aRecords": ["198.202.176.41", "198.137.150.41"],
  "mxRecords": ["aspmx.l.google.com"],
  "error": null
}
```

### Ready-to-Use n8n Automation Template (Google Sheets Enricher)

Automate bulk lead enrichment without writing code using our official n8n workflow template (**Bulk B2B Lead Domain, Email Deliverability & Cloud Stack Enricher**):

- **View & Copy Workflow JSON:** [Open GitHub Gist](https://gist.github.com/karnajeet12/b59d0725bd7c3d9381868dae511b183f)
- **1-Click Import in n8n:** Open any n8n workflow → click **`...`** → **Import from URL** → paste:

```text
https://gist.githubusercontent.com/karnajeet12/b59d0725bd7c3d9381868dae511b183f/raw/84498fd27228493ba9ae3ec8b5b0e8f234c67db9/bulk-b2b-lead-domain-enricher
```

#### Quick Setup (2 Minutes)

1. Create a Google Sheet with a tab named `Leads` and Row 1 headers: `domain`, `status`, `mx_provider`, `spf_valid`, `dmarc_policy`, `cloud_provider`, `cdn`, `enriched_at`.
2. Open the **Run Apify Bulk Domain Recon** node in n8n, create a **Bearer Auth** credential, and paste your API token from **Apify Console → Settings → API & Integrations**.
3. Connect your Google Sheets credential in both Sheets nodes, select your spreadsheet, and click **Execute workflow**.

### Transparent Pay-Per-Event Pricing

You only pay for successfully enriched domains:

- **Actor Start:** `$0.00005` per run
- **Enriched Domain (`domain-enriched`):** `$0.002` per domain (**$2.00 per 1,000 domains**)

Duplicate domains and invalid strings are automatically stripped before processing so you are never billed twice for the same root domain.

# Actor input Schema

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

List of root domains or URLs to inspect (e.g., stripe.com, shopify.com). Protocols and paths are stripped automatically.

## `checkKeyPages` (type: `boolean`):

Also test whether /pricing and /careers return HTTP 200 (useful for B2B lead qualification).

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

Number of domains processed in parallel. Keep at 25 for 512 MB RAM.

## Actor input object example

```json
{
  "domains": [
    "stripe.com",
    "shopify.com",
    "cloudflare.com"
  ],
  "checkKeyPages": false,
  "maxConcurrency": 25
}
```

# Actor output Schema

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

Enriched domain records with live HTTP status, cloud/CDN stack, email provider, SPF/DMARC status, and SSL expiry.

# 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",
        "shopify.com",
        "cloudflare.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("majestic_tiger12/bulk-domain-cloud-recon").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",
        "shopify.com",
        "cloudflare.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("majestic_tiger12/bulk-domain-cloud-recon").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",
    "shopify.com",
    "cloudflare.com"
  ]
}' |
apify call majestic_tiger12/bulk-domain-cloud-recon --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,majestic_tiger12/bulk-domain-cloud-recon"
        }
    }
}
```

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/tBwanHQv03PkEGxXG/builds/anAP1ov3ExHLwpTc9/openapi.json
