# Website Audit API - WHOIS Alerts, Tech Stack, DNS, TLS (`martin10291/website-intelligence`) Actor

Turn a list of domains into one enriched row per website: detected technologies (CMS, e-commerce, analytics, CDN, email provider, versions), company info and social links, WHOIS/RDAP registrar and expiry, DNS (MX, NS, SPF, DMARC), TLS certificate expiry and issuer, redirect chain and sitemap size, p

- **URL**: https://apify.com/martin10291/website-intelligence.md
- **Developed by:** [Martin Petrov](https://apify.com/martin10291) (community)
- **Categories:** SEO tools, Lead generation, Integrations
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $14.00 / 1,000 results

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

## Website Audit API - WHOIS Alerts, Tech Stack, DNS, TLS

**You have a list of company domains. What do you need to know about each one?** Which CMS and shop platform it runs, which email provider it uses, who the registrar is and when the domain expires, whether the TLS certificate is about to lapse, how big the site is, how it performs - and, above all, *what changed since last week*. Today that is five tools and five exports. This actor returns it as **one row per domain** for **$20 per 1,000 domains**.

Give it domains. It makes a few polite requests per site (homepage, robots.txt, sitemap, official RDAP, public DNS, one TLS handshake) and combines everything. No API key, no proxies, no JavaScript rendering unless you switch Lighthouse or screenshots on.

### What you get per domain

- **Tech stack:** technologies with version, confidence and category (3,500+ open Wappalyzer fingerprints), plus shortcuts `cms`, `ecommerce`, `analytics`, `emailProvider`, `cdn`.
- **Company info:** page title, meta description, generator and the company's own social profile links.
- **Domain facts (official RDAP):** registrar, created and expiry date, domain age, days to expiry, status, nameservers, DNSSEC. No personal registrant data.
- **DNS:** A, AAAA, MX, NS, CAA, SPF (and the senders it allows), DMARC.
- **TLS:** issuer, validity dates, days left, protocol version, SANs.
- **Redirect chain** from `http://` to the final URL.
- **Sitemap size:** URL count from robots.txt / sitemap.xml (sitemap indexes are sampled and extrapolated, flagged `urlCountEstimated`).
- **Optional Lighthouse** (performance, accessibility, best practices, SEO, Core Web Vitals) and **optional screenshot** - both off by default because they need a browser and more memory.
- **Change mode:** `changes[]` with added/removed technologies, MX or nameserver changes, SPF changes, registrar or expiry changes, TLS issuer changes and redirect changes.

### Change mode (monitorId)

Set `monitorId`, for example `"prospects-q4"`. The actor stores the last scan of each domain under that ID. On the next run it outputs **only the domains that changed**, each with a `changes[]` list; unchanged domains are skipped and not charged (switch on `includeUnchanged` to get them anyway). The first run with a new ID reports every domain as new. Schedule it daily or weekly and connect a webhook or an Apify integration for alerts. Use one ID per watch list.

```json
"changes": [
  {"type": "technology_added", "field": "technologies", "before": null, "after": "Shopify"},
  {"type": "mx_changed", "field": "mx", "before": ["1 aspmx.l.google.com."], "after": ["0 acme-com.mail.protection.outlook.com."]},
  {"type": "tls_issuer_changed", "field": "tlsIssuer", "before": "Let's Encrypt", "after": "Sectigo Limited"}
]
```

Change types: `technology_added`, `technology_removed`, `mx_changed`, `nameservers_changed`, `spf_changed`, `registrar_changed`, `expiry_changed`, `tls_issuer_changed`, `redirect_changed`. A value that could not be measured in one scan (a site that was down, an RDAP server that timed out) is never reported as a change. IP address (A record) changes are not tracked because CDNs rotate them constantly.

### Quick start (API)

```bash
curl -X POST "https://api.apify.com/v2/acts/martin10291~website-intelligence/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"domains": ["stripe.com", "hubspot.com"], "includeSitemap": true}'
```

### Use from AI agents (MCP)

Add this actor to the Apify MCP server: `https://mcp.apify.com?tools=martin10291/website-intelligence`. Example prompt: "Which of these 30 companies use Shopify and Google Workspace, and when do their domains expire?"

### Input

| Field | Default | Description |
|---|---|---|
| `domains` | 5 example sites | Domains or URLs. Bare domains and full URLs work. |
| `includeCompanyInfo` | true | Title, description, generator, social links. |
| `includeWhois` | true | RDAP registrar, dates, nameservers. |
| `includeTls` | true | TLS certificate issuer and expiry. |
| `includeRedirects` | true | Redirect chain from http:// to the final URL. |
| `includeSitemap` | true | URL count from robots.txt / sitemap.xml. |
| `includeLighthouse` | false | Real Google Lighthouse audit. Slow, needs 2 GB+ memory. |
| `lighthouseStrategy` | mobile | `mobile` or `desktop`. |
| `includeScreenshot` | false | PNG screenshot link per site. Needs 2 GB+ memory. |
| `minConfidence` | 50 | Hide weak technology guesses (0-100). |
| `maxConcurrency` | 8 | Sites scanned in parallel. |
| `monitorId` | empty | Switches on change mode. |
| `includeUnchanged` | false | In change mode also output unchanged domains. |

### Output example (shortened, real run 2026-11-05)

```json
{
  "domain": "hubspot.com",
  "finalUrl": "https://www.hubspot.com/",
  "statusCode": 200,
  "technologyNames": ["Cloudflare", "Google Workspace", "HSTS", "HubSpot", "HubSpot CMS Hub"],
  "cms": "HubSpot CMS Hub",
  "ecommerce": null,
  "emailProvider": "Google Workspace",
  "cdn": "Cloudflare",
  "title": "HubSpot | Software & Tools for your Business - Homepage",
  "socialLinks": {"linkedin": "https://www.linkedin.com/company/hubspot", "twitter": "https://x.com/HubSpot"},
  "dns": {"mx": ["1 smtp.google.com."], "ns": ["jerry.ns.cloudflare.com.", "yolanda.ns.cloudflare.com."], "dmarc": ["v=DMARC1;p=reject;pct=100;..."]},
  "whois": {"registrar": "MarkMonitor Inc.", "createdDate": "2005-02-06T20:02:28Z", "expiryDate": "2027-02-06T20:02:28Z", "domainAgeDays": 7941, "daysToExpiry": 93, "dnssec": true},
  "tls": {"valid": true, "issuer": "Google Trust Services", "notAfter": "2026-12-10T23:26:16Z", "daysLeft": 35, "tlsVersion": "TLSv1.3"},
  "redirect": {"finalUrl": "https://www.hubspot.com/", "finalStatus": 200},
  "sitemap": {"url": "https://www.hubspot.com/sitemap.xml", "urlCount": 3004, "urlCountEstimated": false},
  "lighthouse": null,
  "screenshot": null,
  "error": null,
  "warnings": [],
  "checkedAt": "2026-11-05T13:42:22Z"
}
```

Unreachable domains still produce a row with `error` set (for example "domain is not registered or does not resolve"). Partial problems, such as an RDAP server that timed out, are listed in `warnings[]` and the rest of the row is still filled. A `RUN_SUMMARY` record in the key-value store holds `domainsIn`, `itemsOut`, `failed`, `unchanged`, `lastError`, `durationSec` and the fingerprint version.

### FAQ

**How fast is it?** The five default sites take about 13 seconds; a list of 10 mixed domains took 8-14 seconds at the default concurrency (8). Lighthouse adds roughly 20-60 seconds per site.

**How accurate is the tech stack?** Fingerprints are matched against headers, cookies, HTML, script URLs, meta tags and DNS. Rules that need a running browser are not used, so some client-side-only tools are missed. Sites that block automated requests (HTTP 403) still show header and DNS based results. The actor sends one honest request with its own User-Agent and does not use proxies or evasion.

**Is it legal?** It reads public homepage content, public DNS and the official RDAP service. Registrant and contact data are never output; social links are the company's own profiles.

**How is it priced?** Pay per result: $20 per 1,000 domains ($0.02 per row). Every row that is output counts, including rows with `error`. In change mode, unchanged domains are not output and not charged.

### Notice

Technology fingerprints: Wappalyzer (MIT) v6.10.54, 3,588 technologies; license text in `src/data/LICENSE`. Not affiliated with Wappalyzer, BuiltWith or Google.

### Use it as an integration (chain it after another actor)

This actor can run automatically after any actor whose results contain a website or domain.

1. Open the source actor in Apify Console and go to the **Integrations** tab.
2. Click **Add integration** -> **Actor**, pick this actor and set **Dataset** to `{{resource.defaultDatasetId}}` (leave `domains` empty). Set your other options and save.
3. When the source run finishes, this actor reads its dataset and processes every row. The field is detected automatically; set **Dataset field** if your column has another name.

You can also start it by hand with `datasetId` (pick a dataset or paste its ID) to process an existing dataset.

Good sources to chain from:

- compass/crawler-google-places (Google Maps Scraper)
- martin10291/local-business-leads-osm
- martin10291/reddit-posts-comments-extractor (domain)
- any lead list with a website/domain column

# Actor input Schema

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

Company websites to analyse, for example shopify.com, stripe.com or https://www.hubspot.com. Bare domains and full URLs are accepted; each site gets one combined row. If left empty, five example sites are used.

## `includeCompanyInfo` (type: `boolean`):

Add the page title, meta description, generator tag and the company's own social profile links (LinkedIn, X/Twitter, Facebook, Instagram, YouTube, TikTok, GitHub) found on the homepage.

## `includeWhois` (type: `boolean`):

Add registrar, creation and expiry dates, domain age, days to expiry, status, nameservers and DNSSEC from the official RDAP service. No personal registrant data is output.

## `includeTls` (type: `boolean`):

Add the TLS certificate issuer, validity dates and days left until expiry.

## `includeRedirects` (type: `boolean`):

Follow the http:// address of the domain and record the redirect chain and the final URL.

## `includeSitemap` (type: `boolean`):

Read robots.txt and sitemap.xml and count the URLs listed (sitemap indexes are sampled and extrapolated). A light check, not a crawl.

## `includeLighthouse` (type: `boolean`):

Run a real Google Lighthouse audit (headless Chrome) per site and add performance, accessibility, best-practices and SEO scores plus Core Web Vitals. Takes 20-60 seconds per site and needs at least 2 GB of memory, so it is off by default.

## `lighthouseStrategy` (type: `string`):

Only used when Lighthouse is on: audit as a mobile phone (Lighthouse default throttling) or as a desktop.

## `includeScreenshot` (type: `boolean`):

Take a PNG screenshot of the homepage (1366x768 viewport) with headless Chromium and add a download link to each row. Needs at least 2 GB of memory, so it is off by default.

## `minConfidence` (type: `integer`):

Only report technologies detected with at least this confidence (0-100). 50 hides weak single-signal guesses; use 100 for the strictest list.

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

How many websites are scanned in parallel. 8 is polite; lower it if sites or RDAP servers rate-limit you.

## `monitorId` (type: `string`):

Optional. If set, the actor remembers the last scan of each domain under this ID and outputs only domains that changed since then, with changes\[] (added/removed technologies, MX or nameserver change, registrar or expiry change, TLS issuer change, redirect change). The first run with a new ID reports every domain as new. Leave empty to get all rows every run.

## `includeUnchanged` (type: `boolean`):

Only used with a Monitor ID. Off = unchanged domains are skipped (and not charged). On = every domain is output, with an empty changes\[] when nothing changed.

## `datasetId` (type: `string`):

Optional. Pick a dataset (or paste its ID) to read the input from, for example the result of Google Maps Scraper. When this actor runs as an integration, the dataset of the triggering run is used automatically (payload.resource.defaultDatasetId), so you can leave this empty. If set, the values found in the dataset replace the main input list.

## `datasetField` (type: `string`):

Optional. The item field that holds the value, for example website, url or videoUrl (dot paths like author.url work). Empty = detected automatically.

## `datasetMaxItems` (type: `integer`):

Upper limit of unique values taken from the dataset, to keep the cost under control.

## Actor input object example

```json
{
  "domains": [
    "shopify.com",
    "stripe.com",
    "wordpress.org",
    "hubspot.com",
    "notion.so"
  ],
  "includeCompanyInfo": true,
  "includeWhois": true,
  "includeTls": true,
  "includeRedirects": true,
  "includeSitemap": true,
  "includeLighthouse": false,
  "lighthouseStrategy": "mobile",
  "includeScreenshot": false,
  "minConfidence": 50,
  "maxConcurrency": 8,
  "includeUnchanged": false,
  "datasetMaxItems": 1000
}
```

# Actor output Schema

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

One row per website: technologies, company info, WHOIS/RDAP, DNS, TLS, redirects, sitemap size, optional Lighthouse and screenshot, and changes since the last scan.

# 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": [
        "shopify.com",
        "stripe.com",
        "wordpress.org",
        "hubspot.com",
        "notion.so"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("martin10291/website-intelligence").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": [
        "shopify.com",
        "stripe.com",
        "wordpress.org",
        "hubspot.com",
        "notion.so",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("martin10291/website-intelligence").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": [
    "shopify.com",
    "stripe.com",
    "wordpress.org",
    "hubspot.com",
    "notion.so"
  ]
}' |
apify call martin10291/website-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,martin10291/website-intelligence"
        }
    }
}
```

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/afYVVhD97bfJ35ALF/builds/Cf8huY4mdWsJiqxbR/openapi.json
