# 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
- **Features:** Limited permissions
- **Stats:** 220 total users, 36 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 4.31 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/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

## 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(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://www.shopify.com"
  ],
  "maxConcurrency": 1
}' |
apify call magicfingers/techstack-detector --silent --output-dataset

```

## MCP server setup

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