# Contacts from JavaScript-heavy websites (browser mode)

**Use case:** 

Some websites show their emails and social links only after JavaScript runs, so plain HTTP scrapers return nothing. With browser mode on, sites where the normal crawl found no contacts (or that blocked it) are opened once more in headless Chrome. These sites are billed at the separate browser price and only if contacts are found. Give the run 2048 MB of memory.

## Input

```json
{
  "urls": [
    "typefully.com",
    "frankgreen.com",
    "ecosia.org",
    "doctolib.fr"
  ],
  "maxPagesPerDomain": 8,
  "includePhones": true,
  "includeSocials": true,
  "onlySameDomainEmails": false,
  "verifyMx": true,
  "renderJavaScript": true,
  "phoneCountry": "",
  "maxConcurrency": 20,
  "requestTimeoutSecs": 20,
  "retryBlockedWithProxy": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "domain": {
    "label": "Website",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "primaryEmail": {
    "label": "Primary email",
    "format": "string"
  },
  "emails": {
    "label": "Emails",
    "format": "array"
  },
  "phones": {
    "label": "Phones",
    "format": "array"
  },
  "linkedin": {
    "label": "LinkedIn",
    "format": "string"
  },
  "facebook": {
    "label": "Facebook",
    "format": "string"
  },
  "instagram": {
    "label": "Instagram",
    "format": "string"
  },
  "twitter": {
    "label": "X / Twitter",
    "format": "string"
  },
  "youtube": {
    "label": "YouTube",
    "format": "string"
  },
  "contactPageUrl": {
    "label": "Contact page",
    "format": "string"
  },
  "pagesScraped": {
    "label": "Pages",
    "format": "integer"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Website Contact Scraper — $3/1K Sites, Emails & Phones Actor is ready to run with the inputs already set for "Contacts from JavaScript-heavy websites (browser mode)". [Sign up or log in](https://console.apify.com/create-task-from-example/8Ffzc1L1KTppfdGn4) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Contacts from JavaScript-heavy websites (browser mode)" task

The Website Contact Scraper — $3/1K Sites, Emails & Phones Actor will start running based on the input automatically. You can also change all the input fields, like websites, max pages per website, and more, to match your specific use case.

### 3. Receive the "Contacts from JavaScript-heavy websites (browser mode)" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as website, status, primary email, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Contacts from JavaScript-heavy websites (browser mode)" task via API](https://apify.com/apifry/website-contact-extractor.md).

## About this Actor

This example demonstrates how to use [Website Contact Scraper — $3/1K Sites, Emails & Phones](https://apify.com/apifry/website-contact-extractor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/apifry/website-contact-extractor.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/apifry/website-contact-extractor.md

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`).
