# Website Email, Contact & Tech Stack Scraper - Domain & VIES (`angaba92/website-email-contact-tech-stack-scraper`) Actor

B2B domain enrichment and website email contact scraper: extract corporate emails, phones, social links, DNS MX/SPF/DMARC, website tech stack, Impressum/KVK/HRB/SIREN IDs, and EU VAT validated via official VIES API. Export CSV, JSON or sync API.

- **URL**: https://apify.com/angaba92/website-email-contact-tech-stack-scraper.md
- **Developed by:** [Andres Garcia-Baquero Leon](https://apify.com/angaba92) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$7.50 / 1,000 enriched company domains

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 Email, Contact & Tech Stack Scraper - Domain & VIES

Enrich any list of company domains or corporate URLs into clean, CRM-ready B2B company records in a single pass. For each reachable website, this Actor extracts **public corporate emails**, **phone numbers**, **company social links**, **DNS MX / SPF / DMARC mail infrastructure**, **website technology stack**, and **commercial register + EU VAT numbers validated live against the official European Commission VIES API**.

Built for B2B lead enrichment pipelines, RevOps, KYC/KYB onboarding, agency prospecting, and automated workflows in n8n, Make, Zapier, Clay, Google Sheets, or REST API.

***

### Why use this B2B Domain Enricher instead of basic email scrapers?

| Capability | Manual lookup | Basic website email scraper | This Actor |
|---|---|---|---|
| Public business emails (`mailto:`, HTML, JSON-LD, entity-decoded) | Slow (2-5 min/site) | Yes, often polluted | Normalized, deduplicated, ranked (`info@`, `sales@`, `contact@` first) |
| Telemetry & placeholder trap filtering (`@sentry`, `example@`, `.png`) | Manual | Frequently billed as valid rows | Automatically stripped before delivery |
| GDPR corporate-role filter (`corporateOnly`) | Manual | Mixes personal employee emails | Enabled by default (legal-entity role addresses only) |
| Mail deliverability check (DNS `MX`, `SPF`, `DMARC` + provider) | Separate DNS tool | Rarely included | Built-in via DNS-over-HTTPS (`Google Workspace`, `Microsoft 365`, etc.) |
| Website Tech Stack (`CMS`, `CRM`, `Analytics`, `Payments`, `CDN`) | Separate BuiltWith/Wappalyzer run | No | 55+ deterministic signatures from HTTP headers & HTML |
| Official EU VAT & Legal Entity verification (`VIES REST API`) | Manual EU portal check | No | Live check against `ec.europa.eu` VIES API + HRB/SIRET/KvK extraction |
| Billing on dead (`NXDOMAIN`) or blocked (`403`) domains | Wasted time | Often charged per input URL | **$0 charged** for unreachable or non-existent domains |

***

### Output example

Each delivered row represents **one reachable, deduplicated company domain**:

```json
{
  "domain": "hetzner.com",
  "inputTarget": "hetzner.com",
  "finalUrl": "https://www.hetzner.com/",
  "httpStatus": 200,
  "pagesCrawled": 4,
  "crawledUrls": [
    "https://www.hetzner.com/",
    "https://www.hetzner.com/legal/legal-notice/",
    "https://www.hetzner.com/support/",
    "https://www.hetzner.com/legal/privacy-policy/"
  ],
  "siteTitle": "Dedicated Server, Cloud, Storage & Hosting",
  "siteDescription": "Dedicated Root Server, VPS & Hosting made in Germany - Hetzner Online GmbH",
  "primaryEmail": "info@hetzner.com",
  "emails": [
    "info@hetzner.com",
    "career@hetzner.com",
    "dsa-authorities@hetzner.com",
    "tco@hetzner.com"
  ],
  "emailCount": 4,
  "phones": [
    "+49 9831 505 0",
    "+358 753259 100",
    "+49 911 234226 100"
  ],
  "socialLinks": {
    "linkedin": "https://www.linkedin.com/company/hetzner-online",
    "x": "https://twitter.com/Hetzner_Online",
    "youtube": "https://www.youtube.com/channel/UC5GXP-_6UWl5I9pisIDohUA",
    "facebook": "https://www.facebook.com/hetzner.de",
    "instagram": "https://www.instagram.com/hetzner.online"
  },
  "hasMxRecord": true,
  "mailProvider": "Hetzner",
  "mxHosts": [
    "mail.hetzner.company"
  ],
  "spfRecord": "v=spf1 include:_spf.hetzner.com -all",
  "dmarcPolicy": "reject",
  "technologies": [
    "Matomo"
  ],
  "techCategories": {
    "analytics": ["Matomo"]
  },
  "vatId": "DE812871812",
  "vatValid": true,
  "viesStatus": "valid",
  "legalEntityName": "Hetzner Online GmbH",
  "registeredAddress": "Industriestr. 25, 91710, Gunzenhausen, DE",
  "registrationNumbers": [
    "HRB 6089"
  ],
  "corporateOnlyMode": true,
  "htmlCoverage": "multi_page",
  "dnsCoverage": "complete",
  "scrapedAt": "2026-11-23T17:15:00Z"
}
```

***

### Output fields

| Field | Type | Description |
|---|---|---|
| `domain` | `string` | Canonical deduplicated company domain (`sipgate.de`, `odoo.com`). |
| `inputTarget` | `string` | Original domain or URL supplied in input. |
| `finalUrl` | `string` | Resolved homepage URL after HTTPS/www redirects. |
| `httpStatus` | `integer` | HTTP status code of the resolved entry page (`200`). |
| `pagesCrawled` | `integer` | Number of public pages fetched on the domain (homepage + contact/legal/privacy). |
| `crawledUrls` | `array` | Exact internal URLs analyzed. |
| `siteTitle` | `string \| null` | Website `<title>` text. |
| `siteDescription` | `string \| null` | Meta description text. |
| `primaryEmail` | `string \| null` | Highest-priority corporate contact email (`info@`, `contact@`, `sales@`, etc.). |
| `emails` | `array` | Clean deduplicated emails found across crawled pages. |
| `emailCount` | `integer` | Count of extracted emails. |
| `phones` | `array` | Normalized international/public phone numbers (`tel:` and international format). |
| `socialLinks` | `object` | Company profile URLs keyed by platform (`linkedin`, `x`, `github`, `youtube`, `facebook`, `instagram`). |
| `hasMxRecord` | `boolean \| null` | `true` when DNS `MX` records confirm the domain accepts email. |
| `mailProvider` | `string \| null` | Detected mail provider (`Google Workspace`, `Microsoft 365`, `Proton Mail`, `IONOS`, `OVHcloud`, `Hetzner`, etc.). |
| `mxHosts` | `array` | Sorted DNS `MX` hostnames. |
| `spfRecord` | `string \| null` | Domain `v=spf1` TXT policy when published. |
| `dmarcPolicy` | `string \| null` | `_dmarc` policy (`none`, `quarantine`, `reject`) when published. |
| `technologies` | `array` | Detected technologies (`WordPress`, `Shopify`, `HubSpot`, `Next.js`, `Stripe`, `Cloudflare`, etc.). |
| `techCategories` | `object` | Detected technologies grouped by category (`cms`, `ecommerce`, `framework`, `crm_marketing`, `analytics`, `consent`, `payments`, `cdn_hosting`). |
| `vatId` | `string \| null` | Extracted EU / UK-XI VAT identifier (`DE219349391`, `BE0477472701`, `ATU78580117`). |
| `vatValid` | `boolean \| null` | `true` / `false` when confirmed by official EU VIES API; `null` if no VAT found or member state temporarily unavailable. |
| `viesStatus` | `string` | `valid`, `invalid`, `unavailable`, `not_found`, or `not_requested`. |
| `legalEntityName` | `string \| null` | Official VIES registered company name (when returned by member state) or structured legal entity name from JSON-LD / imprint. |
| `registeredAddress` | `string \| null` | Official VIES registered address or structured JSON-LD address. |
| `registrationNumbers` | `array` | Commercial register identifiers (`HRB`, `HRA`, `FN`, `CHE`, `RCS`, `SIRET`, `KvK`). |
| `corporateOnlyMode` | `boolean` | Indicates whether personal emails were filtered out (`true` by default). |
| `htmlCoverage` | `string` | `multi_page` or `homepage_only`. |
| `dnsCoverage` | `string` | `complete`, `unavailable`, or `not_requested`. |
| `scrapedAt` | `string` | ISO-8601 UTC timestamp. |

Run diagnostics (including `notFoundDomains` and `unreachableDomains` that were **not** billed) are written to the Key-Value Store `OUTPUT` record.

***

### How to use in 4 steps

1. Click **Try for free** and paste your list of company domains (`sipgate.de`, `hetzner.com`) or URLs into **Company domains or website URLs**.
2. Adjust optional switches (`corporateOnly`, `checkDnsMx`, `detectTechStack`, `validateVatVies`, `maxPagesPerDomain`).
3. Click **Start** to run asynchronously in the cloud.
4. Download your enriched dataset as **CSV, JSON, Excel, or XML**, or consume it directly via the **Apify REST API**.

***

### Input parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `domains` | `array` | Demo (3 EU domains) | Company domains or URLs (`urls` alias also supported via API). Duplicate domains are deduplicated automatically. |
| `maxResults` | `integer` | `100` | Maximum enriched domains to deliver and bill (`1` - `10000`). |
| `maxPagesPerDomain` | `integer` | `4` | Maximum internal pages fetched per domain (`1` - `10`). |
| `concurrency` | `integer` | `5` | Number of distinct domains processed concurrently (`1` - `15`). |
| `corporateOnly` | `boolean` | `true` | Return functional corporate role emails (`info@`, `sales@`, `contact@`) and exclude likely personal addresses. |
| `sameDomainEmailsOnly` | `boolean` | `true` | Keep only emails belonging to the target company domain. |
| `checkDnsMx` | `boolean` | `true` | Check `MX`, `SPF`, and `DMARC` via DNS-over-HTTPS. |
| `detectTechStack` | `boolean` | `true` | Detect CMS, e-commerce, CRM, analytics, payments, and CDN technologies. |
| `validateVatVies` | `boolean` | `true` | Validate extracted EU/XI VAT IDs against the official EU Commission VIES API. |
| `keepSubdomains` | `boolean` | `false` | Keep non-`www` subdomains separate instead of collapsing to the root domain. |
| `proxyConfiguration` | `object` | Disabled | Optional Apify Proxy configuration for WAF-protected websites. |

***

### Input examples

#### 1. B2B domain list enrichment (Sales, CRM & KYB)

```json
{
  "domains": [
    "sipgate.de",
    "hetzner.com",
    "odoo.com",
    "bitpanda.com"
  ],
  "maxPagesPerDomain": 4,
  "corporateOnly": true,
  "checkDnsMx": true,
  "detectTechStack": true,
  "validateVatVies": true
}
```

#### 2. High-speed homepage tech stack & mail provider scan

```json
{
  "domains": [
    "shopify.com",
    "webflow.com",
    "hubspot.com"
  ],
  "maxPagesPerDomain": 1,
  "checkDnsMx": true,
  "detectTechStack": true,
  "validateVatVies": false,
  "concurrency": 10
}
```

***

### Popular B2B use cases & integrations

- **CRM & Outbound List Cleaning:** Enrich raw domain exports from Google Maps, directories, or trade shows with verified `MX` status, `info@`/`sales@` role inboxes, phone numbers, and LinkedIn company URLs.
- **Tech-Targeted Agency Prospecting:** Filter companies running WordPress, Shopify, WooCommerce, HubSpot, Klaviyo, or Google Tag Manager alongside their mail provider (`Google Workspace` vs `Microsoft 365`).
- **European KYB & Vendor Onboarding:** Automatically pull Impressum / Legal Notice company identifiers (`HRB`, `SIRET`, `UID`, `VAT`) and verify active VAT registration via the official EU VIES system.
- **No-Code & Agent Pipelines:** Connect directly with **n8n**, **Make**, **Zapier**, **Clay**, **Google Sheets**, **Airbyte**, **LangChain**, or webhooks using Apify's official integrations.

***

### Clay, n8n & Make Synchronous Recipes ($0 Start Fee)

Unlike scrapers that charge a `$0.035-$0.04` per-run start fee (which inflates single-row webhook triggers to `$37-$45 / 1,000`), this Actor charges **$0.00 per run start** - so enriching **1 domain per webhook row** costs the exact same **$0.0075** as batching 1,000 domains, with typical synchronous latency of **4-7 seconds**.

#### 1. Clay HTTP API Column (Single-Row Synchronous Enrichment)

- **Method:** `POST`
- **Endpoint:** `https://api.apify.com/v2/acts/Angaba92~website-email-contact-tech-stack-scraper/run-sync-get-dataset-items`
- **Headers:**
  - `Authorization`: `Bearer YOUR_APIFY_TOKEN`
  - `Content-Type`: `application/json`
- **Body:**

```json
{
  "domains": ["{{domain}}"],
  "maxPagesPerDomain": 3,
  "corporateOnly": true,
  "checkDnsMx": true,
  "detectTechStack": true,
  "validateVatVies": true
}
```

- **Response (`HTTP 201` JSON array):** Map `[0].primaryEmail`, `[0].hasMxRecord`, `[0].mailProvider`, `[0].technologies`, `[0].vatId`, and `[0].viesStatus` directly into Clay columns.

#### 2. Make.com & n8n HTTP Request Module (Synchronous JSON)

- **Module:** `HTTP -> Make a request` (Make) or `HTTP Request` (n8n)
- **Method & URL:** `POST https://api.apify.com/v2/acts/Angaba92~website-email-contact-tech-stack-scraper/run-sync-get-dataset-items`
- **Headers:** `Authorization: Bearer YOUR_APIFY_TOKEN`, `Content-Type: application/json`
- **Parse Response (Make):** `Yes` -> connect directly to `Flow Control -> Iterator` and filter `hasMxRecord == true`.

#### 3. Python CLI / Script Snippet (`httpx`)

```python
import os, httpx

resp = httpx.post(
    "https://api.apify.com/v2/acts/Angaba92~website-email-contact-tech-stack-scraper/run-sync-get-dataset-items",
    headers={"Authorization": f"Bearer {os.environ['APIFY_TOKEN']}"},
    json={"domains": ["sipgate.de", "hetzner.com"], "maxPagesPerDomain": 3, "corporateOnly": True},
    timeout=120,
)
for lead in resp.json():
    print(lead["domain"], lead["primaryEmail"], lead["mailProvider"], lead["technologies"])
```

#### 4. Multi-Actor B2B Lead Pipelines (n8n / Make / Clay / REST)

- **Newly Funded U.S. Startups Outbound:** Run [`Angaba92/sec-form-d-startup-funding-scraper`](https://apify.com/angaba92/sec-form-d-startup-funding-scraper) (`$0` start fee) to capture startups that just raised venture capital or SAFE rounds on SEC EDGAR Form D -> resolve company domains -> enrich verified `info@`/`sales@` emails, `MX` mail provider, and tech stack with this Actor.
- **French Corporate Registry (26M+ SIRENE / SIRET) Enrichment:** Run [`Angaba92/france-sirene-company-scraper`](https://apify.com/angaba92/france-sirene-company-scraper) (`$0` start fee) to filter active French PME/ETI companies by NAF code, departement, RGE/Qualiopi certification, and annual EUR revenue -> enrich their corporate domains with emails, LinkedIn pages, and VIES VAT confirmation here.
- **UK Newly Incorporated KYB & Outbound:** Run [`Angaba92/uk-companies-house-scraper`](https://apify.com/angaba92/uk-companies-house-scraper) by SIC code -> resolve company domains -> enrich corporate emails, tech stack, and VAT/MX status with this Actor.
- **UK Government Contract Winners -> Directors -> Corporate Emails:** Run [`Angaba92/uk-government-tenders-scraper`](https://apify.com/angaba92/uk-government-tenders-scraper) (`stages: ["award"]`) to capture suppliers winning UK Contracts Finder & Find a Tender awards -> pass `companiesHouseNumbers` into [`Angaba92/uk-companies-house-scraper`](https://apify.com/angaba92/uk-companies-house-scraper) for active directors -> enrich verified corporate emails and tech stacks with this Actor.
- **B2B Podcast Sponsorship & PR Stack:** Pair [`Angaba92/podcast-contact-email-scraper`](https://apify.com/angaba92/podcast-contact-email-scraper) (`websiteDomain` of active podcasts) with this Actor to append tech stack, phone numbers, and company social profiles to show sponsor lists.
- **Local Business Pipeline & US Federal Contractors:** Pair with [`Angaba92/google-maps-scraper`](https://apify.com/angaba92/google-maps-scraper) or [`Angaba92/sam-gov-opportunities-monitor`](https://apify.com/angaba92/sam-gov-opportunities-monitor) -> pass `website` URLs into `domains` -> filter `hasMxRecord == true && emailCount > 0` before pushing to HubSpot, Pipedrive, or Instantly.

***

### Pricing (Pay Per Event)

This Actor uses transparent **Pay Per Event (PPE)** pricing with **no run start fee**:

- **`domain-enriched`:** **$0.0075 per enriched company domain** ($7.50 per 1,000 domains).
- Dead domains (`NXDOMAIN`) and unreachable/blocked domains (`HTTP 403/429/5xx`) are logged in `OUTPUT` diagnostics and **never charged**.
- Fully compatible with Apify's `maxTotalChargeUsd` spending cap: delivery and billing are coupled atomically so runs stop cleanly at your exact budget limit.

***

### Compliance & Data Scope

- **Public corporate pages & official APIs only:** No logins, no account walls, and no CAPTCHA bypassing.
- **Legal-entity default (`corporateOnly: true`):** By default, the Actor extracts data pertaining to legal persons (corporate role addresses such as `info@`, `contact@`, `sales@`, company phone numbers, tech stack, commercial register IDs, and VIES VAT records - see GDPR Recital 14). Users who disable `corporateOnly` are responsible for ensuring an appropriate lawful basis and notice compliance under applicable privacy and electronic communications laws.

***

### FAQ

#### 1. Why is `legalEntityName` populated from VIES for some EU countries (like Belgium or Austria) but not Germany?

The official EU Commission VIES API returns `isValid: true` for valid German (`DE`) VAT numbers, while Germany's federal tax office (BZSt) restricts name and address disclosure over public VIES responses by national policy. In those cases, the Actor falls back to structured JSON-LD `Organization` or imprint entity names on the website.

#### 2. Am I charged if a domain does not exist or blocks the request?

No. Domains that fail DNS resolution (`NXDOMAIN`) or return HTTP error/WAF block pages without readable HTML are recorded in Key-Value Store `OUTPUT` (`notFoundDomains` / `unreachableDomains`) and incur zero `domain-enriched` event charges.

#### 3. Does it deduplicate `example.com` and `https://www.example.com/about`?

Yes. Before crawling or charging, inputs are normalized to their canonical registrable domain (unless `keepSubdomains: true` is enabled), so each company is processed and billed at most once per run.

#### 4. How does email trap filtering work?

The parser decodes HTML entities, extracts `mailto:` and text emails, and discards asset filenames (`.png`, `.webp`), error-tracking DSNs (`@sentry.*` and hex hashes), `noreply@` senders, and template placeholders (`example@mail.com`).

#### 5. Do I need to enable Apify Proxy?

For most SME and mid-market corporate websites, direct requests work without proxy overhead (`useApifyProxy: false` by default). If your list has many Cloudflare/WAF-protected enterprise sites (`HTTP 403`/`429`), enable Apify Proxy in the `proxyConfiguration` input.

#### 6. Can I pass `urls` instead of `domains` via the REST API?

Yes. Both `domains` and `urls` are accepted (either as an array of strings, `{ "url": "..." }` objects from RequestList sources, or newline/comma-separated text).

***

### Troubleshooting

| Symptom | Cause | Solution |
|---|---|---|
| Domain appears in `OUTPUT.unreachableDomains` with `http_403` or `http_429` | Target website blocks datacenter IPs via Cloudflare/WAF | Enable `proxyConfiguration` (Apify Proxy datacenter or residential) and re-run those domains. |
| `emails` is empty (`[]`) even though `pagesCrawled` > 1 | Website uses only a contact form without publishing an email address, or publishes only personal emails while `corporateOnly: true` | Check `crawledUrls`; if needed and legally permitted for your workflow, test with `corporateOnly: false` or `sameDomainEmailsOnly: false`. |
| `viesStatus` is `unavailable` | National tax authority backend inside EU VIES is temporarily under maintenance or rate-limiting | `vatId` is still extracted from the site; re-run VIES validation later if official confirmation is required. |
| Run fails with `Invalid input` | `domains` was passed as an empty array `[]`, an IP literal, or `localhost` | Provide at least one valid public domain name (`example.com`). |

# Actor input Schema

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

List of company domains (e.g. sipgate.de, hetzner.com) or full website URLs (e.g. https://www.odoo.com) to enrich. Duplicate domains are normalized and deduplicated before crawling and billing. Leave omitted only for a quick 3-domain demo run.

## `maxResults` (type: `integer`):

Maximum number of reachable enriched company domains to deliver (each delivered row triggers one domain-enriched event).

## `maxPagesPerDomain` (type: `integer`):

Maximum public pages fetched per domain (homepage plus highest-signal contact, about, impressum, legal notice, and privacy pages).

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

Number of distinct company domains processed in parallel.

## `corporateOnly` (type: `boolean`):

When enabled (default), returns functional corporate role addresses (info@, contact@, sales@, support@, office@, press@, legal@, etc.) and filters out likely personal employee emails.

## `sameDomainEmailsOnly` (type: `boolean`):

When enabled (default), keeps only emails belonging to the target company domain (filtering out external dispute boards, agencies, or third-party embeds).

## `checkDnsMx` (type: `boolean`):

Verify whether the domain can receive email via DNS MX records, extract SPF/DMARC policy, and identify the mail provider (Google Workspace, Microsoft 365, Cloudflare, etc.).

## `detectTechStack` (type: `boolean`):

Identify CMS, e-commerce, frontend frameworks, CRM/chat widgets, analytics pixels, consent tools, payment providers, and CDN/hosting from HTTP headers and HTML.

## `validateVatVies` (type: `boolean`):

Cross-check extracted EU/XI VAT IDs against the official European Commission VIES REST API to confirm active VAT status and retrieve registered legal entity name and address when published.

## `keepSubdomains` (type: `boolean`):

When false (default), subdomains like blog.example.com normalize to example.com. Enable to crawl and enrich specific subdomains independently.

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

Optional Apify Proxy settings. Disabled by default to minimize platform usage costs; enable datacenter or residential proxies if target domains use strict WAF rules.

## Actor input object example

```json
{
  "domains": [
    "sipgate.de",
    "hetzner.com",
    "odoo.com"
  ],
  "maxResults": 20,
  "maxPagesPerDomain": 4,
  "concurrency": 5,
  "corporateOnly": true,
  "sameDomainEmailsOnly": true,
  "checkDnsMx": true,
  "detectTechStack": true,
  "validateVatVies": true,
  "keepSubdomains": false
}
```

# Actor output Schema

## `results` (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 = {
    "domains": [
        "sipgate.de",
        "hetzner.com",
        "odoo.com"
    ],
    "maxResults": 20,
    "maxPagesPerDomain": 4
};

// Run the Actor and wait for it to finish
const run = await client.actor("angaba92/website-email-contact-tech-stack-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 = {
    "domains": [
        "sipgate.de",
        "hetzner.com",
        "odoo.com",
    ],
    "maxResults": 20,
    "maxPagesPerDomain": 4,
}

# Run the Actor and wait for it to finish
run = client.actor("angaba92/website-email-contact-tech-stack-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 '{
  "domains": [
    "sipgate.de",
    "hetzner.com",
    "odoo.com"
  ],
  "maxResults": 20,
  "maxPagesPerDomain": 4
}' |
apify call angaba92/website-email-contact-tech-stack-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,angaba92/website-email-contact-tech-stack-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/piy3IUoXDmfbRxghZ/builds/8LPfrotZ4kXTXfAW9/openapi.json
