# Website Technology Stack Snapshot Scraper (`min.h/website-technology-stack-snapshot-scraper`) Actor

Inspect public HTTPS homepages for CMS, e-commerce, analytics, marketing, CDN, and hosting signals. Compare snapshots by domain and export technology, evidence, confidence, and observed changes to JSON or CSV.

- **URL**: https://apify.com/min.h/website-technology-stack-snapshot-scraper.md
- **Developed by:** [Min. H](https://apify.com/min.h) (community)
- **Categories:** Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 technology domain completeds

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 Technology Stack Snapshot Scraper

Capture evidence of selected website technologies on public HTTPS homepages. Export observations or compare against your previous snapshot to see which signals changed on each domain.

### Try the offline sample

The prefilled input uses a bundled WordPress fixture. It runs without network access and produces zero pay-per-event charges. The example output describes the fixture at `example.com`.

```json
{
  "mode": "synthetic",
  "urls": ["https://example.com/"],
  "maxUrls": 1,
  "timeoutSecs": 8
}
```

Leave `priorResults` empty when running this sample.

### Check your websites

Use `live` mode and enter public HTTPS homepage URLs you have permission to inspect. The example below uses the WordPress developer homepage. Live results depend on the page and headers available at the time of the request.

```json
{
  "mode": "live",
  "urls": ["https://developer.wordpress.org/"],
  "maxUrls": 1,
  "timeoutSecs": 12
}
```

| Input | Accepted values |
| --- | --- |
| `mode` | `live` by default. `synthetic` uses the fixed input above. |
| `urls` | 1–200 public HTTPS root URLs. Use fully qualified domain names and omit paths, credentials, explicit ports, queries, and fragments. |
| `maxUrls` | 1–200 unique domains per run, default 25. |
| `timeoutSecs` | 2–20 seconds per domain, default 12. |
| `priorResults` | Optional JSON array copied from an earlier live run's `OUTPUT.json`. |

The first hostname for each registrable domain is used, including private public-suffix boundaries. Live mode checks `robots.txt` and reads up to 256 KiB of UTF-8 homepage HTML and selected HTTPS response headers. Redirects must land on a root URL within the same registrable domain. The runner checks up to five domains at a time and stops dispatching after 180 seconds. The scanner reads the server response without rendering JavaScript or fetching linked assets. A technology visible only on a consented, rendered, authenticated, or non-homepage view can remain `UNKNOWN`.

### Supported technology signals

| Category | Technology | Evidence used |
| --- | --- | --- |
| CMS | WordPress | WordPress REST discovery link or a recognized generator declaration |
| CMS | Ghost | Recognized generator declaration |
| CMS | Drupal | Drupal page-cache response header |
| E-commerce | Shopify | Recognized Shopify theme asset or store CDN asset declaration |
| E-commerce | WooCommerce | Recognized WooCommerce stylesheet declaration |
| Analytics and marketing | Google Analytics | Google tag script declaration with an Analytics measurement identifier |
| Analytics and marketing | Google Tag Manager | Vendor script or installation fallback iframe declaration |
| CDN and hosting | Cloudflare | Cloudflare Ray response header |
| CDN and hosting | Vercel | Vercel request identifier response header |
| CDN and hosting | Amazon CloudFront | Paired CloudFront edge response headers |

Rules recognize observable signals from the delivered response. They do not verify that a script ran, that a service is configured correctly, or that every page on a site uses it. The Actor is independent of the listed technologies and their vendors.

### Read your results

- The default dataset, `OUTPUT.json`, and `OUTPUT.csv` contain the same observation rows. Each row includes a registrable domain, a source origin, technology, category, a short evidence label, confidence, UTC timestamp, status, change, source type, and rules version.
- `DETECTED` reports a supported signal with `HIGH` or `MEDIUM` confidence. `UNKNOWN` represents missing evidence or an incomplete observation. Evidence labels describe the signal or the reason for an incomplete check. Exports contain only the source origin and fixed evidence labels from the inspected response.
- Supply a previous `OUTPUT.json` for change labels. `ADDED` means a signal was newly observed against a comparable baseline. `UNCHANGED` means the same technology was observed in both snapshots. `REMOVED` means a different recognized CMS generator declaration replaced the prior one on the same HTTPS origin under the same rules. `UNKNOWN` means the observation or comparison was incomplete. An absent marker alone produces `UNKNOWN`. Without a previous snapshot, `change` is `null`.
- `SUMMARY` contains run counts. `PPE-AUDIT` contains billing counts without URLs.

This excerpt shows two observations from one successful public HTTPS check. Both rows came from the same domain, which qualified for one billing event.

| Domain | Technology | Evidence | Confidence |
| --- | --- | --- | --- |
| `wordpress.org` | WordPress | `HTTP_WORDPRESS_REST_LINK` | HIGH |
| `wordpress.org` | Google Tag Manager | `HTML_GOOGLE_TAG_MANAGER_IFRAME` | HIGH |

### Pay-per-event billing

The price is **$2 per 1,000 completed unique domains** ($0.002 each). See the Actor's Pricing tab for the current rate.

One completed, saved domain generates at most one `technology-domain-completed` event, even if it has several technology rows. A domain qualifies when there is at least one detected technology and the observations and comparisons for that domain contain no `UNKNOWN`. Duplicate inputs within a run, failed checks, unprocessed targets, and the synthetic sample generate no events. A separately started run is a new observation. The Actor saves results before submitting the charge once. It checks the event counter with read-only requests and stops if the charge remains unconfirmed.

### Privacy and access

Enter only public homepages you have permission to inspect. Live cloud runs require restricted access to the input and default storage. Site checks use HTTPS, validate DNS addresses and redirects, and follow robots restrictions. Results contain the homepage origin and fixed evidence labels. They omit raw HTML, full response headers, tracking identifiers, cookies, and credentials.

### Run locally

Use Node.js 24.

```sh
npm ci
npm test
npm run scan -- examples/sample-input.json ./sample-results
```

The standalone `scan` command writes local output files and generates zero pay-per-event charges. To run the Actor entry point with default local SDK storage, put the input at `storage/key_value_stores/default/INPUT.json` and run `npm start`.

# Actor input Schema

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

Synthetic uses the bundled fixture without network requests. Live reads public HTTPS homepages.

## `urls` (type: `array`):

Enter up to 200 public HTTPS homepage URLs with fully qualified domain names. Use root URLs without paths, credentials, explicit ports, queries, or fragments. The first hostname for each registrable domain is used.

## `maxUrls` (type: `integer`):

Limit the number of unique domains processed after deduplication.

## `timeoutSecs` (type: `integer`):

Time allowed for one domain, including access checks and its homepage request.

## `priorResults` (type: `array`):

Optional for live mode. Paste the JSON array from a previous live run's OUTPUT.json to compare matching domains. Leave this field empty for the offline sample.

## Actor input object example

```json
{
  "mode": "synthetic",
  "urls": [
    "https://example.com/"
  ],
  "maxUrls": 1,
  "timeoutSecs": 8
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

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

No description

## `csv` (type: `string`):

No description

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

No description

## `billingAudit` (type: `string`):

No description

# 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 = {
    "mode": "synthetic",
    "urls": [
        "https://example.com/"
    ],
    "maxUrls": 1,
    "timeoutSecs": 8
};

// Run the Actor and wait for it to finish
const run = await client.actor("min.h/website-technology-stack-snapshot-scraper").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 = {
    "mode": "synthetic",
    "urls": ["https://example.com/"],
    "maxUrls": 1,
    "timeoutSecs": 8,
}

# Run the Actor and wait for it to finish
run = client.actor("min.h/website-technology-stack-snapshot-scraper").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 '{
  "mode": "synthetic",
  "urls": [
    "https://example.com/"
  ],
  "maxUrls": 1,
  "timeoutSecs": 8
}' |
apify call min.h/website-technology-stack-snapshot-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,min.h/website-technology-stack-snapshot-scraper"
        }
    }
}
```

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/gAjjtEZ3OQlDtidkT/builds/BCS2LixA51mvyUkM1/openapi.json
