# France Company Registry Scraper — SIREN & NAF Data (`stone_jadex/france-company-registry-scraper`) Actor

Search French companies by name, SIREN, NAF activity and geography. Export legal names, status and head-office data, with optional matching establishments. For B2B shortlists and CRM checks, not email or phone enrichment. $1.75 per 1,000 companies.

- **URL**: https://apify.com/stone_jadex/france-company-registry-scraper.md
- **Developed by:** [Stone Jade](https://apify.com/stone_jadex) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 94.1% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.49 / 1,000 result rows

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

Find French legal entities in the public Recherche d’entreprises register for B2B list building, CRM matching and supplier research. Company rows are organized around SIREN; matching establishments can be included separately within each company record.

### What you gain

- Match a CRM company to its SIREN and head-office SIRET rather than relying on name alone.
- Build a geographically focused list using postal code, department, region, or a map point (`lat` + `lon`, alias `long`) with a radius greater than 0 km and at most 50 km. A radius search matches establishments (branches) inside the radius, so the head office may lie outside it; the main row shows the head-office address, and `matchingEstablishments` lists the establishments that matched inside the radius.
- Filter by director or elected-official name, published revenue, and RGE or Qualiopi certification, or pass further official query parameters through `extraParams` (date-of-birth parameters are not forwarded). Pagination keys in `extraParams` (`page`, `per_page`, `page_size`, `offset`, `limit`, `limite`, `cursor`, `start`, `from`, `size`, `debut`) are dropped with a warning, because the Actor controls paging.
- Compare administrative status, legal form and employee range where published. Latest-year finances are included when the source provides them; directors are optional (`includeDirectors`).
- Preview how many companies match a search for free (`countOnly` or `mode` set to `count`) before you pay for rows.

### Ways to use the data

- A B2B team can identify active companies in selected departments and activity codes for a prospect list, or first run a free count preview to size the list.
- A procurement analyst can look up supplier SIRENs and examine headquarters and matching establishments before manual verification.
- A market researcher can shortlist companies near a site, or with a named director, a published revenue band, or RGE or Qualiopi certification.

### Delivery preview

These three rows are a **historical sample** from a live request to the public Recherche d’entreprises API on 1 November 2026, archived in this repository as `docs/live-sample.json`. They are not from a live run of the current Store listing. Fields may be missing in actual records. Revenue is the latest year published at capture, in EUR. `vatNumber` is computed from the SIREN and is not an official registry value. Directors were not requested in that run.

| Company | SIREN | Head-office SIRET | Head-office city | NAF | Latest revenue (EUR) |
|---|---|---|---|---|---|
| BOULANGERIES PAUL | 403052111 | 40305211102616 | MARCQ-EN-BARŒUL | 10.71A | 73,611,839 (2024) |
| BOULANGERIE NEUHAUSER | 638502963 | 63850296300082 | FOLSCHVILLER | 10.71A | 489,214,400 (2024) |
| LA BOULANGERIE | 801025057 | 80102505700010 | NEUILLY-SUR-SEINE | 10.71C |  |

Main output fields: `siren`, `siret`, `name`, `legalName`, `legalFormLabel`, `nafCode`, `nafLabel`, `city`, `postalCode`, `departement`, `active`, `employeeRangeLabel`, `vatNumber`, `finances`, `directors`, `establishments`, `matchingEstablishments`, `annuaireUrl`, `complements`, `scrapedAt`, `recordType`. `legalName` is the registered legal name (`nom_raison_sociale`), kept separate from `name`; it is null when the source omits it or the value is empty or whitespace only. `matchingEstablishments` is present on every row of a radius search (input `lat` + `lon`): it lists up to 100 matching establishments from the same API response, in the same shape as `establishments` (mapped fields, not the raw API record; null entries dropped), and is `[]` when there are none. On a non-radius search it is null. It adds no request and no charge.

### Why choose this Actor

- Exact SIREN lookup supports entity matching; optional establishment results provide branch context without treating each branch as a separate company row.
- Searches that would exceed the source API’s 10,000-result cap are split by department or postal code and de-duplicated. This split does not apply to a radius search (`/near_point`): when paging actually reaches the 10,000 cap, results are truncated as returned, `truncatedAtApiCap` is set to true with a note to narrow the radius, and no duplicate rows are written. If an ordinary search still exceeds the cap within a single postal code, it is truncated with a `Postcode …` warning.
- NAF and legal-form labels enrich the source codes, and director birth dates are stripped. A computed intra-community VAT number is added from the SIREN; it is not copied from an official VAT register.
- A free count preview lets you size a filter set before any company row is charged.

### Pricing

Prices in **USD**, verified on 11 November 2026 against the public Apify Store. Check the current Pricing tab before running.

| Result type | This Actor | dltik (11 Nov 2026) |
| --- | ---: | ---: |
| Company record | $1.75 per 1,000 results ($0.00175 per result) | $8.00 per 1,000 results (company record event) |

$1.75 vs $8.00 / 1,000 (dltik, 11 Nov 2026). For example, 1,000 results at the company record rate incur $1.75 in result-event charges. There is no Actor start fee on this Actor. A count preview writes no company rows and is not charged. dltik also lists an optional AI company-analysis event at $0.01 per company, charged on top of the company record. This calculation covers Actor event charges. Review Pricing for any separately listed platform usage; later access to stored data follows Apify's applicable storage pricing.

#### Apify Store subscription tier discounts

Automatic volume discounts apply to the `result-row` event across Apify subscription plans (effective 20 November 2026; Free-tier base price unchanged):

| Apify plan tier | Discount | Price per result | Price per 1,000 results |
| --- | ---: | ---: | ---: |
| Free | Base rate | $0.0017500 | $1.7500 |
| Bronze | 5% off | $0.0016625 | $1.6625 |
| Silver | 10% off | $0.0015750 | $1.5750 |
| Gold | 15% off | $0.0014875 | $1.4875 |
| Platinum | 15% off | $0.0014875 | $1.4875 |
| Diamond | 15% off | $0.0014875 | $1.4875 |

### Try it in three steps

1. Enter a company query or exact SIRENs, or select geographic, activity, director-name, revenue or certification filters. To size a search first, set `countOnly` to true (or `mode` to `count`).
2. Set `maxItems`; enable matching establishments or directors only if needed.
3. Run the Actor, review the dataset and export the results in your preferred available format. To ignore the free wrap-up row, drop records where `recordType` is `run-notice`.

#### Verify a known company

For researchers verifying a known French company, look it up by SIREN and request one record.

```json
{
  "sirens": ["403052111"],
  "maxItems": 1,
  "maxRequestsPerSecond": 1
}
```

#### Small Paris restaurant-company shortlist

For analysts building a small Paris restaurant-company shortlist, filter active companies by NAF code and department and include establishments.

```json
{
  "nafCodes": ["56.10A"],
  "departements": ["75"],
  "activeOnly": true,
  "includeEstablishments": true,
  "maxItems": 5,
  "maxRequestsPerSecond": 1
}
```

#### Free count preview

To see how many companies match a filter set without writing or charging any company row. A successful preview finishes with the status message `Count preview: <N> companies match the input. Nothing was charged.` The source API reports at most 10,000 matches, so at that cap the status reads `Count preview: at least 10,000 companies match the input. Nothing was charged.` and `totalResultsIsLowerBound` is true. A SIREN list is not supported: no request is sent, `totalResults` is null, and the status is `Count preview is only available for search filters, not a SIREN list. Nothing was charged.`:

```json
{
  "query": "boulangerie",
  "departements": ["75"],
  "activeOnly": true,
  "countOnly": true
}
```

### API and SDK quickstart

Run this Actor programmatically with the official Apify JavaScript or Python clients. Filter out the trailing wrap-up row (`recordType === "run-notice"`) to work strictly with company rows.

#### JavaScript (`ApifyClient`)

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });

