# Website Tech Stack & AI Readiness (llms.txt) (`nichedata-lab/tech-stack`) Actor

Detect CMS, ecommerce, frameworks, analytics, ads, CDN, and hosting from public homepages, and audit llms.txt plus AI crawler robots.txt rules. Failed domains are not charged. Standby MCP tools analyze a site or AI readiness.

- **URL**: https://apify.com/nichedata-lab/tech-stack.md
- **Developed by:** [nichedata-lab](https://apify.com/nichedata-lab) (community)
- **Categories:** Developer tools, AI, MCP servers
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 domain analyzeds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Technology Detector and AI Readiness

Detect the technologies on a public website and audit how ready that site is for AI crawlers. Send domains or page URLs. The Actor normalizes each one to an https origin, fetches a small fixed set of URLs, and saves one dataset row per domain.

It is a BuiltWith and Wappalyzer alternative for bulk technology lookup: CMS, ecommerce, JavaScript frameworks, analytics, advertising, tag managers, CDN, hosting, marketing automation, payments, chat widgets, and fonts. The same run reports `llms.txt`, `llms-full.txt`, and a robots.txt verdict for GPTBot, ClaudeBot, Google-Extended, PerplexityBot, CCBot, Bytespider, and the other common AI crawlers.

The same Actor is an [MCP server](https://docs.apify.com/sdk/python/docs/guides/mcp-servers) in Standby mode, so an agent can analyze one site, check AI readiness, or analyze up to 25 sites.

The Actor does not run a headless browser, use a proxy, log in, or call a paid API. For each domain it requests at most four URLs: the homepage, `/robots.txt`, `/llms.txt`, and `/llms-full.txt`.

### Use cases

- Profile a list of company domains for CMS, analytics, tag manager, CDN, and ecommerce technology.
- Find WordPress, Drupal, Next.js, React, Shopify, Webflow, HubSpot, Google Analytics, and Google Tag Manager across a prospect list.
- See which sites publish `llms.txt` and which AI crawlers their robots.txt allows, blocks, or does not mention.
- Give an assistant a tool that answers "what is this site built with?" and "does this docs site allow GPTBot?"

### How to run it

The prefilled input reads wordpress.org, nextjs.org, and cloudflare.com. Start the Actor with that input to get three rows.

A value can be a bare domain or any http(s) URL. `http://example.com/pricing?ref=1` becomes `https://example.com`. The path and query are not fetched and are not stored. `www.example.com` and `example.com` stay as two origins. Duplicate origins are skipped. The first value wins.

| Input | What it does |
| --- | --- |
| Domains or URLs | Public domains or URLs. Normalized to https origins and deduplicated. |
| Maximum domains | Default 100. Hard cap 10000. Applied after deduplication. |
| Concurrency | How many domains are in flight at once. Default 10. Hard cap 50. |
| Minimum seconds between requests to one host | Default 1. The minimum is 1. This gap is between robots.txt, the homepage, and the two llms files. |
| Request timeout | Default 15 seconds for one URL, including up to 5 redirects. |

Example: a short list, one at a time.

```json
{
  "domains": ["wordpress.org", "https://nextjs.org/docs", "drupal.org"],
  "maxItems": 100,
  "concurrency": 5,
  "minRequestIntervalSecs": 1,
  "requestTimeoutSecs": 15
}
```

### What is fetched

For each origin the Actor sends `GET` with an honest User-Agent:

`TechStackActor/1.0 (+https://apify.com/nichedata-lab/tech-stack; website technology detection)`

1. `/robots.txt`, up to 512 KB.
2. The homepage, up to 2 MB, only when robots.txt allows `/` for that User-Agent. Up to 5 redirects. Each redirect hop is checked again for a public address, and the per-host gap applies to every hop. The final URL is stored without its query string.
3. `/llms.txt` and `/llms-full.txt`, up to 512 KB each, only when robots.txt allows those paths. These files are requested on the original origin only.

When robots.txt names `TechStackActor`, that group wins. Otherwise the `*` group is used. A missing robots.txt, and any HTTP 4xx including 401 and 403, allows every path. An HTML page served as robots.txt is ignored and the homepage is still fetched. A robots.txt file that redirects to a different site is ignored. A robots.txt response of 500 or higher, a timeout, or a connection error disallows every path: the homepage and the llms files are not fetched, `status` is `failed`, and the row is not charged.

A homepage redirect that stays on the same site (`www` or another subdomain) is followed. Each hop's path and query is checked against robots.txt before it is requested: an on-site path that is disallowed ends the homepage the same way a disallowed `/` does (`succeeded`, `homepageSkippedByRobots` true, not a failed row). A redirect that leaves the site is followed only after that host's robots.txt allows that hop's path and query for this User-Agent. That check uses the same public-address and per-host gap rules, and it does not count toward the five homepage hops. One robots.txt file is fetched per host for the whole run, so later domains that land on a host already seen reuse it. `redirectedOffsite` is true and `finalUrl` is the page that was reached. `finalOrigin` is the origin whose homepage HTML was matched. If that host's robots.txt disallows `/`, or the file returns HTTP 500 or higher, or it cannot be fetched, the row is `failed` and is not charged.

`llms.txt`, `llms-full.txt`, and the AI-crawler verdicts always describe the original origin in the input, not `finalOrigin`. Those files are not requested from the other host.

The homepage response is matched locally. Signals are script, stylesheet, image, and frame URLs, meta generator tags, response headers, and cookie names. Cookie values are discarded before matching and are never written to the dataset, logs, or MCP replies. Page text is not stored. Email addresses and phone numbers are removed from llms.txt titles and headings.

Local host names, single-label names, and non-public IP addresses are refused. A hostname that resolves only to a non-public address is refused. The same check runs on every redirect hop, so a public URL cannot redirect the Actor to a loopback, link-local, or private address.

### Output

Each dataset item is one domain. `status` is `succeeded` or `failed`.

`succeeded` means the homepage returned an HTTP status below 400, or robots.txt disallowed `/` and the Actor recorded that instead of fetching the homepage. That disallow case is a succeeded row and is charged `domain-analyzed`. `homepageSkippedByRobots` is true, `technologies` is empty, and `aiReadiness` still has the robots.txt crawler verdicts plus any llms.txt files the policy allows. `failed` means the host could not be reached, the request timed out, robots.txt returned HTTP 500 or higher or could not be fetched, redirects exceeded 5, the off-site host's robots.txt disallows `/` or could not be fetched, the input was not a public origin, or the homepage returned HTTP 400 or higher. A failed row is not charged. A failed homepage that did return an HTTP error page can still list technologies seen on that page, such as a CDN challenge.

`technologies` come from the final homepage. `finalOrigin` names that site when it differs from `url`, including after an allowed off-site redirect such as a brand domain that lands on its company site. `categories` groups the technology names. `aiReadiness.llmsTxt`, `llmsFullTxt`, and `aiReadiness.crawlers` describe the original origin only. `verdict` is `allowed`, `blocked`, `partially_blocked`, or `not_mentioned`. `starVerdict` is the `*` group, which is the fallback when the crawler is not mentioned.

Tracked crawlers: GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-Web, anthropic-ai, Google-Extended, PerplexityBot, CCBot, Bytespider, Applebot-Extended, meta-externalagent.

```json
{
  "input": "https://example.com/pricing",
  "url": "https://example.com",
  "finalUrl": "https://www.example.com/",
  "finalOrigin": "https://www.example.com",
  "redirectedOffsite": false,
  "status": "succeeded",
  "error": null,
  "httpStatus": 200,
  "homepageSkippedByRobots": false,
  "technologies": [
    {"name": "WordPress", "category": "cms", "version": "6.4.2", "confidence": "high"},
    {"name": "Google Analytics", "category": "analytics", "version": null, "confidence": "high"},
    {"name": "Nginx", "category": "web-server", "version": null, "confidence": "medium"}
  ],
  "technologyCount": 3,
  "technologyNames": "Google Analytics, WordPress, Nginx",
  "categories": {
    "analytics": ["Google Analytics"],
    "cms": ["WordPress"],
    "web-server": ["Nginx"]
  },
  "aiReadiness": {
    "llmsTxt": {
      "present": true,
      "httpStatus": 200,
      "bytes": 840,
      "truncated": false,
      "title": "Example Docs",
      "headings": ["Getting started", "API"],
      "linkCount": 12,
      "fetch": "ok"
    },
    "llmsFullTxt": {
      "present": false,
      "httpStatus": 404,
      "bytes": null,
      "truncated": null,
      "title": null,
      "headings": null,
      "linkCount": null,
      "fetch": "missing"
    },
    "crawlers": {
      "GPTBot": {"verdict": "blocked", "starVerdict": "allowed"},
      "ClaudeBot": {"verdict": "not_mentioned", "starVerdict": "allowed"}
    },
    "robots": {
      "httpStatus": 200,
      "fetch": "ok",
      "homepage": "allowed",
      "llmsTxt": "allowed",
      "llmsFullTxt": "allowed",
      "matchedAgent": "*"
    }
  },
  "fetchedAt": "2026-11-23T03:28:00Z"
}
```

The dataset view **Overview** shows the input, origin, status, HTTP status, final URL, technology count, technology names, and error.

The rule list is original. It is described in [NOTICE](NOTICE). Rules prefer a distinctive script host, generator tag, header, or cookie name over a word that might appear in a sentence, so a homepage that merely mentions WordPress is not reported as WordPress.

### MCP server

In Standby mode the Actor serves the MCP endpoint at `/mcp` (Streamable HTTP). `webServerMcpPath` is `/mcp`. A client connects to the Actor's Standby URL with an Apify API token:

```json
{
  "mcpServers": {
    "tech-stack": {
      "url": "https://<username>--tech-stack.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer <APIFY_API_TOKEN>"
      }
    }
  }
}
```

`GET /` answers the platform readiness probe.

| Tool | What it returns |
| --- | --- |
| `analyze_site` | One domain: technologies, categories, and AI readiness. Charges `domain-analyzed` when the row succeeds. |
| `check_ai_readiness` | robots.txt verdicts and the llms.txt summary. The homepage is not fetched. Does not charge `domain-analyzed`. |
| `analyze_sites` | Up to 25 domains. Charges `domain-analyzed` for each success and stops when the pay-per-event limit is reached. |

A resource at `resource://tech-stack/about` describes the fetch list and billing. Reading it is not a charged tool call.

### Pay per event

A dataset run charges `actor-start` once. Each succeeded domain then charges `domain-analyzed`. Failed domains are saved and do not charge `domain-analyzed`. When the pay-per-event limit is reached, the run stops, keeps the rows already charged, and does not save the domain that crossed the limit.

An MCP call charges `mcp-tool-call` after the arguments are validated. `analyze_site` and each successful domain inside `analyze_sites` also charge `domain-analyzed`. A failed domain does not.

Proposed prices are in [PRICING.md](PRICING.md). They are not written into the Actor configuration, so pushing this source does not publish a price. In Apify Console, add the three event names from that file, mark `domain-analyzed` as the primary event, and remove the synthetic `apify-default-dataset-item` and `apify-actor-start` events. The dataset-item event would bill failed rows. The synthetic start event would bill a second start fee on top of `actor-start`.

On a multi-tenant Standby run, charges pass the `X-Actor-Request-ID` header as `request_id`, which is how the platform bills the caller of a shared run.

### Limits

- At most 10000 domains per run. The default is 100.
- Concurrency defaults to 10 and cannot exceed 50.
- At least 1 second between requests to the same host. The default is 1 second.
- Homepage bodies are capped at 2 MB. robots.txt and both llms files are capped at 512 KB.
- Redirects stop after 5. The timeout defaults to 15 seconds.
- Technology matching is signature based. A site can use a framework and still be absent from the row when the homepage does not expose a distinctive URL, generator tag, header, or cookie name.

### Development

```bash
pip install -r requirements.txt -r requirements-dev.txt
python -m pytest
PYTHONPATH=. python scripts/live_sample.py
```

Unit tests use saved HTML fragments and response headers. They do not fetch the network. `scripts/live_sample.py` requests 50 public homepages and writes a summary to `/tmp/tech-stack-live.json`.

# Actor input Schema

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

Domains or page URLs. Each value is normalized to its https origin, so a path and query are removed. Duplicates are skipped. Thousands of domains are supported up to the maximum-domains limit.

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

How many domains this run analyzes after duplicates are removed. The hard cap is 10000.

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

How many domains are fetched at the same time. Requests to one host are still at least one second apart.

## `minRequestIntervalSecs` (type: `integer`):

Gap between robots.txt, the homepage, llms.txt, and llms-full.txt on the same host. The minimum is 1 second.

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

Time allowed for one URL, including up to 5 redirects.

## Actor input object example

```json
{
  "domains": [
    "https://wordpress.org",
    "https://nextjs.org",
    "https://www.cloudflare.com"
  ],
  "maxItems": 100,
  "concurrency": 10,
  "minRequestIntervalSecs": 1,
  "requestTimeoutSecs": 15
}
```

# Actor output Schema

## `overview` (type: `string`):

One row per domain, including domains 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 = {
    "domains": [
        "https://wordpress.org",
        "https://nextjs.org",
        "https://www.cloudflare.com"
    ],
    "maxItems": 100,
    "concurrency": 10,
    "minRequestIntervalSecs": 1,
    "requestTimeoutSecs": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("nichedata-lab/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": [
        "https://wordpress.org",
        "https://nextjs.org",
        "https://www.cloudflare.com",
    ],
    "maxItems": 100,
    "concurrency": 10,
    "minRequestIntervalSecs": 1,
    "requestTimeoutSecs": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("nichedata-lab/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": [
    "https://wordpress.org",
    "https://nextjs.org",
    "https://www.cloudflare.com"
  ],
  "maxItems": 100,
  "concurrency": 10,
  "minRequestIntervalSecs": 1,
  "requestTimeoutSecs": 15
}' |
apify call nichedata-lab/tech-stack --silent --output-dataset

```

## MCP server setup

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