# Website Tech Stack Detector (`magicfingers/techstack-detector`) Actor

Detect the complete technology stack of any website. Identifies CMS, frameworks, analytics, CDN, hosting, payments, and 100+ technologies with confidence scores and version detection.

- **URL**: https://apify.com/magicfingers/techstack-detector.md
- **Developed by:** [abdulrahman alrashid](https://apify.com/magicfingers) (community)
- **Categories:** Other
- **Stats:** 65 total users, 26 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## 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/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Website Technology Stack Detector

Detect the complete technology stack of any website. This Apify Actor identifies **140+ technologies** across 20+ categories including CMS platforms, JavaScript frameworks, CSS frameworks, analytics tools, advertising pixels, payment processors, CDNs, hosting providers, and more.

### Why this Actor?

- **BuiltWith** charges $295+/month for technology lookups
- **Wappalyzer** was acquired and limited its free tier
- This Actor provides **full detection at a fraction of the cost** — $5 per 1,000 URLs

### What it detects

| Category | Examples |
|---|---|
| **CMS** | WordPress, Shopify, Wix, Squarespace, Webflow, Drupal, Joomla, Ghost, Magento |
| **JavaScript Frameworks** | React, Next.js, Vue, Nuxt, Angular, Svelte, Gatsby, Remix, Ember |
| **CSS Frameworks** | Tailwind CSS, Bootstrap, Bulma, Material UI, Chakra UI, Ant Design |
| **Analytics** | Google Analytics 4, Mixpanel, Amplitude, Hotjar, Segment, Heap, PostHog, Plausible |
| **Advertising** | Google Ads, Facebook Pixel, TikTok Pixel, LinkedIn Insight, Twitter Pixel |
| **Payment** | Stripe, PayPal, Square, Braintree, Klarna, Afterpay |
| **CDN** | Cloudflare, Fastly, AWS CloudFront, Akamai, KeyCDN |
| **Hosting** | AWS, GCP, Azure, Vercel, Netlify, Heroku, DigitalOcean, Fly.io |
| **Email Marketing** | Mailchimp, HubSpot, Klaviyo, SendGrid, ConvertKit, ActiveCampaign |
| **Chat & Support** | Intercom, Zendesk, Drift, Crisp, LiveChat, Tidio, Tawk.to |
| **A/B Testing** | Optimizely, VWO, Google Optimize, LaunchDarkly, AB Tasty |
| **Tag Managers** | Google Tag Manager, Segment, Tealium, Adobe Launch |
| **Security** | reCAPTCHA, hCaptcha, Cloudflare Turnstile, Sucuri, Wordfence |
| **Error Tracking** | Sentry, Bugsnag, Datadog RUM, LogRocket |
| **Build Tools** | Webpack, Vite, Parcel |
| **SEO** | Schema.org, Open Graph, Yoast SEO, Twitter Cards |
| **And more** | Maps, authentication, cookie consent, animations, e-commerce plugins |

### Detection methods

The Actor uses multiple detection techniques for high accuracy:

1. **HTML analysis** — meta tags, generator tags, DOM patterns
2. **JavaScript globals** — checks `window` for framework-specific variables (`__NEXT_DATA__`, `Shopify`, etc.)
3. **HTTP headers** — `X-Powered-By`, `Server`, CDN-specific headers
4. **Script URLs** — CDN patterns, library filenames
5. **CSS patterns** — class naming conventions (Tailwind, Bootstrap, MUI)
6. **Cookies** — technology-specific cookie names
7. **DNS records** — CNAME and NS records for CDN/hosting detection
8. **robots.txt** — CMS-specific paths and patterns

Each technology gets a **confidence score** (0–100%) based on how many signals matched. Version detection is attempted where possible.

### Input

```json
{
    "urls": [
        "https://example.com",
        "https://shopify.com",
        "https://vercel.com"
    ],
    "maxConcurrency": 5,
    "navigationTimeoutSecs": 30,
    "waitForSecs": 3,
    "checkHeaders": true,
    "checkCookies": true,
    "checkDns": true,
    "checkRobotsTxt": true
}
````

| Field | Type | Default | Description |
|---|---|---|---|
| `urls` | array | (required) | URLs to analyze (max 1,000) |
| `maxConcurrency` | integer | 5 | Parallel page analyses |
| `navigationTimeoutSecs` | integer | 30 | Page load timeout |
| `waitForSecs` | integer | 3 | Extra wait for JS rendering |
| `checkHeaders` | boolean | true | Analyze HTTP response headers |
| `checkCookies` | boolean | true | Analyze cookie names |
| `checkDns` | boolean | true | Perform DNS lookups |
| `checkRobotsTxt` | boolean | true | Fetch and analyze robots.txt |
| `proxyConfiguration` | object | none | Proxy settings |

### Output

Each URL produces a dataset item:

```json
{
    "url": "https://vercel.com",
    "domain": "vercel.com",
    "https": true,
    "technologiesCount": 12,
    "categories": "Analytics, CDN, CSS Framework, Cookie Consent, Hosting, JavaScript Framework, SEO",
    "technologies": [
        {
            "name": "Next.js",
            "category": "JavaScript Framework",
            "confidence": 100,
            "evidence": [
                { "type": "html", "matches": ["__NEXT_DATA__", "_next/static"] },
                { "type": "scripts", "matches": ["_next/static/", "_next/"] },
                { "type": "globalJs", "matches": ["__NEXT_DATA__", "__next"] },
                { "type": "headers", "matches": ["X-Powered-By: Next.js"] }
            ],
            "version": "14.0.3",
            "website": "https://nextjs.org"
        },
        {
            "name": "Vercel",
            "category": "Hosting",
            "confidence": 100,
            "evidence": [
                { "type": "headers", "matches": ["X-Vercel-Id: iad1::abcdef"] }
            ],
            "website": "https://vercel.com"
        }
    ],
    "technologyGroups": {
        "JavaScript Framework": ["Next.js", "React"],
        "Hosting": ["Vercel"],
        "CDN": ["Cloudflare"],
        "Analytics": ["Google Analytics 4"]
    },
    "analysisTimeMs": 4523,
    "analyzedAt": "2024-01-15T10:30:00.000Z"
}
```

A summary is also saved to the key-value store under the key `SUMMARY`.

### Use cases

- **Competitive analysis** — see what technologies your competitors use
- **Lead generation** — find companies using specific technologies
- **Market research** — understand technology adoption trends
- **Security audits** — identify outdated or vulnerable technologies
- **Agency prospecting** — find sites built with specific platforms

### Pricing

Pay-Per-Event: **$4.00 per 1,000 URLs** analyzed ($0.004 per URL).

### Limitations

- Some technologies can only be detected when their JavaScript loads (requires full page render)
- Version detection is best-effort and depends on the technology exposing version info
- DNS-based detection may not work behind certain proxy configurations
- Single-page applications may need longer `waitForSecs` for full detection

### License

ISC

# Actor input Schema

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

List of website URLs to analyze. Each URL will be visited and its technology stack detected. Maximum 1,000 URLs per run.

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

Maximum number of pages to analyze in parallel. Higher values are faster but use more memory.

## `navigationTimeoutSecs` (type: `integer`):

Maximum time to wait for page navigation before timing out.

## `waitForSecs` (type: `integer`):

Additional seconds to wait after page load for dynamic content to render.

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

Analyze HTTP response headers for technology hints (X-Powered-By, Server, etc.).

## `checkCookies` (type: `boolean`):

Analyze cookie names for technology detection.

## `checkDns` (type: `boolean`):

Perform DNS lookups to detect CDN and hosting providers. Adds slight overhead per URL.

## `checkRobotsTxt` (type: `boolean`):

Fetch and analyze robots.txt for technology hints.

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

Proxy settings for the crawler. Recommended for large-scale runs.

## Actor input object example

```json
{
  "urls": [
    "https://www.shopify.com"
  ],
  "maxConcurrency": 1,
  "navigationTimeoutSecs": 30,
  "waitForSecs": 3,
  "checkHeaders": true,
  "checkCookies": true,
  "checkDns": true,
  "checkRobotsTxt": true
}
```

# 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://www.shopify.com"
    ],
    "maxConcurrency": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("magicfingers/techstack-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": ["https://www.shopify.com"],
    "maxConcurrency": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("magicfingers/techstack-detector").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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://www.shopify.com"
  ],
  "maxConcurrency": 1
}' |
apify call magicfingers/techstack-detector --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=magicfingers/techstack-detector",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Website Tech Stack Detector",
        "description": "Detect the complete technology stack of any website. Identifies CMS, frameworks, analytics, CDN, hosting, payments, and 100+ technologies with confidence scores and version detection.",
        "version": "1.0",
        "x-build-id": "IqopOdaOV5ENvaCNh"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/magicfingers~techstack-detector/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-magicfingers-techstack-detector",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/magicfingers~techstack-detector/runs": {
            "post": {
                "operationId": "runs-sync-magicfingers-techstack-detector",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/magicfingers~techstack-detector/run-sync": {
            "post": {
                "operationId": "run-sync-magicfingers-techstack-detector",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "urls"
                ],
                "properties": {
                    "urls": {
                        "title": "URLs to analyze",
                        "maxItems": 1000,
                        "type": "array",
                        "description": "List of website URLs to analyze. Each URL will be visited and its technology stack detected. Maximum 1,000 URLs per run.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxConcurrency": {
                        "title": "Max concurrency",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Maximum number of pages to analyze in parallel. Higher values are faster but use more memory.",
                        "default": 1
                    },
                    "navigationTimeoutSecs": {
                        "title": "Navigation timeout (seconds)",
                        "minimum": 10,
                        "maximum": 120,
                        "type": "integer",
                        "description": "Maximum time to wait for page navigation before timing out.",
                        "default": 30
                    },
                    "waitForSecs": {
                        "title": "Wait after load (seconds)",
                        "minimum": 0,
                        "maximum": 30,
                        "type": "integer",
                        "description": "Additional seconds to wait after page load for dynamic content to render.",
                        "default": 3
                    },
                    "checkHeaders": {
                        "title": "Check HTTP headers",
                        "type": "boolean",
                        "description": "Analyze HTTP response headers for technology hints (X-Powered-By, Server, etc.).",
                        "default": true
                    },
                    "checkCookies": {
                        "title": "Check cookies",
                        "type": "boolean",
                        "description": "Analyze cookie names for technology detection.",
                        "default": true
                    },
                    "checkDns": {
                        "title": "Check DNS records",
                        "type": "boolean",
                        "description": "Perform DNS lookups to detect CDN and hosting providers. Adds slight overhead per URL.",
                        "default": true
                    },
                    "checkRobotsTxt": {
                        "title": "Check robots.txt",
                        "type": "boolean",
                        "description": "Fetch and analyze robots.txt for technology hints.",
                        "default": true
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Proxy settings for the crawler. Recommended for large-scale runs."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
