# France Company Registry Scraper — SIREN, VAT & Directors (`haketa/france-companies-scraper`) Actor

Search and scrape the French company registry: company name, SIREN, VAT number, legal form, NAF activity, employees, status, address, coordinates and directors (dirigeants). For KYC, due diligence, B2B and lead generation. Independent tool, not affiliated with the French government.

- **URL**: https://apify.com/haketa/france-companies-scraper.md
- **Developed by:** [Haketa](https://apify.com/haketa) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

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 Registry Scraper — SIREN, VAT & Directors

> **Search and extract the official French company registry: company name, SIREN, VAT number, legal form, NAF activity, employees, status, address, coordinates and directors (dirigeants).** Search by name or look up exact SIREN numbers — clean JSON/CSV/Excel in seconds. Built for KYC, due diligence, B2B prospecting and lead generation.

[![France](https://img.shields.io/badge/France-Company%20Registry-002395)]()
[![SIREN & VAT](https://img.shields.io/badge/SIREN%20%2B%20VAT%20%2B%20Directors-2da44e)]()
[![KYC & Leads](https://img.shields.io/badge/KYC%20%2F%20Lead--Gen-8250df)]()
[![Export](https://img.shields.io/badge/Export-JSON%20%2F%20CSV%20%2F%20Excel-fb8500)]()

***

### What This Actor Does

This Actor searches France's official company registry and returns rich structured data. For each company it captures:

- **Identity** — company name, **SIREN**, acronym, **VAT number**, legal form
- **Directors (dirigeants)** — names, roles (Président, Gérant…) and birth years — a real contact/lead layer
- **Profile** — NAF activity code, company size (GE/ETI/PME), employee range, status (active/ceased), establishment count, creation date
- **Location** — full HQ address, city, department, region, postal code and coordinates

Search by company name (paginated) or look up exact SIREN numbers to verify specific companies.

***

### Why Use This

- **KYC + directors in one.** Beyond SIREN/VAT/address, you get the company's directors — the people to contact, not just the entity.
- **Lead generation.** Director names + roles + company activity/size make targeted B2B outreach lists.
- **Official & complete.** Drawn from the French government's own company data — SIREN, VAT, legal form, status.
- **Clean and free.** Reads the official public API — no key, no anti-bot, no browser.

***

### Quick Start

#### Run it in the console (no code)

1. Add **Company name searches** (e.g. `boulangerie`, `logiciel`) and/or exact **SIREN numbers**.
2. Set **Max companies**, click **Start**.
3. Export as **JSON, CSV, Excel or HTML**, or push to Google Sheets, a webhook or a database.

#### Run it via API (Python)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run_input = {"searchTerms": ["logiciel"], "maxItems": 500}

run = client.actor("YOUR_USERNAME/france-companies-scraper").call(run_input=run_input)

for c in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(c["name"], "·", c["siren"], "·", c["vatNumber"], "·", c["directorNames"])
```

#### Build a director lead list (Python)

```python
run = client.actor("YOUR_USERNAME/france-companies-scraper").call(run_input={
    "searchTerms": ["agence marketing"], "maxItems": 500,
})
for c in client.dataset(run["defaultDatasetId"]).iterate_items():
    for d in c.get("directors", []):
        print(d["name"], "-", d["role"], "@", c["name"], c["city"])
```

***

### Input Parameters

| Field | Type | Description |
|---|---|---|
| `searchTerms` | array | Company names/keywords to search. |
| `sirenList` | array | Exact 9-digit SIREN numbers to look up. |
| `maxItems` | integer | Max companies across all searches. `0` = no limit. |
| `maxPages` | integer | Max pages per search (25 per page). Default `40`. |
| `proxyConfiguration` | object | Apify Proxy. Datacenter is enough (public API). |

***

### Output

Each company is one record:

```json
{
  "siren": "652014051",
  "name": "CARREFOUR",
  "vatNumber": "FR14652014051",
  "legalFormCode": "5599",
  "activityCode": "64.20Z",
  "companySize": "GE",
  "status": "Active",
  "establishments": 12,
  "dateCreated": "1963-01-01",
  "address": "93 Avenue de Paris, 91300 Massy",
  "city": "Massy", "department": "91", "region": "Île-de-France",
  "latitude": 48.72, "longitude": 2.29,
  "directorNames": "Alexandre Bompard; ...",
  "directors": [{"name": "Alexandre Bompard", "role": "Président du conseil d'administration", "birthYear": "1972"}],
  "registryUrl": "https://annuaire-entreprises.data.gouv.fr/entreprise/652014051"
}
```

Note: VAT is present for VAT-registered entities; directors are included where the registry publishes them.

***

### Use Cases

#### 1. KYC & due diligence

Verify French companies by SIREN, VAT, legal form, status and directors for onboarding and compliance.

#### 2. B2B lead generation

Build director-level lead lists by activity, size and region — with the names and roles of decision-makers.

#### 3. Prospecting & enrichment

Enrich CRM records with SIREN, VAT, address, size and director data.

#### 4. Market research

Map companies by NAF activity, size and region to size a market or track new registrations.

***

### Tips

- **SIREN** is the company identifier; **VAT** and **SIRET** (per-establishment) are also included.
- **`directors`** carries name + role + birth year; **`directorNames`** is a flat string for quick use.
- **`companySize`** is GE (large), ETI (mid), PME (SME) — handy for segmentation.
- **Schedule it** with Apify Schedules to monitor changes.

***

### Frequently Asked Questions

**Do I need an account or key?**
No. The registry API is public and free — no login, key or anti-bot.

**What is SIREN / SIRET?**
SIREN is the 9-digit company identifier; SIRET identifies a specific establishment. Both are official French identifiers.

**Are directors always included?**
Directors are included where the registry publishes them (most active companies). Individual entrepreneurs may have a single manager.

**What export formats are supported?**
JSON, CSV, Excel, HTML, or via API — plus Google Sheets, webhooks, Make and Zapier.

***

### Legal & Responsible Use

This Actor is an independent tool and is **not affiliated with, endorsed by, or sponsored by the French government or INSEE**. All trademarks are the property of their respective owners. It reads only the public company registry. Comply with applicable terms and data-protection laws (GDPR) when handling director data.

# Actor input Schema

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

Company names or keywords to search (e.g. "boulangerie", "carrefour", "logiciel"). Each is searched and paginated.

## `sirenList` (type: `array`):

Exact 9-digit SIREN numbers to look up (e.g. 652014051). Use for verifying specific companies.

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

Maximum companies across all searches. 0 = no limit (25 per page).

## `maxPages` (type: `integer`):

Maximum result pages per search term (25 companies per page).

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

Apify Proxy. The API is public — datacenter is enough and enabled by default.

## Actor input object example

```json
{
  "searchTerms": [
    "boulangerie"
  ],
  "maxItems": 100,
  "maxPages": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `siren` (type: `string`):

9-digit SIREN

## `name` (type: `string`):

Registered name

## `acronym` (type: `string`):

Acronym (sigle)

## `vatNumber` (type: `string`):

Intra-EU VAT number

## `legalFormCode` (type: `string`):

Legal form code

## `activityCode` (type: `string`):

NAF activity code

## `companySize` (type: `string`):

GE / ETI / PME

## `employeeRange` (type: `string`):

Employee range code

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

Active / Ceased

## `establishments` (type: `string`):

Number of establishments

## `dateCreated` (type: `string`):

Creation date

## `address` (type: `string`):

HQ address

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

Postal code

## `city` (type: `string`):

City

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

Department code

## `region` (type: `string`):

Region

## `latitude` (type: `string`):

Latitude

## `longitude` (type: `string`):

Longitude

## `siret` (type: `string`):

HQ SIRET

## `directorNames` (type: `string`):

Director names

## `directors` (type: `string`):

Directors with roles

## `registryUrl` (type: `string`):

Registry profile URL

## `scrapedAt` (type: `string`):

ISO timestamp

# 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,
    "maxPages": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("haketa/france-companies-scraper").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,
    "maxPages": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("haketa/france-companies-scraper").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,
  "maxPages": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call haketa/france-companies-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,haketa/france-companies-scraper"
        }
    }
}
```

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/eok8i8ll1q3la544K/builds/um8DXbZhvB5Mp4GbV/openapi.json
