# French Legal Notices Scraper (Mentions Légales) (`fit_melon/french-legal-notices-scraper-mentions-legales`) Actor

Extract SIRET, SIREN, VAT number, company name, manager, emails & phones from the "mentions légales" pages of French websites. Feed it domains, get a CRM-ready B2B database. Luhn-validated identifiers.

- **URL**: https://apify.com/fit\_melon/french-legal-notices-scraper-mentions-legales.md
- **Developed by:** [D N](https://apify.com/fit_melon) (community)
- **Categories:** Automation, E-commerce, SEO tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## French Legal Notices Scraper (Mentions Légales) 🇫🇷

Extract **SIRET, SIREN, VAT number, company name, legal form, manager name, emails, phone numbers and registered address** from any French website — automatically.

Every French website is legally required to publish a **"mentions légales"** page containing the company's official identification data. This Actor finds that page for you and turns it into clean, structured B2B data.

Give it a list of domains. Get back a ready-to-use company database.

### 💡 What can you do with it?

- **B2B lead enrichment** — turn a list of prospect websites into a CRM-ready file with SIRET, decision-maker name, email and phone.
- **Sales prospecting in France** — qualify local businesses (plumbers, restaurants, agencies…) at scale.
- **KYB / compliance checks** — verify that a website belongs to a real registered company (SIREN validated with the Luhn algorithm).
- **Market research** — map legal forms, locations and hosting providers across an industry.
- **Agency workflows** — enrich Google Maps scraping results with official company identifiers.
- **Enrich further** — pipe the extracted SIRETs into the [French Company Data Enricher](https://apify.com/fit_melon/french-company-data-enricher-siren-dirigeants-sirene) to get directors' names, headcount and financials.

### ⚙️ How it works

1. For each input domain, the Actor loads the homepage and looks for a link to the legal notice page (*mentions légales*, *legal notice*, *informations légales*…).
2. If no link is found, it probes **14 common French URL patterns** (`/mentions-legales`, `/mentions_legales.html`, `/pages/mentions-legales`, …) with a soft-404 guard.
3. It parses the page and extracts structured data with France-specific logic:
   - **SIRET** (14 digits) and **SIREN** (9 digits), both **validated with the Luhn checksum**
   - **VAT number** (TVA intracommunautaire), **RCS** city and number, **NAF/APE code**
   - Company name, legal form (SARL, SAS, SASU, EURL, SCI…), share capital
   - Manager (*gérant*, *président*) and publication director
   - Emails (including de-obfuscation of `contact [at] domain [dot] fr`), French phone numbers
   - Registered address, postal code, city, and hosting provider
4. One dataset item is produced per domain, with a clear `status`: `found`, `legal_notice_not_found`, or `unreachable`.

No headless browser: the Actor uses fast, lightweight HTTP crawling, so runs are quick and cheap.

### 📥 Input

```json
{
    "startUrls": [
        { "url": "example-company.fr" },
        { "url": "https://www.another-company.fr" }
    ],
    "maxConcurrency": 10,
    "proxyConfiguration": { "useApifyProxy": true }
}
````

Plain domains work — no need to find the legal notice URL yourself.

### 📤 Output example

```json
{
    "domain": "exemple-plomberie.fr",
    "status": "found",
    "legalNoticeUrl": "https://exemple-plomberie.fr/mentions-legales",
    "companyName": "PLOMBERIE MARTIN",
    "legalForm": "SARL",
    "siren": "732829320",
    "sirenLuhnValid": true,
    "siret": "73282932000074",
    "siretLuhnValid": true,
    "tvaIntra": "FR40732829320",
    "rcsCity": "Lille Métropole",
    "rcsNumber": "732829320",
    "naf": "4322A",
    "capital": "10 000 €",
    "managerName": "Jean Martin",
    "publicationDirector": "Jean Martin",
    "emails": ["contact@exemple-plomberie.fr"],
    "phones": ["0320123456"],
    "address": "12 rue des Artisans, 59000 Lille",
    "postalCode": "59000",
    "city": "Lille",
    "hostingProvider": "OVH",
    "scrapedAt": "2026-07-03T10:00:00.000Z"
}
```

Export to **CSV, Excel, JSON** or connect directly to Make, Zapier, Google Sheets and 5,000+ tools via Apify integrations.

### ❓ FAQ

**Is this legal?**
The Actor only reads information that French law (LCEN, art. 6-III) *requires* companies to publish publicly on their own websites. You remain responsible for how you use the data, in particular for GDPR compliance of your outreach.

**What about JavaScript-heavy websites?**
This version uses fast HTTP crawling. Sites that render their entire content with client-side JavaScript (rare for legal notice pages) may return `legal_notice_not_found`.

**How accurate is the extraction?**
SIREN/SIRET numbers are checksum-validated (Luhn), so false positives are flagged. Free-text fields (company name, manager) use multiple extraction strategies but depend on how each site wrote its legal notice.

**Can I scrape thousands of domains?**
Yes — that's the point. Concurrency is configurable and one result costs a fraction of a cent.

***

*Keywords: mentions légales scraper, SIRET scraper, SIREN extractor, French company data, B2B leads France, KBIS alternative, TVA intracommunautaire, French business scraper, extraction mentions légales, enrichissement de leads.*

# Actor input Schema

## `startUrls` (type: `array`):

List of French websites (plain domains or full URLs, one per line). The Actor automatically locates the <b>mentions légales</b> page of each site — you don't need to provide the exact legal-notice URL.

## `maxConcurrency` (type: `integer`):

Maximum number of pages processed in parallel. Lower it if target sites rate-limit you.

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

Proxies to use. Apify Proxy (automatic) is recommended to avoid IP blocking.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.o2switch.fr"
    },
    {
      "url": "https://www.hebergeur-image.fr"
    }
  ],
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

# 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 = {
    "startUrls": [
        {
            "url": "https://www.o2switch.fr"
        },
        {
            "url": "https://www.hebergeur-image.fr"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("fit_melon/french-legal-notices-scraper-mentions-legales").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 = {
    "startUrls": [
        { "url": "https://www.o2switch.fr" },
        { "url": "https://www.hebergeur-image.fr" },
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("fit_melon/french-legal-notices-scraper-mentions-legales").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.o2switch.fr"
    },
    {
      "url": "https://www.hebergeur-image.fr"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call fit_melon/french-legal-notices-scraper-mentions-legales --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=fit_melon/french-legal-notices-scraper-mentions-legales",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "French Legal Notices Scraper (Mentions Légales)",
        "description": "Extract SIRET, SIREN, VAT number, company name, manager, emails & phones from the \"mentions légales\" pages of French websites. Feed it domains, get a CRM-ready B2B database. Luhn-validated identifiers.",
        "version": "0.0",
        "x-build-id": "IjeDsUc230Id2WDsh"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/fit_melon~french-legal-notices-scraper-mentions-legales/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-fit_melon-french-legal-notices-scraper-mentions-legales",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/fit_melon~french-legal-notices-scraper-mentions-legales/runs": {
            "post": {
                "operationId": "runs-sync-fit_melon-french-legal-notices-scraper-mentions-legales",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/fit_melon~french-legal-notices-scraper-mentions-legales/run-sync": {
            "post": {
                "operationId": "run-sync-fit_melon-french-legal-notices-scraper-mentions-legales",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "startUrls"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Websites to analyze",
                        "type": "array",
                        "description": "List of French websites (plain domains or full URLs, one per line). The Actor automatically locates the <b>mentions légales</b> page of each site — you don't need to provide the exact legal-notice URL.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxConcurrency": {
                        "title": "Max concurrency",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "Maximum number of pages processed in parallel. Lower it if target sites rate-limit you.",
                        "default": 10
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Proxies to use. Apify Proxy (automatic) is recommended to avoid IP blocking.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
