# French Company Financials: Revenue, Profit, Ratios (`frscrape/french-company-financials`) Actor

Get up to 10 years of official financial data for French companies from SIREN, SIRET or names: revenue (chiffre d'affaires), EBITDA, net income and 14 ratios. Company and group accounts. Quality flags on every row. No personal data.

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

## Pricing

from $3.50 / 1,000 company with financials

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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 Financials – Revenue, Net Income & Ratios

**Paste a list of French companies and get about 10 years of their financial statements: revenue, net income, EBITDA and 14 ratios, year by year.**

Paste SIREN numbers, SIRET numbers or company names (with an optional postal code), one per line. For each company in France, you get one row per financial year, with revenue (chiffre d'affaires), gross margin, EBITDA (EBE), EBIT, net income (résultat net) and ratios such as EBITDA margin, debt ratio and payment days. The figures come from the official open dataset **Ratios financiers BCE/INPI** of the French Ministry of the Economy, built from the accounts filed with the INPI. Probable errors in the source are flagged on each row, never changed.

### What you get

Real rows from a run with the default input (November 2026):

| Company          | SIREN     | Year | Revenue (€)    | EBITDA (€)    | Net income (€) |
| ---------------- | --------- | ---- | -------------- | ------------- | -------------- |
| LA POSTE (group) | 356000000 | 2024 | 34,569,000,000 | 1,724,000,000 | 1,722,000,000  |
| RIVE DROITE      | 442547931 | 2023 | 520,616        | 6,278         | 4,342          |
| RIVE DROITE      | 442547931 | 2025 | 547,055        | -14,216       | -11,078        |

Each row also has the closing date, the account type (company alone or consolidated group), the 14 ratios, the publication status and the quality flags.

### Use cases

- **An investor or an M\&A advisor** screens a list of SMEs: revenue growth and margins over 10 years, side by side.
- **A credit manager** checks a customer's revenue, net income and debt over several years before granting payment terms.
- **A sales team** keeps only the prospects whose revenue is growing, or above a threshold.

### How it works in 3 steps

1. **Paste** your list (SIREN, SIRET or `name ; postal code`), one company per line, and choose the account type and a first year if you want.
2. **Click Start.**
3. **Download** the financial history as **Excel, CSV or JSON**, or get it through the Apify API and integrations.

**Price:** $5 per 1,000 companies returned (**1,000 companies = $5**), billed once per company whatever the number of years, plus a tiny start fee. Companies that are not found, excluded (sole traders, companies opposed to commercial prospecting) or without published accounts are never billed.

It reads the same input as the companion Actor **French Companies Enrichment**, so the same Excel column works in both.

### 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): the company of that establishment is used;
  - a **company name**, optionally followed by `;` and a **postal code**: `Rive Droite ; 40150`. Two columns copied from Excel (name, then postal code) work too.
- Finds each company with the official [Recherche d'entreprises](https://recherche-entreprises.api.gouv.fr) API (name, legal form, exclusions), then reads **all its published accounts** in the Ratios financiers BCE/INPI dataset.
- Returns **one row per financial year and per account type**:
  - **company** accounts: the company alone (full `C` or simplified `S` balance sheet);
  - **group** accounts: the **consolidated** accounts of the group (`K`), published by large groups only.
- Lets you keep **company accounts, group accounts, or both**, and choose a **first year**.
- Shows **confidential accounts** clearly: when a company kept its income statement private, revenue and net income are **empty** (not 0) and the row says `non publié`.
- Adds **quality flags** to every row (see below).
- **Always excludes sole traders** (entrepreneurs individuels) and **companies opposed to commercial prospecting**. They are listed in the run log only, **never in the dataset and never billed**.
- Respects the API limits (7 calls per second for Recherche d'entreprises, 100 rows per call and 50,000 calls per day for the financial dataset) and retries automatically on temporary errors.
- **Safe on restarts**: if Apify moves the run to another server, it resumes where it stopped, with **no duplicate rows and no double billing**.

### How to use it

1. Click **Try for free** (or **Start**).
2. In **Entreprises**, paste your column from Excel, one company per line.
3. Choose the **account type** and, if you want, a **first year**.
4. 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 (`entreprises`)            | Text, one company per line: SIREN, SIRET, or `name ; postal code`. Required.                                                  |
| Account type (`typeComptes`)         | `both` (default), `company` (company alone, `C` or `S` balance sheets) or `group` (consolidated accounts, `K`).               |
| First year (`anneeMin`)              | Optional. Only financial years whose **closing date** is in that year or later. Empty = all years.                            |
| Maximum companies (`maxEntreprises`) | Safety limit (default 1,000): the run stops once this number of companies has been returned. Excluded companies do not count. |

JSON input example:

```json
{
    "entreprises": "356000000\nRive Droite ; 40150",
    "typeComptes": "both",
    "anneeMin": 2019,
    "maxEntreprises": 1000
}
```

A header line (`SIREN`, `Nom`, `Entreprise`…) at the top is ignored, as are empty lines. Malformed lines (wrong check digit, Excel scientific notation like `5,52E+13`, invalid postal code…) are explained in the run log and skipped. A company found by name has a `fiabilite` (reliability) field: `sûre` (certain), `probable` or `à vérifier` (to check), computed exactly as in French Companies Enrichment. Adding a postal code makes name matching much more accurate.

### Output example

Real rows from the default input (La Poste and a small company in the Landes), November 2026:

| SIREN     | Name        | Year | Type    | Revenue (€)    | Net income (€) | EBITDA margin (%) | Status | Quality flags                           |
| --------- | ----------- | ---- | ------- | -------------- | -------------- | ----------------- | ------ | --------------------------------------- |
| 356000000 | LA POSTE    | 2024 | company | 10,260,000,000 | 1,886,000,000  | -36.75            | publié |                                         |
| 356000000 | LA POSTE    | 2024 | group   | 34,569,000,000 | 1,722,000,000  | 4.99              | publié |                                         |
| 356000000 | LA POSTE    | 2025 | company | 26,700,000,000 | 1,474,000,000  | -12.52            | publié | `sameAsGroupAccounts`                   |
| 442547931 | RIVE DROITE | 2023 | company | 520,616        | 4,342          | 1.21              | publié |                                         |
| 442547931 | RIVE DROITE | 2024 | company | 0              | 1,805          |                   | publié | `probableMissingZero:chiffreAffaires` … |
| 442547931 | RIVE DROITE | 2025 | company | 547,055        | -11,078        | -2.6              | publié |                                         |

Full JSON item:

```json
{
    "entreeOriginale": "356000000",
    "fiabilite": "sûre",
    "siren": "356000000",
    "nom": "LA POSTE",
    "dateCloture": "2024-12-31",
    "annee": 2024,
    "typeComptes": "group",
    "typeBilan": "K",
    "libelleTypeBilan": "consolidé",
    "chiffreAffaires": 34569000000,
    "margeBrute": 34569000000,
    "ebe": 1724000000,
    "ebit": 2950000000,
    "resultatNet": 1722000000,
    "margeEbe": 4.987,
    "resultatCourantAvantImpotsSurCa": 7.77,
    "cafSurCa": 10.084,
    "tauxEndettement": 895.496,
    "autonomieFinanciere": 3.984,
    "ratioLiquidite": 0,
    "capaciteRemboursement": 78.542,
    "couvertureInterets": 15.313,
    "ratioVetuste": null,
    "poidsBfrExploitationSurCa": -1239.029,
    "poidsBfrExploitationSurCaJours": -4460.505,
    "rotationStocksJours": 0,
    "creditClientsJours": 0,
    "creditFournisseursJours": 83.255,
    "statutPublication": "publié",
    "confidentialite": "Public",
    "qualityFlags": [],
    "source": "Ratios financiers BCE/INPI (DGE), data.economie.gouv.fr, Licence Ouverte 2.0",
    "dateMiseAJourSource": "2026-09-15"
}
```

#### Columns

Field names are in French, as in the companion Actors.

| Field                                                                  | Meaning                                                                                                    |
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| `entreeOriginale`, `fiabilite`                                         | The input line, and how sure the match is (`sûre`, `probable`, `à vérifier`).                              |
| `siren`, `nom`                                                         | SIREN and official legal name (from Recherche d'entreprises).                                              |
| `dateCloture`, `annee`                                                 | Closing date of the financial year, and `annee` = **the year of that closing date** (see note below).      |
| `typeComptes`                                                          | `company` (company alone) or `group` (consolidated).                                                       |
| `typeBilan`, `libelleTypeBilan`                                        | Source code: `C` complet, `S` simplifié (small companies), `K` consolidé.                                  |
| `chiffreAffaires`, `margeBrute`, `ebe`, `ebit`, `resultatNet`          | Revenue, gross margin, EBITDA, EBIT, net income, **in euros** (negative = loss). Empty when not published. |
| `margeEbe`, `resultatCourantAvantImpotsSurCa`, `cafSurCa`              | EBITDA margin, pre-tax current income / revenue, cash flow / revenue, **in %**.                            |
| `tauxEndettement`, `autonomieFinanciere`, `ratioLiquidite`             | Debt / equity, equity / total assets, current assets / short-term debt, **in %**.                          |
| `capaciteRemboursement`, `couvertureInterets`                          | Financial debt / cash flow (years), interest charges / EBITDA (%).                                         |
| `ratioVetuste`                                                         | Share of fixed assets not yet depreciated, in %.                                                           |
| `poidsBfrExploitationSurCa`, `poidsBfrExploitationSurCaJours`          | Operating working capital / revenue, in % and in days of revenue.                                          |
| `rotationStocksJours`, `creditClientsJours`, `creditFournisseursJours` | Stock rotation, customer payment and supplier payment, **in days**.                                        |
| `statutPublication`, `confidentialite`                                 | `publié`, `non publié` or `publication simplifiée`, and the raw value of the source.                       |
| `qualityFlags`                                                         | List of probable source errors (see below). Empty list = nothing suspicious found.                         |
| `source`, `dateMiseAJourSource`                                        | Source and licence, and the date the dataset was last updated.                                             |

**About `annee`**: it is always **the year of the closing date** (`dateCloture`), nothing else. A financial year closing on 31 December 2024 is `2024`, and a financial year closing on 31 March 2024 (which covers mostly 2023) is also `2024`. The **First year** filter (`anneeMin`) uses the same rule. Note that French Companies Enrichment counts years differently (it would put the March 2024 closing in 2023), so years can differ by one between the two Actors for companies that do not close on 31 December.

The ratios are computed by the Ministry with the formulas published on the [dataset page](https://data.economie.gouv.fr/explore/dataset/ratios_inpi_bce/information/); they are returned exactly as published.

### Confidential accounts

Small and medium companies can ask to keep their income statement private. The source then contains **0** for revenue, margins, EBITDA, EBIT and net income. A 0 there means "hidden", not "zero revenue", so the Actor:

- leaves these amounts **empty** (`null`);
- sets `statutPublication` to **`non publié`** (raw value in `confidentialite`: `Partiellement confidentiel` or `Partiellement confidentiel (RAPCAC)`);
- keeps the balance-sheet ratios (debt ratio, liquidity, equity ratio), which are still published.

If the source still gives a non-zero amount for such a row (it happens for net income), that real value is kept.

A company that kept **all** its accounts private for a year simply has **no row** for that year.

### Quality flags

The source is built automatically from the filed accounts, and some rows are clearly wrong. The Actor **never changes a number**: it adds a code to `qualityFlags` so you can decide. A code ending with `:field` names the field concerned. Comparisons are made within the same account type (company accounts with company accounts, group with group), over the company's whole history.

| Flag                           | Meaning                                                                                                                                                                                                                                                                  | Real example                                                       |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------ |
| `probableMissingZero:<field>`  | The amount is exactly 0 while other years have a value, or the net income is exactly 0 while the company has activity. Probably missing, not a real zero.                                                                                                                | Michelin group 2023: revenue €28.3 bn, net income 0                |
| `sameAsPreviousYear:<field>`   | Exactly the same non-zero amount as the previous year. Often a copy of the year before; can be genuine (for example a fixed rent).                                                                                                                                       | Danone company accounts 2022 = 2021, to the euro                   |
| `scaleOutlier:chiffreAffaires` | Revenue about **1,000 times** larger or smaller than the median of the other years (thousands of euros entered as euros, or the reverse).                                                                                                                                | Danone group 2019: €25,287,000 instead of €25,287,000,000          |
| `sameAsGroupAccounts`          | Company-alone accounts identical to the group accounts of the same year (revenue and net income): the group figures were probably copied.                                                                                                                                | La Poste company accounts 2025 = group accounts 2025               |
| `impossibleRatio:margeEbe`     | EBITDA equal to or larger than revenue (EBITDA margin of 100% or more): the company would have no costs at all.                                                                                                                                                          | La Poste group 2016: EBITDA €36.1 bn for €17.7 bn revenue (203.8%) |
| `unusualRatio:<field>`         | Net income / revenue (`resultatNet`), cash flow / revenue (`cafSurCa`) or pre-tax current income / revenue (`resultatCourantAvantImpotsSurCa`) above 100% or below -100%, or EBITDA margin below -100% (`margeEbe`). **Often normal for a holding company** (see below). | Danone company accounts 2018 and 2020 to 2023                      |
| `impossibleRatio:ratioVetuste` | Depreciation ratio outside 0–100%, which cannot happen.                                                                                                                                                                                                                  |                                                                    |
| `duplicateClosingDate`         | Two accounts of the same type for the same closing date (for example a full and a simplified balance sheet). Use one of them, not both.                                                                                                                                  | RIVE DROITE 2020: `C` and `S`                                      |
| `suspiciousClosingDate`        | Closing date before 2000 or in the future.                                                                                                                                                                                                                               | Rows dated 1919 and 2029 exist in the source                       |

**About `unusualRatio`**: a holding company (a parent company that owns other companies) receives **dividends from its subsidiaries**. These dividends count in its net income, but not in its revenue, so its net income can easily be larger than its revenue. For example, the parent companies Danone and Michelin (company accounts) often have a net income above 100% of their revenue. This is usually **normal, not an error**, which is why these rows get `unusualRatio` (check it) and not `impossibleRatio` (almost surely wrong). A very large loss compared with revenue (below -100%) is rare but also possible, for example for a young company.

In our tests on Michelin, Danone and La Poste, **16 of the 28 group-account rows had at least one flag**: always check them before using consolidated figures.

### Exclusions (no personal data)

Each company is checked with the official Recherche d'entreprises API before its accounts are read:

- **Sole traders and other natural persons are always excluded** (legal form `1000` entrepreneur individuel, and partnerships between natural persons). The financial dataset does contain some of them; the Actor never returns them, and does not even write their line in the log.
- **Companies opposed to commercial prospecting are excluded** (`opposition_diffusion_commerciale` in the official data). This is their choice and the Actor respects it, as the other Actors of this series do. **Many large groups are concerned, including Michelin, Danone, EDF, Engie, SNCF and Bouygues** (November 2026).
- **Unknown or non-public companies**, and companies **with no published accounts**, are skipped.

Excluded and skipped lines are **only written to the run log** (with the reason), **never to the dataset, and never billed**. The final status message gives the count of each.

### Pricing

This Actor is billed **per company returned**: **$5 per 1,000 companies** ($0.005 per company), for each company that returns **at least one financial year**, **once per run**, whatever the number of years or rows. Apify also adds a tiny start fee for each run (a fraction of a cent).

Example: a list of 1,000 companies where 500 have published accounts costs $2.50.

**Never billed**: excluded companies (sole traders, companies opposed to commercial prospecting), companies not found, companies with no published accounts (or none matching your account type and first year), malformed lines, and a company that appears several times in your list (it is returned and billed once).

To control your budget, set **Max cost per run** in the run options, and/or **Maximum companies**. The Actor stops as soon as the limit is reached and keeps every company already returned.

### Limits

- **History**: mostly 2016 to 2025. Accounts for the latest year are still arriving (in November 2026, about 60% of the 2025 accounts were in the dataset). Before 2016 there is very little data.
- **Update frequency is not announced** by the publisher. The last update is given in `dateMiseAJourSource` (15 September 2026 at the time of writing).
- **Source errors exist**: check the `qualityFlags`, especially for group accounts.
- **Not every company files public accounts**: many small companies keep their income statement private (`non publié`), and some have no accounts at all.
- **Group accounts** (`K`) exist for large groups only, and are filed under the SIREN of the parent company.
- **Large groups opposed to commercial prospecting are not returned** (see Exclusions).
- **Speed**: about 2 API calls per company, roughly 0.7 second per company. In our tests, 200 companies took 2 minutes 23 seconds, so expect roughly **12 minutes for 1,000 companies**, depending on API load. The financial dataset allows 50,000 calls per day: if this quota is reached, the run stops with a clear message and keeps the companies already returned.

### FAQ

**Is it legal?** Yes. The Actor does not scrape any website: it calls two official, free government APIs. Both datasets are published under the Licence Ouverte / Etalab 2.0, which allows reuse, including commercial reuse, as long as you credit the source (the `source` field of each row does that).

**What about GDPR?** The Actor returns data about companies only. Sole traders and other natural persons are always excluded, no person name is returned, and companies that opposed commercial prospecting are left out. You remain responsible for how you use the data. This is not legal advice.

**Why is a company missing?** It is a sole trader, it opposed commercial prospecting, it was not found, or it has no published accounts matching your choices. The run log gives the reason for each line.

**Why do so many small companies return nothing?** About **half of small companies have no published accounts** in the source. In our tests, 24 of 50, 93 of 200 and 157 of 300 small and medium companies had none. Most of them are associations, companies that keep all their accounts confidential, or companies that do not file accounts at the INPI. They are **not returned and not billed**, and the run log lists them as `aucun compte publié`.

**Why does a large group show two rows per year?** One row for the parent company alone (`company`) and one for the consolidated group (`group`). For La Poste in 2024: €10.3 bn for the company alone, €34.6 bn for the group. Choose `group` to keep only the consolidated figures.

**Why is the revenue empty?** The company kept its income statement private that year (`statutPublication: non publié`).

### Data source and licence

**Source: Ratios financiers BCE/INPI (DGE), data.economie.gouv.fr, Licence Ouverte 2.0.** The dataset is published by the Ministères économiques et financiers (DGE) on [data.economie.gouv.fr](https://data.economie.gouv.fr/explore/dataset/ratios_inpi_bce/) and listed on [data.gouv.fr](https://www.data.gouv.fr/datasets/ratios-financiers-bce-inpi), from the accounts filed with the INPI (RNCS). Company names, legal forms and exclusion flags come from INSEE Sirene through the [Recherche d'entreprises](https://recherche-entreprises.api.gouv.fr) API (DINUM). All are under the [Licence Ouverte / Etalab 2.0](https://www.etalab.gouv.fr/licence-ouverte-open-licence/): you can reuse them, including commercially, as long as you credit the source.

This Actor is not affiliated with the Ministry, the INPI, INSEE or the French government.

### See also

- [French Companies Search](https://apify.com/frscrape/french-companies-search): find French companies by NAF code and area (postal codes or département), with SIREN, SIRET, address and headcount.
- [French Companies Enrichment](https://apify.com/frscrape/french-companies-enrich): complete a list of SIREN, SIRET or company names with official Sirene data (latest revenue and net income included).
- [French Healthcare Directory](https://apify.com/frscrape/french-healthcare-establishments): EHPAD, pharmacies, clinics, hospitals and labs from the official FINESS register.
- [French Road Transport Companies](https://apify.com/frscrape/french-road-transport-companies): French hauliers, bus operators and freight forwarders from the official register, with the number of transport licences (≈ fleet size).
- [French Website to SIREN](https://apify.com/frscrape/french-website-to-siren): get the SIREN and company data (address, NAF, headcount, revenue) from a list of French websites or domains.

***

### 🇫🇷 En français

**Historique financier d'entreprises françaises** sur plusieurs années, depuis le jeu de données officiel **Ratios financiers BCE/INPI** (ministère de l'Économie) : **chiffre d'affaires, marge brute, EBE, EBIT, résultat net** et **14 ratios** (marge EBE, taux d'endettement, liquidité, autonomie financière, délais clients et fournisseurs…), une ligne par exercice et par type de comptes (société seule ou groupe consolidé).

**Comment ?** Collez une liste de SIREN, de SIRET ou de noms (avec un code postal facultatif), choisissez le type de comptes et une première année si besoin, puis cliquez sur **Start**.

**Qualité :** chaque ligne a des indicateurs (`qualityFlags`) qui signalent les erreurs probables de la source (zéro manquant, chiffres recopiés de l'année d'avant, valeur 1 000 fois trop petite, ratio impossible). Les chiffres ne sont jamais modifiés. Un compte confidentiel ressort avec un chiffre d'affaires et un résultat net vides et le statut « non publié ».

**Prix :** une facturation par entreprise renvoyée, une seule fois par lancement, quel que soit le nombre d'années. Les entreprises exclues ou sans comptes ne sont jamais facturées.

**Exclusions :** les entrepreneurs individuels et les entreprises opposées à la prospection commerciale (dont beaucoup de grands groupes : Michelin, Danone, EDF…) ne sont jamais renvoyés ; ils figurent seulement dans le journal du lancement.

**Source :** Ratios financiers BCE/INPI (DGE), data.economie.gouv.fr, Licence Ouverte 2.0.

# 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. 35600000000048 ;<br>• ou un nom d’entreprise, suivi si vous le voulez d’un point-virgule et d’un code postal, ex. « Rive Droite ; 40150 ». 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. Les lignes mal formées, introuvables ou exclues sont expliquées dans le journal du lancement et ne sont pas facturées. Une même entreprise n’est facturée qu’une fois par lancement.

## `typeComptes` (type: `string`):

Comptes de l’entreprise seule (bilans complets C ou simplifiés S), comptes consolidés du groupe (bilans K), ou les deux. Seules les grandes entreprises publient des comptes consolidés.

## `anneeMin` (type: `integer`):

Facultatif : ne renvoie que les exercices clos cette année-là ou après (année de la date de clôture). Vide = tout l’historique disponible (surtout de 2016 à aujourd’hui).

## `maxEntreprises` (type: `integer`):

Limite de sécurité : le lancement s’arrête dès que ce nombre d’entreprises a été renvoyé (et facturé). Les lignes exclues ou sans comptes ne comptent pas.

## Actor input object example

```json
{
  "entreprises": "356000000\nRive Droite ; 40150",
  "typeComptes": "both",
  "maxEntreprises": 1000
}
```

# Actor output Schema

## `comptes` (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
Rive Droite ; 40150`
};

// Run the Actor and wait for it to finish
const run = await client.actor("frscrape/french-company-financials").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
Rive Droite ; 40150""" }

# Run the Actor and wait for it to finish
run = client.actor("frscrape/french-company-financials").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\\nRive Droite ; 40150"
}' |
apify call frscrape/french-company-financials --silent --output-dataset

```

## MCP server setup

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

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/QSIFo9hKwfTf0WwHY/builds/VYbF7dcAKId77iLBL/openapi.json
