# France Company Search – B2B Leads by Activity & Area (`bstandco/france-company-search`) Actor

Build lists of French companies by activity code (NAF), department, size, revenue and labels (RGE, Qualiopi, Bio…). Official Sirene data: SIREN, address, headcount, revenue. No personal data.

- **URL**: https://apify.com/bstandco/france-company-search.md
- **Developed by:** [BSTAndCo](https://apify.com/bstandco) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 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.
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?

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 – B2B Leads by Activity & Area

Build **lists of French companies** from **official government data** (Sirene / INSEE, RNE / INPI): search by **activity code (NAF/APE), department, postal code, size, revenue** and **official labels** such as **RGE** (energy renovation), **Qualiopi** (training), **Bio**, **ESS** and more.

Each result gives the company's **SIREN, name, activity, headcount band, revenue, creation date, head office and establishments in your area**.

### Who is it for?

- **Sales & business developers** – build targeted B2B lead lists: e.g. every RGE-certified installer in a department.
- **Suppliers & wholesalers** – find all restaurants, bakeries or garages around your depot.
- **Consultants & agencies** – size a market by activity and region.
- **Data teams** – enrich a CRM with official identifiers and company size.

### What data do you get?

| Field | Example |
|---|---|
| `siren`, `name`, `legalName`, `acronym` | 442835468, CONSTRUCTEL… |
| `nafCode`, `nafSection`, `legalForm` | 43.21A (electrical installation) |
| `companyCategory`, `headcountBand`, `headcountYear` | ETI, 1000-1999, 2023 |
| `revenue`, `netIncome`, `financialYear` | latest published figures |
| `createdAt`, `active`, `establishments`, `openEstablishments` | company history and size |
| `headOffice` | address, postal code, city, GPS |
| `matchingEstablishments` | establishments in the area you searched |
| `labels`, `rgeIds`, `collectiveAgreements` | rge, qualiopi, bio… |
| `companyPageUrl` | official page on annuaire-entreprises.data.gouv.fr |

### How to use

Example – RGE-certified companies with an establishment in the Cantal (15):

```json
{
  "labels": ["rge"],
  "departments": ["15"],
  "maxResults": 200
}
```

Example – restaurants (56.10A) in Lyon's postal codes with 10+ employees:

```json
{
  "nafCodes": ["56.10A"],
  "postalCodes": ["69001", "69002", "69003"],
  "headcountBands": ["11", "12", "21"]
}
```

Find NAF codes on [insee.fr](https://www.insee.fr/fr/information/2406147) (e.g. 43.21A electricians, 43.22A plumbers, 56.10A restaurants, 62.01Z software, 86.21Z GPs).

### Privacy by default

Only **company-level** data is returned. **Company officers are never collected**, and **sole proprietorships** (whose name is a person's name) are **excluded by default** — turn on *Include sole proprietors* only if you have a legitimate use. Companies that opted out of public disclosure are not served by the source. If you use results for prospecting, follow the applicable rules (GDPR, B2B emailing rules).

### Pricing

You pay a small fee per company returned.

### Data source & license

Data comes from the official **API Recherche d'entreprises** operated by the French government (DINUM), which aggregates Sirene (INSEE), RNE (INPI) and public labels, published under the **Licence Ouverte v2.0 (Etalab)**, which allows commercial reuse with attribution. Every result includes a `source` field with this attribution. The source serves at most 10,000 results per search: split large searches by department.

This Actor is not affiliated with the French government.

# Actor input Schema

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

Company name, trade name or keyword, e.g. boulangerie, plombier.

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

Official activity codes, e.g. 43.21A (electricians), 56.10A (restaurants), 62.01Z (software).

## `sections` (type: `array`):

Broad NAF sections (letters A to U), e.g. F = construction, I = hotels & restaurants.

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

Department numbers, e.g. 15, 69, 2A, 974. Matches companies with an establishment there.

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

French postal codes, e.g. 75013.

## `headcountBands` (type: `array`):

Company size by employees.

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

Official size category.

## `labels` (type: `array`):

Only companies holding all of these official labels.

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

Only companies whose last published revenue is at least this amount.

## `includeSoleProprietors` (type: `boolean`):

Sole proprietorships are named after a person, so they are excluded by default.

## `onlyActive` (type: `boolean`):

Skip closed companies.

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

Maximum number of companies to return (the source serves up to 10,000 per search).

## Actor input object example

```json
{
  "nafCodes": [
    "43.21A"
  ],
  "departments": [
    "15"
  ],
  "includeSoleProprietors": false,
  "onlyActive": true,
  "maxResults": 50
}
```

# Actor output Schema

## `overview` (type: `string`):

French companies with activity, size, revenue, labels and addresses. Main fields in a table.

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

French companies with activity, size, revenue, labels and addresses. Every field (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": [
        "43.21A"
    ],
    "departments": [
        "15"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bstandco/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": ["43.21A"],
    "departments": ["15"],
}

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

```

## MCP server setup

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