# French Companies Scraper (SIRENE) | Directors, Emails & Phones (`atlasdata-labs/french-b2b-leads-sirene`) Actor

Find French companies by NAF code, département, size & revenue from the official SIRENE registry. Directors, SIREN-verified websites, emails & phones. GDPR-friendly, no duplicates.

- **URL**: https://apify.com/atlasdata-labs/french-b2b-leads-sirene.md
- **Developed by:** [Atlas Data](https://apify.com/atlasdata-labs) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $4.00 / 1,000 company returneds

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

## 🇫🇷 French B2B Leads — SIRENE Companies + Emails & Phones

**Build targeted prospect lists of French companies in minutes.** Search the official SIRENE / RNE registry (26M+ companies) by activity code, département, size and revenue — and get each company's **directors, website, emails and phones**.

Websites are found from the company name and, when needed, through **Google search** — then matched to the right company: our scraper checks that the site's **legal notice ("mentions légales") shows the company's SIREN number**. No contacts from a company with a similar name.

👉 *Version française plus bas.*

***

### ✨ Why this Actor

- **Official data, always fresh.** Pulled live from the French government registry (Licence Ouverte / Etalab) — not a stale database.
- **Websites found even when the name doesn't match the domain**, thanks to a Google search step (included in the price).
- **SIREN-verified websites.** Each website is labelled `verified` (SIREN found on the site) or `probable` (company name **and** location found on the site). Turn off probable matches for 100% verified results.
- **Directors included.** Name and role of the company's legal representatives (Président, Gérant, Directeur général…).
- **Emails checked.** Every email's domain is checked for a working mail server (MX); addresses on dead domains are removed and never billed.
- **GDPR-friendly by default.** Companies that opted out of commercial prospecting in the registry are excluded. Directors' birth dates are never exported.
- **Big lists, no duplicates.** Searches above the registry's 10,000-result limit are split automatically. Run again with the same filters and you only get companies you haven't received yet.
- **Pay for what you get.** Contacts are billed only when they are actually found.

### 🎯 Use cases

- **Sales prospecting:** every electrician in Lyon with 10–49 employees, every software company in Île-de-France with €1M+ revenue.
- **New-business leads:** companies created in the last 3 months in your area (accountants, banks, insurers, web agencies love this).
- **Market research:** map an industry by département, size and revenue.
- **CRM enrichment:** add SIREN, NAF code, size and directors to your accounts.

### 🔎 Filters

| Filter | Example |
|---|---|
| Keywords | `boulangerie`, `agence web` |
| NAF / APE codes | `43.21A` (electricity), `62.01Z` (software), `56.10A` (restaurants) |
| Sectors | Construction, Health, Real estate… |
| Départements / postal codes | `69`, `75`, `2A`, `974` / `69003` |
| Employees | 1-2, 3-5, 6-9, 10-19, 20-49… up to 10,000+ |
| Category | PME (SME), ETI (mid-size), GE (large) |
| Legal form | SAS, SASU, SARL, EURL, SA, SCI… |
| Revenue | min / max in € |
| Creation date | created after / before |
| Other | active only, has a named director, exclude sole traders |

### 📦 Output example

One row per company (JSON, CSV, Excel, or via API). *Sample data below is fictional.*

```json
{
  "siren": "812345678",
  "siret": "81234567800021",
  "name": "ELEC LYON SERVICES",
  "nafCode": "43.21A",
  "sectionLabel": "Construction",
  "legalForm": "SAS",
  "category": "PME",
  "employeeRange": "10-19",
  "createdAt": "2015-09-01",
  "address": "12 RUE DE LA REPUBLIQUE 69002 LYON",
  "postalCode": "69002",
  "city": "LYON",
  "revenue": 1850000,
  "netIncome": 92000,
  "financeYear": 2024,
  "mainDirector": "Claire Martin",
  "mainDirectorRole": "Président de SAS",
  "directors": [{ "firstName": "Claire", "lastName": "Martin", "role": "Président de SAS" }],
  "website": "https://elec-lyon-services.fr",
  "websiteConfidence": "verified",
  "emails": ["contact@elec-lyon-services.fr"],
  "phones": ["+33478000000"],
  "linkedin": "https://www.linkedin.com/company/elec-lyon-services",
  "sireneUrl": "https://annuaire-entreprises.data.gouv.fr/entreprise/812345678"
}
```

### 💳 Pricing

Pay per event — no subscription, no proxy to buy.

| Event | Price |
|---|---|
| Company returned | **$0.004** |
| Contacts found on the company website (email and/or phone) | **$0.02** |

**Example:** 1,000 companies, of which 400 come back with contacts = $4 + $8 = **$12**.

The share of companies with contacts depends on the sector and size: small trades and local businesses often have a website, very small or recent companies often don't. In our tests in the Rhône, **48%** of electricians and plumbers and **29%** of software companies came back with contacts. Tick **"Only companies with contacts"** to receive — and pay for — only those rows.

### 🚀 Quick start

```json
{
  "nafCodes": ["43.21A", "43.22A"],
  "departements": ["69", "01", "38"],
  "employeeRanges": ["03", "11", "12"],
  "enrichContacts": true,
  "maxResults": 1000
}
```

### ❓ FAQ

**Where does the data come from?**
Company data comes from the French government's official open API (SIRENE / RNE registry). Contacts come from the companies' own public websites.

**Why do I get fewer companies than in the registry?**
Many French companies have formally opted out of commercial prospecting in the registry. We exclude them by default to keep you compliant. Closed companies are also excluded unless you untick "Active companies only".

**Is it legal to prospect these companies?**
B2B prospecting in France is allowed under legitimate interest, as long as your message relates to the recipient's job, identifies you, and offers an easy way to opt out — which you must honour. You are responsible for how you use the data.

**What does `verified` vs `probable` mean?**
`verified`: the company's SIREN appears on the website (usually in the legal notice) — it's certainly their site. `probable`: the company name is in the site title **and** its city or postal code appears on the site. Untick "Accept probable websites" to keep verified only.

**Can I run it every week for new companies?**
Yes. Schedule it with the same filters plus "Created after": thanks to progress tracking you only receive (and pay for) companies you haven't received before.

**Can I use it from Make, Zapier, n8n or my CRM?**
Yes, through the Apify API and integrations.

***

## 🇫🇷 Version française

### Leads B2B France — entreprises SIRENE + emails et téléphones

**Constituez des fichiers de prospection d'entreprises françaises en quelques minutes.** Recherche dans le registre officiel SIRENE / RNE (plus de 26 millions d'entreprises) par code NAF, département, effectif et chiffre d'affaires, avec pour chaque entreprise **les dirigeants, le site web, les emails et les téléphones**.

