# Website Tech Stack Intelligence + AI (Sales & Modernization) (`lizzyyy2/tech-stack-intelligence-ai`) Actor

Detect any website's technology stack (CMS, frameworks, analytics, marketing, payments, CDN) over HTTP, then turn it into AI sales-gap intelligence with a personalized opener and/or a modernization & security audit with prioritized fixes. Built-in AI, no API key.

- **URL**: https://apify.com/lizzyyy2/tech-stack-intelligence-ai.md
- **Developed by:** [Lizzy](https://apify.com/lizzyyy2) (community)
- **Categories:** AI, Lead generation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 website analyzeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## 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 Tech Stack Intelligence + AI

Detect any website's **technology stack** over plain HTTP — CMS, frameworks, JavaScript libraries, analytics, marketing automation, payments, CDN, live chat, reviews and more — then turn that raw detection into one of two **AI work products**:

- **Sales gaps** — what valuable capabilities the site is *missing*, an estimated SaaS spend tier, a fit score and a ready-to-send **personalized outreach opener**.
- **Modernization & security audit** — outdated/end-of-life tech and missing security headers, with a prioritized fix list and an **agency pitch** you can send to win the project.

Run either report, or **both** in one pass. Built-in AI — **no API key required.**

---

### Who it's for

- **B2B sales / agencies** — find prospects by what they use (and don't use), and open with a message tied to their actual stack.
- **Web / dev agencies** — surface sites running AngularJS, old jQuery, end-of-life PHP, no HTTPS/HSTS/CSP and pitch a modernization project.
- **Competitive & market research** — map the tooling behind a list of companies at scale.

### Input

| Field | Description |
|-------|-------------|
| `domains` | Domains or full URLs, one per line (e.g. `shopify.com`, `https://example.com`). |
| `analysisMode` | `both` (default), `sales`, or `modernization`. |
| `yourOffer` | *(sales mode)* What you sell, so the AI scores fit and tailors the opener. |
| `aiEnrichment` | Turn AI on/off. Off = raw tech detection only (no AI charges). |
| `aiLanguage` | Language for AI-written fields (default English). |
| `proxyConfiguration` | Apify Proxy recommended (rotating IPs). |

### Output (per website)

```jsonc
{
  "input": "example.com",
  "reachable": true,
  "technologyCount": 9,
  "technologies": [ { "name": "Shopify", "category": "ecommerce", "version": null, "confidence": "high" } ],
  "categoriesPresent": ["E-commerce platform", "CDN", "Analytics"],
  "missingCapabilities": ["Email / marketing automation", "Live chat / support", "Reviews / social proof"],
  "estimatedSpendTier": "Medium",
  "modernizationFlags": [ { "tech": "jQuery 1.12.4", "severity": "high", "issue": "..." } ],
  "riskLevel": "High",
  "salesAnalysis": { "opportunitySummary": "...", "fitScore": 78, "personalizedOpener": "...", "bestAngle": "..." },
  "modernizationAnalysis": { "riskLevel": "High", "outdatedFindings": ["..."], "recommendations": ["..."], "agencyPitch": "..." }
}
````

### How it works

Each site's homepage is fetched once over HTTP (no browser). Technologies are matched from HTML markup, asset URLs, response headers and cookies. Modernization/security flags (EOL libraries, version disclosure, missing HTTPS/HSTS/CSP) are computed deterministically, then the built-in AI turns the findings into the human-readable sales or modernization report.

### Notes & limits

- Detection is **signature-based** and conservative — it reports what's visible in the initial HTML response. Tools loaded only after heavy client-side JavaScript may not be detected.
- One homepage request per domain keeps runs fast and cheap.
- Always respect each website's terms and applicable laws when scraping.

# Actor input Schema

## `domains` (type: `array`):

Domains or full URLs to analyze, one per line (e.g. "shopify.com" or "https://example.com"). The homepage of each is fetched over HTTP.

## `analysisMode` (type: `string`):

What AI report(s) to produce. "Sales" finds capability gaps and writes a personalized outreach opener. "Modernization" audits outdated/insecure tech for an agency pitch. "Both" runs the two reports.

## `yourOffer` (type: `string`):

Describe the product/service you sell so the AI can score fit and tailor the outreach opener (e.g. "email marketing platform for Shopify stores"). Leave empty for a generic opportunity read.

## `aiEnrichment` (type: `boolean`):

Run the built-in AI to produce the sales and/or modernization report. Turn off to get raw technology detection only (no AI charges).

## `aiLanguage` (type: `string`):

Language for the AI-written fields (summaries, openers, recommendations).

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

Apify Proxy is recommended so requests come from rotating IPs.

## Actor input object example

```json
{
  "domains": [
    "shopify.com",
    "https://www.notion.so"
  ],
  "analysisMode": "both",
  "aiEnrichment": true,
  "aiLanguage": "English",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Per-website technology detection plus AI sales-gap and/or modernization analysis in the 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 = {
    "domains": [
        "apify.com",
        "monday.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lizzyyy2/tech-stack-intelligence-ai").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 = { "domains": [
        "apify.com",
        "monday.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("lizzyyy2/tech-stack-intelligence-ai").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 '{
  "domains": [
    "apify.com",
    "monday.com"
  ]
}' |
apify call lizzyyy2/tech-stack-intelligence-ai --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=lizzyyy2/tech-stack-intelligence-ai",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Website Tech Stack Intelligence + AI (Sales & Modernization)",
        "description": "Detect any website's technology stack (CMS, frameworks, analytics, marketing, payments, CDN) over HTTP, then turn it into AI sales-gap intelligence with a personalized opener and/or a modernization & security audit with prioritized fixes. Built-in AI, no API key.",
        "version": "0.1",
        "x-build-id": "5owSttnWuWHAhDbiD"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/lizzyyy2~tech-stack-intelligence-ai/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-lizzyyy2-tech-stack-intelligence-ai",
                "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/lizzyyy2~tech-stack-intelligence-ai/runs": {
            "post": {
                "operationId": "runs-sync-lizzyyy2-tech-stack-intelligence-ai",
                "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/lizzyyy2~tech-stack-intelligence-ai/run-sync": {
            "post": {
                "operationId": "run-sync-lizzyyy2-tech-stack-intelligence-ai",
                "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": [
                    "domains"
                ],
                "properties": {
                    "domains": {
                        "title": "Websites / domains",
                        "type": "array",
                        "description": "Domains or full URLs to analyze, one per line (e.g. \"shopify.com\" or \"https://example.com\"). The homepage of each is fetched over HTTP.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "analysisMode": {
                        "title": "Analysis mode",
                        "enum": [
                            "both",
                            "sales",
                            "modernization"
                        ],
                        "type": "string",
                        "description": "What AI report(s) to produce. \"Sales\" finds capability gaps and writes a personalized outreach opener. \"Modernization\" audits outdated/insecure tech for an agency pitch. \"Both\" runs the two reports.",
                        "default": "both"
                    },
                    "yourOffer": {
                        "title": "What you sell (optional, sales mode)",
                        "type": "string",
                        "description": "Describe the product/service you sell so the AI can score fit and tailor the outreach opener (e.g. \"email marketing platform for Shopify stores\"). Leave empty for a generic opportunity read."
                    },
                    "aiEnrichment": {
                        "title": "Enable AI analysis",
                        "type": "boolean",
                        "description": "Run the built-in AI to produce the sales and/or modernization report. Turn off to get raw technology detection only (no AI charges).",
                        "default": true
                    },
                    "aiLanguage": {
                        "title": "AI output language",
                        "type": "string",
                        "description": "Language for the AI-written fields (summaries, openers, recommendations).",
                        "default": "English"
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Apify Proxy is recommended so requests come from rotating IPs.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
