# Website Tech Stack Detector - US$5 per 1,000 (`clarvith/tech-stack`) Actor

Detect CMS, analytics, hosting, payments and SaaS on company domains from public homepages and DNS. Current-usage detections are US$5 per 1,000 domains; verification-only TXT rows are free. Re-checks are US$2 per 1,000, and monitor alerts are US$10 per 1,000 technologies added or removed.

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

## Pricing

from $4.00 / 1,000 domain with current-usage stack signals

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 with Change Alerts

Send company domains and get a structured snapshot of public tech stack signals: CMS, analytics, hosting, payments, chat, email delivery, and other SaaS tools seen on the homepage and in DNS. Schedule monitor runs to record when a technology is added or removed.

The Actor uses one homepage request per domain (when `robots.txt` allows) and public DNS for MX, SPF, domain-verification TXT, and `www` CNAME. No login, no browser, no residential proxies.

**Author:** Clarvith Team

### Who uses this Actor

- **Sales and RevOps** — check which analytics, chat, or payment tools a prospect runs before a call.
- **Agencies and consultants** — export stack rows for a client or competitor domain list without maintaining Wappalyzer-style scrapers.
- **Market research** — join `domain_stack` rows to firmographics by domain in a warehouse.
- **AI agents and automations** — stable JSON in and out for enrichment pipelines and scheduled monitors.

### What you get

Each domain yields either a **`domain_stack`** row or a **`domain_status`** row.

- **`domain_stack`** — detected technologies with categories, confidence, optional evidence excerpts, email provider hint, and `billing` metadata.
- **`domain_status`** — invalid domain, robots block, HTTP block, fetch error, or no match (never charged).
- **`stack_change`** — monitor mode only: `added` or `removed` since the previous run for the same Monitor ID (comparison key = technology `id` + `signalType`).

Cookie values and full verification secrets are never stored. DNS excerpts use known prefixes only.

### Signal types and billing

Each technology row has a `signalType`:

| signalType            | Meaning                                                                                                       |
| --------------------- | ------------------------------------------------------------------------------------------------------------- |
| `current_usage`       | Live use: HTML, scripts, headers, cookie names, MX/SPF/CNAME patterns                                         |
| `domain_verification` | A vendor domain-verification TXT record (Google, Apple, Microsoft, OpenAI, Anthropic, Atlassian, and similar) |

`domain_verification` means the domain was verified in that product at some point. It does not prove an active subscription.

Pay-per-event rules:

| Event              | When it charges                                                                                |
| ------------------ | ---------------------------------------------------------------------------------------------- |
| `domain-analyzed`  | Snapshot or first monitor run, and the saved stack has at least one `current_usage` technology |
| `domain-rechecked` | Later monitor run after the domain was re-read                                                 |
| `stack-change`     | Each technology added or removed between monitor runs                                          |

Rows with **only** `domain_verification` signals are saved with `billing.chargedEvent: null` and are not charged as `domain-analyzed`.

### How detection works

When you pass a **domain**:

1. **Robots** — the Clarvith user agent loads `robots.txt` for that host. If the homepage path is disallowed, the Actor skips the fetch (DNS may still run when enabled).
2. **Homepage** — one GET to the site root or `https://{domain}/`, up to 512 KB HTML. Markers in HTML, script URLs, response headers, and cookie names from `Set-Cookie` are matched to in-repo signatures.
3. **DNS** — public resolver first, then DNS-over-HTTPS if needed: apex MX/TXT (SPF and verification), optional `_dmarc` TXT (context only), and `www` CNAME.

Signatures are maintained from vendor documentation. They are not copied from Wappalyzer or other GPL fingerprint databases.

Optional **categories** filter limits which technology families are saved.

### Input examples

**Two domains (Store prefill):** snapshot on `linear.app` and `vercel.com` with evidence off for a quick Try.

```json
{
  "domains": ["linear.app", "vercel.com"],
  "mode": "snapshot",
  "includeEvidence": false,
  "includeDns": true,
  "includeHomepage": true,
  "concurrency": 2
}
```

