# France INSEE Sirene Companies: Search by NAF Code (`plain-build/france-sirene-companies-scraper`) Actor

Active French limited companies from Sirene and the business register; search by NAF code, department, postcode or name. Lists 10 companies by default: SIREN, legal form, NAF code, size band, head office, status; turn on Only new companies for daily runs. No sole traders or opt-outs. No key.

- **URL**: https://apify.com/plain-build/france-sirene-companies-scraper.md
- **Developed by:** [Plain Build](https://apify.com/plain-build) (community)
- **Categories:** Lead generation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.55 / 1,000 results

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

## France Sirene Companies: Search by NAF and Region

This France company scraper returns French limited companies from the official Sirene company search, by name, NAF activity code, department or postcode, with SIREN, legal form, NAF code, size band, company category, creation date, head office address and status. No login, no key. USD 3.00 per 1,000 results (USD 2.55 on Silver and above); errors and empty runs are not charged.

### What it does

French limited companies from the official state company search (Sirene and the business register): name, SIREN, legal form, NAF code, size band, creation date, head office and status, by name, NAF code, department or postcode. No sole traders. No login, no key.

The data comes from Recherche d'entreprises (api.gouv.fr) through its official API (https://recherche-entreprises.api.gouv.fr/docs/). This Actor is not affiliated with, endorsed by or sponsored by Recherche d'entreprises (api.gouv.fr). It reads only that API, at most 2 requests at a time, and it checks robots.txt before the first request to each host.

### Who it is for

- Sales and business-development teams selling to French companies: a list of companies by activity (NAF) and region, with size band and head office, to qualify accounts.
- Market researchers and analysts: count and profile the companies of a sector in a department, with creation dates and size bands.
- Data teams enriching a CRM: SIREN numbers, legal forms and status from the official source, on a schedule.
- Developers: JSON rows with stable fields (source_id, siren, activity_code) from an official API, no key to manage.

### Key features

- Search by company name or words, NAF activity codes, departments and postcodes, active only or with ceased companies
- Columns include siren, company name, legal form, NAF code and section, headcount band, company category (PME, ETI, GE), creation date, head office address, postcode, city, department and status
- Only-new-companies option: with new_since_last_run on, only companies not delivered before for the same search are delivered and charged
- Limited companies only; companies that objected to commercial use are left out and never charged
- No login, no key; the official French state API only, at most 2 requests at a time

### How it works

The Actor calls the French state's company search API (recherche-entreprises.api.gouv.fr, run by DINUM on INSEE Sirene and the national business register), with your words, NAF activity codes, departments, postcodes and the five limited-company legal forms as filters (departments and postcodes match any establishment), 25 companies a request, up to the API's 10,000. It asks only for the company and its head office, never for directors. It leaves out companies that objected to commercial use of their register data, companies in partial dissemination, and names that read as a person's, all uncharged and counted in one item. It waits 200 ms between requests, under the API's 7 requests a second. A page the API answers with a reached limit (HTTP 429) is asked again up to 3 times after the wait the API names (at most 10 seconds); a page that fails otherwise is asked again after 1, 2 and 4 seconds. A search that still cannot go on ends the run as failed, after the companies already delivered.

### How to try it

1. Open the Input tab. The prefilled input returns 25 active computer-programming companies (NAF 62.01Z) with an establishment in Paris.
2. Click Start. A run usually finishes in under a minute.
3. Open the Output tab to see the results as a table, or export them as JSON, CSV or Excel.

The search returns at most 10,000 companies, 25 a request. A run that reaches the 10,000th result of a wider search ends with a `result_cap` item in the errors dataset; a run that Maximum results stops earlier does not. Add an activity code, a department or a postcode.

Only limited companies are delivered: SARL, SA, SAS and the European company (INSEE legal categories 5499, 5599, 5699, 5710, 5800). Sole traders and other natural persons, partnerships, associations and public bodies are never asked for. Directors are never read.

Some companies are left out and not charged; one uncharged `dropped` item per run gives their count by reason, without names:

- the company objected to commercial use of its register data (`opposition_diffusion_commerciale`, Code de commerce article R123-320);
- its data are in partial dissemination (INSEE "diffusion partielle");
- its name reads as a person's full name.

A run can therefore deliver fewer companies than the search found, often far fewer: in a search for software companies (NAF 62.01Z) with an establishment in Paris on 18 Nov 2026, 239 of the 450 companies read (18 pages of 25) had the objection; 1 was in partial dissemination, 200 were delivered and 10 were held back by Maximum results.

Departments and postcodes match the company's establishments, as the source filters them: a company with a branch in Paris and its head office in Neuilly-sur-Seine matches department 75, and its row shows the head office.

- For a daily list of new companies, schedule a run with `new_since_last_run` on. Each search has its own memory, a key-value store named `france-sirene-companies-scraper-state` in your account. Delete it to start again.
- Two runs at the same time can deliver and charge the same company, so leave a gap between scheduled runs.

The data come from the French state's company search (DINUM), built on INSEE's Sirene and the national business register (RNE), under the Licence Ouverte 2.0. When you publish them, credit the source and its date of last update, for example "Source: INSEE (www.insee.fr), Sirene, and INPI, RNE, via annuaire-entreprises.data.gouv.fr, updated \<updated_at>".

The name check uses derived data, not official statistics: Statistics Norway (SSB) table 10501 and the Finnish Digital and Population Data Services Agency (DVV) first names, both CC BY 4.0, INSEE's Fichier des prénoms (France, Licence Ouverte 2.0, edition of 4 July 2023), and Czech Statistical Office data, plus hand-written names.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `query` | string | "" | Words to look for in the company name or address, for example boulangerie or the name of a group. A search that reads as a person's name, or a SIREN or SIRET number (the source then ignores every filter), is refused, because the source also searches directors. A single surname is not refused and also matches directors' names. Leave empty to search by the filters below only. |
| `activity_codes` | array | \[] | NAF rev. 2 codes with the dot, for example 62.01Z (computer programming) or 10.71C (bakeries). Leave empty for all activities. |
| `departments` | array | \[] | Department numbers, for example 75 (Paris), 69 (Rhône), 2A (Corse-du-Sud) or 971. A company matches when one of its establishments is there; its head office can be elsewhere. Leave empty for all of France. |
| `postcodes` | array | \[] | Five-digit postcodes, for example 69002. A company matches when one of its establishments is there. Leave empty for all. |
| `legal_forms` | array | \[] | INSEE legal category codes, from these five: 5499 (SARL), 5599 (SA with a board), 5699 (SA with a directorate), 5710 (SAS), 5800 (European company). Leave empty for all five. |
| `include_ceased` | boolean | false | Off returns only active companies. On returns ceased ones too, with status ceased. |
| `new_since_last_run` | boolean | false | Deliver and charge only companies this Actor has not delivered to you before for the same search. A company held back by Maximum results or your spending limit comes in the next run if the search still reaches it. Delivered companies are remembered in a key-value store named france-sirene-companies-scraper-state in your account. |
| `max_items` | integer | 10 | How many results to return at most, from 1 to 10000. |

### Output

Each result has these fields. Missing values are `null`, never a different type.

| Field | Type | Description |
|---|---|---|
| `item_type` | string | Always `company` |
| `source_id` | string | FR: and the SIREN |
| `company_name` | string | Registered name (raison sociale) |
| `acronym` | string or null | The company's acronym (sigle), when it has one; empty when it reads as a person's name |
| `siren` | string | SIREN, the nine-digit company number |
| `legal_form` | string or null | Legal form by INSEE's label, in French |
| `legal_form_code` | string | INSEE legal category code: 5499, 5599, 5699, 5710 or 5800 |
| `activity_code` | string or null | Main activity, NAF rev. 2 code, for example 62.01Z |
| `activity_section` | string or null | NAF section letter, for example J |
| `headcount_band` | string or null | INSEE headcount band of the company, for example 20-49; empty when INSEE has none |
| `headcount_year` | string or null | Year of the headcount band |
| `company_category` | string or null | PME, ETI or GE (INSEE's size category) |
| `created_on` | string or null | Creation date, YYYY-MM-DD |
| `ceased_on` | string or null | Date the company ceased, YYYY-MM-DD, when it did |
| `status` | string | active or ceased |
| `establishments_open` | integer or null | Number of open establishments |
| `head_office_address` | string or null | Head office address as one line: number, street, postcode and city, without the address complement (where a recipient such as chez or c/o sits) |
| `postcode` | string or null | Head office postcode |
| `city` | string or null | Head office city |
| `department` | string or null | Head office department |
| `updated_at` | string or null | Last update of the record at the source, YYYY-MM-DD |
| `url` | string | The company on annuaire-entreprises.data.gouv.fr |
| `source_url` | string | The record on the source site |
| `fetched_at` | string | When the record was fetched, ISO 8601 UTC |
| `actor_version` | string | The build that produced the record |

Example item:

```json
{
  "item_type": "company",
  "source_id": "<source_id>",
  "company_name": "<company_name>",
  "acronym": "<acronym>",
  "siren": "<siren>",
  "legal_form": "<legal_form>",
  "legal_form_code": "<legal_form_code>",
  "activity_code": "<activity_code>",
  "activity_section": "<activity_section>",
  "headcount_band": "<headcount_band>",
  "headcount_year": "<headcount_year>",
  "company_category": "<company_category>",
  "created_on": "<created_on>",
  "ceased_on": "<ceased_on>",
  "status": "<status>",
  "establishments_open": 0,
  "head_office_address": "<head_office_address>",
  "postcode": "<postcode>",
  "city": "<city>",
  "department": "<department>",
  "updated_at": "<updated_at>",
  "url": "<url>",
  "source_url": "<source_url>",
  "fetched_at": "2026-11-04T09:30:00Z",
  "actor_version": "0.2.1"
}
```

Free-text fields are cleaned before delivery: email addresses, phone numbers, @handles and person names introduced by words such as "contact", "recruiter", "founder" or "manager" are replaced with `[removed]`. The cleaning follows fixed rules, so a name written elsewhere in the text, or in lower case, can remain.

### What it does not do

- Limited companies only (SARL, SA, SAS, European company): no sole traders, partnerships, associations or public bodies. No directors, phones or emails.
- One search stops at 10,000 companies. No filter by creation date: filter the created_on column yourself.
- Companies that objected to commercial use of their register data are left out: more than half in a Paris software search of 18 Nov 2026.
- Departments and postcodes match any establishment of a company, not only the head office; a search that reads as a person's name or is a SIREN or SIRET number is refused, while a single surname is not and also matches directors.
- A company name with a French first name next to a word that is not an activity word (Conseil, Transports) reads as a person's name and is left out, uncharged: in one search of 200 Paris software companies on 18 Nov 2026, 2 were left out this way, such as one with Aria in it. A company name that starts with France next to a plain word is left out too (France Galop, France Pizza); that sample had none.
- A person's name whose family name is also an activity word (Bureau, Château, Marché) can pass as a company's name. France counts as a first name only as the first word, so a name with France later (Dupont France, Societe France Dupont) is not caught; nor is a family name joined before a first name (Dupont-Élodie), or France joined to the next word (France-Galop).
- A title before a plain word (Monsieur, Madame, Maître, Docteur, Mr, Mme, Me, Dr; Me not after a subject or verb such as Ça or Take) and a first name joined by a hyphen read as a person's name and are left out, uncharged. That includes brand-like names (Madame Figaro, Mr Propre, Monsieur Cuisine, Madame Vacances) and place names that start with a first name (Jean-Jaurès Conseil).

### How much it costs

You pay per result delivered to the default dataset. Errors and empty results are written to a separate `errors` dataset and are never charged.

| Plan tier | Price per 1,000 results |
|---|---|
| Free and Bronze | USD 3.00 |
| Silver and above | USD 2.55 |

Example: a run that delivers 1,000 results costs USD 3.00 on the Free and Bronze tiers and USD 2.55 on Silver and above, plus the platform's start event of USD 0.00005. If you set a maximum cost per run, the Actor stops before it would go over it and delivers nothing it cannot charge for.

### Other Actors in this family

This Actor is part of a family of job and public-data scrapers built on the same core: one result per charge, a separate uncharged errors dataset, and no person fields. Links follow as the other Actors are published.

### FAQ and support

- **Is there personal data in the output?** No personal data by design. One row is a limited company, never a person. Sole traders and other natural persons are never asked for, directors are never read, a company whose name reads as a person's full name is left out, and companies in partial dissemination are left out. The check uses a list of common given names, so it can miss a rare name and can leave out a company named like a person.
- **Is the data accurate?** Accuracy is not guaranteed. The data are those of Sirene and the national business register as the state's company search serves them, usually updated daily; size bands are INSEE's estimates for the year shown.
- **Who runs this Actor?** It is not affiliated with Recherche d'entreprises (api.gouv.fr).
- **How is the data collected?** The official API or open data is used where the source offers it. This Actor uses only the official Recherche d'entreprises (api.gouv.fr) API.
- **Do I need an INSEE API key?** No. The Actor uses the French state's open company search, which needs no key and no login. It serves the same Sirene data as INSEE's API, plus the national business register's objection flag. To look up companies you know by SIREN, use the Norway, Czech & Finland Company Register Scraper (nordic-czech-company-registers-scraper) with company_numbers such as FR:552100554 and your own INSEE key.
- **Why are some companies left out?** Three rules, all uncharged and counted in one dropped item without names: a company that objected to commercial use of its register data (Code de commerce article R123-320), a company in INSEE's partial dissemination, and a company whose name reads as a person's full name. Only limited companies are asked for, so sole traders never appear.
- **How do I get more than 10,000 companies?** The API stops at 10,000 results for one search, and the Actor then writes an uncharged result_cap item. Split the search by department, postcode or activity code and run each part.
- **What may I not use the data for?** Use it within French and EU law on direct marketing; the Actor leaves out the companies that objected, but your own use still has to meet the GDPR and the French rules on prospecting. Credit the source when you publish the data, as the Licence Ouverte 2.0 asks.
- **Is it legal to use this data?** The data are open data under the Licence Ouverte 2.0, which allows commercial reuse with credit to the source. The company search API is open and needs no key. This is an open reading, not a legal opinion. Not affiliated with INSEE, INPI, DINUM or the French state.
- **What may I do with the data?** You are responsible for complying with the law and with the source's terms when you use the data.
- **Something is broken.** Open an issue on the Issues tab with the run link and your input. Issues are answered by the automated maintainer.

# Changelog

This Actor's version history is a separate document: https://apify.com/plain-build/france-sirene-companies-scraper/changelog.md

# Actor input Schema

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

Words to look for in the company name or address, for example boulangerie or the name of a group. A search that reads as a person's name, or a SIREN or SIRET number (the source then ignores every filter), is refused, because the source also searches directors. A single surname is not refused and also matches directors' names. Leave empty to search by the filters below only.

## `activity_codes` (type: `array`):

NAF rev. 2 codes with the dot, for example 62.01Z (computer programming) or 10.71C (bakeries). Leave empty for all activities.

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

Department numbers, for example 75 (Paris), 69 (Rhône), 2A (Corse-du-Sud) or 971. A company matches when one of its establishments is there; its head office can be elsewhere. Leave empty for all of France.

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

Five-digit postcodes, for example 69002. A company matches when one of its establishments is there. Leave empty for all.

## `legal_forms` (type: `array`):

INSEE legal category codes, from these five: 5499 (SARL), 5599 (SA with a board), 5699 (SA with a directorate), 5710 (SAS), 5800 (European company). Leave empty for all five.

## `include_ceased` (type: `boolean`):

Off returns only active companies. On returns ceased ones too, with status ceased.

## `new_since_last_run` (type: `boolean`):

Deliver and charge only companies this Actor has not delivered to you before for the same search. A company held back by Maximum results or your spending limit comes in the next run if the search still reaches it. Delivered companies are remembered in a key-value store named france-sirene-companies-scraper-state in your account.

## `max_items` (type: `integer`):

How many results to return at most. You pay per result delivered.

## Actor input object example

```json
{
  "query": "",
  "activity_codes": [
    "62.01Z"
  ],
  "departments": [
    "75"
  ],
  "postcodes": [],
  "legal_forms": [],
  "include_ceased": false,
  "new_since_last_run": false,
  "max_items": 25
}
```

# Actor output Schema

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

One item per company.

## `errors` (type: `string`):

Records that could not be delivered, and queries with no results. Not charged.

# 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 = {
    "activity_codes": [
        "62.01Z"
    ],
    "departments": [
        "75"
    ],
    "max_items": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("plain-build/france-sirene-companies-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 = {
    "activity_codes": ["62.01Z"],
    "departments": ["75"],
    "max_items": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("plain-build/france-sirene-companies-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 '{
  "activity_codes": [
    "62.01Z"
  ],
  "departments": [
    "75"
  ],
  "max_items": 25
}' |
apify call plain-build/france-sirene-companies-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,plain-build/france-sirene-companies-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/sAHR43PAIMmo879Hs/builds/W08NHM4FRA8WYOpRc/openapi.json