const run = await client.actor('Stone_JadeX/france-company-registry-scraper').call({
    nafCodes: ['56.10A'],
    departements: ['75'],
    activeOnly: true,
    maxItems: 50,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
const companies = items.filter((row) => row.recordType !== 'run-notice');
console.log(`Fetched ${companies.length} French companies`);

const summary = await client.keyValueStore(run.defaultKeyValueStoreId).getRecord('OUTPUT');
console.log('Status:', summary?.value?.statusMessage);
```

#### Python (`ApifyClient`)

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])

run = client.actor("Stone_JadeX/france-company-registry-scraper").call(run_input={
    "nafCodes": ["56.10A"],
    "departements": ["75"],
    "activeOnly": True,
    "maxItems": 50,
})

companies = [
    row
    for row in client.dataset(run["defaultDatasetId"]).iterate_items()
    if row.get("recordType") != "run-notice"
]
print(f"Fetched {len(companies)} French companies")
```

### Coverage and FAQ

**What are the limits?** The source API limits a search to 10,000 results; splitting by department and postal code may still leave incomplete coverage. A radius search uses `lat` together with `lon` (the alias `long` is also accepted; if both are set, `lon` wins) and optional `radiusKm` (greater than 0 and at most 50 km; omit it to use the API default). `radiusKm` requires `lat` and `lon`; without them the run fails as `invalid-input`, no request is sent and nothing is charged. The free-text query is not sent on a radius search. A radius search is not split by department or postal code; `truncatedAtApiCap` is true only when a `/near_point` radius search actually pages to the 10,000 cap; if `maxItems` stops the run first (including `maxItems` of exactly 10,000), it stays false. A SIREN list does not support a count preview (`totalResults` is then null and no search is sent). Sole-trader and restricted records have privacy restrictions, and fields can be unavailable. `vatNumber` is computed from the SIREN; do not treat it as an official VAT registration. Latest-year `finances` are included when the source provides them; they are not an input option. `directors` appear only when `includeDirectors` is true, with birth dates removed.

**What happens if the register blocks the run?** On HTTP 403, 412 or 429 (including when reading robots.txt), the Actor waits 30 seconds, then 60 seconds, and retries; at most two backoffs, three attempts in total. If it is still blocked, the whole run stops with `blocked-<status>` (for example `blocked-429`). There is no `http-429` stop reason. Rows already saved stay in the dataset and remain charged, and that run succeeds. If no company row was saved, the run is marked Failed and nothing is charged. The Actor does not use a proxy and does not switch IP or proxy after a block. A refused redirect to a URL off the API allow-list (for example a login page) stops the run as `blocked-<status>` when a status is present, or as `blocked-login-redirect` when it is not. HTTP 5xx is retried the same way and, if it persists, stops the run as `http-5xx`. An HTTP 200 challenge or verification page (HTML instead of JSON) stops the whole run immediately as `blocked-challenge`, without retry: with no company row saved the run is Failed and nothing is charged; otherwise the run succeeds and the charged rows stay. If a charged row cannot be saved after retries, it is counted in `OUTPUT.chargedButNotPushed`, and a run that saved no row says so in its status message instead of “Nothing was charged.” Other stop reasons include `count-preview`, `no-results`, `no-more-results`, `maxItems`, `max-charge-reached`, `time-limit`, `invalid-sirens`, `invalid-input`, `invalid-filter`, `api-cap`, `bad-page-structure`, `errors`, `not-found-404` and `gone-410`.

**When is the run-notice row written, and how do I filter it?** A free `run-notice` row (`recordType`: `run-notice`, `charged`: false) is written at the end of every successful run, and also on every `blocked-*` stop (including a failed 0-row block, where it includes `httpStatus`; a `blocked-challenge` notice has no `httpStatus`). On a radius search that actually paged to the 10,000 cap it also carries `truncatedAtApiCap` and `truncationNote`. It is not written on other failed runs such as `invalid-input`. Filter it out by keeping records whose `recordType` is not `run-notice`.

**Is this a live feed or an alert service?** Each run captures data available at that time. Repeated collection and any comparison, alerting or decisions require your own workflow.

**Will every field be populated?** No. The source may omit values, change a page or restrict access; check the original record before relying on it. A configured maximum does not guarantee that many results.

**Is it legal to scrape the Recherche d’entreprises register?** This Actor reads only the public Recherche d’entreprises API. It does not log in or bypass access controls. You are responsible for ensuring that your own use of the data complies with applicable law, including reuse and marketing rules.

### Changelog

#### 2026-11-21

- Added structured `sectionCaption` groupings and explicit `prefill` on `maxItems` alongside `query` in `.actor/input_schema.json` for a cleaner Apify Console input form.
- Documented Apify Store subscription tier discounts (`Free` through `Diamond`) matching live tiered Pay-Per-Event pricing.
- Added JavaScript and Python `ApifyClient` SDK quickstart examples (`Stone_JadeX/france-company-registry-scraper`).

# Changelog

This Actor's version history is a separate document: https://apify.com/stone_jadex/france-company-registry-scraper/changelog.md

# Actor input Schema

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

Free-text search sent as the API q parameter (company name, address fragment, SIREN/SIRET, director name). Leave empty when using only filters or the sirens list.

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

French 5-digit postal codes (code_postal). Filters matching establishments. Useful to narrow large queries below the API 10,000-result cap.

## `departements` (type: `array`):

INSEE departement codes (e.g. 75, 2A, 974). When a query hits the 10,000-result API cap, the Actor auto-splits by departement (then by postal code) to fetch more.

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

INSEE region codes (e.g. 11 for Ile-de-France) passed as the region filter.

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

Principal activity codes (activite_principale), e.g. 56.10A. Labels are enriched from the bundled NAF table.

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

Section of principal activity (section_activite_principale), letters A-U.

## `legalForms` (type: `array`):

INSEE nature_juridique codes (e.g. 5710 for SAS, 1000 for sole trader). Labels are enriched from the bundled table.

## `employeeRanges` (type: `array`):

INSEE tranche_effectif_salarie codes (e.g. 12 = 20 to 49 employees).

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

INSEE categorie_entreprise values: PME, ETI, GE.

## `activeOnly` (type: `boolean`):

When true, sets etat_administratif=A so only administratively active legal units are returned.

## `estAssociation` (type: `boolean`):

When true, sets est_association=true. Leave empty for no filter.

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

Exact SIREN numbers to look up (one API search per SIREN). Handy for CRM enrichment and KYC batch checks. Each value must be exactly 9 digits (spaces allowed); malformed values are skipped and named in OUTPUT.warnings.

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

Stop after this many company rows have been pushed (and charged under pay-per-event). Default 100.

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

When true, requests matching_etablissements from the API and includes them on each row. Default false. On a radius search (lat/lon, /near_point) the API is always asked for up to 100 matching establishments, which fill matchingEstablishments on every row whether or not this is on.

## `includeDirectors` (type: `boolean`):

When true, includes dirigeants. Birth dates for natural persons are always stripped (name and role only). Default false.

## `maxRequestsPerSecond` (type: `number`):

Client-side rate limit. The API documents 7 calls/s; default is 4 req/s. Never set above 7.

## `requestDelaySecs` (type: `number`):

Optional extra floor for start-to-start spacing. The effective interval is the maximum of this value, 1/maxRequestsPerSecond, and any robots.txt Crawl-delay.

## `countOnly` (type: `boolean`):

When true, the Actor sends only the first search request and stores its total in OUTPUT.totalResults with stopReason count-preview. No company rows are written and nothing is charged (only the free run-notice row). Same as mode "count". With a SIREN list (sirens) no request is sent: totalResults is null, a warning is added and the status says the preview is only available for search filters, not a SIREN list. When the API returns total_results of 10000 (its cap), OUTPUT.totalResults stays 10000, totalResultsIsLowerBound is true, and the status says "at least 10,000" companies match.

## `mode` (type: `string`):

Optional. "count" (case-insensitive) is the same as countOnly = true; any other value or empty runs a normal search. Kept for API-style inputs; countOnly is the switch shown in the form.

## `lat` (type: `number`):

Latitude for a radius search around a point. Must be given together with lon (or its alias long); then the Actor calls the same API's /near_point endpoint (the free-text query is not sent there) with lat, long and radius. /near_point requests also send limite_matching_etablissements=100, and every row then carries matchingEstablishments (in-radius establishments from the same response; no extra request or charge).

## `lon` (type: `number`):

Longitude for the radius search; the alias long is also accepted (lon wins when both are set). Must be given together with lat, otherwise the run fails as invalid input.

## `radiusKm` (type: `number`):

Radius around lat/lon in kilometres, sent as radius. Must be greater than 0 and at most 50; otherwise the run fails as invalid input. Requires lat and lon; radiusKm without a point fails as invalid input (no request is sent, no run-notice row) and nothing is charged. Empty uses the API's default radius. The /near_point request also sends limite_matching_etablissements=100 (rows get matchingEstablishments).

## `nomPersonne` (type: `string`):

Sent as nom_personne: companies with a director (or elected official) of this last name.

## `prenomsPersonne` (type: `string`):

Sent as prenoms_personne: first name(s) of the director or elected official.

## `typePersonne` (type: `string`):

Sent as type_personne. The API documents dirigeant (director) or elu (élu, elected official); the value is passed through as typed.

## `caMin` (type: `number`):

Sent as ca_min: minimum turnover (chiffre d'affaires) in euros, for companies that publish it.

## `caMax` (type: `number`):

Sent as ca_max: maximum turnover (chiffre d'affaires) in euros.

## `estRge` (type: `boolean`):

true sends est_rge=true (RGE-certified companies only), false sends est_rge=false. Leave empty for no filter.

## `estQualiopi` (type: `boolean`):

true sends est_qualiopi=true (Qualiopi-certified training providers only), false sends est_qualiopi=false. Leave empty for no filter.

## `extraParams` (type: `object`):

Optional object of other Recherche d'entreprises query parameters, passed through as key=value. Parameters the Actor already builds itself are dropped (built-in: q, code_postal, departement, region, activite_principale, section_activite_principale, nature_juridique, tranche_effectif_salarie, categorie_entreprise, etat_administratif, est_association, limite_matching_etablissements, lat, long, lon, radius, nom_personne, prenoms_personne, type_personne, ca_min, ca_max, est_rge, est_qualiopi), and so are date_naissance_personne_min and date_naissance_personne_max. Empty values are skipped; a non-object is ignored. Pagination parameters are also dropped with a warning and cannot override the Actor's paging: page, per_page, page_size, offset, limit, limite, cursor, start, from, size, debut. The warning reads 'Ignored extraParams (<keys>): pagination parameters such as page and per_page are controlled by the Actor and cannot be overridden.'

## Actor input object example

```json
{
  "query": "boulangerie",
  "activeOnly": false,
  "maxItems": 100,
  "includeEstablishments": false,
  "includeDirectors": false,
  "maxRequestsPerSecond": 4
}
```

# Actor output Schema

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

Company rows and, when the run succeeds, the final free run-notice row in the default dataset. Directors and establishments are present only when requested in the input. A blocked-\* stop also ends with the run-notice row (with httpStatus), even when the run fails.

## `summary` (type: `string`):

Run statistics, HTTP counters, warnings, errors, stop reason and status message saved to the key-value store record OUTPUT. Includes totalResults (count preview: countOnly or mode count gives stopReason count-preview, one request, no rows, nothing charged; otherwise the first search request's total; null for a SIREN-list preview; when the API caps the total at 10000, totalResultsIsLowerBound is true and the count-preview status says at least 10,000). Also truncatedAtApiCap and truncationNote, set only when a /near_point (lat/lon) radius search actually exhausts the 10,000-result cap (not when maxItems stops the run first; it is not split by département or postcode; the stop reason stays no-more-results, maxItems, etc.), blockedHttpStatus and errors\[].httpStatus. Block stop reasons: blocked-403, blocked-412, blocked-429 (after a 30 s then 60 s backoff), blocked-<n> (refused redirect, e.g. to a login page, with HTTP status n), blocked-challenge (HTTP 200 HTML challenge or verification page; no retry or backoff, no blockedHttpStatus) and blocked-login-redirect (same without a status); a block ends the whole run, FAILED with 0 rows (nothing charged), SUCCEEDED with the rows already saved and charged.

# 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": "boulangerie",
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("stone_jadex/france-company-registry-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 = {
    "query": "boulangerie",
    "maxItems": 100,
}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,stone_jadex/france-company-registry-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/kiw16ht0p7Ihqpw49/builds/5lEBzzbz92eeQn6Ei/openapi.json
