# Website Tech Stack Detector with Migration Flags (`54m_music/website-tech-stack`) Actor

Detect the technologies behind any website from response headers, HTML, scripts and cookie names: CMS, ecommerce platform, analytics and ad pixels, CDN, hosting, frameworks. Adds a stack maturity score and migration-opportunity flags. Plain HTTP, robots.txt respected.

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

## Pricing

from $12.00 / 1,000 domain analyseds

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: CMS, ecommerce, CDN and analytics with migration flags

Give it domains and get back the **technologies behind each site** (CMS, ecommerce platform,
analytics and ad pixels, CDN, hosting, JavaScript frameworks and libraries, web server, language)
plus two judgements a sales or audit team would otherwise make by hand: a **stack maturity score**
(0-100) and **migration-opportunity flags** such as old jQuery, no HTTPS redirect or no CDN.

Use it to qualify leads for a web agency ("sites still on jQuery 1.x with no CDN"), to see which
ecommerce platform and ad pixels a competitor runs, or to audit your own estate in one run.

**Plain HTTP only.** The Actor fetches each homepage (and makes one extra request to `http://` to
test the HTTPS redirect). It does not run JavaScript, so technologies that only appear after a
script runs in the browser are not seen. It obeys `robots.txt`, waits at least 0.5 s between requests to
one host, and never logs in or tries to get past bot protection. It makes no DNS lookups.

### What you get for each domain

| Field | What it means |
| --- | --- |
| `domain`, `finalUrl`, `httpStatus`, `title` | The site you asked for, where the homepage ended after redirects, status and page title |
| `cms` | Content management system or site builder (WordPress, Drupal, Wix, Squarespace, Webflow, Ghost and others) |
| `ecommercePlatform` | Shopify, WooCommerce, Magento, BigCommerce, PrestaShop and others |
| `analytics` | Analytics tools and tag managers (Google Analytics, Google Tag Manager, Plausible, Matomo, Hotjar and others) |
| `advertisingPixels` | Ad and conversion pixels (Meta Pixel, Google Ads, TikTok, LinkedIn Insight, Pinterest and others) |
| `marketingAndSupport`, `payments` | Email and marketing automation, chat and helpdesk widgets; payment providers |
| `cdn` | CDN and edge security layers (Cloudflare, Fastly, Akamai, CloudFront, Imperva and others) |
| `hosting` | Hosting platform when it announces itself (Vercel, Netlify, GitHub Pages, WP Engine, Azure, Google Cloud and others) |
| `jsFrameworks`, `jsLibraries` | React, Next.js, Vue, Angular, Svelte and so on; libraries with version where visible (`jQuery 1.8.2`) |
| `webServer`, `language` | nginx, Apache, IIS, LiteSpeed; PHP, ASP.NET, Express, Rails, Django and others, with version if the server reveals it |
| `technologies` | The full list: `{name, category, version, evidence}`. Evidence says where each was seen (a header name, a script URL, a meta tag). Cookie values are never read or stored |
| `cookieNames` | Names of cookies the homepage sets (up to 20). Names only |
| `httpsRedirect` | `true` if `http://` redirects to `https://`, `false` if it serves the page, `null` if unknown |
| `hsts`, `securityHeaders` | Whether HSTS is sent, and which of the common security headers are present |
| `stackMaturityScore` | 0-100, formula below |
| `migrationFlags` | Each flag: `{code, severity, detail}`, list below |
| `migrationOpportunityScore` / `migrationOpportunity` | Sum of flag weights (high 30, medium 15, low 5), capped at 100. `high` is 50+, `medium` 20-49, `low` under 20. A high score means the site has the most visible upgrade work |

#### Stack maturity score (0-100)

| Points | Signal |
| --- | --- |
| 15 | Site served over HTTPS and `http://` redirects to it (7 if the redirect was not tested) |
| 10 | `Strict-Transport-Security` header |
| 15 | CDN or edge platform detected |
| up to 15 | No outdated library or runtime (each high flag costs 8, each medium flag 5, down to 0) |
| 5 | Analytics or tag manager present |
| 15 | Security headers: Content-Security-Policy 6, X-Content-Type-Options 3, Referrer-Policy 3, frame protection 3 |
| 5 | Compression: Brotli or Zstandard 5, gzip 3 |
| 5 | Responsive viewport meta tag |
| 10 | A recognised CMS, ecommerce platform or JavaScript framework |
| 5 | No version number leaked in `Server` or `X-Powered-By` |

#### Migration flags

