# French Companies Enrichment – SIREN, SIRET & Name Lookup (`frscrape/french-companies-enrich`) Actor

Enrich your list of French companies: paste SIREN, SIRET or company names and get official Sirene data (address, activity, headcount, legal form, status). No personal data. Pay only for companies found.

- **URL**: https://apify.com/frscrape/french-companies-enrich.md
- **Developed by:** [frscrape](https://apify.com/frscrape) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 company founds

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 Companies Enrichment – SIREN, SIRET & Name Lookup

Bulk **SIREN lookup** for **French company data** from the official **INSEE Sirene database**: paste a list of companies straight from Excel (**SIREN**, **SIRET**, or **company name** with an optional postal code) and get **one completed row per line**: legal name, SIREN, head-office SIRET and address, NAF activity code (including **NAF 2025**), headcount band, **revenue (turnover) and net income**, creation date and status. The data comes through the French government's free [Recherche d'entreprises](https://recherche-entreprises.api.gouv.fr) API.

You only pay for the companies that are **found**, and only **once per company** in a run.

### What is it for?

- **Cleaning a CRM or a prospect file**: you have names or numbers, you want verified SIREN, address and activity for each.
- **Checking suppliers or customers**: is this SIREN still active? What is its NAF code and its size?
- **Completing a list from a trade show, a directory or a scraper** with official company identifiers.

It works with the output columns of the companion Actor **French Companies Search** (same column names, plus the 3 financial columns), so both lists can be merged.

### What it does

- Accepts **one list, one company per line**, which can mix:
  - a **SIREN** (9 digits): `356000000` or `356 000 000`;
  - a **SIRET** (14 digits): `18002002600019`;
  - a **company name**, optionally followed by `;` and a **postal code**: `Boulangerie Martin ; 69002`. Two columns copied from Excel (name, then postal code) work too.
- Returns **one row per input line, in the same order**, with the original line, whether it was **found** (`oui`/`non`), a **reliability** flag and, when not found, the **reason**.
- **Reliability**, in 3 levels (see **How reliability is set** below): `sûre` (certain), `probable` or `à vérifier` (to check).
- **Revenue and net income** of the latest published financial year, with that year (see **Revenue and net income** below), at no extra cost.
- **Malformed lines never stop the run**: they come out as `trouve: non` with the reason (wrong check digit, wrong number of digits, invalid postal code, Excel scientific notation…).
- A header line (`SIREN`, `Nom`, `Entreprise`…) at the top is ignored, as are empty lines. Excel's missing leading zero in postal codes (`1000` for `01000`) is fixed.
- **Always excludes sole traders (entrepreneurs individuels)** and returns **no person names** (no managers or directors), to stay GDPR-friendly. A sole trader's SIREN comes out as `trouve: non` with the reason.
- **Respects companies' refusal of commercial prospecting**: when a company has opposed the use of its data for commercial prospecting (`opposition_diffusion_commerciale` in the official data), its row comes out as `trouve: non` with the reason `opposée à la prospection commerciale`, **without any data and without being billed**. This concerns many companies, including most large groups.
- Respects the API rate limit (7 calls per second) and retries automatically on temporary errors.

### How to use it

1. Click **Try for free** (or **Start**).
2. In **Companies to complete**, paste your column from Excel, one company per line.
3. Click **Start**. When the run ends, download the result as **Excel, CSV or JSON** from the **Output** tab, or connect it to Google Sheets, Make, Zapier or your CRM through the Apify integrations and API.

#### Input

| Field                                 | Description                                                                  |
| ------------------------------------- | ---------------------------------------------------------------------------- |
| Companies to complete (`entreprises`) | Text, one company per line: SIREN, SIRET, or `name ; postal code`. Required. |

JSON input example:

```json
{
    "entreprises": "356000000\n18002002600019\nLa Poste ; 75015\nCaisse des dépôts et consignations"
}
```

**Tip for SIRET numbers in Excel**: Excel may show long numbers as `5,52032E+13`, which loses digits. Format the column as **Text** before copying. Such lines are reported, not guessed.

**How a name is matched**: the Actor keeps the API's most relevant result, preferring an active company. With a postal code, the company must have **at least one establishment** at that postal code (not necessarily its head office). If the best match has opposed commercial prospecting, the row is `trouve: non`: the Actor never swaps it for another company.

#### How reliability is set

| Reliability  | When                                                                                                                                                                                                                 |
| ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `sûre`       | Exact SIREN or SIRET, **or** a name identical to the official name or acronym once case, accents, punctuation and legal form (SA, SAS, SARL…) are ignored. `la poste sa` matches `LA POSTE`, `PBG` matches `P.B.G.`. |
| `probable`   | A very close name: one typo (`consignation` for `consignations`) or one word missing (`Fournil de Gradignan` for `LE FOURNIL DE GRADIGNAN`).                                                                         |
| `à vérifier` | Anything else, for example a partial name (`Caisse des dépôts`) or a generic word (`Boulangerie`).                                                                                                                   |

When you give a postal code, the company found always has an establishment at that postal code. If **another active company** matches the name just as well (a namesake, such as several companies called `ABC`), the row is `à vérifier`: add a postal code to tell them apart. Check `probable` rows quickly and `à vérifier` rows carefully.

#### Revenue and net income

Three columns give the company's latest published accounts: `chiffreAffaires` (revenue, in euros), `resultatNet` (net income, in euros, negative for a loss) and `anneeFinances` (the year they relate to). Three rules to know:

1. **A revenue of 0 comes out empty: it means "not published".** Many companies, mostly small ones, file their accounts confidentially, and the official data then shows a revenue of 0. Since a 0 almost always means "hidden", `chiffreAffaires` is left empty rather than showing a misleading 0. The net income is still given when it was published (it often is), and is empty when it is also 0. When the company has no financial data at all, the 3 columns are empty.
2. **`anneeFinances` always goes with the amounts.** Only the latest year is returned, and it can be one or two years old. The year is the financial year as defined by the source: a year closing on 31 March 2024 counts as 2023.
3. **For a group, the figures are the consolidated accounts** (the whole group), when they exist, not those of the parent company alone. For example, EDF's 2024 revenue is €118.7 billion for the group, against €72.3 billion for the parent company alone.

| Original input                            | Revenue (€)    | Net income (€) | Year | Meaning                                 |
| ----------------------------------------- | -------------- | -------------- | ---- | --------------------------------------- |
| 356000000                                 | 26,700,000,000 | 1,474,000,000  | 2025 | Published accounts (La Poste group)     |
| 539403170                                 | 2,138,070      | -184,542       | 2023 | Published accounts, a loss              |
| La P'tite Boulangerie de Caudéran ; 33200 |                | -387,105       | 2024 | Revenue not published, net income given |
| 794288183                                 |                |                | 2024 | Nothing published for 2024              |

Source: Ratios financiers BCE/INPI (DGE), via recherche-entreprises.api.gouv.fr, Licence Ouverte. The `source` field of each row cites it when financial data is present.

### Output example

One row per input line. Here are real rows for the default input plus three lines that are not found:

| Original input                     | Found | Reliability | Name                               | SIREN     | Head-office SIRET | Postal code | Reason                                                                      |
| ---------------------------------- | ----- | ----------- | ---------------------------------- | --------- | ----------------- | ----------- | --------------------------------------------------------------------------- |
| 356000000                          | oui   | sûre        | LA POSTE                           | 356000000 | 35600000000048    | 75015       |                                                                             |
| 18002002600019                     | oui   | sûre        | CAISSE DES DEPOTS ET CONSIGNATIONS | 180020026 | 18002002600019    | 75007       |                                                                             |
| La Poste ; 75015                   | oui   | sûre        | LA POSTE                           | 356000000 | 35600000000048    | 75015       |                                                                             |
| Caisse des dépôts et consignations | oui   | sûre        | CAISSE DES DEPOTS ET CONSIGNATIONS | 180020026 | 18002002600019    | 75007       |                                                                             |
| 552032534                          | non   |             |                                    |           |                   |             | opposée à la prospection commerciale                                        |
| 12345                              | non   |             |                                    |           |                   |             | Numéro de 5 chiffres : un SIREN en a 9 et un SIRET 14.                      |
| 482694759                          | non   |             |                                    |           |                   |             | Entrepreneur individuel : exclu (aucune donnée personnelle n’est renvoyée). |

In this example only **2 companies are billed**: La Poste and the Caisse des dépôts each appear twice but are billed once.

Each row also contains the street address, city, département, NAF and NAF 2025 codes and labels, headcount band, revenue, net income and their year, creation date, administrative status and data source. Full JSON item:

```json
{
    "entreeOriginale": "356000000",
    "trouve": "oui",
    "fiabilite": "sûre",
    "raison": null,
    "nom": "LA POSTE",
    "siren": "356000000",
    "siretSiege": "35600000000048",
    "adresse": "DIRECTION GENERALE DE LA POSTE 9 RUE DU COLONEL PIERRE AVIA",
    "codePostal": "75015",
    "ville": "PARIS",
    "departement": "75",
    "codeNaf": "53.10Z",
    "libelleNaf": "Activités de poste dans le cadre d’une obligation de service universel",
    "codeNaf2025": "53.10Y",
    "libelleNaf2025": "Activités de poste dans le cadre d’une obligation de service universel",
    "trancheEffectif": "53",
    "libelleTrancheEffectif": "10 000 salariés et plus",
    "chiffreAffaires": 26700000000,
    "resultatNet": 1474000000,
    "anneeFinances": 2025,
    "dateCreation": "1991-01-01",
    "etatAdministratif": "Active",
    "source": "Insee, base Sirene, via API Recherche d'entreprises ; finances : Ratios financiers BCE/INPI (DGE), via recherche-entreprises.api.gouv.fr, Licence Ouverte"
}
```

When a line is not found, all company columns are empty and `raison` explains why. Field names and labels are in French, as in the official Sirene database. The address, postal code, city and département are those of the **head office**, even when you enter the SIRET of another establishment.

### Pricing

This Actor is billed **per company found**: **$3 per 1,000 companies** ($0.003 per company found). Lines that are **not found, malformed, or refused** (sole traders, companies opposed to commercial prospecting) **are free**. Apify also adds a tiny start fee for each run (a fraction of a cent).

Example: a list of 1,000 lines where 800 companies are found costs $2.40.

**Each company is billed only once per run.** If the same company appears several times in your list (for example once by SIREN and once by name), every line still comes out, but only the first one is billed.

**A company found by name is billed whatever its reliability (`sûre`, `probable` or `à vérifier`).** Check `probable` and `à vérifier` rows: the company found may not be the one you meant. Adding a postal code makes the match more accurate.

To control your budget, set **Max cost per run** in the run options. The Actor stops as soon as that amount is reached and keeps every row already processed; run it again with the remaining lines.

### Limits

- **No contact details.** Sirene contains no phone numbers, emails or websites, and this Actor returns no person names.
- **Financial data is incomplete**: many companies do not publish their revenue (empty `chiffreAffaires`), some have no financial data at all, and the latest year can be one or two years old.
- **Name search is approximate**: check rows marked `probable` or `à vérifier`. Adding a postal code helps a lot.
- **Non-public companies** are not found. **Partially public** companies are found, but the fields they chose to hide (often address and postal code) stay **empty**.
- **Sole traders** are always excluded, even when you enter their SIREN.
- **Companies opposed to commercial prospecting** are never returned (many large groups are). This is their choice, recorded in the official data; the Actor respects it.
- The name is the company's legal name. Some companies carry their founder's name (e.g. "Boulangerie Martin SARL"): it is their legal name, not personal data, but keep it in mind when reusing the data.
- **Speed**: 2 to 6 lines per second depending on API load, so roughly 3 to 8 minutes for 1,000 lines.
- **Data freshness** follows the Sirene database as served by the API. Headcount bands are updated once a year.
- **NAF 2025**: the API says its NAF 2025 field is **temporary and will be removed on 1 January 2027**. If it disappears, `codeNaf2025` and `libelleNaf2025` will be empty; everything else keeps working.

### FAQ

**Is it legal?** Yes. The Actor does not scrape any website: it calls the official, free API of the French government. Sirene data is open data published by INSEE under the Licence Ouverte / Etalab 2.0, which allows reuse, including commercial reuse, as long as you credit the source (see below).

**What about GDPR?** The Actor is designed to return company data only: sole traders (whose company data is personal data) are always excluded, no manager or director names are returned, and companies that opposed commercial prospecting are never returned. Some legal names contain a founder's name, and you remain responsible for how you use the data (for example for B2B prospecting). This is not legal advice.

**Why is a company missing?** Its row comes out as `trouve: non`, with the reason, when:

- it **opposed commercial prospecting** (recorded in the official data): reason `opposée à la prospection commerciale`;
- it is a **sole trader** (entrepreneur individuel): always excluded;
- it is **non-public** (non diffusible) in Sirene: not found;
- the line is malformed, or no company matches the name (and postal code).

**How much does it cost?** $3 per 1,000 companies found ($0.003 each), plus a start fee of a fraction of a cent per run. Lines that are not found are free, and a company is billed only once per run. In our tests, a list of 200 lines with 149 companies found cost $0.45.

### Data source and licence

**Insee, Sirene database**, via the Recherche d'entreprises API (DINUM). Sirene data is published under the [Licence Ouverte / Etalab 2.0 (Open Licence)](https://www.etalab.gouv.fr/licence-ouverte-open-licence/): you can reuse it, including commercially, as long as you credit the source. The `source` field of each row does that for you.

**Revenue and net income**: Ratios financiers BCE/INPI (DGE), via recherche-entreprises.api.gouv.fr, Licence Ouverte. These figures come from the annual accounts filed with the INPI, as published by the French Ministry of the Economy (DGE).

This Actor is not affiliated with Insee or the French government.

### See also

- [French Companies Search](https://apify.com/frscrape/french-companies-search): find French companies by activity, location and size.
- [French Healthcare Directory](https://apify.com/frscrape/french-healthcare-establishments): EHPAD nursing homes, pharmacies, clinics and hospitals from the official FINESS register, with SIRET, phone and GPS coordinates.
- Tutorial: [How to enrich a list of French companies (SIREN, SIRET or name) with official data, without scraping](https://dev.to/frscrape/how-to-enrich-a-list-of-french-companies-siren-siret-or-name-with-official-data-without-scraping-5252).

***

### 🇫🇷 En français

**Complétez votre fichier d'entreprises** avec les données officielles de la **base Sirene de l'INSEE** : collez depuis Excel des **numéros SIREN / SIRET** ou des **noms** (avec un code postal facultatif, ex. `Boulangerie Martin ; 69002`), une entreprise par ligne. Vous obtenez une ligne par entrée avec le nom officiel, le SIREN, le SIRET et l'adresse du siège, le code NAF (et NAF 2025), la tranche d'effectif, le **chiffre d'affaires et le résultat net**, la date de création et l'état.

**Exemple de résultat** (vraies données issues d'un lancement) :

| Votre ligne    | Trouvé | Fiabilité | Nom                                | SIREN     | SIRET du siège | Code postal | Ville | Code NAF | Effectif                |
| -------------- | ------ | --------- | ---------------------------------- | --------- | -------------- | ----------- | ----- | -------- | ----------------------- |
| 356000000      | oui    | sûre      | LA POSTE                           | 356000000 | 35600000000048 | 75015       | PARIS | 53.10Z   | 10 000 salariés et plus |
| 18002002600019 | oui    | sûre      | CAISSE DES DEPOTS ET CONSIGNATIONS | 180020026 | 18002002600019 | 75007       | PARIS | 64.19Z   | 5 000 à 9 999 salariés  |

**Colonnes ajoutées :** `entreeOriginale` (votre ligne), `trouve` (oui/non), `fiabilite` (voir ci-dessous), `raison` (pourquoi une ligne n'a pas été trouvée), et les 3 colonnes financières `chiffreAffaires`, `resultatNet` et `anneeFinances`. Les autres colonnes sont identiques à celles de l'Actor **Recherche d'entreprises françaises**.

**Chiffre d'affaires et résultat net** (dernier exercice publié, en euros) :

- **un chiffre d'affaires à 0 sort vide : il veut dire « non publié »** (comptes déposés en confidentialité). Le résultat net reste affiché quand il a été publié, et sort vide s'il vaut aussi 0. Sans aucune donnée financière, les 3 colonnes sont vides ;
- **`anneeFinances` accompagne toujours les montants** : seule la dernière année est donnée, parfois vieille d'un ou deux ans. Un exercice clos le 31 mars 2024 est rangé en 2023 ;
- **pour un groupe, ce sont les comptes consolidés** (tout le groupe) quand ils existent. Ex. EDF 2024 : 118,7 Md€ pour le groupe, contre 72,3 Md€ pour la seule société mère.

Source : Ratios financiers BCE/INPI (DGE), via recherche-entreprises.api.gouv.fr, Licence Ouverte (citée dans le champ `source` des lignes qui ont des données financières).

**Fiabilité, en 3 niveaux :**

- **sûre** : SIREN ou SIRET exact, **ou** nom identique au nom officiel ou au sigle, sans tenir compte des majuscules, des accents, de la ponctuation et de la forme juridique (SA, SAS, SARL…). Ex. `la poste sa` = `LA POSTE`, `PBG` = `P.B.G.` ;
- **probable** : nom très proche, avec une faute de frappe (`consignation` pour `consignations`) ou un mot manquant (`Fournil de Gradignan` pour `LE FOURNIL DE GRADIGNAN`) ;
- **à vérifier** : tout le reste, par exemple un nom partiel (`Caisse des dépôts`) ou un mot générique (`Boulangerie`).

Quand vous donnez un code postal, l'entreprise trouvée a toujours un établissement à ce code postal. Si **une autre entreprise active** correspond aussi bien au nom (des homonymes, comme plusieurs sociétés `ABC`), la ligne est « à vérifier » : ajoutez un code postal pour les départager.

**Lignes mal formées :** elles ne font jamais échouer le lancement. Elles ressortent avec « trouve : non » et la raison (clé de contrôle fausse, mauvais nombre de chiffres, code postal invalide, numéro au format scientifique d'Excel…).

**Vie privée :** les entrepreneurs individuels sont toujours exclus et aucun nom de dirigeant ni aucune donnée personnelle n'est renvoyé.

**Refus de prospection :** quand une entreprise s'est opposée à l'utilisation de ses données pour la prospection commerciale (champ `opposition_diffusion_commerciale` des données officielles), sa ligne ressort avec « trouve : non » et la raison « opposée à la prospection commerciale », sans aucune donnée et sans être facturée. C'est le cas de nombreuses entreprises, dont la plupart des grands groupes. Pour une recherche par nom, le robot ne la remplace jamais par une autre entreprise.

**Prix :** **3 $ pour 1 000 entreprises trouvées** (0,003 $ par entreprise trouvée). Les lignes non trouvées, mal formées ou refusées (entrepreneurs individuels, entreprises opposées à la prospection) sont gratuites. **Une même entreprise n'est facturée qu'une fois par lancement** : si elle apparaît plusieurs fois dans votre liste (par exemple par SIREN puis par nom), toutes les lignes ressortent, mais seule la première est facturée. **Une entreprise trouvée par son nom est facturée quelle que soit sa fiabilité (sûre, probable ou à vérifier)** : vérifiez les lignes « probable » et « à vérifier », car l'entreprise trouvée n'est pas forcément celle que vous cherchiez (ajouter le code postal rend la recherche plus précise). Réglez **Max cost per run** dans les options du lancement : le robot s'arrête dès que ce plafond est atteint et garde les lignes déjà traitées.

**Limites :** pas de téléphone ni d'e-mail ; beaucoup d'entreprises ne publient pas leur chiffre d'affaires ; la recherche par nom est approchée (vérifiez les lignes « probable » et « à vérifier ») ; les entreprises non diffusibles ne sont pas trouvées ; 2 à 6 lignes par seconde selon la charge de l'API.

#### Questions fréquentes

**Est-ce légal ?** Oui. Le robot ne fait aucun « scraping » de site : il interroge l'API officielle et gratuite de l'État. Les données Sirene sont des données ouvertes publiées par l'INSEE sous Licence Ouverte / Etalab 2.0, qui autorise la réutilisation, y compris commerciale, en citant la source (voir ci-dessous).

**Et le RGPD ?** Le robot est conçu pour ne renvoyer que des données d'entreprises : les entrepreneurs individuels (dont les données sont des données personnelles) sont toujours exclus, aucun nom de dirigeant n'est renvoyé, et les entreprises opposées à la prospection commerciale ne sont jamais renvoyées. Certaines raisons sociales contiennent le nom d'un fondateur, et vous restez responsable de l'usage que vous faites des données (par exemple pour de la prospection B2B). Ceci n'est pas un conseil juridique.

**Pourquoi une entreprise manque-t-elle ?** Sa ligne ressort avec « trouve : non » et la raison quand :

- elle s'est **opposée à la prospection commerciale** (information inscrite dans les données officielles) : raison « opposée à la prospection commerciale » ;
- c'est un **entrepreneur individuel** : toujours exclu ;
- elle est **non diffusible** dans Sirene : introuvable ;
- la ligne est mal formée, ou aucune entreprise ne correspond au nom (et au code postal).

**Combien ça coûte ?** 3 $ pour 1 000 entreprises trouvées (0,003 $ chacune), plus des frais de démarrage d'une fraction de centime par lancement. Les lignes non trouvées sont gratuites et une entreprise n'est facturée qu'une fois par lancement. Dans nos tests, une liste de 200 lignes avec 149 entreprises trouvées a coûté 0,45 $.

**Source :** Insee, base Sirene, via l'API Recherche d'entreprises (DINUM), sous [Licence Ouverte / Etalab 2.0](https://www.etalab.gouv.fr/licence-ouverte-open-licence/). Réutilisation libre, y compris commerciale, en citant la source (champ `source` de chaque ligne). Chiffre d'affaires et résultat net : Ratios financiers BCE/INPI (DGE), via recherche-entreprises.api.gouv.fr, Licence Ouverte.

**Voir aussi :** [Recherche d'entreprises françaises](https://apify.com/frscrape/french-companies-search) : trouver des entreprises par activité, lieu et taille. [Annuaire des établissements de santé](https://apify.com/frscrape/french-healthcare-establishments) : EHPAD, pharmacies, cliniques et hôpitaux du répertoire officiel FINESS, avec SIRET, téléphone et GPS. Tutoriel (en anglais) : [How to enrich a list of French companies (SIREN, SIRET or name) with official data, without scraping](https://dev.to/frscrape/how-to-enrich-a-list-of-french-companies-siren-siret-or-name-with-official-data-without-scraping-5252). Tutoriel en français : [Compléter un fichier d’entreprises (SIREN, SIRET ou nom) avec les données officielles de l’INSEE](https://medium.com/@frscrape/compl%C3%A9ter-un-fichier-dentreprises-siren-siret-ou-nom-avec-les-donn%C3%A9es-officielles-de-l-insee-5025de406331).

# Actor input Schema

## `entreprises` (type: `string`):

Une entreprise par ligne, collée directement depuis Excel. Chaque ligne contient :<br>• un SIREN (9 chiffres), ex. 356000000 ;<br>• ou un SIRET (14 chiffres), ex. 18002002600019 ;<br>• ou un nom d’entreprise, suivi si vous le voulez d’un point-virgule et d’un code postal, ex. « Boulangerie Martin ; 69002 ». Deux colonnes copiées depuis Excel (nom puis code postal) marchent aussi.<br>Les espaces dans les numéros sont acceptés. Une ligne d’en-tête (« SIREN », « Nom »…) est ignorée. Une ligne mal formée ressort avec « trouve : non » et la raison.<br>Les entreprises opposées à la prospection commerciale ressortent avec « trouve : non », sans être facturées. Une même entreprise n’est facturée qu’une fois par lancement.

## Actor input object example

```json
{
  "entreprises": "356000000\n18002002600019\nLa Poste ; 75015\nCaisse des dépôts et consignations"
}
```

# Actor output Schema

## `entreprises` (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 = {
    "entreprises": `356000000
18002002600019
La Poste ; 75015
Caisse des dépôts et consignations`
};

// Run the Actor and wait for it to finish
const run = await client.actor("frscrape/french-companies-enrich").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 = { "entreprises": """356000000
18002002600019
La Poste ; 75015
Caisse des dépôts et consignations""" }

# Run the Actor and wait for it to finish
run = client.actor("frscrape/french-companies-enrich").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 '{
  "entreprises": "356000000\\n18002002600019\\nLa Poste ; 75015\\nCaisse des dépôts et consignations"
}' |
apify call frscrape/french-companies-enrich --silent --output-dataset

```

## MCP server setup

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

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/qZyaBzv6FJO2cipwg/builds/wSQBTQnk3Ll6ZxCCx/openapi.json