Les sites web sont trouvés à partir du nom de l'entreprise et, si besoin, via une **recherche Google**, puis rattachés à la bonne entreprise : on vérifie que leurs **mentions légales affichent le numéro SIREN**. Pas de contacts d'une entreprise au nom similaire.

#### Points forts

- **Données officielles et à jour**, interrogées en direct dans le registre de l'État.
- **Sites vérifiés par le SIREN** (`verified`), ou `probable` quand le nom **et** la ville de l'entreprise figurent sur le site.
- **Dirigeants inclus** : nom et fonction (Président, Gérant, Directeur général…).
- **Emails vérifiés** : le domaine de chaque email doit avoir un serveur de messagerie (MX) ; les adresses sur des domaines morts sont retirées et jamais facturées.
- **Conforme RGPD par défaut** : les entreprises opposées à la prospection commerciale sont exclues, aucune date de naissance n'est exportée.
- **Gros volumes, sans doublons** : découpage automatique au-delà de 10 000 résultats, et reprise là où vous vous étiez arrêté.
- **Vous ne payez les contacts que s'ils sont trouvés.**

#### Cas d'usage

- **Prospection commerciale :** tous les électriciens de 10 à 49 salariés à Lyon, toutes les ESN d'Île-de-France de plus d'1 M€ de CA.
- **Entreprises nouvellement créées** dans votre zone, idéal pour experts-comptables, banques, assureurs, agences web.
- **Études de marché :** un secteur cartographié par département, taille et chiffre d'affaires.
- **Enrichissement CRM :** SIREN, code NAF, effectif et dirigeants.

#### Tarifs

| Événement | Prix |
|---|---|
| Entreprise retournée | **0,004 $** |
| Contacts trouvés sur le site (email et/ou téléphone) | **0,02 $** |

Exemple : 1 000 entreprises dont 400 avec contacts = 4 $ + 8 $ = **12 $**. Dans nos tests dans le Rhône, **48 %** des électriciens et plombiers et **29 %** des éditeurs de logiciels avaient des contacts ; ce taux varie selon le secteur.

#### Questions fréquentes

