# Website Tech Signals (`eichan/website-tech-signals`) Actor

- **URL**: https://apify.com/eichan/website-tech-signals.md
- **Developed by:** [Eichan Jolly](https://apify.com/eichan) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 1,000 results

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 Signals

Find **public technology clues** in one official business website's homepage HTML and HTTP response headers. One matching clue produces **one dataset item**. No authentication, contact extraction, personal information, account lookups, or third-party page crawling.

### Who should use it?

Agency researchers, B2B lead-enrichment teams, and web developers who want preliminary website technology indicators before manually evaluating a company.

### Input

Supply **one** public HTTPS website URL. If you enter a deeper path, the Actor intentionally checks **only the root homepage** on the same hostname.

```json
{"url":"https://wordpress.org/"}
```

The prefill points to the real, publicly accessible WordPress official website. It is not a placeholder. Actual detected signals may vary when the site changes.

### Output — one dataset item per distinct (technology, evidenceType)

Example schema (illustrative; matching a technology is **not proof** that it powers the entire website):

```json
{
  "sourceUrl":"https://wordpress.org/",
  "technology":"WordPress",
  "category":"cms",
  "evidenceType":"html_asset_url",
  "evidence":"wp-assets"
}
```

Field names are stable: `sourceUrl`, `technology`, `category`, `evidenceType`, `evidence`. `evidence` is a predefined signature label, **never raw page text, PII, full header values or contact information**. When there are no recognizable signals, no dataset items are written and the log reports zero.

### What it detects

- CMS and builders: WordPress, Drupal, Joomla, Shopify, Webflow, Wix, Squarespace.
- Public framework hints: React, Vue, Angular, Next.js, Nuxt.
- Analytics integrations: Google Tag Manager and Google Analytics (`gtag`, GA4).
- Selected server/runtime signatures from response headers: Apache, Nginx, LiteSpeed, Cloudflare, PHP, Express, ASP.NET.

This Actor checks links to scripts/styles, HTML attributes, `meta name="generator"`, selected short inline-script signatures, and public HTTP headers. It does **not** request third-party tracking resources or validate detected technologies by probing admin panels.

### Accuracy and limits

**Technology signals are hints, not proof.** CDN/reverse proxy headers can be misleading, bundled JS may contain unused code, and CMS metadata can be stale. This small Actor may miss heavily client-rendered sites. No JavaScript execution. One homepage fetched; no deeper site crawl. Max compressed page size 1.5 MB; decompressed HTML size 1.5 MB; 12-second per-request timeout; up to three same-host redirects; max 30 signal rows. HTTPS only, public DNS addresses only, same-host redirects only, `robots.txt` respected. If a site blocks access, the Actor exits with a plain-language error. Zero results is not evidence that a site uses no technologies.

### Run locally (Python 3.12+, no packages to install)

From this Actor folder:

```bash
ACTOR_INPUT_JSON='{"url":"https://wordpress.org/"}' python src/main.py
```

Alternatively write `storage/key_value_stores/default/INPUT.json`. On a local run, items are written to `storage/datasets/default/000000001.json` etc. In Apify cloud, the Actor reads `INPUT` from the run key-value store and posts dataset items using the REST API and standard run environment variables. No Apify SDK needed.

Reproducible offline **script-mode** smoke test (uses an illustrative HTTP fixture, not live wordpress.org content):

```bash
python tests/run_direct_smoke.py
python -m unittest discover -s tests -v
```

See `tests/SMOKE_OUTPUT.txt` and `tests/SMOKE_DATASET.json` for captured command output and dataset rows.

### Apify Store metadata and suggested price

Suggested categories: **LEAD_GENERATION**, **DEVELOPER_TOOLS** (2 categories). Suggested **PRICE_PER_DATASET_ITEM $0.004/item ($4.00/1,000 items)**. These are advisory values in `store_metadata.json`; **billing is not configured or activated**. The Actor never calls a billing API. Results count is not the same as sites inspected (a site may yield zero or multiple items).

No login, LinkedIn fetching/scraping, personal-data harvesting, contact details, paid proxies, or private networks.

# Actor input Schema

## `url` (type: `string`):

One public HTTPS URL. No account or login needed.

## Actor input object example

```json
{
  "url": "https://wordpress.org/"
}
```

# Actor output Schema

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

Dataset containing the Actor's result items

# 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 = {
    "url": "https://wordpress.org/"
};

// Run the Actor and wait for it to finish
const run = await client.actor("eichan/website-tech-signals").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 = { "url": "https://wordpress.org/" }

# Run the Actor and wait for it to finish
run = client.actor("eichan/website-tech-signals").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 '{
  "url": "https://wordpress.org/"
}' |
apify call eichan/website-tech-signals --silent --output-dataset

```

## MCP server setup

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

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/dtJj2o9FrDZG852oG/builds/sKvCaxpWDLRjOfkZZ/openapi.json
