# France Company Registry (SIRENE) Fresh Details (`vhsgreed/france-sirene-api-fresh`) Actor

French company data from the official SIRENE registry (recherche-entreprises.api.gouv.fr): search by name or keyword, filter by postal code or department. SIREN, legal nature, NACE activity, address, directors, employee range, establishments. Free official API, no scraping. Pay-per-event.

- **URL**: https://apify.com/vhsgreed/france-sirene-api-fresh.md
- **Developed by:** [Karl Sundström](https://apify.com/vhsgreed) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## France Company Registry (SIRENE) — French Company Data API

> Independent tool, not affiliated with INSEE or data.gouv.fr.

Extract **French company data from the official SIRENE registry** (recherche-entreprises.api.gouv.fr) and turn France's national register into a **targeted B2B list**. Search by name or keyword, filter by postal code or department. Get SIREN, legal nature, NAF activity code, employee range, establishment counts, registered address, directors and the full establishment list. Official API — no scraping, no API key, no login.

### Why SIRENE API?

- 🎯 **Build prospect lists** across any French industry — filterable down to the department.
- 👥 **Directors included** — dirigeants on each record, so you know who to contact.
- 🏢 **Establishment lists** — up to 25 establishments per company for multi-site targeting.
- ✅ **Verify counterparties** — SIREN, legal nature and activity straight from the national register.
- 📋 **Enrich your CRM** — flat, one-record-per-company JSON ready for import.

### Use cases

Lead generation in France · KYC/counterparty verification · territory research by department · multi-site account mapping · CRM enrichment

### What data you get?

| 🏷️ Field | Description |
| --- | --- |
| 🆔 siren / siret | SIREN + headquarters SIRET |
| 🏢 name / sigle | Company name |
| 🏛️ legalNature | Legal nature code (nature\_juridique) |
| 📊 category | Company category (PME/ETI/GE) |
| 🧭 activityCode / activitySection | NAF/APE code + section |
| 📅 createdAt | Creation date |
| 👥 employeeRange | Employee range (tranche effectif) |
| 🏬 establishmentCount / openEstablishmentCount | Establishment counts |
| ✅ active | Administratively active |
| 📍 address / postalCode / city / department / region | Headquarters location |
| 👔 directors | Directors (dirigeants) |
| 🏬 establishments | Establishment list (up to 25) |

### How to use

1. Add the actor to your Apify account and click **Run**.
2. Enter `query` (e.g. `boulangerie paris`), optionally `postalCode` or `department`.
3. Keep `fetchDetails` on for the establishment list — no extra API calls needed.
4. Set `maxResults` to cap the run (default 100, max 1000).
5. Export results as JSON, CSV or Excel.

### Input

```json
{
  "query": "boulangerie paris",
  "postalCode": "75011",
  "maxResults": 100
}
```

| Field | Type | Description | Default |
| --- | --- | --- | --- |
| `query` | string | Company name or keyword | — |
| `postalCode` | string | Filter by headquarters postal code (e.g. `75011`) | — |
| `department` | string | Filter by department number (e.g. `75`), matches any establishment | — |
| `fetchDetails` | boolean | Enrich with establishment list (up to 25) from the same response | on |
| `maxResults` | integer | Cap on companies returned | 100 (max 1000) |

### Output

```json
{
  "siren": "552100554",
  "name": "EXAMPLE SA",
  "legalNature": "5599",
  "category": "GE",
  "activityCode": "56.10A",
  "employeeRange": "500 à 999 salariés",
  "establishmentCount": 12,
  "active": true,
  "address": "12 rue de l'Exemple",
  "postalCode": "75011",
  "city": "Paris",
  "department": "75",
  "directors": [{"nom": "DUPONT", "prenom": "Jean", "fonction": "PRESIDENT"}]
}
```

Directors and establishment details appear where the register publishes them.

### Support

Questions or missing fields? Open an issue on the actor page or contact the developer via Apify.

# Actor input Schema

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

Company name or keyword (e.g. 'boulangerie paris')

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

Filter results by headquarters postal code (e.g. '75011')

## `department` (type: `string`):

Filter results by department number (e.g. '75') — matches any establishment of the company

## `fetchDetails` (type: `boolean`):

Enrich each company with its establishment list (up to 25) from the search response — no extra API calls

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

Cap on companies returned (default 100, max 1000)

## Actor input object example

```json
{
  "query": "boulangerie paris"
}
```

# Actor output Schema

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

Dataset of French company records (one per SIREN). Fields: siren, name, legalNature, category, activityCode, address, postalCode, city, department, employeeRange, establishmentCount, createdAt, active, directors, establishments.

## `companiesJson` (type: `string`):

Full dataset items as raw JSON, including fields hidden by the clean view.

## `runStats` (type: `string`):

Key-value store entry OUTPUT\_STATS: pushed item count and query for this run.

## `runView` (type: `string`):

Inspect this run, its logs and storages in Apify Console.

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

// Run the Actor and wait for it to finish
const run = await client.actor("vhsgreed/france-sirene-api-fresh").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 paris" }

# Run the Actor and wait for it to finish
run = client.actor("vhsgreed/france-sirene-api-fresh").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 paris"
}' |
apify call vhsgreed/france-sirene-api-fresh --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vhsgreed/france-sirene-api-fresh"
        }
    }
}

```

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/lwUvhUEzpo9ZEKJ6d/builds/Oh4df9dM3hPZio8f2/openapi.json