**Full evidence and default concurrency:**

```json
{
  "domains": ["stripe.com"],
  "mode": "snapshot",
  "includeEvidence": true,
  "categories": ["analytics", "payments", "hosting"]
}
```

**Monitor mode** — same Monitor ID on a schedule; first run stores the baseline; later runs write `stack_change` rows and charge `domain-rechecked` when the domain was re-evaluated:

```json
{
  "domains": ["vercel.com", "notion.so"],
  "mode": "monitor",
  "monitorId": "portfolio-weekly",
  "includeEvidence": false
}
```

Other useful fields: **concurrency** (default 5, max 10), **maxHtmlBytes** (default 512 KB), **includeHomepage** / **includeDns** (at least one must stay on).

You must send at least one domain.

The same JSON is saved in `test/example-input.json` for local `apify run`.

### Ready-made examples

On the Store, each **Task** below opens the Console with input already filled. Pick one, adjust the list if you need to, then run.

- [Get website tech stack from company domains](https://apify.com/clarvith/tech-stack/examples/website-tech-stack-from-domains) — Snapshot on a domain list; one `domain_stack` row per domain with at least one current-usage signal.
- [Detect CMS and ecommerce platforms on sites you name](https://apify.com/clarvith/tech-stack/examples/detect-cms-and-ecommerce-platforms) — Domains with category filters for CMS and ecommerce technologies.
- [Find payments and analytics tools on company websites](https://apify.com/clarvith/tech-stack/examples/find-payments-and-analytics-tools) — Domains filtered to payments and analytics categories.
- [Monitor tech stack changes on target websites](https://apify.com/clarvith/tech-stack/examples/monitor-website-tech-stack-changes) — `monitor` mode with a Monitor ID; the first run stores a baseline, later runs write `stack_change` rows.
- [Look up a domain's email provider from public DNS](https://apify.com/clarvith/tech-stack/examples/lookup-email-provider-from-dns) — DNS-first run; `emailProvider` on each `domain_stack` row when MX/SPF match.
- [Get prospect tech stack signals for sales outreach](https://apify.com/clarvith/tech-stack/examples/prospect-tech-stack-for-sales) — Short domain list with evidence off for fast enrichment before outreach.

### Output example

Illustrative rows (technology names and counts are examples; your run reflects live pages and DNS).

**`domain_stack`:**

```json
{
  "type": "domain_stack",
  "domain": "vercel.com",
  "finalUrl": "https://vercel.com/",
  "fetchedAt": "2026-11-18T12:00:00.000Z",
  "httpStatus": 200,
  "robotsAllowed": true,
  "technologies": [
    {
      "id": "vercel",
      "name": "Vercel",
      "category": "hosting",
      "signalType": "current_usage",
      "confidence": "high",
      "sources": ["header"]
    },
    {
      "id": "nextjs",
      "name": "Next.js",
      "category": "js_library",
      "signalType": "current_usage",
      "confidence": "medium",
      "sources": ["script"]
    }
  ],
  "categories": ["hosting", "js_library", "analytics"],
  "technologyCount": 12,
  "emailProvider": "google",
  "billing": {
    "hasCurrentUsage": true,
    "chargedEvent": "domain-analyzed",
    "note": null
  },
  "summary": {
    "htmlDetections": 8,
    "dnsDetections": 2,
    "verificationDetections": 1,
    "currentUsageDetections": 10
  }
}
```

**`domain_status` (not charged):**

```json
{
  "type": "domain_status",
  "domain": "example.invalid",
  "finalUrl": null,
  "fetchedAt": "2026-11-18T12:00:01.000Z",
  "status": "invalid_domain",
  "message": "Could not parse domain.",
  "httpStatus": null,
  "robotsAllowed": null
}
```

**`stack_change` (monitor mode):**

```json
{
  "type": "stack_change",
  "domain": "vercel.com",
  "fetchedAt": "2026-11-18T18:00:00.000Z",
  "change": "added",
  "technology": {
    "id": "segment",
    "name": "Segment",
    "category": "analytics",
    "signalType": "current_usage",
    "confidence": "high"
  },
  "previousRunAt": "2026-11-18T12:00:00.000Z"
}
```

The dataset has table views for stacks and changes; filter on `type` to separate stack, status, and change rows.

### Pricing

Pay per event. Bronze list prices (Free, Silver, and Gold tiers are set in Apify Console from `pricing.json` in the repo):

| Event               | When it is charged                                        | Bronze (USD)     |
| ------------------- | --------------------------------------------------------- | ---------------- |
| `domain-analyzed`   | Domain saved with at least one `current_usage` technology | $5.00 per 1,000  |
| `domain-rechecked`  | Domain re-read on a later monitor run                     | $2.00 per 1,000  |
| `stack-change`      | One technology added or removed in monitor                | $10.00 per 1,000 |
| `apify-actor-start` | Once per run (platform)                                   | $0.05 per 1,000  |

A domain with only verification TXT rows, no stack match, robots-blocked homepage with no DNS hit, or an invalid domain costs nothing for `domain-analyzed`.

In **monitor** mode, the first run with a Monitor ID stores the baseline. Later runs charge `domain-rechecked` when the domain was evaluated again, plus `stack-change` for each added or removed technology.

The run stops when it hits your Apify spending limit and keeps everything already saved.

### Monitor mode

Use `mode: "monitor"` with a stable **Monitor ID** per schedule or webhook. State is stored under `tech-stack-monitor-{monitorId}`. The first run writes `domain_stack` / `domain_status` without stack-change rows. The next run compares technology keys (`id` + `signalType`) and writes `stack_change` for diffs.

Use **snapshot** when you want the full current stack every time.

### Integrations

- **API** — start runs from the Apify API with the same JSON as the Console input.
- **Schedules** — run nightly or weekly on a domain list; pair with monitor mode for stack deltas.
- **Webhooks** — notify your stack when a run finishes; download the dataset from the run URL.
- **Exports** — download the dataset as JSON, CSV, Excel, or chain into another Actor.

### Use with AI agents, n8n and Make

**Apify MCP server** — Connect an MCP client to <https://mcp.apify.com> (OAuth or `Authorization: Bearer` with your API token). Load this Actor with a `tools` query parameter, for example `https://mcp.apify.com?tools=clarvith/tech-stack` (see [Apify MCP server](https://docs.apify.com/platform/integrations/mcp)). Agents can discover Actors with `search-actors`, inspect inputs with `fetch-actor-details`, start a run with `call-actor`, then read rows with `get-dataset-items`.

**Apify API (sync run)** — For scripts or backends that need dataset items in one response, POST your input JSON to the run-sync endpoint (returns dataset items; run timeout 300 seconds per [API docs](https://docs.apify.com/api/v2/act-run-sync-get-dataset-items-post)):

```bash
curl -X POST "https://api.apify.com/v2/actors/clarvith~tech-stack/run-sync-get-dataset-items?token=YOUR_API_TOKEN&maxTotalChargeUsd=0.01" \
  -H "Content-Type: application/json" \
  -d '{"domains":["linear.app","vercel.com"],"includeEvidence":false,"concurrency":2}'
```

Replace `YOUR_API_TOKEN` with a token from Apify Console → API & Integrations. Use the async [Run Actor](https://docs.apify.com/api/v2/act-runs-post) endpoint for long domain lists.

**n8n** — Install the verified community node `@apify/n8n-nodes-apify` (search “Apify” in n8n Cloud, or Settings → Community Nodes on self-hosted). Run Actor or task operations use the same JSON input; optional “On new Apify Event” trigger when a run finishes. See [Apify + n8n](https://docs.apify.com/integrations/n8n).

**Make** — Add the Apify module in a scenario (“Run an Actor” for synchronous runs, or “Watch Actor Runs” plus “Get Dataset Items” for async). Connect with OAuth or an API token. See [Apify + Make](https://docs.apify.com/integrations/make).

### Related Clarvith Actors

- [**Company Hiring Signals**](https://apify.com/clarvith/hiring-signals) — Public Greenhouse, Lever, Ashby, and Workable boards from the same company domains. Combine stack rows with hiring summaries for outbound research and monitoring.

### FAQ

**Is this legal?**\
The Actor only reads public homepages and public DNS, the same data available without logging in.

**Do you respect robots.txt?**\
Yes. The User-Agent is `ClarvithBot/1.0` with details at [clarvith.com/bot](https://clarvith.com/bot). Per RFC 9309: a valid `robots.txt` is followed; 4xx means fetch allowed; 5xx, timeouts, and unreachable hosts block that host; 429 pauses the host.

**Why is evidence optional?**\
Evidence excerpts help audits but inflate row size. Turn them off for wide domain lists or quick Store tries.

**What is not included?**\
No authenticated admin panels, no headless browser, no WAF bypass, no cookie values, and no trademark database beyond Clarvith-maintained signatures.

**Verification-only rows**\
If DNS shows only a Google or Microsoft domain-verification TXT and the homepage shows no matching live product, you still get a row but `billing.hasCurrentUsage` stays false and `domain-analyzed` does not apply.

**Rate limits**\
Each host keeps its own limiter. The Actor does not retry 401, 403, 407, 429, or 451 on the homepage.

### Support

- Email: <support@clarvith.com>
- Actor page: [clarvith.com/actors/tech-stack](https://clarvith.com/actors/tech-stack)

### Data use

Output is for search, enrichment, and reference. Do not use it to train or fine-tune models. Collected public page text may include third-party `Content-Signal` headers where sites publish them.

# Changelog

This Actor's version history is a separate document: https://apify.com/clarvith/tech-stack/changelog.md

# Actor input Schema

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

Company websites (example.com or https://example.com/path). Each domain can trigger domain-analyzed when at least one current_usage technology is saved; verification-only DNS is free.

## `mode` (type: `string`):

snapshot: bill domain-analyzed when current_usage signals exist. monitor: baseline on first run; later runs bill domain-rechecked and stack-change per diff.

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

Required for monitor mode (default default). One ID per schedule; keeps separate stack baselines and stack-change history.

## `categories` (type: `array`):

Optional category filter. Only matching technologies are saved; domain-analyzed still applies when any saved row has current_usage.

## `includeEvidence` (type: `boolean`):

When off, rows stay smaller (Store Try uses off). Does not change pay-per-event counts.

## `includeDns` (type: `boolean`):

Query public DNS (MX, TXT, SPF, www CNAME). Default on. DNS-only matches can still trigger domain-analyzed when current_usage signals appear.

## `includeHomepage` (type: `boolean`):

One public homepage GET per domain (default on). Turn off only if you want DNS-only; at least one of Fetch homepage and Query DNS must stay on.

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

Parallel domains (default 5, Store prefill 2, max 10). Does not add events; only affects run duration.

## `maxHtmlBytes` (type: `integer`):

HTML body cap per domain in bytes (default 512 KB, max 512 KB). Does not change billing events.

## Actor input object example

```json
{
  "domains": [
    "linear.app",
    "vercel.com"
  ],
  "mode": "snapshot",
  "monitorId": "default",
  "includeEvidence": false,
  "includeDns": true,
  "includeHomepage": true,
  "concurrency": 2,
  "maxHtmlBytes": 524288
}
```

# Actor output Schema

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

domain_stack, domain_status, and stack_change rows.

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

Counts of analyzed domains, status rows, monitor changes, and billed events.

# 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": [
        "linear.app",
        "vercel.com"
    ],
    "includeEvidence": false,
    "concurrency": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("clarvith/tech-stack").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": [
        "linear.app",
        "vercel.com",
    ],
    "includeEvidence": False,
    "concurrency": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("clarvith/tech-stack").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 '{
  "domains": [
    "linear.app",
    "vercel.com"
  ],
  "includeEvidence": false,
  "concurrency": 2
}' |
apify call clarvith/tech-stack --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,clarvith/tech-stack"
        }
    }
}
```

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/Y7lt3WbP7rvSzuq50/builds/MdrOikGPT8qb2kmRL/openapi.json
