# France Company Search (SIRENE) (`scrapeworks/france-company-search`) Actor

Search the official French company register by name, SIREN, activity code, place, size, legal form, revenue or director. One row per company with address, GPS, NAF code, headcount, VAT number, directors, revenue and net income.

- **URL**: https://apify.com/scrapeworks/france-company-search.md
- **Developed by:** [Nicolas van Arkens](https://apify.com/scrapeworks) (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.50 / 1,000 companies

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 (SIRENE)

Search the official French company register and get one clean row per company. Search by company name, brand, director name, SIREN or SIRET, or skip the search box and list every company that matches your filters: activity code (NAF/APE), department, postal code, region, headcount, legal form, revenue, net income and labels such as RGE or Qualiopi.

The data comes from the French government's open company directory (INSEE SIRENE plus the national business register RNE), the same source behind annuaire-entreprises.data.gouv.fr. No login, no API key and no proxy needed.

### What you get for each company

- **Identity:** SIREN, head office SIRET, name, legal name, acronym, trade names, VAT number
- **Status:** active or closed, creation date, closing date
- **Activity:** NAF/APE code with its label, sector, legal form, company size category (PME, ETI, GE)
- **Size:** headcount band and the year it was reported, employer or not
- **Head office:** full address, postal code, city, department, region, latitude and longitude
- **Directors:** name, role and birth month and year for people; name, SIREN and role for companies (auditors, holding companies)
- **Money:** latest revenue and net income with the financial year, plus every year on record
- **Labels:** RGE, Qualiopi, organic, social economy (ESS), mission-driven company, association, training provider, gender pay index published, and more
- **Establishments (optional):** up to 10 matching sites per company with SIRET, address, activity and GPS
- A link to the company's public register page

### Examples

**Bakeries in Paris**

```json
{
    "searchTerms": ["boulangerie"],
    "departments": ["75"],
    "maxItems": 500
}
```

**Every active software company in Lyon with 10 to 49 staff (no search term needed)**

```json
{
    "nafCodes": ["62.01Z"],
    "departments": ["69"],
    "employeeBands": ["11", "12"],
    "maxItems": 2000
}
```

**Builders with the RGE label and over 1 million euros in revenue in Gironde**

```json
{
    "nafSections": ["F"],
    "departments": ["33"],
    "onlyWith": ["est_rge"],
    "minRevenue": 1000000
}
```

**Look up companies by SIREN or SIRET**

```json
{
    "searchTerms": ["552100554", "35600000000048"]
}
```

### Big searches

The government API returns at most 10,000 companies per search. When your search has more matches than that and you asked for more than 10,000, the actor splits it by department, then by headcount band, then by sector, and runs each part on its own. Companies that show up in more than one part are only returned (and charged) once. If one part still has over 10,000 matches, the log and the final status tell you, so you can add a postal code or activity filter.

### Pricing

**$1.50 per 1,000 companies.** You pay for companies returned and nothing else. Set "Maximum companies" or a maximum charge per run and the actor stops there.

### Good to know

- Place filters (department, postal code, region) match a company when any of its establishments is in that place. A chain with its head office in Paris and a shop in Lyon shows up in a search for department 69. Turn on "Include matching establishments" to see which sites matched.
- Revenue and net income are only there for companies that publish their accounts. Most small companies do not, so revenue filters leave them out.
- Some companies, mostly sole traders, have asked INSEE that their data not be used for marketing. Each row has `optedOutOfMarketing`, and you can drop them with "Leave out companies that refuse marketing use". If you use the data for prospecting, following that choice and GDPR is up to you.
- A few companies have restricted their public data. Their rows say `partialDisclosure: true` and some fields are empty.
- The register is updated every day, so a run today gives you today's data.

### Output example

```json
{
    "siren": "383474814",
    "siret": "38347481400100",
    "name": "AIRBUS",
    "status": "active",
    "createdDate": "1991-10-18",
    "legalForm": "Société par actions simplifiée (SAS)",
    "nafCode": "30.30Z",
    "nafLabel": "Construction aéronautique et spatiale",
    "companyCategory": "GE",
    "employeeBand": "10,000+ employees",
    "vatNumber": "FRZU383474814",
    "address": "2 ROND-POINT DEWOITINE 31700 BLAGNAC",
    "postalCode": "31700",
    "city": "BLAGNAC",
    "department": "31",
    "regionName": "Occitanie",
    "latitude": 43.624640185,
    "longitude": 1.3835065654,
    "directorNames": "Guillaume FAURY (Président de SAS); ...",
    "financialYear": 2024,
    "revenue": 57412795000,
    "netIncome": 2206027000,
    "isQualiopi": true,
    "optedOutOfMarketing": true,
    "registerUrl": "https://annuaire-entreprises.data.gouv.fr/entreprise/383474814"
}
```

Rows have more fields than shown here. Download the results as JSON, CSV or Excel, or pull them over the Apify API.

### Questions or problems

Open an issue on the Issues tab and I'll take a look.

# Actor input Schema

## `searchTerms` (type: `array`):

Company names, brand names, director names, or SIREN (9 digits) and SIRET (14 digits) numbers. Each term is its own search. Leave this empty to list every company that matches the filters below.

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

The run stops after this many companies in total, across all search terms. You pay per company returned.

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

Active companies only, closed ones only, or both.

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

Department numbers, for example 75 (Paris), 69 (Rhône), 13 (Bouches-du-Rhône), 2A (Corse-du-Sud), 974 (La Réunion). A company matches when any of its establishments is in one of them.

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

Five-digit postal codes, for example 75011 or 69002. A company matches when any of its establishments has one of them.

## `regions` (type: `array`):

A company matches when any of its establishments is in one of these regions.

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

Main activity codes, with or without the dot, for example 56.10A (restaurants), 10.71C (bakeries), 62.01Z (software development), 43.22A (plumbing), 68.31Z (real estate agencies).

## `nafSections` (type: `array`):

Broad sectors. Use activity codes above for anything narrower.

## `employeeBands` (type: `array`):

Headcount bands as reported to INSEE. Many small companies have no band on record.

## `companyCategories` (type: `array`):

INSEE size category: small and medium (PME), intermediate (ETI) or large (GE).

## `legalFormCodes` (type: `array`):

Pick one or more legal forms.

## `minRevenue` (type: `integer`):

Only companies whose latest published revenue is at least this much. Most small companies do not publish accounts, so this filter leaves them out.

## `maxRevenue` (type: `integer`):

Only companies whose latest published revenue is at most this much.

## `minNetIncome` (type: `integer`):

Only companies whose latest published net income is at least this much. Can be negative.

## `maxNetIncome` (type: `integer`):

Only companies whose latest published net income is at most this much. Can be negative.

## `directorLastName` (type: `string`):

Companies with a director (or sole trader) of this last name.

## `directorFirstName` (type: `string`):

Use together with the last name to narrow it down.

## `onlyWith` (type: `array`):

Only companies that have all of the picked labels.

## `includeEstablishments` (type: `boolean`):

Adds up to 10 establishments (sites) per company that match your search, with address, SIRET, activity and GPS. Useful with place filters, because a company matches when any of its sites is in the place you picked.

## `excludeOptedOut` (type: `boolean`):

Some companies, mostly sole traders, have asked INSEE that their data not be used for marketing. Turn this on to drop them. Either way, every row has the field optedOutOfMarketing.

## `proxyConfiguration` (type: `object`):

Not needed. The register is a free public government service. Only turn on a proxy if your runs get blocked.

## Actor input object example

```json
{
  "searchTerms": [
    "boulangerie",
    "airbus",
    "552100554"
  ],
  "maxItems": 100,
  "status": "active",
  "departments": [
    "75",
    "92"
  ],
  "postalCodes": [
    "75011",
    "69002"
  ],
  "nafCodes": [
    "56.10A",
    "6201Z"
  ],
  "includeEstablishments": false,
  "excludeOptedOut": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One row per company from the official French company register (SIRENE), with address, NAF code, headcount, VAT number, directors and finances when published.

# 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 = {
    "searchTerms": [
        "boulangerie"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeworks/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 = {
    "searchTerms": ["boulangerie"],
    "maxItems": 100,
}

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

```

## MCP server setup

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