# French ICPE Classified Installations (Georisques) (`vigilant_jasmine/french-icpe-classified-installations`) Actor

Search the official French ICPE register of classified industrial installations by INSEE commune code. Filter Seveso sites and activity. Returns company, SIRET, regime, IED, inspections and coordinates. Free official open data.

- **URL**: https://apify.com/vigilant\_jasmine/french-icpe-classified-installations.md
- **Developed by:** [DEV DEV](https://apify.com/vigilant_jasmine) (community)
- **Categories:** Business, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 ICPE Classified Installations (Géorisques)

### What it does

This Actor searches the **official French register of ICPE installations** (*Installations Classées pour la Protection de l'Environnement*) — every industrial, agricultural or waste site whose activity is regulated for environmental risk. Give it INSEE commune codes and it returns each **installation classée** with company name, SIRET, address, regulatory `regime` (Déclaration / Enregistrement / Autorisation), **Seveso status**, IED flag, operating state and inspection history. You can restrict results to **Seveso sites only** or to a single activity (industry, quarry, wind farm, cattle, pigs, poultry).

Data comes from the **Géorisques API** (BRGM / French Ministry for Ecological Transition), covering ~137 000 installations — an official API, not a fragile HTML scraper.

### Input

| Field | Type | Required | Description |
|---|---|---|---|
| `inseeCodes` | array of strings | yes | 5-character INSEE commune codes (e.g. `21231`, `2A004`). Not postal codes. |
| `sevesoOnly` | boolean | no | Keep only Seveso-classified sites. Default `false`. |
| `activity` | string | no | `Industry`, `Quarry`, `Wind farm`, `Cattle`, `Pigs`, `Poultry`, or `Any`. Default `Any`. |
| `maxResultsPerQuery` | integer | no | Max installations per commune, 1–500. Default `100`. |

### Output

One dataset item per installation. Every item carries a `status` field: `found`, `not_found` or `error`.

```json
{
  "query": "33183",
  "status": "found",
  "companyName": "PITCH IMMO SNC : HEXAHUB",
  "siret": "42298971500186",
  "address": "Secteur de la Marquette",
  "postalCode": "33240",
  "city": "Gauriaguet",
  "inseeCode": "33183",
  "nafCode": "41",
  "regime": "Enregistrement",
  "sevesoStatus": "Non Seveso",
  "isSeveso": false,
  "ied": false,
  "activityState": "En exploitation avec titre",
  "nationalPriority": false,
  "activities": ["industrie"],
  "inspectionCount": 2,
  "lastInspectionDate": "2023-09-11",
  "aiotCode": "0000000002",
  "inspectionService": "DREAL NA",
  "latitude": 45.047193,
  "longitude": -0.394171,
  "lastUpdate": "2024-06-18/10-28-12",
  "source": "Georisques - Installations classees ICPE"
}
```

### Use cases

- **Environmental due diligence**: list every classified installation in a commune before a site acquisition or a real-estate deal.
- **Seveso screening**: extract only high-risk sites around a location for HSE and insurance risk assessment.
- **Industrial B2B prospecting**: build a file of regulated industrial operators by area and activity, with SIRET for CRM matching.
- **Compliance monitoring**: track regulatory regime, operating state and inspection history of known operators.

### Limitations & fair use

- The Géorisques API filters on `code_insee` only — search by commune name or postal code is not supported upstream. Convert names to INSEE codes first (an INSEE code is *not* a postal code).
- `inspections` are summarised into `inspectionCount` and `lastInspectionDate`; the raw per-inspection detail is not flattened.
- Data quality is that of the upstream register: some records carry incomplete addresses or a `null` NAF code.
- The Actor paginates politely (short delay between pages). Please keep volumes reasonable.
- Source: Géorisques (BRGM / MTE) open data, **Licence Ouverte / Open Licence (Etalab)**. Attribution expected on redistribution.

### Pricing

This Actor is **free**. You only pay your own Apify platform consumption (compute units), typically a fraction of a cent per run.

### More actors by this developer

Reliable tools built on official French & EU open-data APIs — company data, compliance checks and B2B enrichment: **[see all actors by vigilant\_jasmine](https://apify.com/vigilant_jasmine)**.

# Actor input Schema

## `inseeCodes` (type: `array`):

One 5-character INSEE commune code per line (e.g. 21231 for Dijon, 2A004 for Ajaccio). This is the official commune code, not the postal code.

## `sevesoOnly` (type: `boolean`):

Return only installations with a Seveso status (high or low threshold), i.e. the highest-risk industrial sites.

## `activity` (type: `string`):

Restrict results to one activity type. Leave on 'Any' to return every installation.

## `maxResultsPerQuery` (type: `integer`):

Maximum number of installations returned per INSEE code (1-500).

## Actor input object example

```json
{
  "inseeCodes": [
    "21231",
    "69123"
  ],
  "sevesoOnly": false,
  "activity": "Any",
  "maxResultsPerQuery": 15
}
```

# 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 = {
    "inseeCodes": [
        "21231",
        "33183"
    ],
    "activity": "Any",
    "maxResultsPerQuery": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("vigilant_jasmine/french-icpe-classified-installations").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 = {
    "inseeCodes": [
        "21231",
        "33183",
    ],
    "activity": "Any",
    "maxResultsPerQuery": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("vigilant_jasmine/french-icpe-classified-installations").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 '{
  "inseeCodes": [
    "21231",
    "33183"
  ],
  "activity": "Any",
  "maxResultsPerQuery": 15
}' |
apify call vigilant_jasmine/french-icpe-classified-installations --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=vigilant_jasmine/french-icpe-classified-installations",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/5Y9b2tO52oyCQtCKJ/builds/eGmV5ibIvXzooyoXu/openapi.json
