# French Company Search: SIRENE Register Data (`ozet/french-company-search-sirene`) Actor

Search French companies in the official SIRENE and RNE registers by name, SIREN, SIRET, NAF code, postcode or department. Returns legal form, headcount band, head office, VAT number, finances and status. Batch runs, REST and MCP tool calls.

- **URL**: https://apify.com/ozet/french-company-search-sirene.md
- **Developed by:** [OZET](https://apify.com/ozet) (community)
- **Categories:** Business, Lead generation, MCP servers
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.40 / 1,000 company record (batch)s

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

### What does French Company Search: SIRENE Register Data do?

This Actor queries France's official business register API (`API Recherche d'entreprises`, INSEE SIRENE and INPI RNE) over plain HTTP with no API key. Search by company name, 9-digit SIREN, 14-digit SIRET, NAF/APE code, postcode, or department to extract legal form, headcount band, head office address, VAT number, finances, and optional directors as JSON, CSV, or Excel.

The default example input `{"query": "doctolib", "maxResults": 10}` returns 3 records in about 3 seconds. Sibling OZET Actors: [SEC Form D Filings: Private Placement Data](https://apify.com/ozet/sec-form-d-private-placements) and [EU Public Tenders from TED: Search and Alerts](https://apify.com/ozet/eu-ted-tenders-search).

### How to use (Batch and Standby REST)

1. Enter `query`, `sirens` (up to 500 IDs), or filters (`nafCodes`, `postalCodes`, `departments`, `status`).
2. Set `maxResults` (up to 10,000) and cap spend with `ACTOR_MAX_TOTAL_CHARGE_USD` (**Maximum cost per run**).
3. Click **Start**, or attach an Apify Schedule for watchlist refreshes.
4. In Standby mode, call `GET /companies` or `GET /companies/{siren}` with `Authorization: Bearer <token>`. Each call returns up to 25 records and reads at most 20 upstream pages (`truncatedByFetchBudget: true` when reached; only returned records are charged).

### Input parameters

Parameters: `query`, `sirens`, `nafCodes`, `postalCodes`, `departments`, `status` (`active`, `closed`, `any`), `includeDirectors` (`false`), `includeSoleProprietorships` (`false`), `excludeProspectingOptOut` (`true`), `maxResults` (default `100`, prefill `10`).

```json
{"query": "doctolib", "status": "active", "maxResults": 10}
```

### Output fields

Overview table columns: `siren`, `name`, `legalForm`, `nafCode`, `status`, `createdOn`, `headcountBand`, `headOfficePostcode`, `headOfficeCity`, `vatNumber`, `commercialProspectingOptOut`. Full records also include `legalFormCode`, `headOffice`, `finances`, `directors`, `isSoleProprietorship`, `sourceUpdatedAt`, `inseeUpdatedAt`, `rneUpdatedAt`, `sourceAttribution`, and `retrievedAt`.

```json
{"siren": "900000009", "name": "EXAMPLE SAS", "legalForm": "SAS, societe par actions simplifiee", "nafCode": "62.01Z", "status": "active", "headOfficePostcode": "75001", "headOfficeCity": "PARIS", "vatNumber": "FR00900000009", "commercialProspectingOptOut": false, "inseeUpdatedAt": "2026-03-03T13:19:45", "sourceAttribution": "Source: INSEE (SIRENE), INPI (RNE), via API Recherche d'entreprises (DINUM); Licence Ouverte 2.0; last updated: INSEE 2026-03-03", "retrievedAt": "2026-11-21T18:00:00Z"}
```

### How much does it cost? (Pay-Per-Event)

`PAY_PER_EVENT` pricing, up to 20% off on paid plans:

| Event | Trigger | FREE | Gold and above (20% off) |
| :--- | :--- | ---: | ---: |
| `apify-actor-start` | Once per run / Server start | $0.001 | $0.0008 |
| `company-record` | Per company (batch) | $0.003 | $0.0024 |
| `company-record-live` | Per company (REST / MCP) | $0.004 | $0.0032 |

Examples: 100 companies in batch cost `$0.301` (`$0.001+100×$0.003`), `$0.2408` at 20% off; 1,000 cost `$3.001` / `$2.4008`. Apify bills one start event per GB of memory (minimum one; this Actor uses 256 MB) and waives each run's first 5 seconds of platform cost. Probes, invalid inputs, upstream errors, empty results and disconnects are free.

### MCP server integration

- **Hosted Apify MCP server:** `https://mcp.apify.com?tools=ozet/french-company-search-sirene`; each tool call starts an Actor run at batch rates.
- **Direct Standby endpoint (low latency, no new run):** `<standby-url>/mcp` (Streamable HTTP; Standby URL on this Actor's **Server** tab) serves `search_french_companies` and `get_french_company` (up to 25 records, max 20 upstream pages per call), charged as `company-record-live`.

```json
{"mcpServers": {"french-companies": {"url": "https://mcp.apify.com?tools=ozet/french-company-search-sirene", "headers": {"Authorization": "Bearer YOUR_APIFY_TOKEN"}}}}
```

### Data sources, rate limits and personal data

- **Source & licence:** [API Recherche d'entreprises](https://recherche-entreprises.api.gouv.fr/docs/) (DINUM, INSEE SIRENE, INPI RNE), under [Licence Ouverte 2.0](https://github.com/etalab/licence-ouverte/blob/master/LO.md). Each record's `sourceAttribution` names the source and the date it last updated the company. Not affiliated with or endorsed by INSEE, INPI, or DINUM.
- **Rate limits & errors:** Capped at 5 req/s (upstream allows 7 per IP) with `Retry-After` backoff; upstream errors charge nothing.
- **Personal data:** Natural-person `directors` (surname, first names, role, birth year; birth month dropped) require `includeDirectors: true`. Sole proprietorships (`entrepreneurs individuels`, owner name and address) are excluded from list searches by default and returned on direct SIREN lookup. Prospecting opt-out units (`opposition_diffusion_commerciale`) are likewise excluded by default and flagged.

### Support and FAQ

#### What happens on empty results or when the spending cap hits?

Empty results charge `$0` for records; reaching `ACTOR_MAX_TOTAL_CHARGE_USD` stops cleanly with only paid records returned.

#### Where do I get support?

Open a ticket on this Actor's **Issues** tab in Apify Console.

### Legal, Privacy & GDPR Compliance

French Company Search: SIRENE Register Data is developed and maintained by **Orestis Zambounis, sole proprietor, Av. Eugène-Rambert 30, 1005 Lausanne, Switzerland, doing business as Zambounis Technology (OZET)**. For support, open an issue on this Actor's **Issues** tab.

- **Lawful Use:** Users are solely responsible for ensuring their inputs and downstream use of public register data (including optional personal data and prospecting opt-out flags) comply with applicable laws.
- **GDPR & Swiss FADP:** Under [Apify Standard Actor Contract v1.0](https://docs.apify.com/legal/standard-actor-contract) §5.2, the User is Data Controller and the Creator is Data Processor. The Actor uses `LIMITED_PERMISSIONS`, writes only to your Apify Dataset and Key-Value Store, and retains `0 bytes` on any OZET server. Delete your Apify storages anytime.
- **Governing Contract:** Provisioned **AS IS** under the [Apify Standard Actor Contract v1.0](https://docs.apify.com/legal/standard-actor-contract) (aggregate liability cap: **$100 USD**).

# Actor input Schema

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

Company name, SIREN (9 digits), SIRET (14 digits), address words or a director name. Leave empty to search by identifiers or filters only. A run started without any search text, identifier or filter (for example an API call or schedule with empty input) runs this example search: doctolib.

## `sirens` (type: `array`):

Look up these identifiers directly (one per line). Direct lookups always return the unit, even a sole proprietorship or a unit that opted out of prospecting (flagged).

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

Filter on the legal unit's main activity, for example 62.01Z.

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

Filter on establishments located in these 5-digit postcodes.

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

Filter on department codes, for example 75 or 2A.

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

Active units only, closed units only, or both.

## `includeDirectors` (type: `boolean`):

Add the registered directors. Natural persons are returned with surname, first names, role and birth year only (personal data); legal-person directors (auditors, holding companies) with name, SIREN and role.

## `includeSoleProprietorships` (type: `boolean`):

Sole proprietorships (entrepreneurs individuels) carry the owner's name and often a home address (personal data). Off by default for list searches.

## `excludeProspectingOptOut` (type: `boolean`):

Leave out units flagged opposition_diffusion_commerciale (opted out of commercial prospecting use) from list searches.

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

Upper bound on records returned and charged in this run. The run stops at this number or at your spending limit, whichever comes first.

## Actor input object example

```json
{
  "query": "doctolib",
  "sirens": [],
  "nafCodes": [],
  "postalCodes": [],
  "departments": [],
  "status": "active",
  "includeDirectors": false,
  "includeSoleProprietorships": false,
  "excludeProspectingOptOut": true,
  "maxResults": 10
}
```

# Actor output Schema

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

All records of this run

## `overview` (type: `string`):

Records with the overview columns

## `chargingLog` (type: `string`):

Events charged in this run, by event name

# 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": "doctolib",
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("ozet/french-company-search-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 = {
    "query": "doctolib",
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("ozet/french-company-search-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 '{
  "query": "doctolib",
  "maxResults": 10
}' |
apify call ozet/french-company-search-sirene --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ozet/french-company-search-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/XeWMPrbJxbx2xRC6h/builds/jCRXFYRoY7JcoDcxD/openapi.json
