# French Company Enrichment - SIREN, SIRET, official Sirene (`edgarfinance/france-company-enrichment`) Actor

Enrich lists of French companies from SIREN, SIRET or company names with official data: legal name, NAF code, head office address, headcount range, status, creation date, establishments, VAT number, revenue. Official government API, GDPR friendly (no personal data of officers).

- **URL**: https://apify.com/edgarfinance/france-company-enrichment.md
- **Developed by:** [Edgar Finance](https://apify.com/edgarfinance) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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 Company Enrichment: SIREN, SIRET and company names to official data

Turn a list of French companies into clean, official company data. Paste SIREN numbers, SIRET numbers or company names, and get back one row per company with legal name, NAF/APE activity code, head office address and GPS position, headcount range, company category, active or closed status, creation date, number of establishments, VAT number, latest revenue and net income, and useful labels (RGE, Qualiopi, ESS, association).

The data comes from the **official French government API "Recherche d'entreprises"** (DINUM), built on the INSEE Sirene register and the INPI national company register (RNE). No scraping, no login, no proxy, no API key.

### Why this Actor

- **Official and stable source**: the same data as annuaire-entreprises.data.gouv.fr, updated daily.
- **Three kinds of input in one list**: SIREN (9 digits), SIRET (14 digits) or free-text company name. Spaces and dots in numbers are ignored.
- **Checksum validation**: invalid SIREN/SIRET numbers are flagged instantly, without spending a request.
- **GDPR friendly by design**: officers who are natural persons (names, birth dates) are **never** exported. Only officers that are companies (for example statutory auditors) are kept. Companies that refused commercial prospecting are flagged with `prospectingOptOut`.
- **Stable output**: every row has the same 64 fields, in the same order, whether the company was found or not. Easy to load into Excel, Google Sheets, a CRM or a database.
- **Polite and reliable**: respects the API limit of 7 requests per second, retries automatically with backoff on rate limits and network errors.
- **Pay only for what you get**: you are charged only for companies found. Not found, invalid and duplicate inputs are free.

### Use cases

- Clean and complete a CRM or a lead list (B2B prospecting in France).
- KYB / supplier checks: is the company active, when was it created, where is the head office, what is its VAT number?
- Market sizing: activity codes, headcount ranges and company category (PME, ETI, GE).
- Match a list of company names to their SIREN.

### Input

| Field | Type | Description |
|---|---|---|
| `companies` | list of strings, required | One SIREN, SIRET or company name per line. Up to 100,000 per run. |
| `maxCandidatesPerName` | integer, 1 to 10, default 1 | For name inputs: how many best matches to return. |
| `onlyActive` | boolean, default false | For name inputs: skip closed companies. |
| `includeFinances` | boolean, default true | Add the latest published revenue and net income. |
| `maxRequestsPerSecond` | integer, 1 to 7, default 6 | Politeness limit towards the API. |

Example:

```json
{
    "companies": ["552032534", "552 032 534 00703", "Decathlon", "123456789"],
    "maxCandidatesPerName": 1,
    "onlyActive": true
}
```

### Output

One row per SIREN or SIRET input, and up to `maxCandidatesPerName` rows per name input. Example (shortened):

```json
{
    "input": "552032534",
    "inputType": "siren",
    "status": "found",
    "siren": "552032534",
    "name": "DANONE",
    "legalFormCode": "5599",
    "nafCode": "70.10Z",
    "companyCategory": "GE",
    "employeeRange": "1000-1999",
    "employeesMin": 1000,
    "employeesMax": 1999,
    "administrativeStatus": "active",
    "creationDate": "1955-01-01",
    "establishmentsCount": 19,
    "openEstablishmentsCount": 3,
    "headOfficeSiret": "55203253400703",
    "headOfficeAddress": "59-61 RUE LA FAYETTE 75009 PARIS",
    "headOfficePostalCode": "75009",
    "headOfficeCity": "PARIS",
    "headOfficeLatitude": 48.8763540066087,
    "headOfficeLongitude": 2.34353640229216,
    "vatNumber": "FR27552032534",
    "revenueEur": 27376000000,
    "netIncomeEur": 2100000000,
    "financialYear": "2025",
    "corporateOfficers": [
        {"name": "ERNST & YOUNG AUDIT", "siren": "344366315", "role": "Commissaire aux comptes titulaire"}
    ],
    "prospectingOptOut": true,
    "annuaireUrl": "https://annuaire-entreprises.data.gouv.fr/entreprise/552032534",
    "source": "API Recherche d'entreprises (DINUM, INSEE Sirene, INPI RNE), Licence Ouverte Etalab 2.0",
    "error": null
}
```

A row that could not be matched keeps the same fields, with `status` set to `not_found`, `invalid_input` or `error` and a readable reason in `error`:

```json
{"input": "123456789", "inputType": null, "status": "invalid_input", "siren": null, "error": "Invalid SIREN (checksum failed)"}
```

#### All fields

- **Input and match**: `input`, `inputType` (siren, siret, name), `status` (found, not_found, invalid_input, error), `matchRank` and `matchTotal` (name inputs), `error`.
- **Identity**: `siren`, `name`, `legalName`, `acronym`, `legalFormCode` (INSEE "catégorie juridique" code), `isSoleProprietorship`, `vatNumber`.
- **Activity and size**: `nafCode`, `nafCode2025`, `nafSection`, `companyCategory` (PME, ETI, GE) and `companyCategoryYear`, `employeeRangeCode`, `employeeRange`, `employeesMin`, `employeesMax`, `employeeRangeYear`.
- **Life cycle**: `administrativeStatus` (active, closed), `creationDate`, `closureDate`, `establishmentsCount`, `openEstablishmentsCount`, `lastUpdated`.
- **Head office**: `headOfficeSiret`, `headOfficeAddress`, `headOfficePostalCode`, `headOfficeCity`, `headOfficeCityCode` (INSEE), `headOfficeDepartment`, `headOfficeRegionCode`, `headOfficeLatitude`, `headOfficeLongitude`.
- **Establishment** (SIRET inputs only): `establishmentSiret`, `establishmentIsHeadOffice`, `establishmentStatus`, `establishmentAddress`, `establishmentPostalCode`, `establishmentCity`, `establishmentNafCode`, `establishmentCreationDate`, `establishmentLatitude`, `establishmentLongitude`.
- **Finances**: `revenueEur`, `netIncomeEur`, `financialYear` (only when the company published its accounts).
- **Labels**: `isAssociation`, `isSocialEconomy` (ESS), `isRge`, `isQualiopi`, `isTrainingOrganisation`, `isMissionDrivenCompany`, `isOrganic`, `collectiveAgreements` (IDCC codes).
- **Compliance**: `corporateOfficers` (legal entities only), `prospectingOptOut`, `isPartiallyDiffusible`.
- **Provenance**: `annuaireUrl`, `source`.

The dataset has four ready-made views: Overview, SIRET lookups, Size and finances, Not found and errors. A `SUMMARY` record with counters is saved in the key-value store.

### Pricing

Pay per event: **$2.00 per 1,000 companies found** ($0.002 per found company), plus the standard Apify run start fee. Rows with status `not_found`, `invalid_input` or `error` are free, and duplicate inputs are processed only once. For name inputs, each returned match counts as one company found.

You can set a maximum cost per run in Apify: the Actor stops cleanly when it is reached and keeps everything already delivered.

### Use with AI agents (MCP)

This Actor is ready to be called by AI agents through the [Apify MCP server](https://mcp.apify.com) (`https://mcp.apify.com`), which exposes its title, description, input schema and output schema. Every input field has a description, bounds and an example, and every one of the 64 output fields has a type, a meaning and an example, so an agent can call it and read the results without guessing.

- Actor ID: `edgarfinance/france-company-enrichment`
- Load it as a tool: `https://mcp.apify.com?tools=edgarfinance/france-company-enrichment`, or let the agent find it with `search-actors` and run it with `call-actor`.
- The run returns a dataset: read it with `get-dataset-items` (one item per input row, in input order), and the counters with `get-key-value-store-record`, key `SUMMARY`.
- Prefer SIREN or SIRET inputs for exact answers; for names, set `maxCandidatesPerName` and check `matchTotal`. Use `maxTotalChargeUsd` in the call options for a hard cost limit.
- Typical agent requests: "get the NAF code, headcount and VAT number of SIREN 552032534", "is SIRET 55203253400703 still active and where is it?", "find the SIREN of Decathlon".

Minimal input:

```json
{ "companies": ["552032534"] }
```

Minimal output (shortened; the full row has 64 fields, see the example above):

```json
{
    "input": "552032534",
    "inputType": "siren",
    "status": "found",
    "siren": "552032534",
    "name": "DANONE",
    "nafCode": "70.10Z",
    "employeeRange": "1000-1999",
    "administrativeStatus": "active",
    "headOfficeAddress": "59-61 RUE LA FAYETTE 75009 PARIS",
    "vatNumber": "FR27552032534",
    "error": null
}
```

Only rows with `status: "found"` are charged. Invalid input lines are returned with `status: "invalid_input"` and a reason in `error`, without any request and without charge.

### FAQ

**How fast is it?** About 6 companies per second (the public API allows 7 requests per second per user). 1,000 SIRENs take about 3 minutes, 10,000 about 30 minutes.

**How good is name matching?** It uses the search engine of the official API, which ranks by name, address and activity. Common or short names can match the wrong company. Adding a city can help, but it can also match companies whose address contains that city. Raise `maxCandidatesPerName`, check `matchTotal` and review the matches. For exact results, use SIREN or SIRET.

**Why are officer names missing?** On purpose. Names and birth dates of natural persons are personal data under the GDPR, and most use cases do not need them. This keeps your dataset safer to store and share.

**What is `prospectingOptOut`?** It mirrors the register's flag for companies that object to the commercial use of their data. If you do direct marketing, you should exclude these companies.

**Why are some fields empty?** Some companies (mainly sole proprietors) asked INSEE to hide part of their data. In that case the hidden fields are `null` and `isPartiallyDiffusible` is `true`. Revenue is only available when the company published its accounts.

**Does it work outside France?** No. It covers companies registered in the French Sirene register (including overseas departments).

### Limits

- One request per SIREN, SIRET or name: throughput is capped by the public API at about 7 per second.
- Name inputs need at least 3 characters.
- Up to 100,000 inputs per run (split bigger lists).
- Financial data is limited to what companies publish.
- The Actor reads the public API; if the API is down, rows are returned with `status: "error"` after several retries instead of failing the whole run.

### Data source and licence

Data: API Recherche d'entreprises, operated by DINUM (direction interministérielle du numérique), built on INSEE Sirene and INPI RNE data, published under the **Licence Ouverte / Open Licence Etalab 2.0** (https://www.data.gouv.fr/pages/legal/licences/etalab-2-0). You may reuse it, including commercially, provided you mention the source (for example "Source: INSEE Sirene, INPI RNE, via API Recherche d'entreprises"). Every output row carries this mention in the `source` field.

This Actor is an independent tool. It is not affiliated with, or endorsed by, the French administration.

# Actor input Schema

## `companies` (type: `array`):

One company per line. A 9-digit number is read as a SIREN, a 14-digit number as a SIRET (spaces, dots and dashes are ignored, the checksum is verified), anything else as a company name (at least 3 characters; matching uses the ranking of the official search engine, so for exact results use SIREN or SIRET). Duplicates are processed once. From 1 to 100,000 lines per run.

## `maxCandidatesPerName` (type: `integer`):

Name inputs only: how many best matches to return, from 1 to 10 (each match is one result row and one charged event). SIREN and SIRET inputs always return one row.

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

Name inputs only: when true, closed companies are ignored by the name search. SIREN and SIRET inputs always return the company, active or closed (see administrativeStatus).

## `includeFinances` (type: `boolean`):

When true (default), add the latest published revenue and net income in euros (revenueEur, netIncomeEur, financialYear), when the company filed public accounts. When false, these fields are null.

## `maxRequestsPerSecond` (type: `integer`):

Politeness limit towards the public API, from 1 to 7 requests per second (7 is the API hard limit per IP). Leave the default unless you run several copies in parallel.

## Actor input object example

```json
{
  "companies": [
    "552032534",
    "552 032 534 00703",
    "Decathlon"
  ],
  "maxCandidatesPerName": 3,
  "onlyActive": true,
  "includeFinances": true,
  "maxRequestsPerSecond": 6
}
```

# Actor output Schema

## `results` (type: `string`):

All rows as JSON items: found, not_found, invalid_input and error rows, in input order. Add \&format=csv or \&format=xlsx to download a table.

## `overview` (type: `string`):

Same items reduced to the main fields (dataset view "overview").

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

JSON counters of the run: inputs, duplicates, found, not_found, invalid_input, error, rows, stopped_by_budget.

# 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 = {
    "companies": [
        "552032534",
        "55203253400703",
        "Decathlon"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("edgarfinance/france-company-enrichment").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 = { "companies": [
        "552032534",
        "55203253400703",
        "Decathlon",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("edgarfinance/france-company-enrichment").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 '{
  "companies": [
    "552032534",
    "55203253400703",
    "Decathlon"
  ]
}' |
apify call edgarfinance/france-company-enrichment --silent --output-dataset

```

## MCP server setup

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

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/lm8ewhku0giUeV5Ew/builds/5IOZAnLHWegnHfTuH/openapi.json
