# French Companies (SIRENE) Search and New-Company Lists (`mossfetch/france-companies-sirene`) Actor

Search French companies on the official SIRENE register by keyword, NAF code, department, size, legal form or creation date. Returns SIREN, name, NAF, size, head office, VAT number. $3 per 1,000 companies; a 10-company test costs about $0.03.

- **URL**: https://apify.com/mossfetch/france-companies-sirene.md
- **Developed by:** [Mossfetch](https://apify.com/mossfetch) (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 $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/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 (SIRENE) Search and New-Company Lists

Search French companies by keyword, NAF code, department, postcode, size band, legal form, status and creation date. Returns **company-level** rows only: SIREN, name, NAF, legal form, creation date, head-office address, size band, status and VAT number. Use when you need lists of French companies, or newly created ones, by activity and region. Company-level only: no people and no sole traders. Not for the UK or other countries. A French companies database and SIRENE API for SIREN lookup, new French companies, a French company list by NAF code and B2B leads France, an Infogreffe alternative and Pappers alternative.

### Who it's for

Sales and marketing teams building French lead lists, market researchers sizing a sector, and agencies finding newly created companies.

### Data source and licence

All data comes from the official, open **API Recherche d'entreprises** (`recherche-entreprises.api.gouv.fr`, DINUM), which republishes INSEE SIRENE data. Licence: **Licence Ouverte 2.0 (Etalab)**, which allows commercial reuse with attribution. Every output row carries `dataSource`, `licence`, `attribution` and a `sourceUrl`. No scraping, no API key.

### What is deliberately left out

- **No `dirigeants` / officers / any named people.**
- **Sole traders (legal form 1000, entrepreneur individuel)** are excluded, because their name is a person's name.
- **Companies that opted out of commercial prospecting** (`opposition_diffusion_commerciale`) and non-fully-diffusible records are excluded.
  So you may get fewer rows than the API's total count; this is by design.

### Input

| Field | Meaning |
|---|---|
| `query` | Keyword |
| `nafCodes` | NAF rev. 2 codes, e.g. `62.01Z` |
| `departments` / `postcodes` | Geography |
| `sizeBands` | INSEE employee bands (`NN`, `00`, `01`, ... `53`) |
| `companyCategory` | `PME`, `ETI`, `GE` |
| `legalForms` | e.g. `5710` (SAS), `5499` (SARL) |
| `status` | `active` (default), `ceased`, `any` |
| `createdFrom` / `createdTo` / `newCompaniesDays` | "New companies" mode |
| `maxItems` | Cap on rows (and charges). Default 100 |

At least one filter is required.

**Geography filters match any establishment.** `departments` and `postcodes` return companies with at least one establishment (head office or branch) in that area, so a company's head office can be elsewhere. To keep only companies headquartered there, filter on `headOfficeDepartment` or `headOfficePostcode` in the output.

#### New-companies mode: read this

The source API has no creation-date filter and no sort order, so dates are applied **after** fetching. The API also caps every query at 10,000 results. For good coverage, combine dates with a department, postcode, NAF code or keyword. With dates only, the actor sweeps every department (and splits by activity section when a department hits the cap), which is slow and may still be partial; the log says when a query was truncated.

### Output

One row per company (see Sample output below). VAT: taken from the API when present, otherwise computed from the SIREN (`vatNumberSource` says which).

### Limits and pricing

Requests are spaced to stay under the API's 7 calls/s and retry with backoff on HTTP 429/5xx. Pay per event: **$3 per 1,000 companies** (event `company-result`).

#### Pricing example

$3 per 1,000 companies. 500 new software companies in Paris cost $1.50. The prefilled test (10 companies) costs about $0.03.

### Sample output

A real row (shortened):

```json
{
  "siren": "519037253",
  "name": "TRUSTTEAM (TRUSTTEAM)",
  "nafCode": "62.01Z",
  "legalFormCode": "5710",
  "creationDate": "2009-12-23",
  "status": "active",
  "sizeBand": "100-199",
  "companyCategory": "PME",
  "vatNumber": "FR65519037253",
  "headOfficePostcode": "54320",
  "headOfficeCity": "MAXEVILLE",
  "headOfficeDepartment": "54",
  "sourceUrl": "https://annuaire-entreprises.data.gouv.fr/entreprise/519037253",
  "licence": "Licence Ouverte 2.0 (Etalab)",
  "attribution": "Source: API Recherche d'entreprises, INSEE SIRENE data, Licence Ouverte 2.0 (Etalab)"
}
```

### FAQ

**Why do I get fewer rows than the register's total?** Sole traders and companies that opted out of commercial prospecting are excluded by design.

**Why is the head office outside my department?** Department and postcode filters match any establishment. Filter `headOfficeDepartment` in the output.

**Are directors included?** No. No officers or named people are returned.

**What does `vatNumberSource` mean?** `api` = given by the register; `computed` = calculated from the SIREN.

### Use it from code (API)

```js
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('mossfetch/france-companies-sirene').call({ nafCodes: ['62.01Z'], departments: ['75'], maxItems: 10 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

### Run it from Make, n8n or Zapier

Run this Actor from Make, n8n or Zapier with an Apify account: add the Apify "Run Actor" step and select or enter the Actor `mossfetch/france-companies-sirene` (Actor ID `jVyAPuI6uWvkxqha0`). Pass the input as JSON, then read the dataset in the next step. Nothing else to install.

# Actor input Schema

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

Free-text search on company name, address and activity. Optional if you use other filters.

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

Main-activity codes (NAF rev. 2), for example `62.01Z` for software development. Matches any code.

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

Department codes: `75` Paris, `69` Rhône, `2A`, `971`. Matches companies with **any establishment** there; filter `headOfficeDepartment` in the output for head offices only.

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

Head-office postcodes, e.g. 75008.

## `sizeBands` (type: `array`):

INSEE employee size bands: NN (not an employer), 00 (0 employees), 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+). Leave empty for all.

## `companyCategory` (type: `string`):

INSEE category: PME (small/medium), ETI (mid-size), GE (large).

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

INSEE legal-form codes (e.g. 5710 = SAS, 5499 = SARL). Sole traders (1000) are always excluded.

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

Administrative status of the company.

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

Only companies created on or after this date. The source API has no date filter, so this is applied after fetching; combine it with a department, NAF or keyword filter for best coverage.

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

Only companies created on or before this date.

## `newCompaniesDays` (type: `integer`):

Only companies created in the last N days. Combine with a department or NAF code; dates alone sweep every department and are slow.

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

Maximum rows returned and charged. $3 per 1,000, so 100 companies cost $0.30.

## Actor input object example

```json
{
  "query": "boulangerie",
  "nafCodes": [
    "62.01Z"
  ],
  "departments": [
    "75",
    "69"
  ],
  "sizeBands": [
    "11",
    "12"
  ],
  "companyCategory": "",
  "status": "active",
  "newCompaniesDays": 30,
  "maxItems": 10
}
```

# Actor output Schema

## `companies` (type: `string`):

French companies matching the filters, one company-level row each. No named people.

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

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

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

```

## MCP server setup

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