**Pourquoi moins d'entreprises que dans le registre ?** Beaucoup d'entreprises se sont opposées à la prospection commerciale dans le registre ; nous les excluons par défaut pour que vous restiez en règle.

**Est-ce légal ?** La prospection B2B est autorisée au titre de l'intérêt légitime si le message concerne l'activité professionnelle du destinataire, vous identifie et propose un moyen simple de s'opposer, que vous devez respecter. Vous restez responsable de l'usage des données.

**Puis-je le lancer chaque semaine ?** Oui : planifiez-le avec les mêmes filtres et « Créée après ». Vous ne recevez, et ne payez, que les nouvelles entreprises.

# Actor input Schema

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

Maximum number of companies to return in this run. Tip: start with 100 to check your filters, then raise it.

## `query` (type: `string`):

Free text matched against company names, brands, directors and addresses. Ex: boulangerie, agence web.

## `popularNafCodes` (type: `array`):

Pick one or more activities. Need a code that isn't listed? Add it in "Other NAF codes" below.

## `nafCodes` (type: `array`):

Any other code, e.g. 01.11Z. Format 0111Z also accepted.

## `sections` (type: `array`):

Broad activity sectors (NAF sections).

## `departements` (type: `array`):

One or more départements.

## `postalCodes` (type: `array`):

Ex: 69003, 75011.

## `employeeRanges` (type: `array`):

Employee range from the registry.

## `companyCategories` (type: `array`):

INSEE size category.

## `legalForms` (type: `array`):

Legal form of the company.

## `revenueMin` (type: `integer`):

Latest published revenue, in euros.

## `revenueMax` (type: `integer`):

Latest published revenue, in euros.

## `createdAfter` (type: `string`):

YYYY-MM-DD. Great for targeting new companies.

## `createdBefore` (type: `string`):

YYYY-MM-DD.

## `onlyActive` (type: `boolean`):

Skip closed companies.

## `requireDirector` (type: `boolean`):

Keep only companies with at least one director who is a person.

## `excludeSoleTraders` (type: `boolean`):

Skip entrepreneurs individuels (micro-entreprises).

## `enrichContacts` (type: `boolean`):

Finds the company website and extracts public emails, phones and social links. Billed only when contacts are found.

## `acceptProbableWebsites` (type: `boolean`):

If off, only websites whose legal notice shows the company's SIREN are kept (100% match, fewer results).

## `searchWebsites` (type: `boolean`):

If the website can't be guessed from the company name, look it up on Google and check the top results. Finds many more websites, at no extra cost to you.

## `onlyWithContact` (type: `boolean`):

Return only companies where an email or phone was found.

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

How many company websites are checked at the same time.

## `excludeOptedOut` (type: `boolean`):

Excludes companies that registered an opposition to commercial use of their data in SIRENE. Strongly recommended (GDPR).

## `resetProgress` (type: `boolean`):

Ignore saved progress for these filters.

## Actor input object example

```json
{
  "maxResults": 20,
  "popularNafCodes": [
    "43.21A",
    "43.22A"
  ],
  "departements": [
    "69"
  ],
  "onlyActive": true,
  "requireDirector": false,
  "excludeSoleTraders": false,
  "enrichContacts": true,
  "acceptProbableWebsites": true,
  "searchWebsites": true,
  "onlyWithContact": false,
  "maxConcurrency": 20,
  "excludeOptedOut": true,
  "resetProgress": false
}
```

# Actor output Schema

## `companies` (type: `string`):

All companies returned by the run.

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

Counts of companies and contacts, and whether all results for these filters were delivered.

# 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 = {
    "maxResults": 20,
    "popularNafCodes": [
        "43.21A",
        "43.22A"
    ],
    "departements": [
        "69"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("atlasdata-labs/french-b2b-leads-sirene").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 = {
    "maxResults": 20,
    "popularNafCodes": [
        "43.21A",
        "43.22A",
    ],
    "departements": ["69"],
}

# Run the Actor and wait for it to finish
run = client.actor("atlasdata-labs/french-b2b-leads-sirene").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 '{
  "maxResults": 20,
  "popularNafCodes": [
    "43.21A",
    "43.22A"
  ],
  "departements": [
    "69"
  ]
}' |
apify call atlasdata-labs/french-b2b-leads-sirene --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,atlasdata-labs/french-b2b-leads-sirene"
        }
    }
}
```

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/vBMwcxowbHyA637Bz/builds/YLnRF3oKl2addgrli/openapi.json
