# Tech Stack Fingerprinter: Frameworks, CDN & Headers (`mjohnson7cd/tech-stack-fingerprinter`) Actor

Fingerprint any URL live: server, CDN, WAF, CMS, JavaScript frameworks, analytics, and the security headers it sends, plus the ones it is missing. One row per URL, with the final URL after redirects. Export CSV, Excel, JSON or API. Beta: feedback welcome.

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

## Pricing

from $2.20 / 1,000 url fingerprinteds

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

This **tech stack fingerprinter** checks a website live and tells you what it runs
on: the server, the CDN and WAF vendor in front of it, the JavaScript and server
frameworks, the CMS, the analytics tags, and the security headers it sends, plus the
common ones it is missing. You get one row per URL, with the final URL after
redirects, exported to CSV, Excel, JSON or the Apify API.

Use it for security-header audits, pre-engagement reconnaissance on sites you are
authorised to test, technology inventories across your own properties, or checking
what a site is built with before you migrate or integrate it.

> **Beta.** The output columns and the charged event are stable and covered by an
> automated regression suite. Input options may still gain fields. Problems and
> requests go on the [Issues tab](https://apify.com/mjohnson7cd/tech-stack-fingerprinter/issues).

### What does the tech stack fingerprinter detect?

| Category | Technologies | How it is detected |
|---|---|---|
| Server | whatever the site sends | the `Server` header, verbatim (`"Unknown"` when absent) |
| CDN | Cloudflare, Akamai, Fastly, Amazon CloudFront | vendor headers (`CF-RAY`, `X-Amz-Cf-Id`, `Fastly-*`, `X-Akamai-*`) or the vendor named in `Server`, `Via`, `X-Cache`, `X-Served-By` or a cookie. One CDN per row. |
| WAF vendor | Cloudflare WAF, Akamai WAF, AWS WAF, Imperva | Cloudflare: `CF-RAY`; Akamai: `Server: AkamaiGHost`; Imperva: `incap` cookies; AWS WAF: only an `x-amzn-waf-*` header, which AWS sends only when configured to, so it is rarely detectable. This names the vendor's edge in front of the site; it cannot tell whether any rules are switched on. |
| JavaScript frameworks | React, Vue.js, Angular, Next.js, Nuxt.js | markup and bundle markers (`data-reactroot`, `/_next/`, `data-v-…`, `__nuxt`, `ng-version`, …) |
| Server frameworks | Django, Rails, Laravel, Express | Django: `csrfmiddlewaretoken`; Rails: `authenticity_token` / `rails-ujs`; Laravel: `laravel_session` cookie; Express (and Next.js): `X-Powered-By` |
| CMS | WordPress, Drupal, Joomla | the `<meta name="generator">` tag, or the CMS's asset paths (`/wp-content/`, `data-drupal-…`, `/media/jui/`) |
| Analytics | Google Analytics, Google Tag Manager, Segment, Mixpanel | their script URLs or init calls in the HTML |
| Security headers | CSP, HSTS, X-Frame-Options, X-Content-Type-Options, X-XSS-Protection, Referrer-Policy, Permissions-Policy | Reported when present; the first four are flagged when missing. |

### How to check a website's tech stack: step by step

1. Click **Try for free** and sign in to Apify.
2. Paste one or more URLs into **Target URLs** - `https://example.com`, or just
   `example.com`. Up to 100 URLs per run.
3. Optional: switch off **Analyze Headers**, **Analyze HTML** or **Security Headers**
   if you only need part of the picture.
4. Click **Start**. Each URL becomes a row as soon as it is checked. Export from the
   **Storage** tab as CSV, Excel or JSON, or read it over the [Apify API](https://docs.apify.com/api/v2).

On the Apify platform you also get [scheduling](https://docs.apify.com/platform/schedules)
(re-check your sites' security headers every week),
[integrations](https://docs.apify.com/platform/integrations) (Make, Zapier, Slack,
Google Sheets, webhooks) and API access, without writing any of it yourself.

### How much does the tech stack fingerprinter cost?

One paid event, **`url-fingerprinted`**, charged once for each URL fetched live and
fingerprinted with HTTP 200. The price depends on your Apify plan:

| Apify plan | Price per URL | 100 URLs |
|---|---|---|
| Free | $0.004 | $0.40 |
| Starter | $0.0034 | $0.34 |
| Scale | $0.0028 | $0.28 |
| Business and above | $0.0022 | $0.22 |

Apify adds its standard run-start charge of $0.00005 per run (charged once, because
the Actor runs on at most 1 GB of memory). There is no monthly fee and no
compute-unit bill on top.

What is **not** charged:

- URLs that fail: a non-200 status, a timeout, a refused or TLS-failed connection, or
  a blocked internal address. They still get a row with `error` saying why.
- Duplicates: the same URL entered twice is checked and charged once, even if the run
  is restarted.
- Anything after your **max cost per run**: the run works out what your budget pays
  for before each URL and stops cleanly, so the total never goes over your limit.

The Pricing tab always shows the current prices.

### Input example

```json
{
  "urls": ["https://example.com", "https://example.org"],
  "checkHeaders": true,
  "checkHtml": true,
  "checkSecurity": true
}
```

### Output: one row per URL

```json
{
  "url": "https://example.com/",
  "finalUrl": "https://www.example.com/",
  "status": 200,
  "server": "nginx",
  "cdn": "Cloudflare",
  "waf": "Cloudflare WAF",
  "frameworks": ["React", "Next.js"],
  "analytics": ["Google Analytics"],
  "cms": null,
  "meta_generator": null,
  "security_headers": {
    "Content-Security-Policy": "default-src 'self'",
    "Strict-Transport-Security": "max-age=31536000"
  },
  "vulnerabilities": ["Missing X-Frame-Options (Clickjacking risk)"],
  "error": null
}
```

- `finalUrl` is where redirects ended (up to 10 hops). It can be another host, for
  example `www.`.
- Header-based fields (`server`, `cdn`, `waf`, Express, Laravel) need **Analyze
  Headers**; HTML-based ones (frameworks in markup, `cms`, `analytics`,
  `meta_generator`) need **Analyze HTML**. Switched-off checks leave their fields
  empty.
- `vulnerabilities` lists **missing security headers only**. It is a header audit,
  not a vulnerability scan.

The Storage tab has two table views: **Overview** (the stack) and **Security
headers**.

### Limits, stated plainly

- **One live fetch of the page you enter, no browser.** Detection reads the response
  headers and the first 5 MB of HTML. Tags and frameworks injected later by
  JavaScript are not seen, and a technology that leaves no marker is not detected.
  Treat results as evidence to verify, not proof.
- **One CDN and one WAF vendor per row**, even if a site uses several.
- **Unreachable URLs.** If 10 URLs in a row get no answer at all (timeout, refused,
  TLS or DNS failure), the run stops and its status message says the remaining URLs
  were not checked. An HTTP error such as 403 or 500 is an answer and does not count.
- Only public `http(s)` URLs. `localhost`, private and cloud-metadata addresses and
  other schemes are refused, including when a hostname resolves to one or a redirect
  points into one.

### FAQ

**Is it legal to fingerprint a website?** It sends one ordinary GET request per URL,
the same as a browser visit, and reads only what the site returns publicly. Only
check sites you own or are authorised to test, and follow each site's terms. You are
responsible for that permission.

**Why is a technology I know the site uses missing?** It probably leaves no marker
in the headers or the initial HTML - for example it is loaded by JavaScript after the
page renders. This Actor does not run a browser.

**Why did a URL fail?** The `error` column says: an HTTP status such as `HTTP 403`,
a timeout, a TLS or connection error, or a refused internal address. Failed URLs are
not charged.

**Something is broken or missing.** Open an issue on the
[Issues tab](https://apify.com/mjohnson7cd/tech-stack-fingerprinter/issues).

### Ready-made examples

One-click starting points. Each opens with the input filled in, ready to run or edit:

- [Detect what a website is built with](https://apify.com/mjohnson7cd/tech-stack-fingerprinter/examples/detect-website-technology-stack)
- [Audit website security headers](https://apify.com/mjohnson7cd/tech-stack-fingerprinter/examples/audit-website-security-headers)

### Other Actors by the same author

| Actor | What it does |
|---|---|
| [AliExpress Scraper](https://apify.com/mjohnson7cd/aliexpress-scraper) | Products, prices, discounts and units sold from AliExpress search |
| [Walmart Scraper](https://apify.com/mjohnson7cd/walmart-scraper) | Walmart search, product pages, seller offers and reviews in one Actor |
| [Walmart Search Scraper](https://apify.com/mjohnson7cd/walmart-search-scraper) | Walmart products and prices by keyword |
| [Walmart Product Scraper](https://apify.com/mjohnson7cd/walmart-product-scraper) | Walmart price, stock and seller offers by product URL or item ID |
| [Walmart Reviews Scraper](https://apify.com/mjohnson7cd/walmart-reviews-scraper) | Walmart customer reviews by product URL or item ID |
| [EU Company Registry & KYB Lookup](https://apify.com/mjohnson7cd/eu-company-registry-kyb) | Company lookups in the official FR, NO, FI and CZ registries |
| [API Endpoint Crawler](https://apify.com/mjohnson7cd/api-endpoint-crawler) | Finds the API endpoints a website's JavaScript calls |
| [Subdomain Finder](https://apify.com/mjohnson7cd/subdomain-finder) | Finds a domain's subdomains from certificate transparency and DNS, probed live |

### Affiliation

Not affiliated with or endorsed by any of the vendors whose products it detects.
Product names are used only to describe what was detected.

# Changelog

This Actor's version history is a separate document: https://apify.com/mjohnson7cd/tech-stack-fingerprinter/changelog.md

# Actor input Schema

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

URLs to fingerprint, up to 100 per run. Only enter sites you own or are authorised to test.

## `checkHeaders` (type: `boolean`):

Read the response headers for the server, CDN, WAF, and frameworks that announce themselves in headers (Express, Next.js, Laravel)

## `checkHtml` (type: `boolean`):

Parse the HTML (first 5 MB) for JavaScript frameworks, server frameworks, CMS, analytics and the meta generator tag

## `checkSecurity` (type: `boolean`):

Report the security headers sent (CSP, HSTS, etc.) and flag four common ones when missing

## Actor input object example

```json
{
  "urls": [
    "https://example.com"
  ],
  "checkHeaders": true,
  "checkHtml": true,
  "checkSecurity": true
}
```

# Actor output Schema

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

Dataset containing framework detection, CDN/WAF identification, security header analysis, and vulnerability findings for each URL

# 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": [
        "https://example.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mjohnson7cd/tech-stack-fingerprinter").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": ["https://example.com"] }

# Run the Actor and wait for it to finish
run = client.actor("mjohnson7cd/tech-stack-fingerprinter").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": [
    "https://example.com"
  ]
}' |
apify call mjohnson7cd/tech-stack-fingerprinter --silent --output-dataset

```

## MCP server setup

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

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/ZrVwpX7s29QAx71wF/builds/N17aGfw1QJO4dUTXk/openapi.json
