# French Companies Scraper: SIRENE, SIREN/SIRET & NAF Code Search (`actorfactory/french-companies`) Actor

Search French companies (entreprises) in the official SIRENE register by name, NAF/APE code, location, legal form, status, headcount and creation date, or look up SIREN/SIRET numbers. Get France B2B leads with address, revenue, VAT number and establishments. Open-data API, no key.

- **URL**: https://apify.com/actorfactory/french-companies.md
- **Developed by:** [Actor Factory](https://apify.com/actorfactory) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Companies Scraper: SIRENE, SIREN/SIRET & NAF Code Search

This **French companies scraper** searches French **entreprises** in the **official French company register (SIRENE)** and returns clean, flat company data: SIREN and SIRET, legal form, NAF/APE activity code, creation date, active or ceased status, headcount band, head-office address, number of establishments, latest revenue and net income, labels (ESS, RGE, Qualiopi...) and VAT number. Filter by company name, NAF/APE code, postcode, département, region, legal form, headcount band, size category, labels, status and creation date, or look up a list of SIREN/SIRET numbers. It reads the public open-data API of the French government. No login, no API key, no proxy.

Use it to build B2B prospect lists, enrich CRM records, monitor new company creations, or run market research on any French sector.

### What French company data you get

| Field | Description |
|---|---|
| `siren`, `siret` | 9-digit company number and 14-digit head-office establishment number |
| `name`, `legal_name`, `acronym` | Display name, registered legal name, acronym |
| `legal_form_code`, `legal_form` | INSEE legal-form code and label (label for common forms) |
| `naf_code`, `naf25_code` | Main activity code (NAF rev. 2) and its NAF 2025 equivalent |
| `naf_section`, `naf_section_label` | Activity section letter and label |
| `creation_date`, `status`, `closure_date` | Creation date, `active` or `ceased`, closure date |
| `headcount_code`, `headcount_band` | INSEE headcount band (null when unknown) |
| `company_category` | PME, ETI or GE |
| `is_employer`, `is_sole_trader` | Employer flag, entrepreneur individuel flag |
| `address`, `postcode`, `city`, `department`, `region_code`, `region` | Head-office location |
| `latitude`, `longitude` | Head-office coordinates |
| `establishments_total`, `establishments_open` | Number of establishments |
| `revenue_year`, `revenue_eur`, `net_income_eur`, `finances_by_year` | Published accounts, where available |
| `labels` | ESS, RGE, Qualiopi, Bio, FINESS, ... |
| `vat_number`, `collective_agreements` | Intra-EU VAT number, collective agreement (IDCC) codes |
| `corporate_officers` | Officers that are companies (auditors, parent companies) |
| `url`, `scraped_at` | Annuaire des Entreprises page, collection time (ISO 8601) |

**Personal data:** natural-person directors are never included. For sole traders (entrepreneurs individuels) the record keeps the register name, activity, postcode and city, but no street address or coordinates. Companies that opted out of public diffusion show empty fields.

### How to search the SIRENE register

Set at least one of: a query, a filter, or a SIREN/SIRET list.

| Input | Description |
|---|---|
| `query` | Name or keywords, e.g. `boulangerie` |
| `sirenOrSiretList` | SIREN (9 digits) or SIRET (14 digits) lookups |
| `activityCodes` | NAF/APE codes, e.g. `62.01Z` |
| `postcodes`, `departments`, `regions` | Location filters (`75`, `2A`, `971`, region code `11`) |
| `legalForms` | INSEE legal-form codes, e.g. `5710` (SAS), `5499` (SARL) |
| `headcountBands` | INSEE headcount codes, e.g. `21`, `22` |
| `companyCategories` | `PME`, `ETI`, `GE` |
| `labels` | Required labels: ESS, RGE, Qualiopi, Bio, association, ... |
| `status` | `active` (default), `ceased` or `any` |
| `createdFrom`, `createdTo` | Creation date range `YYYY-MM-DD` (applied by the scraper after the search, so keep the search narrow) |
| `splitLargeSearches` | Beyond 10,000 results, repeat the search per département (default on) |
| `maxItems` | Maximum companies saved (default 100) |

```json
{
    "activityCodes": ["62.01Z"],
    "departments": ["75"],
    "status": "active",
    "maxItems": 100
}
```

### Output example

```json
{
    "siren": "380474494",
    "siret": "38047449400016",
    "name": "EURO INFORMATION DEVELOPPEMENTS (EID)",
    "legal_form_code": "5710",
    "legal_form": "Simplified joint-stock company (SAS)",
    "naf_code": "62.01Z",
    "naf_section_label": "Information and communication",
    "creation_date": "1991-01-01",
    "status": "active",
    "headcount_band": "2,000-4,999 employees",
    "company_category": "GE",
    "address": "4 RUE FREDERIC-GUILLAUME RAIFFEISEN 67000 STRASBOURG",
    "postcode": "67000",
    "city": "STRASBOURG",
    "department": "67",
    "region": "Grand Est",
    "establishments_total": 61,
    "revenue_year": 2024,
    "revenue_eur": 558064199,
    "net_income_eur": 9730844,
    "labels": ["FINESS"],
    "vat_number": "FR50380474494",
    "corporate_officers": [{ "name": "KPMG SA", "siren": "775726417", "role": "Commissaire aux comptes titulaire" }],
    "url": "https://annuaire-entreprises.data.gouv.fr/entreprise/380474494",
    "scraped_at": "2026-11-14T16:37:24.720Z"
}
```

### How much does it cost to export French companies?

Pay per event: a tiny start fee plus **$2.00 per 1,000 companies** (Bronze $1.80, Silver $1.60, Gold $1.40 per 1,000). Example: 5,000 IT-services companies in Paris and Lyon cost about $10. You pay only for companies saved, and you can cap spending with the maximum cost per run.

### Use cases

- B2B lead lists by sector (NAF code), region, size and legal form
- New-company monitoring: recent creations in a sector and area
- CRM enrichment: turn SIREN/SIRET numbers into full company profiles
- Market sizing and competitor mapping for French industries
- Due-diligence screening of company status, size and published accounts

### Limits & notes

- The source returns at most 10,000 companies per search. With `splitLargeSearches` on, broad searches continue département by département; otherwise narrow the filters.
- Revenue and net income exist only for companies that publish accounts.
- The register has no creation-date filter, so date ranges are applied while paging. Combine them with a NAF code and a département.
- Requests are paced under the source's documented limit of about 7 per second.
- Data comes from the French government's open data (Licence Ouverte).

### Integrations and API

Run it from your own code with the [Apify API](https://docs.apify.com/api/v2) or the official Python and JavaScript clients:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("actorfactory/french-companies").call(run_input={'activityCodes': ['62.01Z'], 'departments': ['75'], 'maxItems': 10})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

- **Schedule it** (hourly, daily, weekly) in Apify Console and send results to Google Sheets, Slack, email or a webhook, or connect it to Make, Zapier or n8n.
- **Use it from AI agents** (Claude, ChatGPT, Cursor) through the [Apify MCP server](https://mcp.apify.com).
- **Export** results as JSON, CSV, Excel or HTML from the Output tab, or read them from the dataset API.

### Related Actors

- [UK Companies House Scraper](https://apify.com/actorfactory/companies-house): UK company register: new companies, search, filings
- [Brazil CNPJ Leads](https://apify.com/actorfactory/brazil-cnpj-leads): Brazilian companies by CNAE code, state and city
- [Company Hiring Signals](https://apify.com/actorfactory/company-hiring-signals): open roles by team and location for a list of companies

### FAQ

**Can I search entreprises françaises by name?** Yes. Enter a name or keywords in Company name or keywords, add a NAF/APE code, département or postcode, and you get the matching entreprises with SIREN, SIRET and address.

**Is it legal?** The data is public open data published for reuse. Natural-person directors are excluded.

**Can I get the NAF label?** You get the NAF code and the activity section label.

**Why are some fields empty?** Companies can opt out of public diffusion, and small companies often have no published accounts.

**Can I find newly created French companies?** Yes. Set **Created on or after** to a recent date, add a NAF/APE code or département if you like, and schedule the run.

**Does it include company directors (dirigeants)?** No. Natural-person directors are excluded; the output is company and establishment data only.

# Actor input Schema

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

Free-text search on company name, trade name, address or officer company. Example: "boulangerie" or "Carrefour". Leave empty to search by filters only.

## `sirenOrSiretList` (type: `array`):

Look up specific companies by SIREN (9 digits) or SIRET (14 digits). Example: \["380474494"]. Can be combined with the search filters below.

## `activityCodes` (type: `array`):

Main activity codes of the company. Format 62.01Z. Example: \["62.01Z", "62.02A"]. Several codes are combined with OR.

## `postcodes` (type: `array`):

5-digit postcodes of the head office. Example: \["75008", "69003"].

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

Département codes. Example: \["75", "2A", "971"]. Narrowing by département also lets you go past the API's 10,000-results-per-search cap.

## `regions` (type: `array`):

INSEE region codes: 11 Île-de-France, 24 Centre-Val de Loire, 27 Bourgogne-Franche-Comté, 28 Normandie, 32 Hauts-de-France, 44 Grand Est, 52 Pays de la Loire, 53 Bretagne, 75 Nouvelle-Aquitaine, 76 Occitanie, 84 Auvergne-Rhône-Alpes, 93 Provence-Alpes-Côte d'Azur, 94 Corse, 01-06 overseas.

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

INSEE legal-form codes (nature juridique). Examples: 5710 SAS, 5499 SARL, 5720 SASU, 1000 sole trader, 9220 association.

## `headcountBands` (type: `array`):

INSEE headcount 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 (1,000-1,999), 51 (2,000-4,999), 52 (5,000-9,999), 53 (10,000+).

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

PME (small/medium), ETI (mid-cap), GE (large group).

## `labels` (type: `array`):

Only companies carrying ALL selected labels or statuses.

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

Active companies only (default), ceased companies only, or both.

## `createdFrom` (type: `string`):

Earliest company creation date, YYYY-MM-DD. Filtered by the scraper (the API has no date filter), so combine it with a narrow search such as a NAF code and département.

## `createdTo` (type: `string`):

Latest company creation date, YYYY-MM-DD.

## `splitLargeSearches` (type: `boolean`):

The register API returns at most 10,000 companies per search. When on and no département or postcode is set, the scraper repeats the search for each département to go beyond the cap.

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

Stop after this many companies. You are charged per company saved.

## Actor input object example

```json
{
  "activityCodes": [
    "62.01Z"
  ],
  "departments": [
    "75"
  ],
  "status": "active",
  "splitLargeSearches": true,
  "maxItems": 10
}
```

# Actor output Schema

## `results` (type: `string`):

The scraped items in the default dataset.

## `summary` (type: `string`):

Counts, stop reason and non-fatal errors for this run (OUTPUT record).

# 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 = {
    "activityCodes": [
        "62.01Z"
    ],
    "departments": [
        "75"
    ],
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("actorfactory/french-companies").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 = {
    "activityCodes": ["62.01Z"],
    "departments": ["75"],
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("actorfactory/french-companies").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 '{
  "activityCodes": [
    "62.01Z"
  ],
  "departments": [
    "75"
  ],
  "maxItems": 10
}' |
apify call actorfactory/french-companies --silent --output-dataset

```

## MCP server setup

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

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/SF5ZLDKTdJfQdxD6s/builds/hNVtBxK6WzEkq8cvH/openapi.json
