# France Company Watch — SIREN Change & BODACC Alerts (`openregistry/france-company-watch`) Actor

Monitor a list of French companies (SIREN) on a schedule and get only what changed since the last run: status, head office address, officers, name, activity code, new BODACC notices (insolvency, sale, strike-off). Optional Slack, Discord or webhook alert. Official open data, independent tool.

- **URL**: https://apify.com/openregistry/france-company-watch.md
- **Developed by:** [Mahé Perrin](https://apify.com/openregistry) (community)
- **Categories:** Business, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 change delivereds

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/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 Watch — SIREN Change & BODACC Alerts

Keep an eye on a list of French companies — suppliers, customers, competitors, portfolio companies — and **get told only when something changes**: a company closes, moves its head office, changes officers or name, or appears in a new **BODACC** notice (insolvency proceedings, business sale, strike-off…).

Built to run on a **schedule**. Each run remembers what it saw and delivers only what is new since the previous run. Optional alert straight to **Slack**, **Discord** or any **webhook** (Zapier, Make, n8n, your own server).

Data comes from official French open-data APIs: `recherche-entreprises.api.gouv.fr` (SIRENE + national company register, Etalab 2.0 licence) and the BODACC open-data API (DILA, Licence Ouverte 2.0). No login, no scraping, no proxy. Independent tool, not affiliated with these administrations.

### What it watches

| Change | Example alert |
|---|---|
| `status` | active → closed (with `closedAt`) |
| `headOffice` | new head office SIRET or new address |
| `officers` | officers added / removed, with their role |
| `name`, `activity`, `legalForm` | new company name, NAF code, legal form |
| `bodaccNotice` | *Jugement d'ouverture de redressement judiciaire*, published 2026-11-12, with court and link |
| `employeeRange` | off by default (updated once a year) |

### How to schedule it

1. Fill in your SIREN list and give the watchlist a **name** (for example `suppliers`). The name keeps the memory when you later add or remove companies.
2. Optional: paste a Slack incoming-webhook URL (or a Discord webhook, or any URL that accepts a JSON POST) in **Alert URL**.
3. Run it once. The first run records a **baseline** (one free row per company showing what is watched) and raises no alert.
4. In Apify Console, open **Schedules → Create new**, pick this Actor with the same input, and choose a frequency — daily (`0 7 * * *`) is a good default; BODACC is published every working day.

From then on, every run returns only the changes since the previous run. A run with no change returns an empty dataset and sends no message (unless you turn on *Also notify when nothing changed*).

Where is the memory kept? In a named key-value store of your own account, `france-company-watch-state`, one record per watchlist. Delete the record to start a new baseline.

### Example alert

Slack message:

```
France company watch: 2 change(s) on 48 companies
• ACME INDUSTRIE (123456789): new BODACC notice — Procédures collectives, Jugement d'ouverture de redressement judiciaire (2026-11-12)
• DUPONT LOGISTIQUE (987654321): head office changed from "12 RUE A 69002 LYON" to "4 AVENUE B 69100 VILLEURBANNE"
```

Dataset row:

```json
{
  "siren": "123456789",
  "name": "ACME INDUSTRIE",
  "changeType": "bodaccNotice",
  "field": "bodacc",
  "after": "insolvency",
  "notice": {
    "id": "A202602201234",
    "type": "insolvency",
    "typeLabel": "Procédures collectives",
    "publishedAt": "2026-11-12",
    "court": "Tribunal de commerce de Lyon",
    "judgmentNature": "Jugement d'ouverture de redressement judiciaire",
    "url": "https://www.bodacc.fr/..."
  },
  "detectedAt": "2026-11-13T07:00:12.000Z",
  "previousCheckAt": "2026-11-12T07:00:09.000Z",
  "sourceUrl": "https://annuaire-entreprises.data.gouv.fr/entreprise/123456789"
}
```

Any other webhook receives `{ source, title, count, generatedAt, runUrl, items: [ ...rows ] }`.

### Pricing

Pay per event:

- **$0.0005 per company checked** (a watchlist of 100 companies checked every day ≈ $1.50 a month),
- **$0.01 per change delivered**.

Baseline rows, companies not found, companies skipped and runs where a source is down are not charged. Set a maximum charge per run in the run options if you want a hard cap: the run stops cleanly and the unchecked companies keep their previous state.

### Honest limits

- The register is updated by the administrations, not in real time: a change usually shows up within a few days.
- **Opt-out respected**: companies that object to the commercial reuse of their data are skipped (and not charged) by default. Turn on *Include companies that opted out* only for non-prospecting uses (supplier, credit or compliance monitoring).
- If the BODACC API is down during a run, notices are compared at the next run; none is lost. Notices are read again with a 14-day margin to catch late indexing.
- Officers are listed as published in the register (name and role only).

### Related

- France Company Search — build lists of French companies by activity, place and size.
- France BODACC Notices — search all BODACC notices by type, department and date.

### Step-by-step guide

- [Surveiller des entreprises françaises et être alerté de leurs changements (dirigeants, siège, BODACC)](https://app.mahedesk.com/outils/guides/surveiller-entreprise-alertes/) (en français)

# Actor input Schema

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

9-digit SIREN numbers (a 14-digit SIRET is cut to its SIREN, spaces are ignored). Up to 5,000 per watchlist.

## `watchlistName` (type: `string`):

Recommended for schedules. The memory of the previous run is stored under this name, so you can add or remove companies without losing it. Leave empty and the memory is tied to the exact input (any edit starts a new baseline).

## `watch` (type: `array`):

Leave empty for everything except headcount range (updated once a year, rarely useful as an alert).

## `bodaccNoticeTypes` (type: `array`):

Leave empty for every type except annual accounts filings.

## `webhookUrl` (type: `string`):

Optional. When something changed, the run POSTs a JSON message to this URL: a readable summary for Slack incoming webhooks and Discord webhooks, the full list of changes for any other URL (Zapier, Make, n8n, your server).

## `notifyWhenNothingNew` (type: `boolean`):

Send a short 'no change' message after each run (a heartbeat).

## `emitBaseline` (type: `boolean`):

The first time a company is checked, a free 'baseline' row shows what will be watched. No alert is raised on the first run.

## `includeOptedOut` (type: `boolean`):

Some companies object to the commercial reuse of their register data (prospecting). They are skipped and not charged by default. Turn on only for non-prospecting uses such as supplier, credit or compliance monitoring.

## Actor input object example

```json
{
  "sirens": [
    "356000000",
    "180020026"
  ],
  "notifyWhenNothingNew": false,
  "emitBaseline": true,
  "includeOptedOut": false
}
```

# Actor output Schema

## `changes` (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 = {
    "sirens": [
        "356000000",
        "180020026"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("openregistry/france-company-watch").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 = { "sirens": [
        "356000000",
        "180020026",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("openregistry/france-company-watch").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 '{
  "sirens": [
    "356000000",
    "180020026"
  ]
}' |
apify call openregistry/france-company-watch --silent --output-dataset

```

## MCP server setup

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

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/ho9RZm0Z4E97ohHeo/builds/BeTGLQu0VKn26OLBV/openapi.json
