# Keymex Agents · Names, Phones & Emails (`corent1robert/keymex-scraper`) Actor

Export Keymex.fr agency teams as a CRM table. Center, city, advisor name, job title, email, phone and profile URL — one row per collaborator. Public directory. No login.

- **URL**: https://apify.com/corent1robert/keymex-scraper.md
- **Developed by:** [Corentin Robert](https://apify.com/corent1robert) (community)
- **Categories:** Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Keymex Scraper - Extract Center and Collaborator Data

**Extract comprehensive data from Keymex centers and their collaborators** across France. This Actor scrapes the [Keymex](https://www.keymex.fr/) website to provide you with a complete database of centers, contact details, and collaborator profiles with emails, phone numbers, and professional information.

### What does Keymex Scraper do?

The **Keymex Scraper** extracts comprehensive data from the Keymex network, covering all centers across France. The Actor automatically:

- **Scrapes the main centers page** to discover all center URLs from the official Keymex website
- **Extracts center information** including name, city, address, postal code, phone, and website URL
- **Extracts collaborator information** including full name, job title, email, phone number, and photo from each center's website
- **Uses JSON-LD structured data** for accurate extraction of collaborator details
- **Uses optimized extraction** with parallel processing for maximum speed
- **Exports structured data** ready for analysis, CRM integration, or business intelligence

The Actor processes all centers from the main page, extracts collaborator URLs from each center page, and then extracts detailed information from each collaborator's individual page using JSON-LD structured data.

### What can this Keymex Scraper do?

#### 🚀 Key Features

- **Complete Network Coverage**: Scrapes all Keymex centers from the official website
- **Dual Data Extraction**: Extracts both center-level and collaborator-level information in a single run
- **JSON-LD Parsing**: Uses structured data (JSON-LD) for accurate extraction of collaborator details
- **High Success Rate**: Accurate extraction of collaborator emails, phone numbers, and job titles
- **Optimized Performance**: Processes multiple centers in parallel with automatic retry mechanism
- **Complete Contact Data**: Extracts emails, phone numbers, photos, and job titles
- **Structured Output**: Clean, normalized data ready for immediate use

#### 🎯 Platform Advantages

Your Actor + the Apify platform. They come as a package. This scraper benefits from:

- **Monitoring & Logs**: Real-time execution monitoring with detailed logs
- **API Access**: Access your data programmatically via Apify API
- **Scheduling**: Set up automated runs on a schedule
- **Integrations**: Connect to Make.com, Zapier, Google Sheets, and more
- **Proxy Rotation**: Automatic proxy management for reliable scraping
- **Scalability**: Handle large-scale scraping with cloud infrastructure
- **Data Storage**: Secure dataset storage with multiple export formats (JSON, CSV, Excel, HTML)

### What data can Keymex Scraper extract?

The Actor extracts comprehensive data from Keymex centers and collaborators. Here's what you can extract:

| Data Category | Fields Extracted | Description |
|--------------|------------------|-------------|
| **Center Information** | `centerName`, `centerCity`, `centerAddress`, `centerPostalCode`, `centerPhone`, `centerWebsite` | Complete center contact details and location |
| **Collaborator Information** | `collaboratorName`, `collaboratorFirstName`, `collaboratorLastName`, `collaboratorJobTitle`, `collaboratorEmail`, `collaboratorPhone`, `collaboratorPhoto`, `collaboratorUrl` | Full collaborator profile with contact information |

#### Detailed Field Description

##### Center Information

- **centerName**: Name of the center (e.g., "KEYMEX Ambitions Toulon Var")
- **centerCity**: City where the center is located
- **centerAddress**: Street address of the center
- **centerPostalCode**: Postal code (5 digits)
- **centerPhone**: Phone number of the center
- **centerWebsite**: URL of the center's website

##### Collaborator Information

- **collaboratorName**: Full name of the collaborator
- **collaboratorFirstName**: First name of the collaborator
- **collaboratorLastName**: Last name of the collaborator
- **collaboratorJobTitle**: Job title (e.g., "Agent commercial")
- **collaboratorEmail**: Email address of the collaborator
- **collaboratorPhone**: Phone number of the collaborator
- **collaboratorPhoto**: URL of the collaborator's photo
- **collaboratorUrl**: URL of the collaborator's page

### Input Configuration

The Actor accepts the following input parameters:

```json
{
  "maxConcurrency": 10,
  "requestTimeout": 15000
}
```

#### Input Parameters

- **maxConcurrency** (number, optional): Maximum number of concurrent requests. Default: `10`
- **requestTimeout** (number, optional): Request timeout in milliseconds. Default: `15000` (15 seconds)

### Output Format

The Actor outputs data in the following format:

```json
{
  "centerName": "KEYMEX Ambitions Toulon Var",
  "centerCity": "Toulon Var",
  "centerAddress": "1110 Chemin des plantades, Centre d'Affaires Grand Var - Bâtiment B, 83130 La Garde",
  "centerPostalCode": "83130",
  "centerPhone": "0422146808",
  "centerWebsite": "https://www.keymex.fr/agence-immobiliere/toulon-var/",
  "collaboratorName": "CLOUET Dimitri",
  "collaboratorFirstName": "Dimitri",
  "collaboratorLastName": "CLOUET",
  "collaboratorJobTitle": "Agent commercial",
  "collaboratorEmail": "dimitri.clouet@keymex.fr",
  "collaboratorPhone": "0630028755",
  "collaboratorPhoto": "https://v2.immo-facile.com/office8/keymex_2207130928/catalog/images/members/855274.jpg",
  "collaboratorUrl": "https://www.keymex.fr/agence-immobiliere/toulon-var/855274/"
}
```

### Usage

#### Local Development

1. Install dependencies:

```bash
npm install
```

2. Configure input in `input.json`:

```json
{
  "maxConcurrency": 10,
  "requestTimeout": 15000
}
```

3. Run the scraper:

```bash
npm start
```

4. Results will be saved to:
   - `output.csv` - CSV file with all extracted data
   - `storage/datasets/default/` - Apify dataset (JSON format)

#### Apify Platform

1. Upload the Actor to Apify
2. Configure input parameters in the Actor's input
3. Run the Actor
4. Download results from the Actor's dataset

### Technical Details

#### Extraction Process

1. **Main Page Scraping**: The Actor first scrapes `https://www.keymex.fr/agence-immobiliere/` to extract all center URLs and basic information
2. **Center Page Scraping**: For each center, the Actor visits the center's website to extract collaborator URLs from the team section
3. **Collaborator Page Scraping**: For each collaborator, the Actor visits the collaborator's individual page to extract detailed information from JSON-LD structured data
4. **Data Extraction**: Uses Cheerio for HTML parsing and JSON-LD parsing for structured data extraction
5. **Parallel Processing**: Processes multiple centers simultaneously for optimal performance

#### Error Handling

- Automatic retry mechanism for failed requests
- Timeout handling for slow-loading pages
- Graceful error handling that continues processing other centers
- Fallback to HTML extraction if JSON-LD is not available

### Limitations

- The scraper depends on the structure of the Keymex website
- Some centers may not have collaborator information publicly available
- Rate limiting may apply if scraping too aggressively

### Support

For issues, questions, or contributions, please refer to the project repository.

### Related Actors

These Actors cover the same job or the next step in the workflow. Apify’s automatic recommendations stay inside one category — this list is the rest of the toolkit.

| Actor | Use it when |
|---|---|
| [French Real Estate Agents · Multi-Network CRM & Lead Export](https://apify.com/corent1robert/fr-realty-agents-hub) | French real-estate agents across networks — one CRM file |
| [Les Porteclés Consultants · Full profiles infos (mails, phones)](https://apify.com/corent1robert/les-portecles-agents) | Les Porteclés Consultants |
| [LF immo Consultants · Full profiles infos (emails, phones)](https://apify.com/corent1robert/lf-immo-agents) | LF immo Consultants |
| [Lgm Immobilier Scraper](https://apify.com/corent1robert/lgm-immobilier-scraper) | Lgm Immobilier Scraper |
| [megAgence Consultants · Full profiles infos (emails, phones)](https://apify.com/corent1robert/megagence-consultants) | megAgence Consultants |
| [Notaires.fr Scraper · French Notary Leads · By URL](https://apify.com/corent1robert/notaires-fr-annuaire-scraper) | Notaires.fr Scraper |
| [ORIAS Scraper · French Insurance Broker Leads](https://apify.com/corent1robert/orias-scraper) | French insurance broker leads (ORIAS) |
| [French Companies · Search & SIREN Enrich](https://apify.com/corent1robert/recherche-entreprises-scraper) | French companies: search and SIREN enrich |

# Actor input Schema

## `maxConcurrency` (type: `integer`):

Maximum number of concurrent requests (default: 10). Increase for more speed, decrease to reduce server load.

## `requestTimeout` (type: `integer`):

Maximum timeout for each request in milliseconds (default: 15000 = 15 seconds).

## Actor input object example

```json
{
  "maxConcurrency": 10,
  "requestTimeout": 15000
}
```

# Actor output Schema

## `centersAndCollaborators` (type: `string`):

Interactive table with all centers and their collaborators. Filterable and sortable by columns.

## `centersOnly` (type: `string`):

List of centers with their information (one row per center, without collaborator duplication)

## `collaboratorsOnly` (type: `string`):

Detailed list of all collaborators with their contact information

## `statistics` (type: `string`):

Statistics on extracted data (number of centers, collaborators, etc.)

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("corent1robert/keymex-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("corent1robert/keymex-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 '{}' |
apify call corent1robert/keymex-scraper --silent --output-dataset

```

## MCP server setup

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