| Code | Severity | Raised when |
| --- | --- | --- |
| `no_https` | high | The site answers on plain `http` only |
| `no_https_redirect` | high | `http://` serves the homepage instead of redirecting to HTTPS |
| `old_jquery` | high / medium | jQuery below 3.0 (high below 2.0) |
| `old_angularjs` | high | AngularJS 1.x (end of life January 2022) |
| `old_php` | high | PHP below 8.2 announced in headers (8.1 stopped getting security fixes on 31/12/2025) |
| `old_bootstrap` | medium | Bootstrap below 4 |
| `legacy_universal_analytics` | medium | `UA-` Google Analytics ID and no GA4 `G-` ID (Universal Analytics stopped processing in July 2023) |
| `no_cdn` | medium | No CDN or edge platform detected |
| `no_viewport` | medium | No responsive viewport meta tag |
| `mixed_content` | medium | HTTPS page loading scripts over `http://` |
| `no_hsts` | low | No HSTS header on an HTTPS site |
| `no_analytics` | low | No analytics or tag manager detected |

The signature table (over 150 technologies) was written for this Actor from public knowledge of how each product
announces itself. It is not copied from Wappalyzer, BuiltWith or any other database.

### Input

| Field | Default | Notes |
| --- | --- | --- |
| `domains` | three example sites | `example.com` or a full URL; only the host is used. Duplicates are dropped |
| `checkHttpsRedirect` | `true` | One extra request to `http://domain/` per site |

```json
{ "domains": ["wordpress.org", "allbirds.com"], "checkHttpsRedirect": true }
```

### Output example

```json
{
  "domain": "www.python.org",
  "cms": null,
  "cdn": ["Fastly"],
  "jsLibraries": ["Font Awesome", "Modernizr", "jQuery 1.8.2", "jQuery UI 1.12.1"],
  "webServer": "nginx",
  "httpsRedirect": true,
  "stackMaturityScore": 63,
  "migrationFlags": [
    { "code": "old_jquery", "severity": "high", "detail": "jQuery 1.8.2 (end of life; 3.x is current)" },
    { "code": "no_analytics", "severity": "low", "detail": "No analytics or tag manager detected" }
  ],
  "migrationOpportunityScore": 35,
  "migrationOpportunity": "medium"
}
```

### Pricing

Pay per event: you pay for each domain scanned and written to the dataset (see the Pricing tab), plus the
standard Apify start event. Domains that were skipped are free. A scan makes two or three requests, so a
run of six domains takes under ten seconds. No proxy or browser is used.

### Output: dataset and SKIPPED record

The **dataset** holds only good rows; every row is charged. Everything left out is written to the key-value store as one JSON record **`SKIPPED`** (a list of reasons per input), which is never charged.

### What is skipped (and not charged)

A domain is skipped, listed in the run's `SKIPPED` key-value record with a reason, and not charged when
`robots.txt` forbids the fetch or cannot be read (`robots_disallowed`), the homepage answers with an error
(`http_403`, `http_404`, ...), the host cannot be reached (`network_error`), or the host answered 403 or 429 three times in a
row (`host_stopped`). The run **fails with a clear message** when no domain could be scanned.

### Limits

- Homepage only, no JavaScript rendering. A site that builds its whole page in the browser shows fewer technologies.
- Detection is evidence-based but not certain. Read `evidence` for each technology; a CDN or WAF can hide the origin stack.
- Versions are reported only when the site exposes them (script file names, generator tags, headers).
- No personal data is collected: cookie values, page text and contact details are never stored.

### FAQ

**Can I find sites that need a rebuild?** Yes. Run a list of domains, then filter on
`migrationOpportunity = "high"` or on a flag code such as `old_jquery`.

**How do I compare competitors?** Put their domains in one run and compare `ecommercePlatform`,
`advertisingPixels`, `analytics` and `stackMaturityScore` side by side in the dataset table.

**Why is a technology missing?** It may load only after JavaScript runs, sit behind a CDN that strips
headers, or not be in the signature table yet. Open an issue with the domain and the technology.

# Actor input Schema

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

Websites to analyse, one per line: example.com or https://www.example.com/. Only the homepage is fetched (plain HTTP, no JavaScript rendering, robots.txt respected).

## `checkHttpsRedirect` (type: `boolean`):

Make one extra request to http://domain/ to see whether it redirects to HTTPS. Feeds the no_https_redirect migration flag.

## Actor input object example

```json
{
  "domains": [
    "wordpress.org",
    "allbirds.com",
    "www.python.org"
  ],
  "checkHttpsRedirect": true
}
```

# Actor output Schema

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

Every row in the default dataset, overview table view.

## `allFields` (type: `string`):

Every row with all fields.

# 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": [
        "wordpress.org",
        "allbirds.com",
        "www.python.org"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("54m_music/website-tech-stack").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": [
        "wordpress.org",
        "allbirds.com",
        "www.python.org",
    ] }

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

```

## MCP server setup

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

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/0e1B8yzDIjINUXhWq/builds/009HcdNGJIJU3MlyU/openapi.json
