# France SIRENE Company Lookup (`phobia82/france-sirene-company-lookup`) Actor

Look up French companies by SIREN, SIRET, or name using the official Recherche Entreprises / SIRENE API. No API key. Not a Pappers scraper.

- **URL**: https://apify.com/phobia82/france-sirene-company-lookup.md
- **Developed by:** [Clearfield Data](https://apify.com/phobia82) (community)
- **Categories:** Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.50 / 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/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 SIRENE Company Lookup

Look up **French companies** by name, **SIREN** (9 digits), or **SIRET** (14 digits) in the official government Recherche Entreprises API (SIRENE). Results include legal name, administrative status, NAF activity, head-office SIRET and address, workforce band, and creation date. No API key is required. This is not a Pappers scraper and it does not return director emails or personal contact lists.

### Data source and freshness

Data comes from the official French government API [Recherche Entreprises](https://recherche-entreprises.api.gouv.fr/) at `https://recherche-entreprises.api.gouv.fr/search`, which exposes the public SIRENE company register. Records are requested at run time and are as current as that API. Output is registry fields only.

### Input

Provide a `query` (name, SIREN, or SIRET) and/or a `sirens` list. Optional filters apply to the name/query search.

| Field | Type | Required | Description | Example |
| --- | --- | --- | --- | --- |
| `query` | string | no (one of this or `sirens`) | Company name, 9-digit SIREN, or 14-digit SIRET to search. | `"Renault"` or `"850019753"` |
| `sirens` | array of strings | no | Extra 9-digit SIREN identifiers to resolve exactly, in addition to `query`. | `["682006454"]` |
| `codePostal` | string | no | Optional French postal code filter on the query search. | `"75008"` |
| `departement` | string | no | Optional French department code filter. | `"75"` |
| `activiteNaf` | string | no | Optional NAF / APE activity code filter. | `"29.10Z"` |
| `maxItems` | integer | no | Maximum company records to emit (default `25`, min `1`, max `100`). | `3` |

### Output

Each item is one company from the official API (head-office / legal unit fields). `libelle_activite_principale` is included when the API provides it and may be `null`.

Example item from a real local test run with `query` `"Renault"` (a name search returns every matching legal name, not only the well-known industrial group):

```json
{
  "siren": "982770919",
  "nom_complet": "RENAULT",
  "nom_raison_sociale": "RENAULT",
  "sigle": null,
  "etat_administratif": "A",
  "nature_juridique": "5499",
  "activite_principale": "01.13Z",
  "libelle_activite_principale": null,
  "section_activite_principale": "A",
  "siege_siret": "98277091900016",
  "siege_adresse": "4 RUE DU BAS DE LA VILLE 76450 VITTEFLEUR",
  "code_postal": "76450",
  "commune": "VITTEFLEUR",
  "departement": "76",
  "tranche_effectif": "03",
  "nombre_etablissements": 2,
  "nombre_etablissements_ouverts": 2,
  "date_creation": "2023-12-21",
  "date_fermeture": null,
  "categorie_entreprise": null
}
```

### Pricing

This Actor is **priced per result** at **$1.50 per 1,000 results** (one `result` event for each company record written to the dataset). For example, 25 companies cost **$0.0375** in result charges ($0.0015 per company).

Apify also bills **platform usage** (compute and storage) for the run according to your Apify plan. Result charges and platform usage appear separately on the run.

### Use cases

- Resolve a SIREN or SIRET to official legal name, status, and head-office address.
- Search SIRENE by company name and optional postal, department, or NAF filters.
- Enrich a French counterparty list with administrative status and activity code.
- Support KYC or vendor onboarding with official registry fields (not director emails).
- Distinguish similarly named legal units by using an exact SIREN instead of a name.
- Let an AI agent look up a French company from the official Recherche Entreprises API.

### How to use

You can run this Actor from the Apify Console, via the API, from Python or JavaScript, or from an AI agent that speaks MCP.

#### API

```bash
curl "https://api.apify.com/v2/acts/phobia82~france-sirene-company-lookup/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"query":"Renault","maxItems":3}'
```

Replace `YOUR_API_TOKEN` with an API token from [Apify Console → Settings → Integrations](https://console.apify.com/account/integrations). For longer jobs, start a run with [the Run Actor endpoint](https://docs.apify.com/api/v2/act-runs-post) and read the dataset when it finishes.

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("phobia82/france-sirene-company-lookup").call(run_input={"query": "Renault", "maxItems": 3})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

#### JavaScript

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('phobia82/france-sirene-company-lookup').call({ query: "Renault", maxItems: 3 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### AI agents and MCP

Connect the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp) to an MCP client such as Claude, Cursor, or another compatible agent, then call Actor `phobia82/france-sirene-company-lookup` with the same JSON input as the API. The agent receives the dataset items as structured results.

### FAQ

**Is this legal to use?** Yes. The Actor calls the official French government Recherche Entreprises (SIRENE) API. It does not log in, does not scrape Pappers or other commercial sites, and does not collect director emails or personal contact data. Output is public registry fields.

**Do I need an API key?** No.

**Why did a search for “Renault” not return Renault S.A. first?** A name query is passed to the official search API as-is. Many legal units share a short name, so the first hits may be smaller companies also named Renault. For a specific legal unit, pass its 9-digit SIREN in `query` or `sirens`.

**What do `etat_administratif` and `tranche_effectif` mean?** They are official SIRENE coded values (for example `A` for active). Workforce bands and legal-form codes follow INSEE / SIRENE conventions.

**Is the head-office address personal data?** It is the registered business address published on the official register. The Actor does not add officer names, emails, or phone numbers.

**Can I page through all matches?** Not in this version. The query search requests page 1 with `per_page` set to `min(maxItems, 25)`. Additional SIRENs in `sirens` are resolved with separate exact lookups.

### Limits and known issues

- `maxItems` is capped at 100, but a single name search only requests the first API page (up to 25 hits).
- `libelle_activite_principale` is often `null` in the API payload; `activite_principale` (NAF code) is still returned.
- Name search is not a “famous company first” ranking you can control beyond official API order and your filters.
- This is not a beneficial-ownership, accounts, or director database.
- HTTP errors on the main query fail the run; errors on an extra SIREN lookup are logged and that number is skipped.

### Support

Questions, incorrect data, or a feature request? Open a ticket on this Actor's **Issues** tab in [Apify Console](https://console.apify.com) or on the Actor's Store page. Built by **Clearfield Data**.

# Actor input Schema

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

Company name, SIREN, or SIRET to search. Example: 'Renault', '850019753', or a 14-digit SIRET.

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

Optional extra 9-digit SIREN identifiers to resolve exactly, in addition to `query`.

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

Optional French postal code filter (for example 75008 or 69002).

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

Optional French department code filter (for example 75, 69, 13).

## `activiteNaf` (type: `string`):

Optional NAF / APE activity code filter (for example 62.01Z).

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

Maximum company records to emit.

## Actor input object example

```json
{
  "query": "Renault",
  "maxItems": 25
}
```

# Actor output Schema

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

Default dataset items produced by this Actor.

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

// Run the Actor and wait for it to finish
const run = await client.actor("phobia82/france-sirene-company-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 = { "query": "Renault" }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,phobia82/france-sirene-company-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/d8QO9iCx9eVHpZ8mj/builds/3aAqNptnhCXxuW0HY/openapi.json
