# Tech Stack Detector: Detect Technologies Used by Any Website (`gnom-tools/tech-stack-detector`) Actor

Detect CMS, JavaScript frameworks, analytics, e-commerce platform, hosting, CDN, payment providers and security tools on any website. Scans multiple pages per site and returns evidence for every detection.

- **URL**: https://apify.com/gnom-tools/tech-stack-detector.md
- **Developed by:** [Gnom Automation](https://apify.com/gnom-tools) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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: Detect Technologies Used by Any Website

Find out what any website is built with: CMS, JavaScript frameworks, analytics, e-commerce platform, hosting, CDN, payment providers, marketing tools and security services.

Built for sales prospecting, competitor research, market analysis and technical due diligence. No browser needed: fast HTTP checks across several pages per site, with evidence for every detection.

### What you get

One dataset item per website:

| Field | Description |
| --- | --- |
| `cms` | CMS or website builder (WordPress, Shopify, Webflow, Wix, Drupal, AEM...) |
| `frameworks` | React, Next.js, Vue, Nuxt, Angular, Svelte, Astro, Tailwind, Bootstrap... |
| `analytics` | Google Analytics, GTM, Mixpanel, Amplitude, Hotjar, Clarity, Segment... |
| `ecommerce` | Shopify, WooCommerce, Magento, BigCommerce, PrestaShop, OpenCart... |
| `hosting` | Vercel, Netlify, AWS, Cloudflare, Kinsta, WP Engine, Nginx, Apache... |
| `cdn` | Cloudflare, Akamai, Fastly, CloudFront, Bunny CDN... |
| `payments` | Stripe, PayPal, Adyen, Klarna, Braintree, Mollie... |
| `marketing` | HubSpot, Klaviyo, Intercom, Drift, Zendesk, Optimizely... |
| `security` | reCAPTCHA, hCaptcha, Turnstile, DataDome, PerimeterX, Akamai Bot Manager... |
| `technologies` | Flat list with category, confidence and **evidence** (HTML pattern, header, cookie, script host) |
| `pagesScanned` | Which pages of the site were analyzed |

### How detection works

Each website is checked on the homepage plus up to *Pages per website* internal pages, prioritizing pricing, product, about, docs and contact pages. Signals come from:

- HTML markup, inline scripts and class names
- Response headers (`server`, `x-powered-by`, `cf-ray`, `x-vercel-id`, ...)
- Cookies (`__cf_bm`, `_shopify_s`, `PHPSESSID`, ...)
- `<meta name="generator">`
- Third-party script and stylesheet hosts

Every detection includes its confidence score and the evidence that triggered it, so you can verify the result instead of guessing.

### Use cases

- **Lead enrichment** — add tech stack to company lists for personalized outreach.
- **Competitor research** — see which platforms, analytics and payment providers rivals use.
- **Market analysis** — measure CMS, framework and CDN market share across a list of domains.
- **Due diligence** — quickly understand the technical footprint of an acquisition target.
- **Sales qualification** — filter prospects by e-commerce platform or analytics stack.

### Input example

```json
{
  "urls": ["stripe.com", "shopify.com", "apify.com"],
  "maxPages": 5,
  "concurrency": 4,
  "timeoutSecs": 20
}
```

### Output example

```json
{
  "url": "https://stripe.com/",
  "finalUrl": "https://stripe.com/",
  "statusCode": 200,
  "title": "Stripe | Financial Infrastructure to Grow Your Revenue",
  "cms": null,
  "frameworks": ["Next.js", "React"],
  "analytics": ["Google Tag Manager"],
  "ecommerce": [],
  "hosting": ["Nginx"],
  "cdn": [],
  "payments": ["Stripe"],
  "marketing": [],
  "security": [],
  "techCount": 6,
  "technologies": [
    {
      "name": "Next.js",
      "category": "Framework",
      "confidence": 0.85,
      "evidence": ["html: __NEXT_DATA__", "header: x-nextjs-cache=HIT"]
    }
  ],
  "pagesScanned": ["https://stripe.com/", "https://stripe.com/pricing"],
  "errors": []
}
```

### Notes

- Works on plain HTML sites and server-rendered pages. Client-side-only apps are detected from their initial HTML shell (Next.js, Nuxt, etc.).
- Enable **Apify Proxy** if target sites block datacenter IPs.
- Runs of 1–500 websites are supported; split larger lists into batches.

# Actor input Schema

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

Websites to analyze. Full URLs or domains, one per line. Up to 500 per run.

## `maxPages` (type: `integer`):

How many pages to scan per website (homepage plus pricing, about, product pages). More pages improve detection at a small speed cost.

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

Optional. Enable Apify Proxy if target sites block datacenter IPs (large e-commerce and SaaS sites often do).

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

How many websites are processed in parallel.

## `timeoutSecs` (type: `integer`):

Timeout applied to each individual HTTP request.

## Actor input object example

```json
{
  "urls": [
    "stripe.com",
    "shopify.com",
    "apify.com"
  ],
  "maxPages": 5,
  "concurrency": 4,
  "timeoutSecs": 20
}
```

# Actor output Schema

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

Dataset with one item per website: CMS, frameworks, analytics, e-commerce, hosting, CDN, payments, security and evidence for each detection.

## `summary` (type: `string`):

Number of websites processed, pages per site and whether a proxy was used.

# 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": [
        "stripe.com",
        "shopify.com",
        "apify.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("gnom-tools/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": [
        "stripe.com",
        "shopify.com",
        "apify.com",
    ] }

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

```

## MCP server setup

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