# France Company Search & SIREN Enrichment (Official Registry) (`diegolimafernandes/france-company-search-sirene`) Actor

French company data from the official government registry API (INSEE SIRENE + RNE): search by name, NAF code, département, size or revenue, or enrich a list of SIREN/SIRET. Revenue, headcount band, VAT number, address, GPS and labels. Opt-outs from commercial use are respected.

- **URL**: https://apify.com/diegolimafernandes/france-company-search-sirene.md
- **Developed by:** [Diego Fernandes](https://apify.com/diegolimafernandes) (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 records

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

## France Company Search & SIREN Enrichment (Official Registry)

Search and enrich **French companies** straight from the **official government registry API** (INSEE SIRENE and the national business register, served by `recherche-entreprises.api.gouv.fr`). Find companies by name, industry (NAF code), département, size or revenue, or paste a list of **SIREN / SIRET** numbers and get the full record of each.

No scraping of third-party sites, no API key, no login, no proxy. Open data under the French government's Licence Ouverte. Results as JSON, CSV or Excel, through the Apify API, or straight into your AI agent via MCP.

### Why this Actor

- **Official source.** Data comes from the State's own API, not from a commercial aggregator's website. What you get is what the registry says today.
- **Compliant lead lists by default.** A large share of French companies have told INSEE they refuse commercial prospecting based on their registry data. This Actor leaves them out of searches by default and never charges for them. Sole proprietors, who are registered under a person's own name, are left out by default too.
- **Flat, spreadsheet-ready records.** Revenue, net income, headcount band (as numbers, not codes), VAT number, address, GPS coordinates and certification labels in plain columns.
- **Fair price.** Pay per company delivered. Filtered-out companies, opt-outs and not-found identifiers are free.

### What you can do with it

- **B2B lead lists.** All software companies (62.01Z) in Lyon with 20 to 249 staff. All RGE-certified renovation contractors in a département. All restaurants in a postal code.
- **CRM enrichment.** Paste your customers' SIREN numbers and get status, size, revenue, VAT number and address back.
- **KYB and supplier checks.** Is this company active, when was it created, who are its directors, what does it declare as revenue?
- **Market sizing.** How many companies of a given size exist in a sector and area.
- **New entrants watch.** Monitor mode returns only companies that are new to your search since the last run.

### Input

| Field | What it does |
|---|---|
| `queries` | Company names or keywords. Matches name and address. |
| `sirens` | SIREN (9 digits) or SIRET (14 digits) to enrich. Lookups ignore the filters. |
| `nafCodes` | Activity codes such as `62.01Z`, `10.71C`, `56.10A`. |
| `departements` | `75`, `69`, `13`, `2A`, `971`... Each runs as its own search. |
| `postalCodes` | Five-digit postal codes. |
| `headquartersOnly` | Keep only companies whose head office is in the location. |
| `sizeCategories` | `PME`, `ETI`, `GE`. |
| `employeeBands` | Official headcount bands, from "no employees" to "10,000+". |
| `minRevenue` / `maxRevenue` | Latest published revenue, in EUR. |
| `labels` | `rge`, `qualiopi`, `bio`, `ess`, `association` and more. |
| `createdAfter` / `createdBefore` | Creation date window, `YYYY-MM-DD`. |
| `excludeOptedOut` | On by default: leaves out companies that refuse commercial use of their data. |
| `includeSoleProprietors` | Off by default. |
| `onlyActive` | On by default. |
| `includeDirectors` | Adds directors (name and role). Off by default. |
| `maxItems` | Stop after this many companies (default 100). |
| `onlyNew` + `monitorId` | Monitor mode. |

#### Example: software companies in Rhône with 20 to 249 staff

```json
{
    "nafCodes": ["62.01Z", "62.02A"],
    "departements": ["69"],
    "employeeBands": ["12", "21", "22", "31"],
    "headquartersOnly": true,
    "maxItems": 500
}
```

#### Example: enrich a list of SIREN numbers

```json
{
    "sirens": ["552032534", "820930576"],
    "includeDirectors": true
}
```

#### Example: certified renovation contractors (RGE) in two départements

```json
{
    "labels": ["rge"],
    "departements": ["33", "31"],
    "sizeCategories": ["PME"],
    "maxItems": 2000
}
```

### Output

One record per company:

```json
{
    "siren": "519037253",
    "siret": "51903725300043",
    "name": "TRUSTTEAM (TRUSTTEAM)",
    "legalName": "TRUSTTEAM",
    "acronym": null,
    "tradeNames": [
        "TRUSTTEAM",
        "DSOFT"
    ],
    "status": "active",
    "creationDate": "2009-12-23",
    "closingDate": null,
    "nafCode": "62.01Z",
    "nafSection": "J",
    "legalFormCode": "5710",
    "sizeCategory": "PME",
    "employeeBandCode": "22",
    "employeeBand": "100-199",
    "employeesMin": 100,
    "employeesMax": 199,
    "employeeBandYear": 2024,
    "isEmployer": null,
    "revenue": 8904988,
    "netIncome": 1603916,
    "financialYear": 2022,
    "vatNumber": "FR65519037253",
    "address": "PARC D'ACTIVITES SAINT JACQUES 41 RUE ALBERT EINSTEIN 54320 MAXEVILLE",
    "postalCode": "54320",
    "city": "MAXEVILLE",
    "departement": "54",
    "regionCode": "44",
    "country": "FR",
    "latitude": 48.7006371,
    "longitude": 6.1223250588,
    "establishments": 14,
    "openEstablishments": 12,
    "collectiveAgreements": [
        "1486",
        "0804"
    ],
    "isAssociation": false,
    "isSoleProprietor": false,
    "isSocialEconomy": false,
    "isRge": false,
    "isQualiopi": false,
    "isOrganic": false,
    "isTrainingOrganisation": false,
    "isPublicAdministration": false,
    "headquartersMatchesSearch": true,
    "matchedEstablishmentSiret": null,
    "matchedEstablishmentAddress": null,
    "matchedEstablishmentPostalCode": null,
    "matchedEstablishmentCity": null,
    "optedOutOfCommercialUse": false,
    "partialDisclosure": false,
    "lastUpdated": "2026-11-18T10:31:35",
    "registryUrl": "https://annuaire-entreprises.data.gouv.fr/entreprise/519037253",
    "source": "recherche-entreprises.api.gouv.fr",
    "scrapedAt": "2026-11-18T23:11:57.910Z"
}
```

The record above is a real SIREN lookup. Address fields describe the **head office**. When you filter by location and the head office is elsewhere, `headquartersMatchesSearch` is `false` and the `matchedEstablishment...` fields give the branch that is in your area.

With `includeDirectors`, a `directors` array is added: `{ "type": "person" | "company", "name", "siren", "role" }`. Birth dates are never included.

### Monitor mode

With `onlyNew` on, the Actor remembers every company delivered under a `monitorId` and skips them on later runs, so a weekly schedule gives you only the companies that are new to your search. Companies already delivered are never charged again.

### Good to know

- **The registry serves at most 10,000 companies per search.** Add `departements` or more specific NAF codes to split a large search; each département is its own search with its own ceiling.
- **It cannot sort or filter by creation date.** `createdAfter` works by scanning your search and keeping the matches, so pair it with a narrow sector and area.
- **Revenue is only available for companies that publish their accounts.** Many small companies do not, or file them confidentially.
- **Headcount is a band, not an exact number,** as published by INSEE, with the year it refers to.
- **Opt-outs.** `optedOutOfCommercialUse: true` means the company has exercised its right to refuse prospecting based on registry data. Do not use those records for marketing. They are excluded from searches unless you turn `excludeOptedOut` off, and SIREN lookups return them flagged.
- **Rate limits are shared.** The registry limits requests per network. The Actor paces itself and waits when asked to; a large run can therefore take a little longer at busy times.
- Running the Actor with no criteria returns a small example (10 bakeries in Paris) rather than the whole registry.

### Use from code

```bash
curl -X POST "https://api.apify.com/v2/acts/diegolimafernandes~france-company-search-sirene/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"sirens":["552032534"]}'
```

***

### En français

Recherchez et enrichissez des **entreprises françaises** à partir de l'**API officielle Recherche d'entreprises** (données INSEE SIRENE et RNE, Licence Ouverte). Recherche par nom, code NAF/APE, département, code postal, taille ou chiffre d'affaires, ou enrichissement d'une liste de **SIREN / SIRET**. Chiffre d'affaires, tranche d'effectif, numéro de TVA, adresse, coordonnées GPS et labels (RGE, Qualiopi, bio, ESS).

Par défaut, les entreprises ayant exercé leur **opposition à la prospection commerciale** et les entrepreneurs individuels sont exclus des recherches et ne sont pas facturés.

# Actor input Schema

## `queries` (type: `array`):

Company names or keywords (e.g. "boulangerie", "Carrefour"). Matches company name and address. Leave empty to search by filters only.

## `sirens` (type: `array`):

Paste a list of SIREN (9 digits) or SIRET (14 digits) to get the full record of each company. Spaces are ignored. Lookups ignore the filters below.

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

French activity codes, e.g. 62.01Z (software), 10.71C (bakery), 56.10A (restaurants). The dot is optional.

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

Two- or three-character codes: 75 (Paris), 69 (Rhône), 13, 2A, 971... Each département runs as its own search, which also lets you go past the 10,000 companies the registry serves per search.

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

Five-digit postal codes, e.g. 75002.

## `headquartersOnly` (type: `boolean`):

A location filter matches any company with an establishment there. Turn this on to keep only those whose head office is in the département or postal code.

## `sizeCategories` (type: `array`):

Official INSEE categories. Leave empty for any.

## `employeeBands` (type: `array`):

Leave empty for any.

## `minRevenue` (type: `integer`):

Keep companies whose latest published revenue is at least this. Companies that do not publish accounts are dropped.

## `maxRevenue` (type: `integer`):

Keep companies whose latest published revenue is at most this.

## `labels` (type: `array`):

Keep only companies holding all of the selected labels.

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

Date as YYYY-MM-DD. The registry cannot sort by date, so the Actor scans the search and keeps the matches: combine with a NAF code and a département to keep runs short.

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

Date as YYYY-MM-DD.

## `maxItems` (type: `integer`):

Stop after this many companies across all searches. You are charged only for companies delivered.

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

Many French companies have told INSEE they refuse commercial prospecting based on their registry data; such use is not allowed. Keep this on for lead lists. Turn it off only for non-prospecting uses (research, compliance, enrichment of existing customers). SIREN/SIRET lookups always return the company and flag it.

## `includeSoleProprietors` (type: `boolean`):

Sole proprietorships are registered under a person's own name. They are left out by default.

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

Turn off to include companies that have ceased activity.

## `includeDirectors` (type: `boolean`):

Adds the directors listed in the national business register (name and role; corporate directors with their SIREN). Birth dates are never included.

## `onlyNew` (type: `boolean`):

Remembers what was already delivered under the monitor name and returns (and bills) only companies that are new to your search. Schedule it weekly to catch new entrants in a sector or area.

## `monitorId` (type: `string`):

Runs with the same name share one memory. Use a different name for each independent watch.

## `proxyConfiguration` (type: `object`):

Not needed in normal use. The registry limits requests per network; if a run reports repeated rate limiting, enabling Apify Proxy spreads the load.

## Actor input object example

```json
{
  "nafCodes": [
    "10.71C"
  ],
  "departements": [
    "75"
  ],
  "headquartersOnly": false,
  "maxItems": 100,
  "excludeOptedOut": true,
  "includeSoleProprietors": false,
  "onlyActive": true,
  "includeDirectors": false,
  "onlyNew": false,
  "monitorId": "default",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One record per French company delivered by this run.

# 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": [
        "10.71C"
    ],
    "departements": [
        "75"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("diegolimafernandes/france-company-search-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 = {
    "nafCodes": ["10.71C"],
    "departements": ["75"],
}

# Run the Actor and wait for it to finish
run = client.actor("diegolimafernandes/france-company-search-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 '{
  "nafCodes": [
    "10.71C"
  ],
  "departements": [
    "75"
  ]
}' |
apify call diegolimafernandes/france-company-search-sirene --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,diegolimafernandes/france-company-search-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/rTpPKamluWZGnks4y/builds/haewR95DN7VZsIOjb/openapi.json
