# France BODACC New Company Creations (`virryn/france-bodacc-creations`) Actor

Daily French new-company leads from the official BODACC Créations open dataset. Returns SIREN, merchant name, city, department, activity text, and announcement URL. Keyless public API — no scrape proxies.

- **URL**: https://apify.com/virryn/france-bodacc-creations.md
- **Developed by:** [Christopher Schott](https://apify.com/virryn) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 announcement 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 BODACC New Company Creations

**Daily French new-company leads from the official BODACC Créations open dataset.**

Pull structured creation announcements published in the *Bulletin officiel des annonces civiles et commerciales* (BODACC / DILA). Each row includes merchant name, SIREN (when present), city, department, activity description, tribunal, and a deep link to the announcement — ready for CRM import or agent pipelines.

> **Not another Pappers / SIRENE enricher.** This Actor focuses on **new Créations** (and optional other BODACC families) from the public Opendatasoft API. No HTML scrape, no proxy, no API key.

### Why this Actor

| Buyer need | What you get |
|---|---|
| Fresh FR company leads | `familleavis=creation` ordered by publication date |
| Geo targeting | Filter by department code (e.g. `75`) or city substring |
| Compliance-friendly sourcing | Official DILA open data — commercial announcements are public by law |
| Agent / PPE billing | Flat row schema; pay only for delivered announcements |

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | enum | `creation` | BODACC family: `creation`, `immatriculation`, `radiation`, `modification`, `vente`, `collective`, `dpc` |
| `department` | string | — | Department code (`13`, `75`, …) |
| `cityContains` | string | — | Substring match on city |
| `query` | string | — | Substring match on merchant name |
| `dateFrom` / `dateTo` | date | yesterday→today | Publication date window (`YYYY-MM-DD`) |
| `maxItems` | int | `50` | Cap on returned rows (1–5000) |
| `useMock` | bool | `false` | Offline fixture mode for tests |

### Output (dataset row)

```json
{
  "announcementId": "A2026018325",
  "publicationDate": "2026-09-24",
  "familyCode": "creation",
  "familyLabel": "Créations",
  "merchantName": "BONDAZ, Elodie",
  "siren": "109648006",
  "city": "Istres",
  "postalCode": "13800",
  "departmentCode": "13",
  "departmentName": "Bouches-du-Rhône",
  "regionName": "Provence-Alpes-Côte d'Azur",
  "tribunal": "Greffe du Tribunal de Commerce de Salon-de-Provence",
  "activityDescription": "Création de contenus digitaux…",
  "establishmentAddress": "3 Avenue De Flore 13800 Istres",
  "activityStartDate": "2026-09-04",
  "creationCategory": "Immatriculation d'une personne physique…",
  "personType": "pp",
  "tradeName": "Mumlife",
  "detailUrl": "https://www.bodacc.fr/pages/annonces-commerciales-detail/?q.id=id:A2026018325",
  "dataSource": "BODACC (bodacc-datadila.opendatasoft.com / DILA)"
}
```

### Pricing (Pay-Per-Event)

| Event | Price |
|---|---|
| `announcement-delivered` (primary) | **$0.002** per announcement row |
| `apify-actor-start` | $0.00005 per run start (memory-weighted) |

`apify-default-dataset-item` is **not priced** (omitted / $0) so rows are not double-billed — the Actor already charges `announcement-delivered` once per dataset row.

### Local run (shadow / no Apify account)

```bash
cd france-bodacc-creations
python3 -m src '{"mode":"creation","maxItems":5,"useMock":true}'
./scripts/run_functional_test.sh
```

### Source & policy

- API: `https://bodacc-datadila.opendatasoft.com/api/explore/v2.1/.../annonces-commerciales`
- Publisher: DILA (Direction de l'information légale et administrative)
- License / terms: French official open data for BODACC commercial announcements
- This tool surfaces **public legal notices** only. It is not legal, credit, or KYC advice.

### Categories

`LEAD_GENERATION`, `BUSINESS`, `NEWS` (optional)

### Changelog

- **0.1.0** — Shadow invent: creations lead mode, department/city/query filters, mock + live tests.

# Actor input Schema

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

BODACC familleavis code to fetch. 'creation' = new company / establishment creations (default lead mode). Other families: radiations, dpc (account filings), collective\_proceedings aliases via familleavis codes.

## `department` (type: `string`):

Optional French department code (e.g. '75' for Paris, '13' for Bouches-du-Rhône). Leave empty for all France.

## `cityContains` (type: `string`):

Optional case-insensitive substring match on ville (e.g. 'Paris', 'Lyon').

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

Optional search text matched against commercant (merchant / company name).

## `dateFrom` (type: `string`):

Inclusive lower bound on dateparution. Defaults to today UTC-0 if empty and dateTo empty → last 1 day.

## `dateTo` (type: `string`):

Inclusive upper bound on dateparution.

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

Maximum announcement rows to return (and hypothetically bill under PPE).

## `useMock` (type: `boolean`):

If true, do not call the live BODACC API; load samples/mock\_creations.json instead. For CI / offline shadow tests.

## Actor input object example

```json
{
  "mode": "creation",
  "maxItems": 50,
  "useMock": false
}
```

# Actor output Schema

## `overview` (type: `string`):

CRM-ready BODACC announcement rows in the default dataset (overview view).

## `full` (type: `string`):

Full announcement field set in the default dataset.

# 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("virryn/france-bodacc-creations").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("virryn/france-bodacc-creations").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 '{}' |
apify call virryn/france-bodacc-creations --silent --output-dataset

```

## MCP server setup

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

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/N7irJlnFzFFyrFpCE/builds/cH78R1KD2m5tWY8uV/openapi.json
