# France Company Search — SIRENE, officers, revenue (`openregistry/france-company-search`) Actor

Find French companies by activity (NAF), location, size and creation date from the official government open-data API. Returns SIREN/SIRET, address, officers, revenue. Skips companies that opted out of commercial reuse.

- **URL**: https://apify.com/openregistry/france-company-search.md
- **Developed by:** [Mahé Perrin](https://apify.com/openregistry) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 75.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$4.00 / 1,000 company delivereds

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

## France Company Search — SIRENE, officers, revenue

Find French companies by activity, place, size and age, straight from the **official French government open-data API** (`recherche-entreprises.api.gouv.fr`, SIRENE + national company register, Etalab 2.0 licence).

No login, no cookies, no proxy: this Actor reads a public API, so runs are fast and do not break when a website changes its layout.

### What you get for each company

| Field | Example |
|---|---|
| `name`, `legalName`, `acronym` | C-DIGITAL LABS |
| `siren`, `siret` (head office), `vatNumber` | 885126144, 88512614400017, FR49885126144 |
| `nafCode`, `legalFormCode`, `companyCategory` | 62.01Z, 5710, PME |
| `employeeRange`, `employeeRangeYear`, `isEmployer` | 11 (10–19 employees), 2024 |
| `createdAt`, `status` | 2020-07-07, active |
| `address`, `postalCode`, `city`, `department`, `latitude`, `longitude` | head office |
| `revenue`, `netIncome`, `financialYear` | latest published accounts, when the company files them |
| `officers` | name and role, as published in the register |
| `matchingEstablishments` | the branches that matched your location filter |
| `sourceUrl` | link to the official company page |

### Typical uses

- Build a B2B prospect list: *all software companies with 10–49 employees in Brittany*.
- Watch new businesses: *restaurants created in Lyon since 1 September*.
- Enrich a CRM from a list of names or SIREN numbers.
- Market sizing by activity code and department.

### Input

Give at least one criterion: a keyword, activity codes (NAF), departments or postal codes. Then narrow with headcount range, size category, legal form and creation dates. `maxResults` stops the run, so you control the cost.

```json
{
  "nafCodes": ["62.01Z"],
  "departments": ["35", "44"],
  "employeeRanges": ["11", "12"],
  "createdAfter": "2022-01-01",
  "maxResults": 500
}
```

### Opt-outs are respected by default

In France, a company can register an opposition to the reuse of its data for prospecting. A large share of small businesses did. **This Actor skips them by default**, so the list you get can be used for outreach. If your use is not prospecting (research, compliance, due diligence), turn on *Include companies that opted out*: every row then carries `commercialOptOut` so you can tell them apart. You are responsible for your own use of the data, including GDPR when you contact people.

### Limits to know

- The official API returns at most 10,000 companies per search. For more, run one search per department or per activity code; the Actor tells you when this limit was hit.
- A location filter matches any establishment in that place, so a company headquartered elsewhere appears if it has a branch there (see `matchingEstablishments`).
- Revenue is present only for companies that publish their accounts.
- Phone numbers, e-mails and websites are not part of the official register and are not returned.

### Pricing

Pay per company delivered. Skipped companies are never charged.

### Step-by-step guide

- [Exporter une liste d'entreprises par activité et par département en Excel (SIRENE, données officielles)](https://app.mahedesk.com/outils/guides/exporter-liste-entreprises-excel/) (en français)

# Actor input Schema

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

Company name, brand, SIREN/SIRET, officer name or address. Optional if you use a filter below.

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

French activity codes, e.g. 62.01Z (software), 10.71C (bakeries), 56.10A (restaurants).

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

Two- or three-digit department codes, e.g. 75, 35, 2A, 974. Matches any establishment located there.

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

Five-digit postal codes, e.g. 35000.

## `employeeRanges` (type: `array`):

INSEE 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 = 1000-1999, 51 = 2000-4999, 52 = 5000-9999, 53 = 10000+.

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

Official INSEE size category.

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

INSEE legal form codes, e.g. 5710 (SAS), 5499 (SARL), 1000 (sole proprietor).

## `createdAfter` (type: `string`):

Keep companies created on or after this date (YYYY-MM-DD).

## `createdBefore` (type: `string`):

Keep companies created on or before this date (YYYY-MM-DD).

## `activeOnly` (type: `boolean`):

Leave on to exclude closed companies.

## `includeOfficers` (type: `boolean`):

Officers as published in the official register (name, role).

## `includeOptedOut` (type: `boolean`):

By default, companies that registered an opposition to the reuse of their data for prospecting are skipped. Turn on only for non-prospecting uses (research, compliance, due diligence); each row then carries commercialOptOut.

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

The run stops once this many companies are delivered. One search returns at most 10,000 (official API limit).

## Actor input object example

```json
{
  "query": "boulangerie",
  "departments": [
    "35"
  ],
  "activeOnly": true,
  "includeOfficers": true,
  "includeOptedOut": false,
  "maxResults": 100
}
```

# 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",
    "departments": [
        "35"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("openregistry/france-company-search").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",
    "departments": ["35"],
}

# Run the Actor and wait for it to finish
run = client.actor("openregistry/france-company-search").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",
  "departments": [
    "35"
  ]
}' |
apify call openregistry/france-company-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,openregistry/france-company-search"
        }
    }
}
```

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/ao31a7HuIYjAuvgoM/builds/sejdMX0BTsdJF0Qeq/openapi.json
