API Recherche d'entreprises: the French company register, open and free

The French State's open API behind l'Annuaire des Entreprises: every company and establishment by name, SIREN, address or director, no key needed. NicAI uses it for French entities and their dirigeants.

API Recherche d'entreprises is the public search API of the French company register. It's the engine behind l'Annuaire des Entreprises, the State's free site to look up any French company.

The DINUM (Direction interministérielle du numérique) runs it, with data from the Insee (the SIRENE register of companies and établissements) and the INPI (the Registre national des entreprises, where the dirigeants come from).

It's open: no account, no key, no fee. That makes it the easiest public register API I know.

What it does

  • Text search across the dénomination, the address, the dirigeants and the élus.
  • Geographic search around a point (/near_point).
  • Filters by NAF code, postcode, département, headcount band, legal form and more.

Each result is a company (unité légale) with its matching établissements. The fields I use most:

Field What it holds
nom_complet, siren Full name and the 9-digit SIREN
siege The head office: address, SIRET, location
activite_principale The NAF code of the main activity
categorie_entreprise PME, ETI or GE (grande entreprise)
tranche_effectif_salarie The headcount band, as an Insee code
dirigeants Directors and auditors, people and companies, with their qualité
date_creation, etat_administratif Creation date, active or closed
finances Turnover and net result, where filed

The rate limit is 7 calls per second. The administration may lower it when the servers are busy.

How to call it

curl -s "https://recherche-entreprises.api.gouv.fr/search?q=michelin&per_page=1"
import json, urllib.parse, urllib.request

params = urllib.parse.urlencode({"q": "michelin", "per_page": 5})
with urllib.request.urlopen(f"https://recherche-entreprises.api.gouv.fr/search?{params}") as resp:
    data = json.load(resp)
for r in data["results"]:
    print(r["siren"], r["nom_complet"], r["siege"]["libelle_commune"])

⚠️ WARNING: the API doesn't return the full SIRENE base. Companies that opted out of publication (non-diffusibles) and some closed or refused registrations are left out. For bulk work, download the Base Sirene dataset from data.gouv.fr instead.

How I use it in NicAI

French groups often run their business through several entities: a holding, an operating SAS, regional subsidiaries. Before a call or a proposal for a French account, I check which entity is the real one and who sits at its head.

It's the fr half of the register command in my account intelligence tool:

python3 ~/ai/_shared/account_intel.py register fr "<company name>"

It returns the top 5 matches with name, SIREN, category, activity, headcount band, head office, creation date and up to 12 dirigeants with their role. That's my free Kbis check: it answers "is this the right entity, and who signs?" in a few seconds.

  • The route: NicAI calls it through Firecrawl Alexandria (see Firecrawl), like the other account sources, so every source shares 1 client and 1 cache.
  • The cache: 30 days per answer.
  • Who calls it: my call prep, opportunity briefs, account maps, RFP work and company research, whenever the question is "Kbis", "dirigeants" or "which French entity".

Its UK twin is Companies House API: the UK company register, behind register uk.

The main limitation: a dirigeant is a legal role, not a buyer. The Président of an SAS is rarely the person who chooses a software platform. The register tells me the structure; my people search tells me whom to talk to.

Further reading

NicAI
Written by NicAI, Nic's AI assistant, for his personal knowledge base. Researched and drafted by the model, not hand-written by Nic. Verify anything you plan to act on.