# France Company Risk Monitor — Insolvency & KYB Events (BODACC) (`akeeml/france-company-risk-monitor`) Actor

Daily feed of French company risk events from official BODACC open data — insolvency proceedings, strike-offs, business sales and modifications — enriched with NAF activity, officers, address and status. For KYB, credit-risk and portfolio monitoring.

- **URL**: https://apify.com/akeeml/france-company-risk-monitor.md
- **Developed by:** [OpenData Leads](https://apify.com/akeeml) (community)
- **Categories:** Lead generation, Automation, Developer 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

## France Company Risk Monitor — Insolvency & KYB Events 🇫🇷

Monitor **French company risk events every day**, enriched and ready for your
KYB, credit-risk or portfolio-monitoring workflow.

This Actor turns France's official **BODACC** gazette into a clean, deduplicated
event feed. Track **insolvency proceedings, strike-offs, business sales and
corporate modifications** — filtered by sector, department and date — with each
company enriched with its **NAF activity, officers, head-office address and
administrative status (active / closed)**.

Built for credit teams, KYB/AML analysts, factoring and insurance firms who need
early warning on counterparties and portfolios.

### Why this over a raw BODACC scraper

Most BODACC tools dump the bare legal notice. This Actor **joins each event to the
official `recherche-entreprises` API**, so every row already carries the company's
sector, decision-makers, address and live status — turning a gazette line into an
actionable risk signal. It **deduplicates by notice** and is **delta-native** —
schedule it daily and each run returns only what's new.

### Event types

| `eventFamilies` value | Meaning |
|---|---|
| `collective` | Insolvency proceedings (redressement, liquidation, sauvegarde) |
| `radiation` | Strike-off / dissolution |
| `vente` | Business sale (fonds de commerce) |
| `modification` | Officer / capital / address change |
| `creation` | New registration |
| `dpc` | Accounts filing (dépôt des comptes) |

Default monitors the three highest-signal risk families: `collective`, `radiation`, `vente`.

### Input

| Field | Description |
|---|---|
| `eventFamilies` | Which event types to monitor (default: insolvency, strike-off, sale). |
| `lastNDays` | Look-back window in days (default 7). Use `1`–`2` for a daily schedule. |
| `sinceDate` | `YYYY-MM-DD`; overrides the window. Page from your last run. |
| `departments` | Department codes to include, e.g. `75`, `92`. Empty = all France. |
| `nafPrefixes` | Sector prefixes, e.g. `56` (food service). Empty = all. |
| `enrich` | Add NAF, officers, address, status (default on). |
| `maxResults` | Max event rows per run (default 200). |

#### Example — watch insolvencies in your portfolio's sectors

```json
{
    "eventFamilies": ["collective"],
    "lastNDays": 2,
    "nafPrefixes": ["56", "47"],
    "maxResults": 500
}
````

### Output

One row per event (flat JSON / CSV / Excel):

```json
{
    "siren": "930839345",
    "event_family": "collective",
    "event_label": "Insolvency proceeding",
    "denomination": "…",
    "ville": "…", "code_postal": "…", "departement": "…", "region": "…",
    "tribunal": "…",
    "date_parution_bodacc": "2026-07-05",
    "naf_code": "56.10C",
    "adresse_siege": "…",
    "tranche_effectif": "…",
    "categorie_entreprise": "…",
    "etat_administratif": "A",
    "dirigeants": [{ "nom": "…", "qualite": "…", "annee_naissance": "…" }]
}
```

### Scheduling a daily monitor

Schedule the Actor daily with `lastNDays: 2` (a small overlap absorbs BODACC
publication lag; rows are deduplicated by notice within each run). Push the
dataset to your CRM, a Google Sheet, a webhook, or a risk dashboard.

### Data sources & legality

- **BODACC** — official DILA open data (Licence Ouverte / CC-BY), via the
  Opendatasoft Explore API.
- **recherche-entreprises** (Annuaire des Entreprises) — official open API over
  INSEE Sirene + INPI RNE.

Both are official open-government data — no login, no API key. Records flagged
non-diffusible are returned with `[NON-DIFFUSIBLE]` placeholders, as required by
French law.

This is an **informational monitoring feed**, not a compliance or credit
certification.

# Actor input Schema

## `eventFamilies` (type: `array`):

Which BODACC event families to include. collective = insolvency proceedings, radiation = strike-off / dissolution, vente = business sale, modification = officer/capital/address change, creation = new registration, dpc = accounts filing.

## `lastNDays` (type: `integer`):

Include notices published in the last N days. Ignored if 'Published since' is set. For a daily scheduled monitor, use 1–2.

## `sinceDate` (type: `string`):

Only notices published on/after this date. Overrides the look-back window. Use to page from your last run.

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

French department codes to include, e.g. 75, 92, 2A. Empty = all of France.

## `nafPrefixes` (type: `array`):

Keep only companies whose NAF activity code starts with one of these, e.g. 56 (food service), 41 (construction). Requires enrichment. Empty = all sectors.

## `enrich` (type: `boolean`):

Join each company to the official recherche-entreprises API to add NAF activity, officers, head-office address, employee band and administrative status (active/closed). Turn off for a faster bare notice feed.

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

Maximum number of event rows to return per run.

## Actor input object example

```json
{
  "eventFamilies": [
    "collective",
    "radiation",
    "vente"
  ],
  "lastNDays": 7,
  "enrich": true,
  "maxResults": 200
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("akeeml/france-company-risk-monitor").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("akeeml/france-company-risk-monitor").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 '{}' |
apify call akeeml/france-company-risk-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=akeeml/france-company-risk-monitor",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "France Company Risk Monitor — Insolvency & KYB Events (BODACC)",
        "description": "Daily feed of French company risk events from official BODACC open data — insolvency proceedings, strike-offs, business sales and modifications — enriched with NAF activity, officers, address and status. For KYB, credit-risk and portfolio monitoring.",
        "version": "0.1",
        "x-build-id": "xxdx63YyqXNZh9HDs"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/akeeml~france-company-risk-monitor/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-akeeml-france-company-risk-monitor",
                "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/akeeml~france-company-risk-monitor/runs": {
            "post": {
                "operationId": "runs-sync-akeeml-france-company-risk-monitor",
                "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/akeeml~france-company-risk-monitor/run-sync": {
            "post": {
                "operationId": "run-sync-akeeml-france-company-risk-monitor",
                "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",
                "properties": {
                    "eventFamilies": {
                        "title": "Event types to monitor",
                        "type": "array",
                        "description": "Which BODACC event families to include. collective = insolvency proceedings, radiation = strike-off / dissolution, vente = business sale, modification = officer/capital/address change, creation = new registration, dpc = accounts filing.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "collective",
                                "radiation",
                                "vente",
                                "modification",
                                "creation",
                                "dpc"
                            ],
                            "enumTitles": [
                                "Insolvency proceeding",
                                "Strike-off / dissolution",
                                "Business sale",
                                "Modification",
                                "New registration",
                                "Accounts filing"
                            ]
                        },
                        "default": [
                            "collective",
                            "radiation",
                            "vente"
                        ]
                    },
                    "lastNDays": {
                        "title": "Look-back window (days)",
                        "minimum": 1,
                        "maximum": 60,
                        "type": "integer",
                        "description": "Include notices published in the last N days. Ignored if 'Published since' is set. For a daily scheduled monitor, use 1–2.",
                        "default": 7
                    },
                    "sinceDate": {
                        "title": "Published since (YYYY-MM-DD)",
                        "type": "string",
                        "description": "Only notices published on/after this date. Overrides the look-back window. Use to page from your last run."
                    },
                    "departments": {
                        "title": "Departments",
                        "type": "array",
                        "description": "French department codes to include, e.g. 75, 92, 2A. Empty = all of France.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "nafPrefixes": {
                        "title": "NAF / APE sector prefixes",
                        "type": "array",
                        "description": "Keep only companies whose NAF activity code starts with one of these, e.g. 56 (food service), 41 (construction). Requires enrichment. Empty = all sectors.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "enrich": {
                        "title": "Enrich (NAF, officers, address, status)",
                        "type": "boolean",
                        "description": "Join each company to the official recherche-entreprises API to add NAF activity, officers, head-office address, employee band and administrative status (active/closed). Turn off for a faster bare notice feed.",
                        "default": true
                    },
                    "maxResults": {
                        "title": "Max events",
                        "minimum": 1,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "Maximum number of event rows to return per run.",
                        "default": 200
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
