# Website Tech Stack Detector: SSL, Headers & AI Readiness (`capalens/website-tech-stack-security-scanner`) Actor

Bulk-scan websites like a BuiltWith / Wappalyzer-style tech stack detector, plus security headers, SSL/TLS expiry, DNS/SPF/DMARC and AI-agent readiness (GPTBot/ClaudeBot robots.txt, llms.txt, JSON-LD, MCP). HTTP-only, ~$0.006 per site, no browser or API key.

- **URL**: https://apify.com/capalens/website-tech-stack-security-scanner.md
- **Developed by:** [king](https://apify.com/capalens) (community)
- **Categories:** Developer tools, SEO tools, AI
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 1,000 website scanneds

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

## Website Tech Stack Detector: SSL, Headers & AI Readiness

**A BuiltWith / Wappalyzer-style tech stack detector, plus SSL/TLS expiry, security headers, SPF/DMARC and llms.txt / AI-crawler checks — in one HTTP-only scan.** Paste a list of domains, get one structured JSON row per site. No browser, no proxies, no API keys. About **$0.006 per site**.

For every site the Actor returns:

| Module | What you get |
|---|---|
| 🧩 **Tech stack** | CMS (WordPress, Shopify, Wix, Webflow, Ghost…), JS frameworks (Next.js, React, Vue, Angular, Nuxt, Svelte…), web server, CDN/WAF (Cloudflare, Akamai, Fastly…), hosting (Vercel, Netlify…), analytics, tag managers, ads pixels, live chat, payments, cookie-consent tools, AI chatbots — **230+ technologies**, each with confidence, version (when exposed) and evidence |
| 🔐 **Security** | A–F grade + 0–100 score from HTTPS, HTTP→HTTPS redirect, HSTS, CSP, X-Content-Type-Options, clickjacking protection, Referrer-Policy, Permissions-Policy, COOP/CORP, `security.txt`, version-leaking headers and insecure cookies |
| 🔒 **TLS** | protocol, cipher, issuer, validity dates, **days until expiry**, hostname match |
| 🌐 **DNS & email** | A/AAAA/NS/MX/CAA, DNS provider, email provider (Google Workspace, Microsoft 365, …), **SPF and DMARC** policy |
| 🤖 **AI-agent readiness** | 0–100 score + grade: does `robots.txt` allow or block **GPTBot, ClaudeBot, PerplexityBot, Google-Extended, CCBot** and 14 other AI crawlers? Is there an `llms.txt` / `llms-full.txt`? sitemap, JSON-LD types, canonical/lang/meta, how much text is in the raw HTML (AI crawlers don't run JavaScript), and agent-discovery files (`/.well-known/mcp.json`, `ai-plugin.json`, `openapi.json`, A2A agent card, Markdown content negotiation) |
| ✅ **Top issues** | a short, prioritised fix list per site, e.g. *"Add a Strict-Transport-Security header"*, *"Publish /llms.txt"*, *"DMARC policy is p=none"* |

### Who is it for?

- **Agencies & SEO / GEO consultants** – audit a client's site (or 500 prospects) for AI visibility, security hygiene and tech stack in minutes.
- **Sales & lead-gen teams** – build technographic lists: "all Shopify stores using Klaviyo without DMARC".
- **Security & IT teams** – sweep your own domain portfolio for missing headers, expiring certificates and missing SPF/DMARC; schedule it weekly.
- **Developers & AI-agent builders** – check whether your docs/site are ready for LLM crawlers and agents.
- **Competitor research** – find out what stack, CDN and analytics competitors run.

### How to use

The default input already scans `capalens.com`, `vercel.com` and `wordpress.org`. Click **Start** to see a full tech-stack, SSL, security-header and AI-readiness report in under a minute (~$0.019).

1. Click **Start**, or paste your own domains or URLs into **Domains or URLs** (one per line).
2. Optionally pick which checks to run (default: all five).
3. Open the **Output** tab (table view) or download JSON/CSV/Excel. The key-value store record `OUTPUT` has a short run summary.

#### Use as an Apify integration

You can attach this Actor to any scraper or lead-list Actor. On that Actor's **Integrations** tab, add *Website Tech Stack Detector: SSL, Headers & AI Readiness* as a target. Leave **Domains or URLs** empty — this Actor reads `url`, `domain`, `website` or `startUrl` from the triggering run's dataset and scans each unique site (up to 2,000). You can also pass a dataset ID in **Source dataset ID**.

#### Example input

```json
{
  "urls": ["capalens.com", "vercel.com", "https://wordpress.org"],
  "checks": ["tech", "security", "tls", "dns", "ai"],
  "requestTimeoutSecs": 10,
  "concurrency": 5
}
```

#### Example output (shortened, real scan of vercel.com on 2026-11-28)

```json
{
  "domain": "vercel.com",
  "finalUrl": "https://vercel.com/",
  "statusCode": 200,
  "stack": {
    "javascriptFrameworks": ["Next.js", "React"],
    "uiFrameworks": ["shadcn/ui", "Tailwind CSS"],
    "hosting": ["Vercel"]
  },
  "scores": { "security": 83, "securityGrade": "B", "aiReadiness": 80, "aiReadinessGrade": "B" },
  "security": { "failing": ["csp", "cross-origin-isolation"], "informationLeaks": ["X-Powered-By: Next.js, Payload"] },
  "tls": { "protocol": "TLSv1.3", "issuer": "Let's Encrypt", "daysRemaining": 88 },
  "dns": {
    "emailProvider": "Google Workspace",
    "emailSecurity": { "spf": { "present": true, "policy": "soft-fail" }, "dmarc": { "present": true, "policy": "quarantine" } }
  },
  "aiReadiness": {
    "score": 80,
    "llmsTxt": { "present": true, "links": 112 },
    "robotsTxt": { "blockedAiBots": [], "explicitAiBots": [] }
  },
  "topIssues": [
    "Add a Content-Security-Policy header.",
    "Hide version banners: X-Powered-By: Next.js, Payload",
    "robots.txt has no explicit AI-bot rules; declare allow/deny per bot so your policy is unambiguous."
  ]
}
```

### Pricing

Pay per event — you only pay for results:

| Event | Price |
|---|---|
| Run started | **$0.001** |
| Website scanned (all enabled checks) | **$0.006** |

That is **$6 per 1,000 sites** (plus a tenth of a cent per run). Domains that do not resolve, sites that time out, and invalid inputs are **not charged**. Set a maximum spend on the run and the Actor stops cleanly when it is reached. Compute usage is tiny (256 MB, a few seconds per site) and is included.

### Good to know (honest limits)

- **Static HTML scan.** The Actor fetches the page like a normal visitor (one request for the page plus a handful of small well-known files such as `robots.txt`, `llms.txt`, `sitemap.xml`). It does **not** execute JavaScript, so technologies that only appear after client-side rendering may be missed — which is also what most AI crawlers see.
- Technology detection is based on headers, cookies, meta tags, script/stylesheet URLs and HTML patterns. Versions are only reported when the site exposes them.
- Security grading checks response headers and cookies; it is a hygiene checklist, **not a penetration test** and not a replacement for a security audit.
- The Actor identifies itself with the User-Agent `CapaLensScanner/1.0` and only requests public URLs. Private/internal addresses are blocked. Please scan sites you are allowed to assess.
- `robots.txt` evaluation is simplified: it flags a bot as *blocked* when its (or the `*`) group has `Disallow: /`, *partial* when other paths are disallowed.

### Works great with AI agents

The output is flat, typed JSON, so it plugs straight into the **Apify MCP server** – ask Claude or Cursor *"scan these 20 competitors and tell me who has no llms.txt"*.

### Related Actors by CapaLens

- 🔎 **[MCP Server Tester & Health Checker](https://apify.com/capalens/mcp-live-verifier)** – live-test any MCP server URL (initialize + tools/list handshake, auth detection, latency, npm/PyPI/GitHub health). Use it when the site you scanned here publishes an MCP endpoint (`agentDiscovery.mcpJson`).
- 🗓️ **[Domain Age, Expiry & Availability Checker (RDAP + DNS)](https://apify.com/capalens/domain-age-expiry-rdap-checker)** – bulk domain age, expiry date, registrar, availability and DNS via official RDAP, with a monitor mode that alerts you by webhook before a domain lapses or when it changes hands.
- 🌏 **[CapaLens](https://capalens.com)** – a bilingual (English/中文) directory of MCP servers and AI-agent tools.

### Feedback

Missing a technology, a check, or an AI bot? Open an issue from the Actor's **Issues** tab — fingerprints are cheap to add and we ship updates quickly.

# Actor input Schema

## `urls` (type: `array`):

Domains or full URLs to scan, one per line (e.g. `example.com` or `https://shop.example.com`). Up to 2,000 per run. Private/internal addresses are blocked.

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

Read extra URLs/domains from an Apify dataset (fields such as url, domain, website, startUrl). When this Actor is used as an integration, the triggering run's default dataset is used automatically if you leave Domains empty. Advanced / integration use.

## `checks` (type: `array`):

Choose which modules to run. Default: all. `tech` = technology detection, `security` = security headers/cookies/security.txt, `tls` = certificate and protocol, `dns` = DNS, email provider, SPF/DMARC, `ai` = AI-agent readiness.

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

Timeout for each HTTP / TLS request. Slow sites are marked unreachable after this.

## `concurrency` (type: `integer`):

How many sites to scan in parallel.

## Actor input object example

```json
{
  "urls": [
    "capalens.com",
    "vercel.com",
    "wordpress.org"
  ],
  "checks": [
    "tech",
    "security",
    "tls",
    "dns",
    "ai"
  ],
  "requestTimeoutSecs": 10,
  "concurrency": 5
}
```

# 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 = {
    "urls": [
        "capalens.com",
        "vercel.com",
        "wordpress.org"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("capalens/website-tech-stack-security-scanner").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 = { "urls": [
        "capalens.com",
        "vercel.com",
        "wordpress.org",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("capalens/website-tech-stack-security-scanner").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 '{
  "urls": [
    "capalens.com",
    "vercel.com",
    "wordpress.org"
  ]
}' |
apify call capalens/website-tech-stack-security-scanner --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,capalens/website-tech-stack-security-scanner"
        }
    }
}
```

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/5G9jbtuO5TibqOELN/builds/WuvryH1A40bWxOMim/openapi.json
