# France Company Search (SIREN/SIRET) (`yecolak/france-company-search`) Actor

Search French companies by name, SIREN, NAF code, department or size using the open government API. No personal data.

- **URL**: https://apify.com/yecolak/france-company-search.md
- **Developed by:** [Yunus Emre ÇOLAK](https://apify.com/yecolak) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 company records

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/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)

Get structured data on French companies from the government's open API Recherche d'entreprises (Insee Sirene data), for B2B data enrichment, supplier checks and market research.

### What it does

- Searches by company name, SIREN or SIRET, or filters by NAF code, department, postal code, headcount and size
- Returns SIREN, head office SIRET, legal form, activity, status, dates, address, coordinates and open establishments
- Uses a JSON API only: no browser, no login, no API key
- Never returns managers or shareholders

### Input

Set at least one search filter. Filters are combined with AND, values in one list with OR.

| Field | Type | Description |
| --- | --- | --- |
| `query` | string | Company name or acronym (a city may be added), SIREN or SIRET |
| `nafCodes` | array | Main activity codes, e.g. `62.01Z` |
| `departments` | array | Department codes of an establishment, e.g. `75`, `2A` |
| `postalCodes` | array | Five-digit postal codes of an establishment |
| `employeeRanges` | array | Insee headcount codes, e.g. `21` for 50-99 |
| `companySizes` | array | `PME`, `ETI` or `GE` |
| `status` | string | `active` (default), `closed` or `all` |
| `maxItems` | integer | Maximum number of results (default 10, maximum 10000) |

```json
{ "nafCodes": ["62.01Z"], "departments": ["75"], "maxItems": 5 }
```

### Output

```json
{
  "siren": "849239587",
  "headOfficeSiret": "84923958700199",
  "companyName": "SNAPDESK",
  "acronym": null,
  "nafCode": "62.01Z",
  "nafSection": "J",
  "legalFormCode": "5710",
  "status": "active",
  "createdOn": "2019-03-15",
  "closedOn": null,
  "employeeRangeCode": "11",
  "companySize": "PME",
  "openEstablishments": 19,
  "address": "8 BOULEVARD DE STRASBOURG 75010 PARIS",
  "postalCode": "75010",
  "city": "PARIS",
  "departmentCode": "75",
  "regionCode": "11",
  "latitude": 48.8701296506237,
  "longitude": 2.35494374973319,
  "registryUrl": "https://annuaire-entreprises.data.gouv.fr/entreprise/849239587",
  "source": "Insee Sirene via API Recherche d’entreprises (Licence Ouverte 2.0)",
  "fetchedAt": "2026-11-24T23:16:17.327Z"
}
```

### Pricing (pay per event)

| Event | When | Price |
| --- | --- | --- |
| `apify-actor-start` | Once per run start (charged by Apify) | See the Pricing tab |
| `apify-default-dataset-item` | Per returned company | See the Pricing tab |

1,000 companies cost 1,000 × the `apify-default-dataset-item` price plus the start event. Platform usage is included. Set a maximum charge per run and the Actor stops when it is reached.

### Limits and legality

- The API pages through at most 10,000 matches per search; excluded records count towards this, so split broad searches.
- Department and postal code filters match any establishment, so the returned head office can be elsewhere.
- Sole traders, partnerships without legal personality and records with restricted publication are excluded. A company's registered name may itself contain a surname.
- Every query word must match the company's own name, acronym or city. Searching by manager name is not supported.
- Follows robots.txt and sends at most 1 request per second.
- Source: Insee, Sirene database, via API Recherche d'entreprises, Licence Ouverte 2.0. This Actor is not affiliated with Insee or the French government.

### Support

Open an issue on the Actor's **Issues** tab.

# Actor input Schema

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

Company name or acronym (a city name may be added), a 9-digit SIREN or a 14-digit SIRET. Every word must appear in the company's own name, acronym or city; searching by manager name is not supported. Example: decathlon

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

Main activity codes in NN.NNL format. Example: \["62.01Z"] for computer programming.

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

French department codes. The API matches companies with an establishment there, so the head office may be elsewhere. Example: \["75", "2A", "974"]

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

Five-digit postal codes of an establishment. Example: \["69001"]

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

Insee employee range codes: NN unknown, 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+. Example: \["21", "22"]

## `companySizes` (type: `array`):

Insee company categories: PME (small and medium), ETI (mid-size), GE (large). Example: \["ETI", "GE"]

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

Return active companies, closed companies, or all. Default is active.

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

Stop after this many companies. Each company written to the dataset is charged as one result. Default is 10.

## Actor input object example

```json
{
  "nafCodes": [
    "62.01Z"
  ],
  "departments": [
    "75"
  ],
  "status": "active",
  "maxItems": 10
}
```

# Actor output Schema

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

Dataset items as JSON.

# 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"
    ]
};

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

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

```

## MCP server setup

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