# Website Tech Stack Detector API: Detect Website Technology (`loamy_barista/website-tech-stack-detector`) Actor

Detect website technology: the full tech stack of any site: CMS, ecommerce platform, analytics, ad pixels, tag managers, JS frameworks, CDN, hosting, payments, chat and consent tools. 250+ signatures from public HTML and headers. Monitor mode flags stack changes.

- **URL**: https://apify.com/loamy_barista/website-tech-stack-detector.md
- **Developed by:** [Keel Data](https://apify.com/loamy_barista) (community)
- **Categories:** Lead generation, Developer tools, SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.00 / 1,000 site 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/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

## Website Tech Stack Detector API: Detect Website Technology

Use it to detect website technology and the tech stack of any site: give it a list of domains and get back each site's stack as one flat row per site: CMS, ecommerce platform, analytics, ad pixels, tag manager, JavaScript framework, CDN, hosting, web server, payments, chat, consent banner and more. It reads only the public home page and its response headers, with 250+ hand-written signatures. Monitor mode re-checks a list on a schedule and returns only the sites whose stack changed.

### What it returns

One row per website. The same 48 fields on every run, in the same order. A category with nothing detected is `null`, never a missing key.

Real row from the daily health run (2026-11-23), trimmed:

| Field | Example | Notes |
|---|---|---|
| `domain` | `apify.com` | Host without `www.` |
| `status` | `ok` | `ok` = analyzed and charged; `error` = failed, free |
| `technologies` | `Google Tag Manager, HubSpot, Next.js, React, Amazon CloudFront, Intercom` | Every detection, comma-separated |
| `technologyCount` | `6` | |
| `cms` / `ecommerce` | `null` / `null` | e.g. `WordPress`, `Webflow` / `Shopify`, `WooCommerce` |
| `analytics` / `tagManager` | `null` / `Google Tag Manager` | e.g. `Google Analytics, Hotjar` |
| `advertising` | `null` | Ad pixels: Meta, Google Ads, LinkedIn, TikTok and others |
| `marketingAutomation` | `HubSpot` | CRM, email and form tools |
| `jsFramework` | `Next.js, React` | |
| `cdn` / `hosting` / `webServer` | `Amazon CloudFront` / `null` / `null` | |
| `payments`, `chat`, `consent`, `reviews` | `null`, `Intercom`, `null`, `null` | |
| `versions` | `WordPress 7.2` (wordpress.org, same run) | Only when the site exposes it |
| `evidence` | `{"HubSpot":"resource js.hs-scripts.com/19497222.js", ...}` | Why each technology was reported |
| `hasHsts`, `hasContentSecurityPolicy` | `true`, `true` | Security headers present |
| `pageTitle`, `metaDescription`, `language` | `Apify: Marketplace of ...`, `...`, `en` | |
| `stackHash` | `d2d0e14c078db078` | Changes when the stack changes |
| `changeType`, `addedTechnologies`, `removedTechnologies` | `changed`, `Klaviyo`, `Mailchimp` | Monitor mode only |
| `httpStatus`, `responseTimeMs`, `pageBytes`, `scrapedAt` | `200`, `141`, `524079`, `2026-11-23T17:13:08Z` | |

Other categories: `jsLibrary`, `cssFramework`, `backendLanguage`, `fonts`, `abTesting`, `search`, `security`, `video`.

### Use cases

- **Lead lists for agencies and SaaS sales:** find every prospect on Shopify without Klaviyo, or on WordPress with no consent banner.
- **Competitor and market research:** see which analytics, pixels and frameworks a market segment uses.
- **Change alerts:** run monitor mode weekly on your customer or prospect list and get only the sites that switched platform, added a pixel or dropped a tool.
- **AI agents:** one call answers "what is example.com built with?" with typed, documented fields.

### Pricing

Pay per result: **$0.007 per site analyzed**. 1,000 sites = $7.00. Sites that fail (DNS error, timeout, HTTP error, bot wall, robots.txt) are returned free with the reason. In monitor mode, unchanged sites are skipped and not charged. No proxy or per-technology fees (only the platform's standard $0.00005 start event). Set `maxItems` to cap spend.

### Input

Runs with zero configuration (4 sample sites). Main fields:

```json
{
  "websites": ["allbirds.com", "https://wordpress.org"],
  "maxItems": 100,
  "onlyNew": false,
  "monitorId": "default"
}
```

- `websites`: domains or URLs, one per line. Also accepted as `urls`, `domains` or `startUrls`.
- `onlyNew` + `monitorId`: monitor mode. The first run returns every site (`changeType: new`); later runs return only sites whose technology list changed.
- `respectRobotsTxt` (default true), `includeFailedSites` (default true), `maxConcurrency` (5), `requestTimeoutSecs` (30), `verifySsl` (true), `proxyConfiguration` (off).

### Switching from another tech detector Actor

Input field names from the most used alternatives work unchanged, so a switch takes a minute:

| Other Actor's input | Same input here |
|---|---|
| `{"websites": ["apify.com", "allbirds.com"]}` | `{"websites": ["apify.com", "allbirds.com"]}` |
| `{"urls": ["https://openai.com"], "verify_ssl": true}` | `{"urls": ["https://openai.com"], "verify_ssl": true}` |

What changes: one row per site with a fixed set of category columns (easy to filter in a spreadsheet), an `evidence` field for every detection, free failed rows, and monitor mode.

### For AI agents (Apify MCP)

- Call with `{"websites": ["example.com"]}`. A single site returns in a few seconds.
- Output is a flat JSON array; the field list above is complete and stable.
- A run summary is saved to the key-value store record `RUN_SUMMARY` (sites analyzed, failures with reasons, robots.txt skips).

### Limits

- One request per site (the URL you give, usually the home page). Technologies that only appear on inner pages, behind a login, or after JavaScript runs in a browser may be missed. Client-side apps that inject all scripts at runtime show fewer detections.
- Detection uses public markers only, so a site can hide a technology. The `evidence` field shows what each detection is based on.
- Sites behind a bot challenge or CAPTCHA are reported as `error` and not charged. CAPTCHAs are never solved.

### FAQ

**Is it legal?** It fetches one public page per site you supply, the same page any browser loads, and checks robots.txt by default. It reads cookie names only (never values) and returns no personal data.
**Does it need a login or proxies?** No login. No proxy for most sites; an optional Apify proxy helps with large lists.
**What if it breaks?** It is health-tested every day and fixed the same day. Open an issue on the Issues tab and it is answered within 24 hours.

If this Actor saves you time, a short review on the Store helps other users find it.

### More from Keel Data

Tested daily; failures are fixed the same day.

- [Greenhouse Jobs API: Lever and Ashby Job Board Scraper](https://apify.com/loamy_barista/ats-job-board-scraper)
- [Remote Jobs Aggregator: Himalayas, Jobicy, Arbeitnow, Remote OK](https://apify.com/loamy_barista/remote-jobs-aggregator)
- [Shopify Products JSON Scraper: Full Store Catalog](https://apify.com/loamy_barista/shopify-store-products)
- [PDF Text Extractor for AI and RAG](https://apify.com/loamy_barista/pdf-text-extractor)

If this Actor saved you time, a short review on the Store page helps other builders find it.

# Actor input Schema

## `websites` (type: `array`):

Domains or URLs to analyze, one per line, e.g. example.com or https://shop.example.com. The home page (or the exact URL given) is fetched once per site. Also accepted as 'urls', 'domains' or 'startUrls'.

## `maxItems` (type: `integer`):

Stop after this many analyzed sites (caps spend). Failed sites are not counted or charged.

## `onlyNew` (type: `boolean`):

Return only sites seen for the first time or whose technology list changed since the last run with the same monitorId. Unchanged sites are skipped and not charged. Use with a daily or weekly schedule.

## `monitorId` (type: `string`):

Name for the monitor state (keeps separate watch lists apart). Only used when onlyNew is true.

## `respectRobotsTxt` (type: `boolean`):

Skip a site when its robots.txt disallows the page for all user agents. Skipped sites are reported and not charged.

## `includeFailedSites` (type: `boolean`):

Add a free row with status 'error' and the reason for each site that could not be analyzed (DNS error, timeout, HTTP error, bot wall).

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

Sites fetched in parallel (1-20).

## `requestTimeoutSecs` (type: `integer`):

Give up on a site after this many seconds per attempt (2 retries).

## `verifySsl` (type: `boolean`):

Turn off to analyze sites with expired or self-signed certificates.

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

Optional Apify proxy. Not needed for most sites; use it for large lists or sites that rate-limit datacenter IPs.

## Actor input object example

```json
{
  "websites": [
    "apify.com",
    "allbirds.com",
    "vercel.com",
    "wordpress.org"
  ],
  "maxItems": 100,
  "onlyNew": false,
  "monitorId": "default",
  "respectRobotsTxt": true,
  "includeFailedSites": true,
  "maxConcurrency": 5,
  "requestTimeoutSecs": 30,
  "verifySsl": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Dataset rows: one record per website with detected technologies by category (status 'ok'), plus free 'error' rows for sites that failed.

# 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 = {
    "websites": [
        "apify.com",
        "allbirds.com",
        "vercel.com",
        "wordpress.org"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("loamy_barista/website-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 = {
    "websites": [
        "apify.com",
        "allbirds.com",
        "vercel.com",
        "wordpress.org",
    ],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("loamy_barista/website-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 '{
  "websites": [
    "apify.com",
    "allbirds.com",
    "vercel.com",
    "wordpress.org"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call loamy_barista/website-tech-stack-detector --silent --output-dataset

```

## MCP server setup

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