fr_history
French company history timeline. Returns one event per change to the company's name, activity (NAF code), status (active/closed), legal form, or social-economy flag, derived from INSEE Sirene 3.11's bitemporal periodesUniteLegale array. Includes 'initial:' events that show the state at company creation (date, name, NAF code, etc.). Input: 9-digit SIREN number. Cost: 1 quota unit; free tier supported (France is not tier-gated, unlike NL and DE). Cache: 24h server-side. Errors: 400 invalid_id_format (not 9 digits), 403 non_diffusible (SIREN exists but is privacy-protected under art. R123-232-1), 404 not_found, 503 upstream_unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siren | Yes | 9-digit French SIREN number. Examples: 652014051 (Carrefour), 775670417 (LVMH). No spaces or punctuation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of history events derived. | |
| sigle | No | Acronym / short name, if any. | |
| siren | No | 9-digit SIREN echoed back. | |
| events | No | Chronologically ordered events. Each event has 'initial:<field>' type for the baseline period or a plain field name for subsequent changes. | |
| source | No | Upstream data source — 'api.insee.fr'. | |
| fetchedAt | No | ISO-8601 timestamp when the data was fetched upstream. | |
| sourceNote | No | Provenance note describing the upstream API and field set used. | |
| periodCount | No | Number of bitemporal periods returned by INSEE. | |
| dateCreation | No | ISO-8601 date the legal entity was created. | |
| categorieEntreprise | No | INSEE company size category: PME, ETI, GE. |