# SIRENE Scraper: French Companies by NAF Code (SIREN, SIRET) (`polderdata/sirene-companies-scraper`) Actor

Export French companies from the official SIRENE register by NAF/APE code, postal code, department, size or revenue: SIREN, SIRET, address, GPS, NAF, headcount, revenue, VAT. Complete exports beyond 10,000. CSV, JSON, Excel.

- **URL**: https://apify.com/polderdata/sirene-companies-scraper.md
- **Developed by:** [Polder Data](https://apify.com/polderdata) (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

from $1.60 / 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

## French Company Register Scraper (SIRENE): SIREN, SIRET, NAF

Export **French companies from the official SIRENE register** by **activity code (NAF/APE)**, **postal code, department or region**, headcount, revenue or name: SIREN, SIRET, legal name, trade name, legal form, NAF code, **employee band**, **revenue and net income**, VAT number, **head-office address with GPS coordinates**, creation date and labels. One row per company, or one row per establishment. Export to **CSV, JSON or Excel**, or use it via **API**.

*Base SIRENE des entreprises françaises : export des entreprises par code NAF/APE, code postal, département, effectif ou chiffre d'affaires.*

**Complete exports, not just the first 10,000.** The government API stops at 10,000 results per search. This Actor splits larger searches automatically (by department, commune, activity and size band) and de-duplicates the parts, so a search like *all active restaurant companies in Paris* returns all of them: **18,012 companies in about 7 minutes** (tested on Apify 2026-11-11).

> Unofficial tool. Not affiliated with INSEE, the Annuaire des Entreprises or the French government. The data comes from the open API [recherche-entreprises.api.gouv.fr](https://recherche-entreprises.api.gouv.fr) (no key needed). **No personal data:** sole proprietors (entrepreneurs individuels) and other records that name private persons are left out, and directors are never collected.

### What data you get

One row per company (default) or per establishment.

| Field | Example | Description |
|---|---|---|
| `siren`, `siret` | `478586118`, `47858611800026` | Company number and the number of the establishment in the row (head office in company rows) |
| `name`, `commercialName`, `acronym` | `LE DISTIL`, `CHEZ BOUBOULE` | Legal name, trade name/shop sign, acronym |
| `legalFormCode`, `legalForm` | `5499`, `Société à responsabilité limitée (sans autre indication)` | INSEE legal form |
| `activityCode`, `activity` | `56.10A`, `Restauration traditionnelle` | Main activity (NAF rév. 2 / APE) |
| `sectionCode`, `section` | `I`, `Hébergement et restauration` | NAF section |
| `employeeBandCode`, `employeeBand`, `employeeBandYear` | `11`, `10-19`, `2024` | Headcount band of the company and its reference year |
| `companyCategory` | `PME` | PME, ETI or GE |
| `status`, `creationDate`, `closureDate` | `active`, `2004-09-21`, `null` | Company status and dates |
| `establishmentsCount`, `openEstablishmentsCount` | `5`, `4` | Number of establishments |
| `vatNumber` | `FR16852365741` | Intra-EU VAT number as published (about 8 in 10 companies) |
| `revenueEur`, `netIncomeEur`, `financialYear` | `11656794`, `-393576`, `2023` | Latest published revenue and net income (about a third of companies publish them) |
| `labels` | `["organic", "rge"]` | Labels and certifications (organic, RGE, Qualiopi, ESS, association, société à mission, training provider, …) |
| `address`, `postalCode`, `city`, `communeCode` | `46 RUE D'ARGOUT 75002 PARIS`, `75002`, `PARIS`, `75102` | Address of the establishment in the row |
| `department`, `departmentName`, `region`, `regionName`, `country` | `75`, `Paris`, `11`, `Île-de-France`, `France` | Location |
| `latitude`, `longitude` | `48.865889`, `2.343651` | GPS coordinates of the establishment |
| `isHeadOffice`, `siteActivityCode`, `siteActivity`, `siteEmployeeBand`, `siteStatus`, `siteCreationDate` | `true`, `56.10A`, … | The establishment's own activity, headcount band, status and dates |
| `optedOutOfProspecting` | `false` | The company asked that its data not be used for commercial prospecting |
| `registryUpdatedAt`, `sourceUrl`, `scrapedAt` | `2026-11-11T09:46:16`, `https://annuaire-entreprises.data.gouv.fr/entreprise/478586118` | Register update time, official company page, scrape time |

### How to use

1. Choose **what**: one or more **NAF/APE codes** (e.g. `56.10A` restaurants, `62.01Z` software, `43.22A` plumbing, `68.31Z` real estate agencies), a whole **sector**, or a **name/keyword**.
2. Choose **where**: **postal codes** (`75011`), **departments** (`69`, `2A`, `971`), INSEE **commune codes** or **regions**. Optionally filter by **employee band**, **company category**, **revenue** or **labels**.
3. Choose **one row per company** (SIREN, with the head office) or **one row per establishment** (SIRET, every site in your location), click **Start**, and download CSV, Excel or JSON.

Example: plumbing and heating companies with 10–49 employees in the Rhône department:

```json
{
    "activityCodes": ["43.22A", "43.22B"],
    "departments": ["69"],
    "employeeBands": ["11", "12"],
    "maxItems": 5000
}
```

Example: every restaurant site in Lyon (all arrondissements), one row per establishment:

```json
{
    "activityCodes": ["56.10A", "56.10C"],
    "communeCodes": ["69123"],
    "outputLevel": "establishments",
    "maxItems": 20000
}
```

Example: enrich your own list of SIREN/SIRET numbers:

```json
{
    "sirenNumbers": ["552100554", "356000000"],
    "status": "all"
}
```

**Company or establishment rows?** A company row shows the head office. If you search *restaurants in 75011*, a company whose head office is in another arrondissement but which runs a restaurant in 75011 appears with its head-office address. Choose **one row per establishment** to get the address, activity and headcount of each site in your location (e.g. every restaurant of a chain).

### Pricing

You pay per row returned: **$2.00 per 1,000 rows** ($0.002 each), plus Apify's small per-run start fee. 1,000 companies cost **$2.00**; all 18,012 active restaurant companies in Paris cost about **$36**. Skipped records (sole proprietors, opt-outs, duplicates across split searches) are not charged. You never pay more than the **Maximum cost per run** you set in the run options. No proxy is needed, so there are no extra costs.

On the Apify Free plan a run returns at most 100 rows.

### Example output

```json
[
    {
        "siren": "478586118",
        "siret": "47858611800026",
        "isHeadOffice": true,
        "name": "LE DISTIL",
        "commercialName": "CHEZ BOUBOULE",
        "acronym": null,
        "legalFormCode": "5499",
        "legalForm": "Société à responsabilité limitée (sans autre indication)",
        "companyCategory": "PME",
        "activityCode": "56.10A",
        "activity": "Restauration traditionnelle",
        "sectionCode": "I",
        "section": "Hébergement et restauration",
        "employeeBandCode": "11",
        "employeeBand": "10-19",
        "employeeBandYear": 2024,
        "status": "active",
        "creationDate": "2004-09-21",
        "closureDate": null,
        "establishmentsCount": 5,
        "openEstablishmentsCount": 4,
        "vatNumber": null,
        "revenueEur": 0,
        "netIncomeEur": 63760,
        "financialYear": 2018,
        "labels": [],
        "siteActivityCode": "56.10A",
        "siteActivity": "Restauration traditionnelle",
        "siteEmployeeBandCode": "02",
        "siteEmployeeBand": "3-5",
        "siteStatus": "active",
        "siteCreationDate": "2009-06-19",
        "siteClosureDate": null,
        "address": "46 RUE D'ARGOUT 75002 PARIS",
        "postalCode": "75002",
        "city": "PARIS",
        "communeCode": "75102",
        "department": "75",
        "departmentName": "Paris",
        "region": "11",
        "regionName": "Île-de-France",
        "country": "France",
        "latitude": 48.865889016,
        "longitude": 2.3436515796,
        "optedOutOfProspecting": false,
        "registryUpdatedAt": "2026-11-11T09:46:16",
        "sourceUrl": "https://annuaire-entreprises.data.gouv.fr/entreprise/478586118",
        "scrapedAt": "2026-11-11T13:20:56.320Z"
    }
]
```

### Use cases

- **B2B prospect lists:** every company of a trade (NAF code) in a city, department or region, with size band, revenue and head-office address. Companies that refused prospecting are left out by default.
- **Market sizing and territory planning:** count companies and establishments per activity, size and commune; map them with the GPS coordinates.
- **CRM enrichment and KYC:** look up your SIREN/SIRET list and add legal form, NAF code, status, headcount, VAT number and revenue.
- **Monitoring:** schedule a weekly run on a sector and department and compare creation and closure dates to spot new and closed businesses.
- **Supplier and franchise research:** find every site of a chain or of an activity in an area, one row per establishment.

### Integrations

- **API:** start runs and download results with the [Apify API](https://docs.apify.com/api/v2) or the Apify JavaScript/Python clients.
- **Scheduling:** run daily or weekly with Apify Schedules.
- **Webhooks:** get notified when a run finishes.
- **Google Sheets, Make, Zapier, n8n:** send results to your tools via Apify integrations.
- **AI agents (MCP):** let Claude, ChatGPT or any MCP client look up French companies through the [Apify MCP server](https://mcp.apify.com).

### Limits and FAQ

**Where does the data come from? Is it legal?** From the French government's open company search API (recherche-entreprises.api.gouv.fr, Annuaire des Entreprises), which republishes the INSEE SIRENE register and the national business register (RNE) under the open licence (Licence Ouverte / Etalab). The Actor respects the API's published rate limit (it sends at most about 3 requests per second; the limit is 7). You are responsible for using the data in line with applicable law, including the GDPR and French rules on commercial prospecting.

**What is left out, and why?** Records that identify private persons: **sole proprietors** (entrepreneurs individuels, micro-entrepreneurs) and partnerships or joint ownerships between natural persons; records the register publishes only partially at the owner's request; and the list of directors (dirigeants), which is never collected. The run summary (key-value store, `RUN_SUMMARY`) shows how many records were skipped for each reason.

**What does "opted out of commercial prospecting" mean?** About 4 in 10 companies have asked that their register data not be used for commercial prospecting. These are left out by default (`excludeProspectingOptOuts`), so the list is safe for sales outreach. For market research, statistics or KYC you can include them; each row then shows `optedOutOfProspecting`.

**Why no phone numbers or e-mail addresses?** The official register does not publish them.

**How fast is it?** 25 companies per request, about 3 requests per second: 1,000 companies in 25–60 seconds (more when many are skipped as opt-outs), 18,000 in about 7 minutes. Searches with more than 10,000 matches are split automatically; very large exports (a whole sector nationwide) can take an hour or more, so raise the run timeout.

**Can every search be exported completely?** Almost always. A search part that still has more than 10,000 matches after splitting by location, activity and size band (only possible for very broad searches in a single commune) is read up to 10,000, and the run's status message and summary say so.

**Revenue is empty for many companies.** Only companies that publish their accounts have revenue in the register (about one in three). Filtering by revenue therefore keeps only those.

**Corsica commune codes don't work.** The register's commune filter does not support Corsican codes (2A…/2B…); use postal codes or the department codes `2A`/`2B`.

**Something broke?** Open an issue on the Issues tab with your input and it will be looked at promptly.

### Changelog / maintained

Last verified working: 2026-11-11 (Paris, Lyon, Bouches-du-Rhône, Corsica, SIREN lookups). See the changelog tab for changes.

# Changelog

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

# Actor input Schema

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

NAF rév. 2 codes of the company's main activity, e.g. "56.10A" (traditional restaurants), "62.01Z" (software development), "43.22A" (plumbing), "68.31Z" (real estate agencies). "5610A" also works. Several codes = any of them. Full list: https://www.insee.fr/fr/information/2406147

## `activitySections` (type: `array`):

Broad sectors (NAF sections). Use instead of activity codes for a whole sector, e.g. F = construction, I = accommodation and food, J = information and communication.

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

Free-text search on company name, brand and address, e.g. "boulangerie", "Carrefour". Leave empty to filter only by codes and location.

## `sirenNumbers` (type: `array`):

Look up specific companies by SIREN (9 digits) or SIRET (14 digits), e.g. to enrich a CRM list. Returns each company whatever its status. Other filters still apply.

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

5-digit postal codes, e.g. "75011", "69002". Matches companies with an establishment (head office or branch) at that postal code.

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

Department codes, e.g. "75" (Paris), "13" (Bouches-du-Rhône), "2A" (Corse-du-Sud), "971" (Guadeloupe). Matches companies with an establishment there.

## `communeCodes` (type: `array`):

5-digit INSEE commune codes (not postal codes), e.g. "33063" (Bordeaux). Paris, Lyon and Marseille (75056, 69123, 13055) are expanded to their arrondissements. Corsican codes (2A…/2B…) are not supported by the register's filter: use postal codes there.

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

INSEE region codes, e.g. "11" (Île-de-France), "84" (Auvergne-Rhône-Alpes), "93" (Provence-Alpes-Côte d'Azur).

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

Company headcount band from INSEE (reference year shown in each row). Several bands = any of them.

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

INSEE size category: PME (SME), ETI (mid-size), GE (large enterprise).

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

Latest published revenue (chiffre d'affaires) at least this amount. Only about a third of companies publish revenue; those without it are left out when you use this filter.

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

Latest published revenue at most this amount.

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

Only companies with all of the selected labels.

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

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

## `outputLevel` (type: `string`):

"Company": one row per company (SIREN) with its head office. "Establishment": one row per establishment (SIRET) in your location, e.g. every restaurant of a chain in Paris 11e, with the site's own address, activity and headcount. Establishment rows need a location filter.

## `excludeProspectingOptOuts` (type: `boolean`):

About 4 in 10 companies have asked that their register data not be used for commercial prospecting (field optedOutOfProspecting). On by default, so lists are safe for sales outreach. Turn it off for market research, KYC or statistics; every row then shows the flag.

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

Stop after this many rows. Searches with more than 10,000 matches are split automatically (by location, activity and size), so large exports are complete.

## `proxyConfiguration` (type: `object`):

Not needed: this is an open government API. Only set a proxy if your runs get rate-limited for a long time.

## Actor input object example

```json
{
  "activityCodes": [
    "56.10A"
  ],
  "postalCodes": [
    "75011"
  ],
  "status": "active",
  "outputLevel": "companies",
  "excludeProspectingOptOuts": true,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `runSummary` (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 = {
    "activityCodes": [
        "56.10A"
    ],
    "postalCodes": [
        "75011"
    ],
    "maxItems": 100,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("polderdata/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 = {
    "activityCodes": ["56.10A"],
    "postalCodes": ["75011"],
    "maxItems": 100,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("polderdata/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 '{
  "activityCodes": [
    "56.10A"
  ],
  "postalCodes": [
    "75011"
  ],
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call polderdata/sirene-companies-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,polderdata/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/dt3VLGNX3sGtp0KeI/builds/6pe1mwyWQa7YR7D7h/openapi.json
