# FR SIRENE Company Register Lookup (`codeclouds/fr-sirene-company-register-lookup`) Actor

Search French companies via official SIRENE open-data API — identity, address, NAF code, status, dirigeants, finances.

- **URL**: https://apify.com/codeclouds/fr-sirene-company-register-lookup.md
- **Developed by:** [Dennis](https://apify.com/codeclouds) (community)
- **Categories:** Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 company results

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

## FR SIRENE Company Register Lookup

Search French companies via the official open-data API (`recherche-entreprises.api.gouv.fr`).
Returns identity (`siren`, `nom_complet`), address (`adresse`, `code_postal`, `commune`), NAF activity code, administrative status (`etat_administratif`), optional directors (`dirigeants`) and financial summary fields.

**Input:** `query` (name/SIREN/address), optional `queries` array, `naf` filter, `etatAdministratif` (A=active, C=closed), `maxResultsPerQuery`, `includeDirigeants`, `includeFinances`.

**Pricing:** `company-result` $0.004 per company (net below incumbent $0.005).

**Competition:** Several actors exist (`dltik` 118 users, `epicscrapers` 48 users @ 2.98★); this actor targets a lower price point with direct official API access (no scraping wrapper), stronger reliability and English output for EU/compliance use.

### When should an AI agent use this?

- "Find the SIREN and status of 'Boulangeries BG' in France."
- "Check if company SIREN 478455793 is still active and where its registered office is."
- "List active companies with NAF code 56.10C near Chateaurenard (13160)."
- "Get directors and basic financial info for this French company."

**Legal:** Official open government data (`api.gouv.fr`, `Access-Control-Allow-Origin: *`, no auth). `dirigeants` data is already public by design; disclaimer applies for financial fields (best-effort, aggregated summaries, not audited accounts).

### Capabilities

This Actor connects directly to the official French government open-data endpoint hosted by `api.gouv.fr`. It does not use a scraping wrapper, a private aggregator, or an unofficial mirror. The endpoint serves structured JSON, supports pagination, and requires no authentication or API key. Each result includes:

- `siren` (official INSEE company identifier)
- `nom_complet` (full registered name)
- `natureJuridiqueCode` (INSEE legal nature code, e.g., 5710 for SAS)
- `nafCode` (primary NAF activity code) and `naf25Code` (NAF Rev.2.1/2025 code)
- `date_creation` (company creation date)
- `etat_administratif` (`A` for active, `C` for closed)
- `adresse` (registered office: street, postal code, commune, department, region, GPS coordinates)
- Optional `dirigeants` array (directors/managers with name and role)
- Optional `finances` (summary fields when available via the API)

### Input parameters

- `query`: search term (name, partial SIREN, address snippet).
- `queries`: array for bulk lookup.
- `naf`: optional NAF code filter.
- `departement`: optional 2-digit department filter.
- `codePostal`: optional 5-digit postal code filter.
- `etatAdministratif`: `A` (active, default) or `C` (closed).
- `maxResultsPerQuery`: default 10, max 25 — cap on the total number of results returned per query (pagination stops when reached).
- `includeDirigeants`: default `true`.
- `includeFinances`: default `false`.

### Output example

```json
{
  "siren": "478455793",
  "nomComplet": "BOULANGERIES BG (B B G)",
  "natureJuridiqueCode": "5710",
  "nafCode": "56.10C",
  "naf25Code": "56.11J",
  "dateCreation": "2004-08-25",
  "etatAdministratif": "A",
  "adresse": {
    "voie": "615 AVENUE DE LA CHAFFINE",
    "codePostal": "13160",
    "commune": "CHATEAURENARD",
    "latitude": "43.8903640316375",
    "longitude": "4.82612901648503"
  },
  "dirigeants": [{ "nom": "BLACHERE (BLACHERE)", "prenoms": "BERNARD", "qualite": "Président de SAS" }]
}
```

### Use cases

- KYC / KYB due diligence: verify a French supplier's legal identity and status before signing contracts.
- B2B lead enrichment: enrich CRM records with official company data rather than scraped approximations.
- Compliance and ESG tracking: confirm a company's active status, registered office location, and legal form.
- AI agent tool: respond to queries like "Is company X still active?" with an authoritative data source.

### FAQ

- **Is the data real-time?** The SIRENE register is updated continuously by INSEE. The API reflects the latest available dataset (last update timestamp visible in results).
- **Are all fields always present?** `dirigeants` and `finances` depend on what INSEE has published for that company. If missing, the field is `null` or omitted.
- **What is the price compared to competitors?** The incumbent (`dltik`) charges $5 per 1,000 results ($0.005/result). This actor is priced at $0.004/result to differentiate on reliability and English-language output for EU users.
- **Can I use this for bulk searches?** Yes — pass `queries` array. `maxResultsPerQuery` caps the total results per query (max 25); each query runs up to that many results.

### Changelog

- 0.4.0 (2026-09-21) — `maxResultsPerQuery` is nu een harde cap op het TOTAAL aantal resultaten per query in plaats van een page-size: voorheen haalde een run alle pagina's op (live bewezen: 779 items + timeout bij `maxResultsPerQuery=1`). Nu stopt paginatie zodra de cap bereikt is; de API-paginalimiet (25) blijft per request.
- 0.3.0 (2026-09-21) — output-semantiek gecorrigeerd (`voie` is nu straat i.p.v. volledig adres; `natureJuridiqueCode`/`naf25Code` i.p.v. misleidende `formeJuridique`/`nafLibelle`; ontbrekende status wordt `null`, geen valse `'A'`); robuuste HTTP-client (timeout, retry/backoff op 429/5xx, response-validatie, User-Agent); tests volledig herschreven als deterministische unit-tests (mapping + fetch, fixture-gedreven); dataset-schema verplaatst naar actor-root conform repo-conventie.
- 0.1.0 (build) — initial scope, live endpoint verified against `recherche-entreprises.api.gouv.fr` (2026-08-25).

### Keywords

SIRENE, France, company, business register, INSEE, open data, company lookup, KYC, KYB, compliance, EU business, NAF, dirigeants, SIRET, SIREN

### Related Actors

- `eu-rasff-food-safety-alert-monitor` (live)
- `nl-tweede-kamer-open-data-monitor` (live)
- `nl-monumentenregister-lookup` (idea)

# Actor input Schema

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

Company name, SIREN, SIRET, address or partial term to search in the French SIRENE register.

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

List of search terms for batch lookup.

## `naf` (type: `string`):

Optional NAF activity code filter (e.g. 56.10C).

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

Optional 2-digit department code.

## `codePostal` (type: `string`):

Optional 5-digit French postal code.

## `etatAdministratif` (type: `string`):

Filter by company administrative status.

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

Maximum total results to return per query (capped at 25; API per\_page maximum).

## `includeDirigeants` (type: `boolean`):

Include company directors/managers data if available.

## `includeFinances` (type: `boolean`):

Attempt to include financial summary fields if available via API.

## Actor input object example

```json
{
  "etatAdministratif": "A",
  "maxResultsPerQuery": 10,
  "includeDirigeants": true,
  "includeFinances": false
}
```

# Actor output Schema

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

Results stored in the default dataset.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("codeclouds/fr-sirene-company-register-lookup").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("codeclouds/fr-sirene-company-register-lookup").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 '{}' |
apify call codeclouds/fr-sirene-company-register-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,codeclouds/fr-sirene-company-register-lookup"
        }
    }
}
```

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/xFJJJivajihZlAIyW/builds/ZStsjskp1gTba7agx/openapi.json
