# French Company Scraper - SIRENE, SIREN & VAT (`helenisapi/french-company-scraper-sirene`) Actor

Scrape French companies from the SIRENE register by name, NAF code, postcode or SIREN/SIRET: VAT number, activity, headcount, revenue, head office address. 🏢

- **URL**: https://apify.com/helenisapi/french-company-scraper-sirene.md
- **Developed by:** [Helenis API](https://apify.com/helenisapi) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$3.00 / 1,000 companies

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/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 Scraper - SIRENE, SIREN & VAT

**Every French company, from the official register.** Search by **name**, **activity (NAF)**, **postcode**, **department**, **size** or **revenue**, or paste **SIREN/SIRET** numbers. Each company comes back with its **VAT number**, **legal form**, **activity in English and French**, **headcount**, **revenue and net income**, **head office address with GPS**, **officers** and **public labels**.

Data from the French state's open company directory (SIRENE + RNE), refreshed daily. No API key, no login: fill a search and hit **Run**.

***

### ⚡ Why this actor?

- 🔎 **Real prospect lists:** "IT companies in the Rhône with 50+ employees" in one run.
- 🧾 **VAT numbers** computed for every company, ready for invoicing checks.
- 🌍 **English activity labels** (NACE) next to the official French ones, for all 732 NAF codes.
- 💶 **Financials:** revenue and net income by year when published.
- 🚫 **Clean B2B data:** sole traders excluded; officers who are people shown by role only; companies that refuse prospecting flagged.
- 🗂️ **Up to 10,000 companies** per search, paged for you, or a pasted list of SIREN/SIRET numbers.

***

### 🏆 How it compares

| Feature | This actor | Website scrapers | Paid data vendors |
|---|:---:|:---:|:---:|
| 🏛️ Official register data | ✅ | ⚠️ Copied | ✅ |
| 🔎 Search by NAF, place, size, revenue | ✅ | ⚠️ | ✅ |
| 🧾 VAT number | ✅ | ❌ | ✅ |
| 🌍 English labels | ✅ | ❌ | ⚠️ |
| 🚫 Prospecting opt-out flag | ✅ | ❌ | ⚠️ |
| 🔓 No account or API key | ✅ | ✅ | ❌ |

***

### 📊 What data do you get?

One row per company. Example values below are Doctolib's real record.

#### 🏢 Identity, activity and size

| Field | Description | Example |
|---|---|---|
| `siren` | 9-digit company number | `794598813` |
| `siret` | 14-digit number of the head office | `79459881300077` |
| `name` | Registered name | `DOCTOLIB` |
| `acronym` | Acronym, when declared | — |
| `active` | `false` when the company has ceased trading | `true` |
| `legalForm` | Legal form | `SAS, société par actions simplifiée` |
| `legalFormCode` | INSEE legal form code | `5710` |
| `founded` | Creation date | `2013-07-15` |
| `closed` | Closing date, for closed companies | — |
| `vatNumber` | French intra-EU VAT number | `FR14794598813` |
| `nafCode` | NAF / APE activity code | `62.01Z` |
| `activity` | Activity in English (NACE Rev. 2) | `Computer programming activities` |
| `activityFr` | Official French label | `Programmation informatique` |
| `sector` | NAF section, in English | `Information and communication` |
| `category` | INSEE size category: `SME`, `ETI` or `Large` | `ETI` |
| `employees` | Headcount band | `1000-1999` |
| `employeesMin` | Lower bound of that band | `1000` |
| `employer` | The head office has employees | `true` |

#### 📍 Head office, financials and officers

| Field | Description | Example |
|---|---|---|
| `street` | Street address | `54 QUAI CHARLES PASQUA` |
| `postalCode` | Postcode | `92300` |
| `city` | City | `LEVALLOIS-PERRET` |
| `department` | Department code | `92` |
| `region` | INSEE region code | `11` |
| `latitude` / `longitude` | GPS position | `48.900771` / `2.284915` |
| `establishments` | All establishments, open or closed | `9` |
| `openEstablishments` | Open establishments | `3` |
| `revenue` | Latest published revenue (EUR) | `311448000` |
| `netIncome` | Latest published net income (EUR) | `-127499000` |
| `financialYear` | Year of those figures | `2024` |
| `financials` | Every published year (`year`, `revenue`, `net_income`) | — |
| `officers` | Companies by name and SIREN; people by role only | `[{"role": "Président de SAS", "type": "person"}]` |
| `labels` | Public labels (`ess`, `rge`, `qualiopi`, `organic`...) | `["egapro_index"]` |
| `collectiveAgreements` | Collective agreement codes (IDCC) | `["1486"]` |
| `noMarketing` | The company objects to commercial prospecting | `false` |
| `updated` | Last update in the register | `2026-11-18` |
| `source` | `id` (looked up by number) or `search` | — |

***

### 🚀 How to use it

1. **Search:** type a name and/or set filters.
2. **Or look up:** paste SIREN (9 digits) or SIRET (14 digits) numbers.
3. Set **Maximum companies**, click **Run**, then export the table.

#### ⚙️ Input

| Option | Default | Description |
|---|:---:|---|
| 🔎 **Company name or keywords** | — | Name, brand or address words (3 characters minimum without a filter). |
| 🏷️ **NAF / APE codes** | — | Activity codes, e.g. `62.01Z` (computer programming), `56.10A` (restaurants). |
| **Sector (NAF section)** | — | One letter A-U, e.g. J = Information and communication. |
| 📍 **Postcodes** | — | 5-digit postcodes, e.g. `75011`. |
| **Departments** | — | e.g. `69`, `2A`, `971`. |
| **Regions (INSEE codes)** | — | e.g. 11 = Île-de-France, 84 = Auvergne-Rhône-Alpes. |
| **Company size category** | — | SME, ETI (mid-size) or Large. |
| 👥 **Minimum employees** | — | Matches INSEE headcount bands: 50 keeps `50-99` and up. |
| 💶 **Minimum revenue (EUR)** | — | Last published revenue. |
| **Legal form codes** | — | INSEE codes, e.g. 5710 = SAS, 5499 = SARL. |
| **Status** | `active` | Active companies only, closed only, or all. |
| **Maximum companies** | `100` | Stop the search after this many companies (up to 10,000). |
| 🔢 **SIREN or SIRET numbers** | — | One per line, 9 or 14 digits. Spaces are fine. |

Filters combine freely. Numbers and a search can go in the same run: numbers are looked up first.

#### Input example

```json
{
  "query": "boulangerie",
  "postalCode": ["75011"],
  "status": "active",
  "maxResults": 25,
  "ids": ["794598813"]
}
```

#### Output example (one row per company)

```json
{
  "siren": "794598813",
  "siret": "79459881300077",
  "name": "DOCTOLIB",
  "active": true,
  "legalForm": "SAS, société par actions simplifiée",
  "nafCode": "62.01Z",
  "activity": "Computer programming activities",
  "sector": "Information and communication",
  "category": "ETI",
  "employees": "1000-1999",
  "founded": "2013-07-15",
  "vatNumber": "FR14794598813",
  "street": "54 QUAI CHARLES PASQUA",
  "postalCode": "92300",
  "city": "LEVALLOIS-PERRET",
  "revenue": 311448000,
  "netIncome": -127499000,
  "financialYear": 2024,
  "officers": [
    { "role": "Président de SAS", "type": "person" },
    { "role": "Commissaire aux comptes titulaire", "type": "company", "name": "KPMG S.A", "siren": "775726417" }
  ],
  "noMarketing": false
}
```

*From a real run (trimmed).*

Available as **JSON**, **CSV**, **Excel**, or via the **Apify API** and **dataset exports**.

***

### 💰 Pricing

| Event | When |
|---|---|
| 🏢 Company | Each company in the dataset |

Numbers that match nothing are free.

> 🆓 On the Apify **free plan**, each run returns up to 50 companies.

The run stops cleanly when your spending limit is reached.

***

### 💡 Use cases

- 🎯 **Sales prospecting:** target lists by activity, place, size and revenue.
- 🤝 **KYB & onboarding:** check that a supplier or customer exists, is active, and what it does.
- 🧾 **Invoicing:** fill VAT numbers and legal names from a list of SIRENs.
- 📈 **Market research:** count companies by sector and department, compare revenues.
- 🗺️ **Territory mapping:** plot head offices on a map with the GPS coordinates.

***

### ❓ FAQ

**Where does the data come from, and how fresh is it?**
From the French state's open "Recherche d'entreprises" service (SIRENE + RNE registers), updated daily. Answers are cached for up to one hour.

**Why are some small businesses missing?**
Sole traders (entrepreneurs individuels) and companies that asked not to be published are excluded on purpose. Their SIREN returns nothing, free of charge.

**Can I search by a person's name?**
No, by design. There is no person-name filter, and officers who are people come back by role only. Companies among the officers (auditors, parent companies) keep their name and SIREN.

**Why does a company show up in a city where its head office is not?**
Location filters match any establishment of the company; the address shown is the head office.

**How is the VAT number computed?**
With the official French formula (key = (12 + 3 × (SIREN mod 97)) mod 97). We checked it against the official numbers of Doctolib and TotalEnergies.

**What do failed lookups cost?**
Nothing: only companies written to the dataset are charged. Network errors and a busy register get one retry; the run fails only if no company at all was found.

**Can I email these companies?**
Respect `noMarketing`: those companies object to commercial prospecting, and GDPR rules on B2B prospecting still apply.

***

### 🔌 Integrations

Connect results to your existing workflow:

- 📗 **Google Sheets**: Auto-export results to a spreadsheet
- 🪝 **Webhooks**: Trigger downstream actions when a run completes
- ⚡ **Zapier / Make**: Plug into 1000+ apps
- 🛠️ **API**: Fetch results programmatically from any language
- 🔄 **Scheduled runs**: Spot new companies in your market with recurring searches
- 🤖 **AI agents**: call it from Claude, Cursor or any MCP client through Apify's MCP server

***

### 🤖 Use it from an AI agent

Add this actor to **Claude, ChatGPT, Cursor, VS Code** or any MCP client with one URL (sign in with your Apify account):

```
https://mcp.apify.com?tools=helenisapi/french-company-scraper-sirene
```

Your agent then calls it as a tool, with the input described above, and pays per event like a normal run. In code: `ApifyActorsTool("helenisapi/french-company-scraper-sirene")` in LangChain or CrewAI; in **n8n**, **Make** or **Zapier**, use the Apify app and pick this actor.

***

### 🌐 Also available as an API

The same engine is sold as a REST API on RapidAPI as **French Company Data - SIREN, SIRET & VAT Lookup** by **Helenis API**, for lookups and searches from your own code.

***

### 🔒 Privacy

Officers who are natural persons appear by role only, never by name or birth date. Searches are never logged. Public register answers are cached in memory for up to an hour, then dropped.

# Actor input Schema

## `query` (type: `string`):

Company name, brand or address words to search the French SIRENE register for, e.g. "doctolib" or "boulangerie" (3 characters minimum when no filter is set). A search needs query and/or at least one filter (naf, section, postalCode, department, region, category, minEmployees, minRevenue, legalForm); without a search, give ids. Leave empty to search by filters only.

## `naf` (type: `array`):

Search filter: NAF/APE activity codes, one per item, e.g. \["62.01Z", "56.10A"] (62.01Z = computer programming, 56.10A = restaurants). A company matches any of them. Leave empty for every activity.

## `section` (type: `string`):

Search filter: NAF section, one letter A-U, e.g. "J" (Information and communication) or "F" (Construction); several comma-separated, e.g. "J,M". Leave empty for every sector.

## `postalCode` (type: `array`):

Search filter: 5-digit French postcodes, one per item, e.g. \["75011", "69003"]. Matches companies with any establishment there. Leave empty for all of France.

## `department` (type: `array`):

Search filter: French department codes, one per item, e.g. \["69", "2A", "971"]. Matches companies with any establishment there. Leave empty for all departments.

## `region` (type: `array`):

Search filter: INSEE region codes, one per item, e.g. \["11", "84"] (11 = Île-de-France, 84 = Auvergne-Rhône-Alpes). Matches companies with any establishment there. Leave empty for all regions.

## `category` (type: `array`):

Search filter: INSEE size categories to keep: SME (PME, small and medium-sized companies), ETI (mid-size companies) or Large (grandes entreprises). Several allowed. Leave empty for every size.

## `minEmployees` (type: `integer`):

Search filter: minimum headcount, an integer from 0, e.g. 50 keeps companies whose INSEE headcount band starts at 50 employees or more. Leave empty for no minimum.

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

Search filter: minimum last published revenue in euros, an integer from 0, e.g. 1000000 for 1 million EUR or more. Leave empty for no minimum.

## `legalForm` (type: `array`):

Search filter: 4-digit INSEE legal form codes, one per item, e.g. \["5710", "5499"] (5710 = SAS, 5499 = SARL). Leave empty for every legal form.

## `status` (type: `string`):

Which companies the search returns: active (default) = still trading, closed = ceased trading, all = both. Applies to the search only, not to ids.

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

Maximum number of companies the search returns, 1-10000 (default 100); each company is one row and one charged event. The ids list is looked up on top of it. On the Apify free plan, a run returns 50 companies at most.

## `ids` (type: `array`):

French company numbers to look up, one per item: 9-digit SIREN or 14-digit SIRET, spaces allowed, e.g. \["794598813", "552 081 317"]. Required unless a search is set (query or a filter); both can be combined. Each number returns the full company record (VAT number, NAF activity, headcount, revenue, head office); a wrong number returns an error row (not charged).

## Actor input object example

```json
{
  "query": "boulangerie",
  "postalCode": [
    "75011"
  ],
  "status": "active",
  "maxResults": 25,
  "ids": [
    "794598813"
  ]
}
```

# Actor output Schema

## `companies` (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 = {
    "query": "boulangerie",
    "postalCode": [
        "75011"
    ],
    "maxResults": 25,
    "ids": [
        "794598813"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("helenisapi/french-company-scraper-sirene").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 = {
    "query": "boulangerie",
    "postalCode": ["75011"],
    "maxResults": 25,
    "ids": ["794598813"],
}

# Run the Actor and wait for it to finish
run = client.actor("helenisapi/french-company-scraper-sirene").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 '{
  "query": "boulangerie",
  "postalCode": [
    "75011"
  ],
  "maxResults": 25,
  "ids": [
    "794598813"
  ]
}' |
apify call helenisapi/french-company-scraper-sirene --silent --output-dataset

```

## MCP server setup

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

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/fUo3YtmXZMqbuGo7S/builds/cVzxitgAWsnEwyd5Q/openapi.json
