# French Company Data & Financials – Pappers Alternative (`stimulating_stilbite/french-company-data-financials`) Actor

French company lookup by SIREN, SIRET or name, plus lead lists by NAF, postcode and legal form. Revenue, EBITDA, profit and ratios from filed accounts. Official data, no scraping.

- **URL**: https://apify.com/stimulating_stilbite/french-company-data-financials.md
- **Developed by:** [Nordic Data Tools](https://apify.com/stimulating_stilbite) (community)
- **Categories:** Lead generation, Business, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 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.

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 Data & Financials API – Pappers / Societe.com Alternative

Look up **French companies by SIREN, SIRET or name, or build lead lists by NAF/APE code, postcode, département, legal form, size and revenue**, and get clean JSON/CSV/Excel with legal form, status, NAF activity, head-office address with GPS, headcount band, VAT number, directors and certifications (RGE, Bio, Qualiopi, ESS…), plus **revenue, gross margin, EBITDA (EBE), operating profit, net profit and ~15 financial ratios with multi-year history** from filed annual accounts.

Built only on **official French open data**: the government's **Recherche d'entreprises API** (INSEE Sirene + RNE, the data behind annuaire-entreprises.data.gouv.fr) and the **Ratios financiers BCE / INPI** dataset published by the Ministry of Economy (data.economie.gouv.fr). Both are under the **Licence Ouverte / Etalab 2.0**. **No scraping of Pappers, Societe.com, Infogreffe or Verif.com**: no blocked runs, no captchas, no ToS risk, no API key needed.

👉 Click **Try for free**. The form is prefilled with a small lead list (IT companies in the Rhône).

### 🎯 Get a lead list in 3 clicks

1. 🏭 **Industry (NAF rév. 2)** (e.g. 62 – IT/software, 43.2 – electricians & plumbers) — pick one or more.
2. 📍 **Département** (e.g. 69 – Rhône, 75 – Paris) and **How many companies** (the form is prefilled with an example).
3. Tick **🌐 Find company website** and **✉️ Get email & phone from the website**, then click **Start**.

You get a table (**Lead list** view) with **company name, registration number, industry, city, employees, revenue, website, phone and email** — export it as Excel, CSV or JSON, or send it to your CRM via Make / Zapier / n8n. Source: INSEE Sirene + RNE (annuaire-entreprises, daily). Optional employee bands, company size (PME/ETI/GE) and revenue range. Companies that opted out of prospecting and entrepreneurs individuels are skipped by default.

**Same lead-list form in 4 countries:** 🇸🇪 [Sweden](https://apify.com/stimulating_stilbite/swedish-company-data-financials) · 🇳🇴 [Norway](https://apify.com/stimulating_stilbite/norwegian-company-data-financials) · 🇫🇮 [Finland](https://apify.com/stimulating_stilbite/finnish-company-data-financials) · 🇫🇷 [France](https://apify.com/stimulating_stilbite/french-company-data-financials) · Public-contract winners: 🇪🇺 [EU tenders](https://apify.com/stimulating_stilbite/eu-public-tenders-ted) · 🇬🇧 [UK tenders](https://apify.com/stimulating_stilbite/uk-public-tenders-contracts-finder)

### 📇 Contacts: website, email, phone — and GDPR

- **Official registry first.** The French directory does not publish websites, emails or phone numbers, so for France **all** contacts come from the website step.
- **Find company website (opt-in, `findWebsite`).** Tries the obvious domains for the company name (`name.fr`, `.com`, hyphenated) and keeps a site only if the page shows the company's **registration number** (`websiteConfidence: high`) or its **full name in the page title** (`medium`).
- **Get email & phone from the website (opt-in, `scrapeContacts`).** Reads the homepage plus up to 3 contact / about / legal-notice pages (`maxPagesPerSite`, max 8), **respects robots.txt**, 10-second timeouts, no proxies, no logins. Phones are normalised to international format (`+33…`).
- **Business contacts only (GDPR).** From websites we keep **role mailboxes on the company's own domain** (info@, kontakt@, sales@, post@, contact@ …). Personal-looking addresses (firstname.lastname@, gmail/hotmail…), e-invoicing and third-party addresses are **dropped by default**; turn on `includePersonalEmails` only if you have a lawful basis (legitimate interest assessment) to process named employees' work emails. Remember the ePrivacy / national marketing rules before cold-emailing.
- **Typical fill rate** (test run 19 Nov 2026, 30 Rhône electricians & plumbers, 6–49 staff (NAF 43.2), both contact boxes ticked): website 23%, email 13%, phone 20%. Small and very old companies often have no website; we prefer an empty cell to a wrong one.
- Every contact has a source field (`websiteSource`, `emailSource`, `phoneSource`, `contactPageUrl`) so you can check where it came from.

### How to get started

1. Keep or change the prefilled lead-list example (industry + département) and click **Start**. For single companies, clear the lead-list fields and enter SIRENs.
2. Replace them with your own SIREN/SIRET list, or type names, or leave both empty and use the **filters** (e.g. `nafCodes: ["62.01Z"]`, `departments: ["69"]`, `legalForms: ["SAS"]`, `minRevenue: 1000000`) for a lead list.
3. Call it from code, Make, Zapier, n8n or an AI agent and read the dataset.

### What you get

| Field | Real example (MC-YOU, SME joinery company) |
|---|---|
| `siren`, `siret`, `vatNumber` | `841171200`, `84117120000014`, `FR24841171200` |
| `name`, `acronym`, `tradeNames` | `MC-YOU` |
| `legalForm`, `legalFormLocal`, `legalFormCode`, `legalFormInseeCode` | `Private limited company (SARL)`, `Société à responsabilité limitée`, `SARL`, `5499` |
| `status`, `creationDate`, `closureDate` | `Active`, `2018-07-18` |
| `nafCode`, `nafLabel`, `nafCode2025`, `sectionLabel` | `43.32A`, `Travaux de menuiserie bois et PVC`, `43.32G`, `Construction` |
| `companyCategory`, `employeeBand`, `isEmployer` | `PME`, `10-19`, `true` |
| `address`, `city`, `postalCode`, `department`, `headOffice` | full address + commune code, region, latitude/longitude |
| `directors` | `[{"name": "GUILLAUME YOU", "role": "Gérant", "type": "person"}]` (statutory auditors included; no birth dates) |
| `labels`, `collectiveAgreements` | `["RGE (Reconnu garant de l'environnement)"]`, IDCC codes |
| `financials.revenue` (chiffre d'affaires) | `2220845` |
| `financials.ebitda` (EBE), `operatingProfit`, `netProfit` | `253470`, `224600`, `182163` |
| `financials.ebitdaMarginPercent`, `equityRatioPercent`, `debtRatioPercent`, `currentRatio` | `11.4`, `58.8`, `7.2`, … |
| `financials.customerCreditDays`, `supplierCreditDays`, `inventoryDays`, `workingCapitalDays` | DSO / DPO / stock rotation |
| `financials.fiscalYearEnd`, `accountsType` | `2025-07-31`, `C` (full; `S` simplified, `K` consolidated) |
| `financialsPreviousYear`, `financialsHistory` | prior year and every published year |
| `optOutCommercialProspecting` | `false` (the company didn't oppose prospecting use) |
| `annuaireUrl`, `dataSources`, `error` | provenance; `error` items are not charged |

### Real output (run on 19 Nov 2026)

| SIREN | name | city | FY end | accounts | revenue (EUR) | EBITDA | operating profit | net profit |
|---|---|---|---|---|---:|---:|---:|---:|
| 552032534 | Danone | Paris | 2025-12-31 | consolidated | 27 376 000 000 | 3 660 000 000 | 3 379 000 000 | 2 100 000 000 |
| 855200887 | Michelin (CGEM) | Clermont-Ferrand | 2025-12-31 | consolidated | 25 992 000 000 | 2 790 000 000 | 2 366 000 000 | 1 664 000 000 |
| 841171200 | MC-YOU | Montrevault-sur-Èvre | 2025-07-31 | full | 2 220 845 | 253 470 | 224 600 | 182 163 |

### Input examples

**By SIREN / SIRET / VAT:**

```json
{ "sirens": ["552032534", "85520088700012", "FR24841171200"] }
```

**By name:**

```json
{ "companyNames": ["Doctolib", "Back Market"], "maxResultsPerName": 2 }
```

**Lead list: software SAS companies with a head office in the Rhône (69) and revenue above €1M:**

```json
{ "sirens": [], "nafCodes": ["62"], "departments": ["69"], "legalForms": ["SAS"], "minRevenue": 1000000, "maxItems": 500 }
```

**Lead list: plumbers in Paris with 10-49 employees:**

```json
{ "sirens": [], "nafCodes": ["43.22A"], "departments": ["75"], "employeeBands": ["11", "12"], "maxItems": 200 }
```

**From Python:**

```python
from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("stimulating_stilbite/french-company-data-financials").call(
    run_input={"sirens": ["552032534"]})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["name"], item["status"], (item["financials"] or {}).get("revenue"))
```

### Use cases

- **B2B lead generation:** every active company by NAF code, département, postcode, legal form, headcount and revenue band, with directors and VAT number. Companies that opted out of prospecting are excluded by default.
- **KYB / supplier onboarding:** valid SIREN? Active or ceased? Legal form, directors, auditors, VAT number.
- **Credit and risk checks:** revenue, EBITDA, net profit, equity ratio, gearing, liquidity, DSO/DPO with multi-year history.
- **Market sizing and M\&A sourcing:** filter by sector and revenue, export financial history.
- **CRM enrichment:** via API, Make, Zapier, n8n or Google Sheets.
- **AI agents & MCP:** callable through the [Apify MCP server](https://mcp.apify.com) (*"what was the EBITDA of French company 841171200 last year?"*).

### Coverage: please read

- **Registry data:** every company, association and sole trader in INSEE Sirene / RNE that is publicly diffusible. Persons who opted out of Sirene publication are returned with restricted fields (`publicDataStatus`).
- **Financials, honest scope:** figures come from annual accounts **filed publicly** with the commercial courts / INPI and processed by Banque de France (BCE). Small companies may file their accounts **confidentially**, and many micro-enterprises and sole traders file none. For those `financials` is `null` and you are not charged for financials that don't exist. The latest year can lag 6-18 months behind the fiscal year end. When a group publishes several sets of accounts for the same year, `financials` shows the consolidated one and `financialsHistory` lists all.
- **Lead-list limits:** the official API returns at most **10 000 companies per filter combination**. Split big searches by département or NAF code. Postcode/département filters match the head office by default (`headOfficeOnly`).
- **Not in the open data:** phone numbers, e-mails, websites, shareholders. Websites, role emails and phones can be added from the company's own website (opt-in, see Contacts).
- Invalid or unknown SIRENs return an item with `error` and are **not charged**.

### Pricing

**Pay-per-event pricing starts on 3 December 2026.** Until then, runs are free except for ordinary Apify platform usage.

From 3 December 2026 you pay only for companies successfully returned:

- **Company with financials:** $0.004 (primary event)
- **Company record** (no financials): $0.0015
- **Actor start:** $0.002 per run

Error items (invalid numbers, not found, sole traders rejected for privacy) are **not charged**. Silver and Gold plan discounts apply. See the **Pricing** tab for the live list.

### Troubleshooting

- **`error`: invalid SIREN/SIRET**: a SIREN has 9 digits and a SIRET 14; the Luhn check digit is validated.
- **`financials` is null**: the company filed confidential accounts or none (see Coverage).
- **Lead list stops at 10 000**: split by département or NAF code.
- **Unknown legal form**: use an alias (SAS, SASU, SARL, EURL, SA, SCI, SNC, SELARL, SELAS, EI, ASSOCIATION…) or a 4-digit INSEE code.
- **Still stuck?** Open an issue on the **Issues** tab with the run ID.

### More European company data

Same output style, same honest coverage notes, official open data only — from **Nordic Data Tools**:

- 🇸🇪 [Swedish Company Data & Financials – Allabolag alternative](https://apify.com/stimulating_stilbite/swedish-company-data-financials) — org-number lookup, official financials, Excel/CSV export
- 🇳🇴 [Norwegian Company Lead List & Financials – Brreg API](https://apify.com/stimulating_stilbite/norwegian-company-data-financials) — lead lists by kommune/NACE, multi-year accounts, CEO/board roles
- 🇫🇮 [Finnish Company Lead List & Financials – YTJ API](https://apify.com/stimulating_stilbite/finnish-company-data-financials) — lead lists by city/TOL, PRH reports
- 🇫🇷 [French Company Data & Financials – Pappers alternative](https://apify.com/stimulating_stilbite/french-company-data-financials) — lead lists by NAF/département, directors, ratios
- 🇪🇺 [EU Public Tenders & Contract Winners (TED)](https://apify.com/stimulating_stilbite/eu-public-tenders-ted) — who wins public contracts in the EU/EEA, with supplier org/VAT numbers and e-mails
- 🇬🇧 [UK Public Tenders & Contract Awards](https://apify.com/stimulating_stilbite/uk-public-tenders-contracts-finder) — Find a Tender + Contracts Finder winners with Companies House numbers

💡 **Qualified B2B leads:** take the companies that just *won* a public contract from the tender actors, then run their registration numbers through this Actor for financials and website/email/phone.

### Changelog

#### 0.1.4 (19 Nov 2026) — Lead lists + contacts

- **Lead-list form:** industry and area dropdowns, prefilled example, new **Lead list** table view (name, reg. no, industry, city, employees, revenue, website, phone, email).
- **Contacts:** official registry website/email/phone where published, plus opt-in `findWebsite` / `scrapeContacts` (robots.txt respected, role mailboxes only by default – GDPR).
- Entrepreneurs individuels skipped in lead lists by default (GDPR).

#### 0.1.3 (19 Nov 2026)

- Store listing and README: Pappers-alternative / lead-list keywords, FAQ, and pricing from 3 December 2026.

#### 0.1 (19 Nov 2026)

- First public release: lookup by SIREN/SIRET/VAT or name, filter-based lead lists, financials and ratios with history.

### FAQ

**Is this a Pappers or Societe.com alternative?**\
Yes, for official French company lookup, lead lists and filed financials. Data comes from the government Recherche d'entreprises API (Sirene + RNE) and the Banque de France / INPI ratios dataset. We do not scrape Pappers, Societe.com, Infogreffe or Verif.com.

**How do I build a lead list of French companies?**\
Leave SIRENs empty and filter by NAF/APE code, postcode, département, legal form, headcount band or revenue. Example: plumbers in Paris with 10–49 staff, or software SAS companies in the Rhône with revenue above €1M. Companies that opted out of commercial prospecting are excluded by default. Download as Excel or CSV.

**How do I look up a company by SIREN?**\
Paste a 9-digit SIREN, a 14-digit SIRET or a French VAT number (`FR…`). The Luhn check digit is validated. You can also search by name.

**Which companies have financials?**\
Figures come from accounts filed publicly with the commercial courts / INPI. Small companies may file confidentially, and many micro-enterprises file none. For those, `financials` is `null` and you are not charged for financials. The latest year can lag 6–18 months.

**Do you return directors, phone numbers or websites?**\
Directors (no birth dates) and VAT numbers are included. Websites, phones and role emails (contact@, info@ …) are added from the company's own website when you tick *Find company website* and *Get email & phone*. Shareholders are not in the open data.

**Is this legal to use? Do I need an API key?**\
Yes, it is legal (Licence Ouverte / Etalab 2.0), and no API key is required.

**What does it cost?**\
Pay-per-event pricing starts on 3 December 2026. Until then, runs are free except ordinary Apify platform usage. After that: $0.004 per company with financials, $0.0015 per company without, $0.002 per run start. Errors are free. See the Pricing tab.

**Missing a field you need?**\
Open an issue on the Issues tab.

### Data sources and licences

- **Recherche d'entreprises API** (DINUM, annuaire-entreprises.data.gouv.fr), built on INSEE Sirene and the INPI Registre national des entreprises, **Licence Ouverte / Etalab 2.0**.
- **Ratios financiers (BCE / INPI)**, Direction générale des Entreprises, data.economie.gouv.fr, **Licence Ouverte / Etalab 2.0**.
- NAF rév. 2 labels: INSEE.

This Actor isn't affiliated with INSEE, INPI, DINUM, the French Ministry of Economy, Pappers or Societe.com.

***

#### En français

Recherchez des **entreprises françaises par SIREN, SIRET ou nom**, ou constituez des **fichiers de prospection** par code NAF/APE, code postal, département, forme juridique, tranche d'effectif et chiffre d'affaires : forme juridique, état, adresse du siège, dirigeants, numéro de TVA, labels (RGE, Bio, Qualiopi, ESS) et **chiffre d'affaires, EBE, résultat d'exploitation, résultat net et ratios financiers sur plusieurs années**. Uniquement des données ouvertes officielles (API Recherche d'entreprises, ratios BCE / INPI, Licence Ouverte 2.0), sans scraping de Pappers ou Societe.com. Les entreprises opposées à la prospection commerciale sont exclues par défaut des listes.

# Actor input Schema

## `industries` (type: `array`):

Pick one or more industries. Each choice matches every NAF/APE code that starts with it (e.g. 62 = IT/software, 43.2 = electricians & plumbers). Use <i>NAF / APE codes</i> below for exact codes like 62.01Z.

## `departmentList` (type: `array`):

Head-office département.

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

Maximum companies in the lead list (1–10000). Default 100. You are charged per company returned.

## `companyCategory` (type: `string`):

INSEE category: PME (SME), ETI (mid-cap) or GE (large).

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

INSEE headcount band codes: 00 (0), 01 (1-2), 02 (3-5), 03 (6-9), 11 (10-19), 12 (20-49), 21 (50-99), 22 (100-199), 31 (200-249), 32 (250-499), 41 (500-999), 42 (1000-1999), 51 (2000-4999), 52 (5000-9999), 53 (10000+).

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

Only companies whose latest published revenue (chiffre d'affaires) is at least this amount.

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

Only companies whose latest published revenue is at most this amount.

## `legalForms` (type: `array`):

Aliases SAS, SASU, SARL, EURL, SA, SE, SNC, SCI, SC, SCM, SCP, SELARL, SELAS, SCOP, GIE, EI, ASSOCIATION, FONDATION, SCEA, EARL, GAEC — or 4-digit INSEE legal category codes (e.g. 5710).

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

Main activity codes (NAF rév. 2), e.g. 62.01Z (programming), 43.22A (plumbing), 56.10A (restaurants). Prefixes like 62 or 43.2 expand to all matching codes.

## `sectionCode` (type: `string`):

Broad NAF section.

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

5-digit codes, e.g. 75008, 69002.

## `departments` (type: `array`):

Département codes, e.g. 75 (Paris), 69 (Rhône), 13, 2A, 971.

## `headOfficeOnly` (type: `boolean`):

On: only companies whose registered head office (siège) is in the postcodes/départements. Off: also companies with any establishment there.

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

Skip ceased companies in name and filter searches. Direct SIREN lookups always return the company.

## `excludeProspectingOptOut` (type: `boolean`):

In filter-based lead lists, skip companies that registered an opposition to commercial prospecting use of their Sirene data. Recommended for marketing use (GDPR / French rules). The flag is always returned as optOutCommercialProspecting.

## `excludeSoleTraders` (type: `boolean`):

Lead lists skip one-person businesses whose data is about a named individual (GDPR). Default true.

## `findWebsite` (type: `boolean`):

Fills <b>website</b> for companies whose registry entry has none: the Actor tries the obvious domains for the company name (e.g. <code>bolagsnamn.se</code>, <code>.com</code>) and only keeps a site that shows the company's registration number or its full name. Adds a few seconds per company. The French directory does not publish websites, emails or phone numbers, so for France all contacts come from this step.

## `scrapeContacts` (type: `boolean`):

Visits the company website (homepage + up to <i>Max pages per website</i> contact/about pages), respects robots.txt, 10 s timeouts, and extracts public business emails and phone numbers. Fills <b>email</b>, <b>phone</b>, <b>emails</b>, <b>phones</b> and <b>contactPageUrl</b>.

## `includePersonalEmails` (type: `boolean`):

Off by default (GDPR): addresses like firstname.lastname@ or free-mail (gmail, hotmail…) found on websites are dropped and only role mailboxes (info@, sales@, kontakt@ …) are kept. Turn on only if you have a lawful basis to process named people's work emails.

## `maxPagesPerSite` (type: `integer`):

Homepage plus contact/about pages fetched per company (1–8). Default 3.

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

Look up specific companies instead of (or as well as) a lead list: 9-digit SIREN, 14-digit SIRET or FR VAT number. If you send a completely empty input the Actor looks up three sample companies.

## `companyNames` (type: `array`):

Free-text names, e.g. "Danone" or "Blablacar". Uses the official directory's ranking and returns up to maxResultsPerName per name. Filters below also apply.

## `maxResultsPerName` (type: `integer`):

Maximum matches per company name (1-25). Default 3.

## `includeFinancials` (type: `boolean`):

Add revenue, gross margin, EBITDA (EBE), operating profit, net profit and ~15 ratios (margins, equity ratio, gearing, liquidity, DSO/DPO…) with multi-year history from annual accounts filed with INPI / Banque de France.

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

Add the registered directors (dirigeants) and statutory auditors with their role. Birth dates are never returned.

## Actor input object example

```json
{
  "industries": [
    "62"
  ],
  "departmentList": [
    "69"
  ],
  "maxItems": 20,
  "legalForms": [
    "SAS",
    "SARL"
  ],
  "nafCodes": [
    "62.01Z",
    "62.02A"
  ],
  "postalCodes": [
    "75008"
  ],
  "departments": [
    "69"
  ],
  "headOfficeOnly": true,
  "onlyActive": true,
  "excludeProspectingOptOut": true,
  "excludeSoleTraders": true,
  "findWebsite": false,
  "scrapeContacts": false,
  "includePersonalEmails": false,
  "maxPagesPerSite": 3,
  "sirens": [
    "552032534",
    "855200887",
    "841171200"
  ],
  "companyNames": [
    "Danone",
    "Blablacar"
  ],
  "maxResultsPerName": 3,
  "includeFinancials": true,
  "includeDirectors": true
}
```

# Actor output Schema

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

One row per company: name, registration number, industry, city, employees, revenue, website, phone, email (table).

## `details` (type: `string`):

Key registry fields and headline financials (table).

## `financials` (type: `string`):

Latest-year financial figures and ratios (table).

## `allData` (type: `string`):

Full records with every field.

# 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 = {
    "industries": [
        "62"
    ],
    "departmentList": [
        "69"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("stimulating_stilbite/french-company-data-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 = {
    "industries": ["62"],
    "departmentList": ["69"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("stimulating_stilbite/french-company-data-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 '{
  "industries": [
    "62"
  ],
  "departmentList": [
    "69"
  ],
  "maxItems": 20
}' |
apify call stimulating_stilbite/french-company-data-financials --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,stimulating_stilbite/french-company-data-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/gbBe9MiChgFrvaOYO/builds/Hxwy9FcQsnIMzbZry/openapi.json
