# Tech Stack Detector — First-Party, No API Key (`xtracto/tech-stack-detector`) Actor

Detect a website's CMS, framework, ecommerce platform, hosting, analytics and payment stack by reading the site's own response — headers, cookies, markup. Every detection carries the evidence that found it. Keyless, HTTP-only.

- **URL**: https://apify.com/xtracto/tech-stack-detector.md
- **Developed by:** [Farhan Febrian Nauval](https://apify.com/xtracto) (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 $1.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## Tech Stack Detector

Find out what any website is built on – CMS, framework, ecommerce platform, hosting and CDN, analytics, payments and support widgets – with the evidence behind every detection.

### Why use this actor

- **No API key and no third-party service.** It looks at the website itself, so it also works on sites that technology databases have never indexed.
- **Evidence for every result:** each detection shows the exact header, cookie or page pattern that found it, so you can judge it instead of trusting a label.
- **Confidence levels** (`strong`, `medium`, `weak`) let you keep only results you can act on without review.
- **Headline answers per category** (`cms`, `framework`, `ecommercePlatform`, `hosting`) for quick lead lists, plus the full list grouped by category.
- **Versions when the site states them**, for example `WordPress 6.9.11`, never guessed.
- **Stable JSON output** you can export to JSON, CSV or Excel, or schedule on Apify to watch for platform changes.

### How it works

1. Paste domains or URLs, one per line.
2. The actor opens each site once and checks its response headers, cookies, page code and file links against a library of technology signatures.
3. Each site becomes one row: the technologies found, grouped by category, with confidence and evidence.
4. Filter by confidence and download the dataset.

You do not need to manage scrapers, browsers or blocks.

### Input

```json
{
  "urls": ["techcrunch.com", "gymshark.com", "vercel.com"],
  "minConfidence": "weak",
  "includeEvidence": true,
  "concurrency": 5,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

| Field | Type | Description |
|---|---|---|
| `urls` | array of strings | One domain or URL per line. |
| `minConfidence` | string | `weak` = everything found, `medium` = file paths and page markers and above, `strong` = server headers, cookies and the generator tag only. |
| `includeEvidence` | boolean | Add the `detections` array showing which signal matched. Default `true`. |
| `concurrency` | integer | How many sites to check at once (1-12, default 5). |
| `proxyConfiguration` | object | Optional. Some sites refuse datacenter addresses. |

### Output

A real row for `techcrunch.com`:

```json
{
  "_input": "techcrunch.com",
  "_source": "S1-first-party",
  "_scrapedAt": "2026-11-11T13:13:05Z",
  "url": "techcrunch.com",
  "finalUrl": "https://techcrunch.com/",
  "statusCode": 200,
  "technologyCount": 3,
  "technologies": ["WordPress", "Cloudflare", "Google Tag Manager"],
  "confidentTechnologies": ["WordPress", "Cloudflare"],
  "byCategory": {
    "CMS": ["WordPress"],
    "Hosting / CDN": ["Cloudflare"],
    "Analytics": ["Google Tag Manager"]
  },
  "cms": "WordPress",
  "framework": null,
  "ecommercePlatform": null,
  "hosting": ["Cloudflare"],
  "generatorMeta": "WordPress 6.9.11",
  "serverHeader": "cloudflare",
  "cookieNames": [],
  "detections": [
    {
      "technology": "WordPress",
      "category": "CMS",
      "version": "6.9.11",
      "confidence": "strong",
      "signals": ["generator", "html"],
      "evidence": [
        { "signal": "generator", "detail": "meta generator: WordPress 6.9.11" },
        { "signal": "html", "detail": "matched '/wp-content/' in the page" }
      ]
    },
    {
      "technology": "Cloudflare",
      "category": "Hosting / CDN",
      "version": null,
      "confidence": "strong",
      "signals": ["headers"],
      "evidence": [
        { "signal": "headers", "detail": "server: cloudflare" },
        { "signal": "headers", "detail": "cf-ray: a58d8d5abdd1cdde-SIN" }
      ]
    },
    "… 1 more"
  ]
}
```

In the same run, `gymshark.com` returned `"ecommercePlatform": "Shopify"` (found from the `powered-by: Shopify` header and `_shopify_essential` cookie) and `vercel.com` returned `"hosting": ["Vercel"]`.

| Field | Type | Description |
|---|---|---|
| `_input`, `_source`, `_scrapedAt` | string | Which input produced the row, how it was read, and when. |
| `url`, `finalUrl` | string | The address you gave and where it ended up after redirects. |
| `statusCode` | integer | HTTP status of the final page. |
| `technologyCount`, `technologies` | integer, array | Everything found (after the confidence filter). |
| `confidentTechnologies` | array | Only the strong-signal detections. |
| `byCategory` | object | Technologies grouped by category. |
| `cms`, `framework`, `ecommercePlatform` | string or null | The headline answer per category. |
| `hosting` | array | Hosting and CDN layers (these often stack). |
| `generatorMeta`, `serverHeader`, `cookieNames` | string, string, array | The raw clues, so nothing is hidden. |
| `detections` | array | Per technology: `category`, `version`, `confidence`, `signals` and the exact `evidence`. |
| `_error` | string | Only on a failed site: `not_html` (not a web page) or `request_failed` (site could not be reached). |

### Confidence levels

| Level | Signal | Meaning |
|---|---|---|
| `strong` | Response header, server-set cookie, generator tag | The server said it. |
| `medium` | Recognisable file path or framework page marker | Very likely, occasionally a leftover. |
| `weak` | Common library reference such as jQuery, Bootstrap or React | Present on the page, but a page can include these for any reason. |

### Notes and limits

- One visit per site shows what the site exposes today. It does not show history or market-share data.
- Some sites expose nothing at all. They come back with `technologyCount: 0`, which is a real answer rather than a guess.
- One header can name two technologies (for example `x-powered-by: Next.js, Payload`); both are reported.
- Related: **URL Inspector** for status codes, redirects and link previews, and **Sitemap Crawler** to gather a site's URLs first.

# Actor input Schema

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

One domain or URL per line. The site's own response is analysed — no third-party service is queried.

## `minConfidence` (type: `string`):

Strong signals are server-set headers, cookies and the generator meta tag. Medium means a fingerprinted asset path. Weak covers libraries a page can include for any reason — jQuery, Bootstrap, React.

## `includeEvidence` (type: `boolean`):

Adds a detections array showing exactly which header, cookie or pattern matched, so you can judge each result rather than trusting it.

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

How many sites to fingerprint at once.

## `proxyConfiguration` (type: `object`):

Optional. Some sites refuse datacentre addresses.

## Actor input object example

```json
{
  "urls": [
    "techcrunch.com",
    "gymshark.com",
    "vercel.com"
  ],
  "minConfidence": "weak",
  "includeEvidence": true,
  "concurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One row per scraped record, stored in the run's default dataset.

# 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": [
        "techcrunch.com",
        "gymshark.com",
        "vercel.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("xtracto/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 = { "urls": [
        "techcrunch.com",
        "gymshark.com",
        "vercel.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("xtracto/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 '{
  "urls": [
    "techcrunch.com",
    "gymshark.com",
    "vercel.com"
  ]
}' |
apify call xtracto/tech-stack-detector --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xtracto/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/9bvn5kaBnUUiLFsaH/builds/YNRJj7VQvr9MWbfSo/openapi.json
