# France SIRENE Company Scraper - French SIREN, SIRET & VAT (`angaba92/france-sirene-company-scraper`) Actor

Search 26M+ French companies in France's official INSEE SIRENE & RNE company registry (Annuaire des Entreprises / Pappers alternative). Extract SIREN, SIRET, EU VAT (VIES), NAF code, revenue, net income & RGE/Qualiopi badges to CSV, JSON, Excel or API.

- **URL**: https://apify.com/angaba92/france-sirene-company-scraper.md
- **Developed by:** [Andres Garcia-Baquero Leon](https://apify.com/angaba92) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$7.50 / 1,000 french 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 SIRENE Company Scraper - French SIREN, SIRET & VAT

Search and enrich **26M+ French companies** directly from France's official **INSEE SIRENE, RNE / INPI & DGFiP Open Data API** (`recherche-entreprises.api.gouv.fr` / *Annuaire des Entreprises* - a fast, zero-key alternative to Pappers, Societe.com, and Infogreffe).

Extract verified **SIREN** (9-digit legal entity ID), HQ **SIRET** (`siretSiege`, 14-digit establishment ID), deterministic **French EU VAT number (`TVA intracommunautaire`)** with optional live **European Commission VIES validation**, **NAF / APE** activity code (`nafCode` + `naf2025Code`), **PME / ETI / GE** size category, headcount bracket, **annual revenue (`chiffre d'affaires`) & net income (`resultat net`)**, HQ GPS coordinates, corporate officers (`includeExecutives` - birth dates redacted), and official French state certifications (**RGE**, **Qualiopi**, **Bio**, **ESS**, **Societe a mission**). Export to **CSV, JSON, Excel, or sync REST API**.

***

### Why use this France SIRENE & SIRET Company Scraper?

| Capability | Societe.com / Pappers HTML scrapers | Manual Annuaire lookup | This Actor |
|---|---|---|---|
| Official French Government Open Data (Licence Ouverte 2.0) | Scraped third-party portals (Cloudflare / rate limits) | One company at a time | Direct `api.gouv.fr` JSON API (zero proxy needed) |
| Computed French EU VAT (`FRxx999999999`) + live VIES check | Often missing or paid add-on | Manual calculation | Automatic official INSEE modulo-97 + live VIES API |
| Annual revenue & net income (`EUR`) from RNE/DGFiP accounts | Paid API tiers | Manual tab switching | Extracted automatically (`latestRevenueEur`, `latestNetIncomeEur`) |
| RGE (green construction) & Qualiopi (training) filters | Rarely supported | Manual checkboxes | Dedicated boolean filters (`onlyRge`, `onlyQualiopi`) |
| RGPD & French Commercial Code Art. A123-96 compliance | Often exposes restricted sole traders | N/A | Automatically excludes `statut_diffusion != O` & Art. A123-96 opt-outs |
| Per-run start fee in Clay / n8n / Make | Often `$0.02 - $0.05` start or monthly rental | Manual | **`$0.00` start fee + `$7.50 / 1,000` companies** |

***

### Output example

Each delivered row represents **one verified French legal entity (`unite legale`)**:

```json
{
  "siren": "794598813",
  "siretSiege": "79459881300076",
  "companyName": "DOCTOLIB",
  "legalName": "DOCTOLIB",
  "acronym": null,
  "vatId": "FR14794598813",
  "vatValid": true,
  "viesStatus": "valid",
  "active": true,
  "creationDate": "2013-07-31",
  "legalFormCode": "5710",
  "nafCode": "62.01Z",
  "naf2025Code": "62.10Y",
  "activitySection": "J",
  "companyCategory": "ETI",
  "headcountBracketCode": "51",
  "headcountBracket": "2,000-4,999 employees",
  "openEstablishmentsCount": 8,
  "totalEstablishmentsCount": 12,
  "latestFinancialYear": "2024",
  "latestRevenueEur": 311448000,
  "latestNetIncomeEur": -127499000,
  "financialHistory": [
    {
      "year": "2024",
      "revenueEur": 311448000,
      "netIncomeEur": -127499000
    }
  ],
  "address": "54 Quai Charles Pasqua 92300 Levallois-Perret",
  "postalCode": "92300",
  "city": "LEVALLOIS-PERRET",
  "departement": "92",
  "region": "11",
  "latitude": 48.8961,
  "longitude": 2.2852,
  "isRge": false,
  "isQualiopi": false,
  "isBio": false,
  "isEss": false,
  "isSocieteMission": false,
  "collectiveAgreementIds": ["1486"],
  "annuaireUrl": "https://annuaire-entreprises.data.gouv.fr/entreprise/794598813",
  "scrapedAt": "2026-11-23T19:10:00Z"
}
```

***

### Output fields

| Field | Type | Description |
|---|---|---|
| `siren` | `string` | 9-digit French company registration ID (`SIREN`). |
| `siretSiege` | `string` | 14-digit head-office establishment ID (`SIRET du siege`). |
| `companyName` / `legalName` / `acronym` | `mixed` | Official legal denomination (`nom_complet`), `nom_raison_sociale`, and `sigle`. |
| `vatId` / `vatValid` / `viesStatus` | `mixed` | French intracommunity EU VAT number (`FRxxSIREN`) and live EU Commission VIES status (`valid`, `invalid`, `unavailable`, `not_checked`). |
| `active` / `creationDate` | `mixed` | `true` when `etat_administratif = "A"` and official incorporation date (`YYYY-MM-DD`). |
| `legalFormCode` | `string` | Official INSEE `nature_juridique` (e.g. `5710` SAS, `5499` SARL, `5599` SA). |
| `nafCode` / `naf2025Code` / `activitySection` | `string` | French NAF Rev. 2 activity code (`62.01Z`), NAF 2025 code, and sector letter. |
| `companyCategory` / `headcountBracket` | `string` | INSEE size tier (`PME`, `ETI`, `GE`) and official salaried headcount bracket. |
| `openEstablishmentsCount` / `totalEstablishmentsCount` | `integer` | Count of active vs total French establishments. |
| `latestFinancialYear` / `latestRevenueEur` / `latestNetIncomeEur` | `mixed` | Latest published fiscal year, annual turnover (`CA`), and net profit/loss in EUR. |
| `financialHistory` | `array` | Multi-year turnover and net income array when disclosed in RNE/DGFiP. |
| `address` / `postalCode` / `city` / `departement` / `region` | `string` | Normalized HQ street address, 5-digit `code_postal`, `commune`, and `departement`. |
| `latitude` / `longitude` | `number \| null` | Official BAN geocoded coordinates for the head office. |
| `isRge` / `isQualiopi` / `isBio` / `isEss` / `isSocieteMission` | `boolean` | Official French state certifications and social-economy badges. |
| `collectiveAgreementIds` | `array` | Applicable French `IDCC` collective bargaining codes (`conventions collectives`). |
| `annuaireUrl` | `string` | Direct verification URL on `annuaire-entreprises.data.gouv.fr`. |

***

### How to use in 4 steps

1. Click **Try for free** and enter company names, keywords, SIRENs, or SIRETs in `queries` (`["Doctolib", "OVH", "Criteo"]`), or leave `queries` empty to search purely by NAF sector + French departement.
2. Optionally filter by `nafCodes` (`["62.01Z"]`), `departements` (`["75", "92", "69"]`), `companyCategories` (`["PME", "ETI"]`), `minRevenueEur`, `onlyRge`, or `onlyQualiopi`.
3. Enable `validateVatVies: true` when you need live EU cross-border VAT verification for KYB or invoicing.
4. Click **Start** and export clean French company records to **CSV, JSON, Excel, Clay, n8n, Make, or HubSpot**.

***

### Input parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `queries` | `array` | `[]` (`["Doctolib", "OVH", "Criteo"]` prefill) | Company names, brand names, 9-digit SIRENs, or 14-digit SIRETs. Fair per-query quota prevents large groups from crowding out later terms. |
| `nafCodes` | `array` | `[]` | French NAF/APE activity codes (`["62.01Z"]` software, `["70.22Z"]` consulting, `["43.22B"]` HVAC). |
| `departements` | `array` | `[]` | 2/3-character French departement codes (`["75", "92", "69", "33", "59"]`). |
| `postalCodes` | `array` | `[]` | Exact 5-digit French postal codes (`["75008", "92300"]`). |
| `companyCategories` | `array` | `[]` | Enterprise size tiers: `"PME"`, `"ETI"`, `"GE"`. |
| `minRevenueEur` | `integer` | `0` | Minimum reported annual revenue (`ca_min`) in EUR. |
| `activeOnly` | `boolean` | `true` | Only active legal entities (`etat_administratif = "A"`). |
| `onlyRge` | `boolean` | `false` | Only RGE-certified green/energy contractors. |
| `onlyQualiopi` | `boolean` | `false` | Only Qualiopi-certified training organizations. |
| `excludeSoleProprietors` | `boolean` | `true` | Skip sole proprietors (*entrepreneur individuel*) for corporate-only B2B output. |
| `includeExecutives` | `boolean` | `false` | Include RNE corporate officers for KYB (birth dates always redacted). |
| `validateVatVies` | `boolean` | `false` | Verify computed French EU VAT ID live via European Commission VIES API. |
| `maxResults` | `integer` | `10` | Maximum verified French companies to return (`1` - `5000`). |

***

### Input examples

#### 1. French B2B SaaS & IT consulting PMEs/ETIs in Paris & Hauts-de-Seine with >= 1M EUR revenue

```json
{
  "nafCodes": ["62.01Z", "62.02A"],
  "departements": ["75", "92"],
  "companyCategories": ["PME", "ETI"],
  "activeOnly": true,
  "excludeSoleProprietors": true,
  "minRevenueEur": 1000000,
  "validateVatVies": true,
  "maxResults": 100
}
```

#### 2. RGE-certified HVAC & solar installers in Rhone (`69`) and Gironde (`33`)

```json
{
  "departements": ["69", "33"],
  "onlyRge": true,
  "activeOnly": true,
  "excludeSoleProprietors": true,
  "maxResults": 250
}
```

***

### Clay, n8n, Make & Python KYB Recipes ($0 Start Fee)

With **$0.00 per run start**, you can invoke `POST https://api.apify.com/v2/acts/Angaba92~france-sirene-company-scraper/run-sync-get-dataset-items` row-by-row inside **Clay HTTP API**, **n8n**, **Make**, or **Python**:

#### Clay HTTP API Column (Row-by-Row SIREN / Company Lookup)

- **Method & Endpoint:** `POST https://api.apify.com/v2/acts/Angaba92~france-sirene-company-scraper/run-sync-get-dataset-items`
- **Headers:** `Authorization: Bearer YOUR_APIFY_TOKEN`, `Content-Type: application/json`
- **Body:** `{"queries": ["{{company_name}}"], "activeOnly": true, "validateVatVies": true, "maxResults": 1}`
- **Clay Output Mapping:** `[0].siren`, `[0].siretSiege`, `[0].vatNumber`, `[0].viesValid`, `[0].latestRevenueEur`, `[0].nafCode`

#### Python (`httpx`) Quickstart

```python
import os, httpx

companies = httpx.post(
    "https://api.apify.com/v2/acts/Angaba92~france-sirene-company-scraper/run-sync-get-dataset-items",
    headers={"Authorization": f"Bearer {os.environ['APIFY_TOKEN']}"},
    json={"nafCodes": ["62.01Z"], "departements": ["75", "92"], "minRevenueEur": 1000000, "validateVatVies": True, "maxResults": 10},
    timeout=120,
).json()
for c in companies:
    print(c["companyName"], c["siren"], c["vatNumber"], c["latestRevenueEur"])
```

#### Multi-Actor B2B Enrichment Stack

1. **Step 1 - Filter Target French Accounts:** Pull active French PME/ETI companies by `nafCodes` (`["62.01Z"]`), `departements` (`["75", "92", "69"]`), and `minRevenueEur` (`1000000`) with `validateVatVies: true`.
2. **Step 2 - Corporate Domain Contact & Tech Stack Enrichment:** Feed their websites into [`Angaba92/website-email-contact-tech-stack-scraper`](https://apify.com/angaba92/website-email-contact-tech-stack-scraper) (`$0` start fee) to append role-based corporate emails (`contact@`, `commercial@`), Google Workspace / Microsoft 365 / OVHcloud MX verification, LinkedIn pages, and CMS/CRM tech stack.
3. **Cross-Border Company & Procurement Pipelines:**
   - **United Kingdom (Companies House & Directors):** [`Angaba92/uk-companies-house-scraper`](https://apify.com/angaba92/uk-companies-house-scraper)
   - **United Kingdom (Public Sector Tenders & Contract Winners):** [`Angaba92/uk-government-tenders-scraper`](https://apify.com/angaba92/uk-government-tenders-scraper)
   - **United States (Newly Funded Startups - SEC Form D):** [`Angaba92/sec-form-d-startup-funding-scraper`](https://apify.com/angaba92/sec-form-d-startup-funding-scraper)
   - **U.S. Federal Contract Opportunities (SAM.gov):** [`Angaba92/sam-gov-opportunities-monitor`](https://apify.com/angaba92/sam-gov-opportunities-monitor)

***

### Pricing (Pay Per Event)

| Event | Price | Charged when |
|---|---:|---|
| `company-record` | **$0.0075 per company ($7.50 per 1,000)** | One verified French company record is delivered via atomic SDK charge |

- **$0.00 start fee** (`no actor-start charge`).
- Restricted records (`statut_diffusion != "O"`), Art. A123-96 commercial opt-outs, and sole proprietors (when `excludeSoleProprietors: true`) are **never charged**.
- Fully supports `maxTotalChargeUsd` hard spending limits.

***

### FAQ

#### 1. Do I need an INSEE API key, Pappers token, or proxy?

No. This Actor queries the official French Directorate for Interministerial Digital Affairs (**DINUM**) Open Data API (`recherche-entreprises.api.gouv.fr`) under **Etalab Licence Ouverte 2.0**, with built-in pacing (`<= 5 req/s`) and zero proxy overhead.

#### 2. How is the French EU VAT number (`TVA intracommunautaire`) calculated and verified?

For every 9-digit `SIREN`, French tax law defines the 2-digit check key as `(12 + 3 * (SIREN % 97)) % 97`, yielding `FRxxSIREN`. When `validateVatVies: true`, the Actor also checks that VAT ID live against the European Commission VIES API (`ec.europa.eu`) to confirm whether intracommunity VAT registration is currently active.

#### 3. How does this Actor comply with RGPD and Code de commerce Art. A123-96?

Three safeguards run automatically: (1) entities with `statut_diffusion != "O"` (*non-diffusibles*) are excluded; (2) entities that registered commercial prospecting opposition (`opposition_diffusion_commerciale` / Art. A123-96) are skipped; and (3) `excludeSoleProprietors` defaults to `true` while officer birth dates are redacted.

#### 4. Why are `latestRevenueEur` and `latestNetIncomeEur` `null` on some companies?

Under French commercial law, micro-enterprises and eligible small companies may file confidential annual accounts (*declaration de confidentialite des comptes annuels*) with the RNE. Set `minRevenueEur` above `0` if you only want companies with publicly disclosed turnover.

#### 5. Can I search purely by NAF sector and French departement without typing keywords?

Yes. Leave `queries: []` and pass `nafCodes` (for example `["62.01Z"]`), `departements` (`["75"]`), `onlyRge: true`, or `onlyQualiopi: true`.

#### 6. Why did a multi-query run return 1 result per company instead of 10 subsidiaries of the first company?

When `queries` contains multiple search terms (for example `["Doctolib", "OVH", "Criteo"]` with `maxResults: 3`), the Actor distributes quota evenly across your terms first so large corporate groups with multiple holding entities do not crowd out subsequent companies.

***

### Troubleshooting

| Problem | Cause | Solution |
|---|---|---|
| Run fails with `Provide at least one search filter` | Empty `queries`, `nafCodes`, `departements`, `postalCodes`, and certification flags | Specify at least one company query, SIREN/SIRET, NAF code, departement, postal code, or badge filter. |
| `viesStatus` is `not_checked` | `validateVatVies` defaults to `false` for maximum speed | Set `"validateVatVies": true` in input when you want live EC VIES confirmation. |
| Fewer rows than `maxResults` when `minRevenueEur > 0` | Filter excludes companies with confidential or lower RNE revenue | Increase `maxResults` or lower `minRevenueEur`. |

# Actor input Schema

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

Optional list of company names, brand names, 9-digit SIREN numbers, or 14-digit SIRET numbers to look up. Leave omitted to search by NAF/departement/financial filters.

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

Optional French NAF/APE activity codes (e.g. \['62.01Z'] for software programming, \['70.22Z'] for business consulting, \['43.22B'] for HVAC/energy installation).

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

Optional 2- or 3-character French departement codes (e.g. \['75', '92', '69', '33', '13']).

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

Optional 5-digit French postal codes (e.g. \['75008', '92300']).

## `companyCategories` (type: `array`):

Optional INSEE enterprise size tiers: 'PME' (SME), 'ETI' (mid-market), 'GE' (large enterprise).

## `minRevenueEur` (type: `integer`):

Minimum official annual turnover (chiffre d'affaires) in EUR.

## `activeOnly` (type: `boolean`):

Return only active legal entities (etat_administratif = 'A').

## `onlyRge` (type: `boolean`):

Filter to companies holding active RGE (Reconnu Garant de l'Environnement) certification.

## `onlyQualiopi` (type: `boolean`):

Filter to certified French training organizations (est_qualiopi = true).

## `excludeSoleProprietors` (type: `boolean`):

GDPR-friendly default: skips individual sole proprietorships (entrepreneur individuel) and entities opposing commercial diffusion.

## `includeExecutives` (type: `boolean`):

Include RNE registered officers/directors (birth dates are always redacted; restricted-diffusion entities are always excluded).

## `validateVatVies` (type: `boolean`):

Verify each computed French EU VAT number (FRxx999999999) live against the European Commission VIES API.

## `maxResults` (type: `integer`):

Maximum number of verified French company records to output and charge.

## Actor input object example

```json
{
  "queries": [
    "Doctolib",
    "OVH",
    "Criteo"
  ],
  "minRevenueEur": 0,
  "activeOnly": true,
  "onlyRge": false,
  "onlyQualiopi": false,
  "excludeSoleProprietors": true,
  "includeExecutives": false,
  "validateVatVies": false,
  "maxResults": 10
}
```

# Actor output Schema

## `results` (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 = {
    "queries": [
        "Doctolib",
        "OVH",
        "Criteo"
    ],
    "minRevenueEur": 0,
    "activeOnly": true,
    "onlyRge": false,
    "onlyQualiopi": false,
    "excludeSoleProprietors": true,
    "includeExecutives": false,
    "validateVatVies": false,
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("angaba92/france-sirene-company-scraper").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 = {
    "queries": [
        "Doctolib",
        "OVH",
        "Criteo",
    ],
    "minRevenueEur": 0,
    "activeOnly": True,
    "onlyRge": False,
    "onlyQualiopi": False,
    "excludeSoleProprietors": True,
    "includeExecutives": False,
    "validateVatVies": False,
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("angaba92/france-sirene-company-scraper").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 '{
  "queries": [
    "Doctolib",
    "OVH",
    "Criteo"
  ],
  "minRevenueEur": 0,
  "activeOnly": true,
  "onlyRge": false,
  "onlyQualiopi": false,
  "excludeSoleProprietors": true,
  "includeExecutives": false,
  "validateVatVies": false,
  "maxResults": 10
}' |
apify call angaba92/france-sirene-company-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,angaba92/france-sirene-company-scraper"
        }
    }
}
```

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/uhxIJdRtSfAZ6Bmrh/builds/ZmvRdDYamgjW5SmFw/openapi.json
