# Website Tech Stack Detector (`plusonets/website-tech-stack-detector`) Actor

Detect CMS, ecommerce, analytics, frameworks, CDN, hosting, email, payments, and chat widgets from a public homepage, response headers, cookies, and DNS.

- **URL**: https://apify.com/plusonets/website-tech-stack-detector.md
- **Developed by:** [Olalekan Johnson](https://apify.com/plusonets) (community)
- **Categories:** Developer tools, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 site analyzeds

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/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 Tech Stack Detector

Unofficial Apify Actor that reports the public technology stack of a website. For each domain or URL it fetches the homepage once, reads response headers, cookie names, script and stylesheet URLs, meta tags, and basic DNS (MX, TXT, NS, CNAME, DMARC), then matches an original fingerprint catalog.

It is not affiliated with Wappalyzer, BuiltWith, Similarweb, Shopify, WordPress, or any site it reads. It does not use those companies' APIs.

A lookup is one homepage plus a handful of DNS queries. The Actor does not crawl the site, execute JavaScript, or log in.

### What you get

Each website becomes one dataset item:

- technologies with category, confidence (50–100), version when the page exposes one, and a short piece of evidence
- convenience lists for CMS, ecommerce, analytics, frameworks, CDN, hosting, email, payments, chat, advertising, and marketing
- the DNS records that were used, including whether SPF and DMARC are present
- title, final URL, status code, and cookie names (values are not stored)

`implied` is true when a technology was not seen directly and was added because another match requires it. WordPress implies PHP. Next.js implies React. WooCommerce implies WordPress.

### Pricing

Pay per event. There is no per-dataset-item charge in this Actor.

| Event | When it is charged | Price |
| --- | --- | --- |
| `apify-actor-start` | Once per run, by the platform (memory is capped at 1 GB, so once). The Actor does not call `Actor.charge` for it. | **$0.005** |
| `site-analyzed` | One website was analyzed (homepage response and/or public DNS) | **$0.003** |
| Dataset item | Not used. Do not enable `apify-default-dataset-item`. | $0 |

Failed lookups (the site did not resolve and the homepage never responded, or the host is a private address) are pushed so you can see the error, and they are not charged.

Set this up in Apify Console when you publish:

1. Pricing model: pay per event.
2. Add one event: name `site-analyzed`, title "Site analyzed", description "One website was analyzed from its public homepage, response headers, cookies, and DNS.", price **$0.003**.
3. Remove the synthetic `apify-default-dataset-item` event if the console adds it. This Actor calls `Actor.charge` only for `site-analyzed`.
4. Set `apify-actor-start` to $0.005. The platform charges it once per run; this Actor does not call `Actor.charge` for it.
5. Set the minimum max total charge (`minimalMaxTotalChargeUsd`) to `0.01` so a run can pay the start event and return at least one site. Platform usage is not billed to users.

The run stops when the caller's max charge is reached. Sites that have not been started are not returned and are not charged.

### Input

| Field | Default | What it does |
| --- | --- | --- |
| `startUrls` | `wordpress.org`, `www.shopify.com`, `stripe.com` | Domains or URLs. Each one is reduced to `https://` plus the host. Paths are ignored. |
| `maxConcurrency` | `5` | Homepages in flight at once. |
| `requestTimeoutSecs` | `20` | Per-request timeout. |
| `maxHtmlBytes` | `1500000` | Body cap. Headers are still read. |
| `respectRobotsTxt` | `false` | When true, a `Disallow: /` for this Actor's User-Agent skips the homepage. DNS still runs. |

The default three sites are also the code fallback when `startUrls` is omitted, so the Apify daily test (default/prefill input, non-empty dataset, under 5 minutes) has a fixed short run.

```json
{
  "startUrls": ["wordpress.org", "https://www.shopify.com", "https://stripe.com"]
}
```

### Output

`status` is `analyzed` when the homepage returned a response, `partial` when only DNS (or a robots skip plus DNS) produced data, and `failed` when there is nothing to bill.

Trimmed example from a live run of `https://wordpress.org/` on 23 October 2026 (evidence lists shortened):

```json
{
  "url": "https://wordpress.org/",
  "finalUrl": "https://wordpress.org/",
  "domain": "wordpress.org",
  "registeredDomain": "wordpress.org",
  "status": "analyzed",
  "statusCode": 200,
  "title": "Blog Tool, Publishing Platform, and CMS – WordPress.org",
  "technologyCount": 7,
  "summary": "Google Fonts, Google Tag Manager, WordPress 7.2, Google Search Console, Help Scout email, Nginx, PHP",
  "cms": ["WordPress"],
  "tagManagers": ["Google Tag Manager"],
  "emailProviders": ["Help Scout email"],
  "technologies": [
    {
      "name": "WordPress",
      "id": "wordpress",
      "categories": ["cms"],
      "confidence": 100,
      "version": "7.2",
      "website": "https://wordpress.org",
      "implied": false,
      "evidence": [
        {"source": "meta", "confidence": 100, "detail": "meta generator: WordPress 7.2-beta1-64681"}
      ]
    }
  ],
  "dns": {
    "mx": ["10 smtp1-dca.wordpress.org", "10 smtp2-dca.wordpress.org"],
    "txt": ["v=spf1 ip4:66.6.42.0/24 ip4:66.155.40.0/24 include:helpscoutemail.com -all"],
    "ns": ["ns1.wordpress.org"],
    "cname": ["www.wordpress.org -> wordpress.org"],
    "hasSpf": true,
    "hasDmarc": true,
    "error": null
  },
  "cookieNames": [],
  "error": null
}
```

Versions appear only when a generator tag, a header, or a filename contains them. Confidence is a saturating combination of the signals that matched, not a lab-measured probability. Results under 50 are omitted.

### Fingerprint licence

Checked 23 October 2026.

| Source | Licence | Used here? |
| --- | --- | --- |
| [enthec/webappanalyzer](https://github.com/enthec/webappanalyzer) | GPL-3.0. The repository `LICENSE` file is the GNU GPL v3 text. GitHub reports `GNU General Public License v3.0`. `CONTRIBUTING.md` calls the project GPLv3. | No |
| [dochne/wappalyzer](https://github.com/dochne/wappalyzer) (last public tree before the upstream repo went private in August 2023) | GPL-3.0. Same GPL v3 `LICENSE` text. | No |
| [Lissy93/wapalyzer](https://github.com/Lissy93/wapalyzer) | GPL-3.0, archived. | No |
| npm package `wappalyzer` | Snyk records MIT for `>=5.9.33 <6.10.55` and GPL-3.0 outside that range ([snyk.io/package/npm/wappalyzer](https://security.snyk.io/package/npm/wappalyzer)). The MIT window sits between GPL releases of a project that accepted community contributions under GPL. That is not a clean grant for the whole fingerprint corpus. | No |

GPL-3.0 allows commercial use only if the combined work is distributed under GPL-3.0. That is the wrong licence for this closed-source paid Actor, so none of those pattern files are vendored or rewritten here.

The catalog in `techstack/fingerprints/` is an original set of 233 rules written for this Actor from public signals: script and stylesheet hosts, meta generator strings, response headers, cookie names, and DNS records that vendors publish (MX hosts, SPF includes, site-verification TXT). Product names are used to identify the technology. The patterns are not copied from the Wappalyzer or WebAppAnalyzer JSON files. A TXT ownership token (for example `MS=ms…` or `amazonses:`) is labeled as domain verification, not as proof that the site sends mail through that product.

Registered domains for MX and NS use a small built-in list of multi-part suffixes (`co.uk`, `com.au`, and similar). Uncommon suffixes fall back to the last two labels.

### Permissions

The Actor uses Apify's default **limited permissions**. It only reads its run input and writes its own dataset and logs. It does not read other user data, and it does not need full account permissions, so it can stay in the Apify MCP index.

### Limits

- Homepage only. Tags injected after load, including tags that exist only inside a tag manager, are missed. The tag manager itself is still detected when its snippet is in the HTML.
- No headless browser. A bot wall or a challenge page is reported as whatever that response actually is (often the CDN in front).
- The catalog covers common sales-relevant products (CMS, ecommerce, analytics, ads, frameworks, CDN, hosting, email, payments, chat, consent). It is not a dump of every SaaS product on the internet, and rules go stale when a vendor changes a script URL.
- A page that quotes another product's asset path (for example a blog post that embeds `/wp-content/`) can produce a false positive. Signals were chosen to prefer hosts, headers, and cookies over bare brand words.
- DNS is queried on the host with a leading `www.` removed, via 1.1.1.1 and 8.8.8.8. Apex ALIAS records that hide a CDN CNAME are invisible; response headers still apply.
- SPF and a vendor's TXT verification record show that the domain published that vendor's DNS token. They do not prove the homepage embeds that vendor's widget.
- Only ports 80 and 443. Private, loopback, and link-local addresses are refused, including after a redirect. Cookie values and `Set-Cookie` headers are not stored.
- At most 1000 sites per run. Concurrency defaults to 5. Transient HTTP failures are retried up to three times with backoff.
- User-Agent: `WebsiteTechStackDetector/1.0 (+https://apify.com; homepage technology lookup)`.

### Local run

Python 3.12.

```bash
pip install -r requirements-dev.txt
pytest
python -m techstack
```

With no input file, the run uses the three default sites and writes a dataset under `storage/`. To exercise pay-per-event charging locally:

```bash
ACTOR_TEST_PAY_PER_EVENT=1 python -m techstack
```

Charges are logged in `storage/datasets/charging-log/` and are not billed. The SDK test mode writes `site-analyzed` and also a synthetic `apify-default-dataset-item` row at a placeholder $1, even when that event is not configured. That extra row is a local log artifact. On the platform it is billed only if you enable it in Console pricing. Leave it disabled. `Actor.charge(event_name="site-analyzed")` is the only charge this Actor requests.

Deploy from this directory with the Apify CLI (`apify push`) once the actor is created in the console. The image is `apify/actor-python:3.12`. This repository does not ship an Apify token.

# Actor input Schema

## `startUrls` (type: `array`):

Domains or URLs. Each value is reduced to its homepage (https plus the host). Paths are ignored. Bare domains such as stripe.com are accepted.

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

How many homepages to fetch at the same time.

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

Time limit for each homepage request, including the body read.

## `maxHtmlBytes` (type: `integer`):

Stop reading the homepage body after this many bytes. Headers and cookies are still kept.

## `respectRobotsTxt` (type: `boolean`):

When enabled, skip the homepage fetch if robots.txt disallows it for this Actor's User-Agent. DNS lookups still run. Leave this off when you want the homepage of a URL you named explicitly.

## Actor input object example

```json
{
  "startUrls": [
    "https://wordpress.org",
    "https://www.shopify.com",
    "https://stripe.com"
  ],
  "maxConcurrency": 5,
  "requestTimeoutSecs": 20,
  "maxHtmlBytes": 1500000,
  "respectRobotsTxt": false
}
```

# Actor output Schema

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

One row per website with the detected technologies, DNS records and lookup status.

# 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 = {
    "startUrls": [
        "https://wordpress.org",
        "https://www.shopify.com",
        "https://stripe.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("plusonets/website-tech-stack-detector").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 = { "startUrls": [
        "https://wordpress.org",
        "https://www.shopify.com",
        "https://stripe.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("plusonets/website-tech-stack-detector").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 '{
  "startUrls": [
    "https://wordpress.org",
    "https://www.shopify.com",
    "https://stripe.com"
  ]
}' |
apify call plusonets/website-tech-stack-detector --silent --output-dataset

```

## MCP server setup

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

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/46D69eQp3h8d9Z9F2/builds/aFmHruR3EsoASd1vN/openapi.json
