# France Company Search (SIREN, SIRET, SIRENE) (`klyve1/france-company-search`) Actor

Search French companies by name, SIREN or SIRET in the official SIRENE register: legal name, address, NAF activity, headcount, legal form, directors' roles, status. Checks SIREN/SIRET numbers too.

- **URL**: https://apify.com/klyve1/france-company-search.md
- **Developed by:** [Nico Klyve](https://apify.com/klyve1) (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.00 / 1,000 company returneds

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 (SIREN, SIRET, SIRENE register)

Search **French companies** in the official government register (INSEE SIRENE and RNE, through the public `recherche-entreprises.api.gouv.fr` API) by **name, keywords, SIREN or SIRET**, and get clean structured rows: legal name, SIREN, head office SIRET, legal form, NAF activity code, headcount range, creation date, status, address with GPS coordinates, intra-EU VAT number, latest revenue and net income, collective agreements (IDCC), labels (RGE, Qualiopi, ESS) and corporate officers that are companies (auditors, holding companies).

SIREN and SIRET numbers are checked (Luhn check digit) before the search, so you also spot typos in your files.

### Who uses it

- **Sales and marketing teams**: enrich a CRM or a lead list with official company data, filter by activity code and area.
- **Accounting, finance and KYC**: verify a supplier or customer SIREN, legal name, VAT number and status before onboarding.
- **Data teams**: turn a list of company names into SIREN numbers you can join with other French open data.
- **Developers**: no API key or account to manage.

### Example output

```json
{
  "found": true,
  "query": "Decathlon",
  "siren": "306138900",
  "siretHeadOffice": "30613890001294",
  "name": "DECATHLON",
  "isActive": true,
  "legalFormCode": "5800",
  "legalForm": "Société européenne (SE)",
  "nafCode": "68.20B",
  "companyCategory": "GE",
  "headcountRange": "5000-9999",
  "headcountYear": 2024,
  "createdOn": "1977-01-01",
  "address": "4 BOULEVARD DE MONS 59650 VILLENEUVE-D'ASCQ",
  "postalCode": "59650",
  "city": "VILLENEUVE-D'ASCQ",
  "latitude": 50.645137179,
  "longitude": 3.1417124642,
  "vatNumbers": ["FR51306138900"],
  "establishments": 385,
  "openEstablishments": 46,
  "financesYear": 2025,
  "revenueEur": 16868995000,
  "netIncomeEur": 845133000,
  "collectiveAgreements": ["1557"],
  "isQualiopi": true,
  "officerCompanies": [
    { "siren": "672006483", "name": "PRICEWATERHOUSECOOPERS AUDIT", "role": "Commissaire aux comptes titulaire" }
  ],
  "personOfficersCount": 11,
  "source": "recherche-entreprises.api.gouv.fr (INSEE SIRENE, RNE), Licence Ouverte 2.0"
}
```

A SIREN with a wrong check digit returns `{"found": false, "numberValid": false, "error": "Invalid SIREN/SIRET check digit (Luhn)"}`.

### Input

| Field | What it does | Default |
|---|---|---|
| `queries` | Company names, keywords, SIREN (9 digits) or SIRET (14 digits), one per line | |
| `maxResultsPerQuery` | Companies returned per name search | 3 |
| `activeOnly` | Only active companies (name searches) | true |
| `excludeSoleTraders` | Skip individual entrepreneurs | true |
| `departement` | Only companies with an establishment in this département | |
| `postalCode` | Only companies with an establishment in this postal code | |
| `nafCode` | Only this main activity code, e.g. `62.01Z` | |

### Pricing

Pay per result: **$0.001 per company returned**. Searches with no result and invalid numbers are free.

### Good to know

- Data comes from the French administration under the Licence Ouverte 2.0 and is updated daily.
- Privacy by design: names of private persons who are company officers are never returned (only their count), and sole traders are skipped by default. Companies that opted out of public dissemination are hidden by the source.
- Financial figures are only available for companies that publish their accounts.

# Actor input Schema

## `queries` (type: `array`):

One search per line: a company name or keywords (e.g. 'boulangerie lyon'), a 9 digit SIREN or a 14 digit SIRET. Numbers are checked (Luhn) before the search.

## `maxResultsPerQuery` (type: `integer`):

How many companies to return for each name search (a SIREN or SIRET always returns one).

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

Only return companies that are still active (name searches only).

## `excludeSoleTraders` (type: `boolean`):

Skip individual entrepreneurs (entreprises individuelles), whose name is a private person's name.

## `departement` (type: `string`):

Optional filter: companies with at least one establishment in this département, e.g. 69, 75, 2A.

## `postalCode` (type: `string`):

Optional filter: companies with at least one establishment in this postal code, e.g. 69001.

## `nafCode` (type: `string`):

Optional filter on the main activity code, e.g. 10.71C (bakery), 62.01Z (software).

## Actor input object example

```json
{
  "queries": [
    "552100554",
    "Decathlon",
    "123456789"
  ],
  "maxResultsPerQuery": 3,
  "activeOnly": true,
  "excludeSoleTraders": true
}
```

# Actor output Schema

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

All rows produced by the run.

# 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 = {
    "queries": [
        "552100554",
        "Decathlon",
        "123456789"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("klyve1/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 = { "queries": [
        "552100554",
        "Decathlon",
        "123456789",
    ] }

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

```

## MCP server setup

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