# French Company Leads – SIRENE B2B Lists (No Personal Data) (`tiaggaws/french-company-leads`) Actor

Build B2B lead lists of French companies (SIRENE) filtered by NAF code, department, size and legal form. Companies only: sole traders excluded by default, no director names. Flat CSV-ready rows with SIREN, SIRET, address, revenue, VAT number.

- **URL**: https://apify.com/tiaggaws/french-company-leads.md
- **Developed by:** [Tiago](https://apify.com/tiaggaws) (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

$4.00 / 1,000 company delivereds

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

### What does French Company Leads do?

French Company Leads builds **B2B lead lists of French companies** from the official **SIRENE** business register. Filter by **NAF code**, department, region, postal code, employee range, company category and legal form, and get one flat, CSV-ready row per company with its SIREN, SIRET, address, revenue, VAT number and more. It returns **companies only: no sole traders by default and no personal data** (no director or person names, ever).

Under the hood the Actor calls the public [Recherche d'entreprises API](https://recherche-entreprises.api.gouv.fr) with plain HTTP: no browser, no proxy, no login, no API key to manage.

### Why use it?

- **Companies only.** Sole traders (entrepreneurs individuels), whose names are personal data, are excluded by default. Director fields are never requested from the API and never stored.
- **Precise filters.** NAF code or whole NAF section, department, postal code, region, employee range, category (PME, ETI, GE), legal form (SAS, SARL, SA, SCI, association), certifications (RGE, Qualiopi, ESS) and minimum revenue.
- **Respects opt-outs.** Companies that declared an opposition to commercial prospecting in the national register (GDPR article 21(2)) are left out, and so are companies whose data is not publicly diffusible.
- **"Only new companies" mode.** For scheduled runs, return only companies never delivered before with the same filters. Perfect for weekly prospecting.
- **Unique rows.** One row per SIREN, with the same columns on every row (`null` when a value is missing).
- **Pay only for what you get.** One event per company delivered. The run stops cleanly when your maximum budget is reached.
- **Plug it anywhere.** Export CSV, Excel or JSON, call it from the Apify API, or connect it to Make, Zapier, n8n and AI agents through the Apify MCP server.

### How to use it

1. Open the Actor and choose at least one filter, for example **NAF codes** `62.01Z` (computer programming) and **Departments** `69` (Rhône).
2. Optionally narrow by **employee ranges**, **legal forms**, **certifications** or **minimum revenue** under "More filters".
3. Set **Maximum companies** (the prefilled value is 20 for a quick test; the default is 1,000).
4. Click **Start**. A 20-company run takes a few seconds.
5. Open the **Output** tab and export the dataset as **CSV, Excel or JSON**, or read it through the API.
6. To keep your list fresh, schedule the run and tick **Only new companies**.

### Input example

```json
{
    "nafCodes": ["62.01Z"],
    "departments": ["69"],
    "maxResults": 20
}
```

Another example, new software companies of 10 to 49 employees in Paris and Lyon, as a scheduled "only new" run:

```json
{
    "nafCodes": ["62.01Z", "62.02A"],
    "departments": ["75", "69"],
    "employeeRanges": ["10-19", "20-49"],
    "legalForms": ["SAS", "SARL"],
    "newSinceLastRun": true,
    "maxResults": 500
}
```

Filters are combined with AND. NAF codes accept the dotted form (`62.01Z`) or a section letter (`F` for construction). One search runs per department (or per postal code, or per region when no department is given).

### Output example

Real output of the first example (two rows shown):

```json
[
    {
        "siren": "837679307",
        "siretSiege": "83767930700012",
        "name": "RSF COM",
        "acronym": null,
        "legalFormCode": "5710",
        "legalFormLabel": "SAS, société par actions simplifiée",
        "nafCode": "62.01Z",
        "nafLabel": "Programmation informatique",
        "employeeRangeCode": "11",
        "employeeRangeLabel": "10 à 19 salariés",
        "companyCategory": "PME",
        "creationDate": "2018-02-21",
        "isActive": true,
        "address": "330 ALLEE DES HETRES",
        "postalCode": "69760",
        "city": "LIMONEST",
        "departmentCode": "69",
        "regionCode": "84",
        "latitude": 45.8081466372783,
        "longitude": 4.77455019441287,
        "openEstablishmentsCount": 5,
        "revenueEur": 3374337,
        "netIncomeEur": 1150687,
        "financialYear": 2022,
        "vatNumber": "FR54837679307",
        "isRge": false,
        "isQualiopi": false,
        "isEss": false,
        "annuaireUrl": "https://annuaire-entreprises.data.gouv.fr/entreprise/837679307",
        "isNew": null,
        "source": "API Recherche d'entreprises – recherche-entreprises.api.gouv.fr",
        "fetchedAt": "2026-11-17T16:07:35.753Z"
    },
    {
        "siren": "811967900",
        "siretSiege": "81196790000044",
        "name": "HUB-GRADE",
        "acronym": null,
        "legalFormCode": "5710",
        "legalFormLabel": "SAS, société par actions simplifiée",
        "nafCode": "62.01Z",
        "nafLabel": "Programmation informatique",
        "employeeRangeCode": "11",
        "employeeRangeLabel": "10 à 19 salariés",
        "companyCategory": "PME",
        "creationDate": "2015-06-11",
        "isActive": true,
        "address": "21 RUE CDT FUZIER",
        "postalCode": "69003",
        "city": "LYON 3EME",
        "departmentCode": "69",
        "regionCode": "84",
        "latitude": 45.754558653,
        "longitude": 4.8456446498,
        "openEstablishmentsCount": 4,
        "revenueEur": 1371018,
        "netIncomeEur": -177998,
        "financialYear": 2024,
        "vatNumber": "FR39811967900",
        "isRge": false,
        "isQualiopi": false,
        "isEss": false,
        "annuaireUrl": "https://annuaire-entreprises.data.gouv.fr/entreprise/811967900",
        "isNew": null,
        "source": "API Recherche d'entreprises – recherche-entreprises.api.gouv.fr",
        "fetchedAt": "2026-11-17T16:07:35.757Z"
    }
]
```

Notes on the columns:

- `address`, `postalCode`, `city`, `departmentCode`, `regionCode`, `latitude` and `longitude` describe the **head office**.
- `vatNumber` is **computed from the SIREN** (`FR` + 2-digit key + SIREN). It is the theoretical French VAT number: it does not prove that the company is registered for VAT, so validate it in VIES if it matters.
- `revenueEur`, `netIncomeEur` and `financialYear` come from the latest published accounts and are `null` when none are published.
- `legalFormLabel`, `nafLabel` and `employeeRangeLabel` use the official French INSEE wording.
- `isNew` is `true` in "Only new companies" mode and `null` otherwise.

### Pricing

The Actor uses **pay-per-event** pricing: **$4.00 per 1,000 companies delivered** ($0.004 per company). Nothing is charged for errors, and nothing is charged for companies the Actor reads but does not deliver (excluded sole traders, closed companies, head offices outside your area, opt-outs).

- 500 companies: about **$2.00**
- 5,000 companies: about **$20.00**

Set your **maximum cost per run** in the run options. When the budget is reached, the Actor stops cleanly and keeps everything delivered so far. Platform usage (compute) is small: the default memory is 256 MB.

### Data source and licence

Data comes from the **Recherche d'entreprises API** (recherche-entreprises.api.gouv.fr), which exposes public data published by French administrations, mainly the INSEE SIRENE register and the national business register (RNE). This data is open and reusable; check the reuse terms of each dataset on data.gouv.fr. Every row carries a `source` and a `fetchedAt` timestamp: please cite the source and the collection date when you republish.

This Actor is **not affiliated with, endorsed by or operated by the French administration**.

### GDPR note

Sole traders are excluded by default because their name is personal data. If you switch **Exclude sole traders** off, the company name may be a person's name; you are then responsible for your legal basis, for the French and EU prospecting rules (information of the person, right to object) and for honouring opt-outs.

The Actor never requests or stores directors, shareholders or any person field. The API can match a free-text query against director names; the Actor only returns company data. Companies flagged with an opposition to commercial prospecting are always left out.

### Pour les utilisateurs francophones

Besoin d'un **fichier de prospection B2B** fiable ? Cet Actor génère une **liste d'entreprises par code NAF et département** à partir de la base SIRENE : SIREN, SIRET, adresse du siège, effectif, chiffre d'affaires, numéro de TVA, le tout sans dirigeants et sans entrepreneurs individuels par défaut. Filtrez par **code NAF, département, tranche d'effectif, catégorie et forme juridique**, exportez en CSV ou Excel, puis planifiez un run hebdomadaire avec l'option « Nouvelles sociétés uniquement » pour ne recevoir que les créations récentes de votre cible. Les messages de statut du run sont en français.

### FAQ

#### Why do I get fewer companies than I expected?

The API lists every company with an establishment in your area, but the Actor keeps only companies whose **head office** is in your selection (switch "Head office in the area" off to include branches), leaves out closed companies and sole traders, and drops companies that opted out of commercial prospecting. The run summary (key `RUN_SUMMARY` in the key-value store) tells you how many were set aside and why.

#### What is the 10,000 results limit?

The API exposes at most 10,000 results per search. The Actor runs one search per department to stay below it. If a single department and NAF code still exceed it, the run status says so: split by NAF code, postal code or add filters.

#### How fresh is the data?

Each run queries the API live, so you get the data as published at that moment. The `fetchedAt` column gives the collection time.

#### Why are there no directors?

By design. The Actor is built for company-level prospecting without personal data, so director fields are never requested or stored.

#### Why can I not filter SASU or EURL?

INSEE has no separate legal category for them: a SASU is a SAS (code 5710) and an EURL is a SARL (code 5499). The "SAS" and "SARL" options include them.

#### Which NAF nomenclature is used?

NAF rev. 2 (the codes the API currently filters on). The API also returns the new NAF 2025 codes as a temporary field, which this Actor does not use.

#### How do I report a bug or ask for a feature?

Use the **Issues** tab of this Actor. Include your input and the run link.

# Changelog

This Actor's version history is a separate document: https://apify.com/tiaggaws/french-company-leads/changelog.md

# Actor input Schema

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

Enter NAF/APE activity codes such as 62.01Z, or a section letter A-U such as F (construction) for a whole sector. Codes and letters are searched separately, then merged.

## `departments` (type: `array`):

Enter French department codes such as 69, 75, 2A or 971. One search runs per department, which keeps each search under the API limit of 10,000 results.

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

Select employee ranges (INSEE bands, whole company). Leave empty for all sizes, including companies with no employees.

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

Set the maximum number of companies to deliver. You are billed per company delivered, and the run stops cleanly when your budget limit is reached.

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

Enter free text to search company names and addresses. Optional when another filter is set.

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

Enter 5-digit postal codes such as 69003. One search runs per postal code when no department is set.

## `regions` (type: `array`):

Select INSEE regions. One search runs per region when no department or postal code is set.

## `categories` (type: `array`):

Select company size categories: PME (small and medium), ETI (mid-cap) or GE (large). Leave empty for all.

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

Select legal forms. SAS includes SASU and SARL includes EURL, because INSEE has no separate legal code for them. Leave empty for all forms.

## `certifications` (type: `array`):

Select certifications. A company must hold all the selected ones: RGE (environment), Qualiopi (training) or ESS (social and solidarity economy).

## `minRevenueEur` (type: `integer`):

Keep only companies whose latest published revenue is at least this amount. Companies without published accounts are left out.

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

Exclude sole traders (entrepreneurs individuels): their name is personal data.

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

Exclude companies that have ceased activity.

## `headOfficeOnly` (type: `boolean`):

Keep only companies whose head office is in the selected departments, postal codes or regions. Turn off to also include companies that only have a branch there: address columns still show the head office.

## `newSinceLastRun` (type: `boolean`):

Use for scheduled runs: return only companies never delivered in previous runs with the same filters.

## Actor input object example

```json
{
  "nafCodes": [
    "62.01Z"
  ],
  "departments": [
    "69"
  ],
  "maxResults": 20,
  "excludeSoleTraders": true,
  "onlyActive": true,
  "headOfficeOnly": true,
  "newSinceLastRun": 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 = {
    "nafCodes": [
        "62.01Z"
    ],
    "departments": [
        "69"
    ],
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("tiaggaws/french-company-leads").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 = {
    "nafCodes": ["62.01Z"],
    "departments": ["69"],
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("tiaggaws/french-company-leads").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 '{
  "nafCodes": [
    "62.01Z"
  ],
  "departments": [
    "69"
  ],
  "maxResults": 20
}' |
apify call tiaggaws/french-company-leads --silent --output-dataset

```

## MCP server setup

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

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/lWyqjaAMEjw7IQKEE/builds/ZJod7kjivjOsfA5I8/openapi.json
