# French Associations Scraper - RNA, SIRET, City, NAF (`bonpleincapital/associations-fr`) Actor

Find French loi 1901 associations by city, region, department or theme: name, RNA, SIREN, SIRET, address, NAF code. Official open data, no key. Created with AI.

Licence : usage personnel uniquement ; revente et redistribution interdites.
Créé avec l'aide de l'intelligence artificielle.

- **URL**: https://apify.com/bonpleincapital/associations-fr.md
- **Developed by:** [Bon Plein Capital](https://apify.com/bonpleincapital) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 association results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## French Associations Finder (loi 1901)

**French Associations Finder** is a French associations list builder: it searches the official open data of the French state (Recherche d'entreprises, SIRENE and RNA) and returns loi 1901 associations with name, city, RNA number, SIREN/SIRET and activity code, as clean JSON, CSV or Excel. It is made for people who prospect associations, look for grant partners, build sponsorship lists or research the non-profit sector, without copying records by hand from directories.

### What can this Actor do?

- Search associations by keyword (football, music, aid, school...) in their name or activity.
- Narrow by French department or postal code to get a local list for one city or area.
- Return identifiers you can match elsewhere: RNA, SIREN and SIRET of the head office, plus address of the organisation, creation date, activity code (APE/NAF), employer status and a link to the public record.
- Filter by activity code (NAF/APE, e.g. 93.12Z sports clubs), keep only employers, or only social economy (ESS) organisations.
- Get employee range, employer flag and ESS flag to qualify leads quickly.
- Skip closed associations by default.
- Run on the Apify free plan for small lists, and call it from the API, Make, Zapier or n8n.

Note: the open data does not contain the free-text "objet" of the statutes nor websites. The activity code is the closest purpose field available, and the Actor does not invent missing values.

### En bref (FR)

Nos Pompons font le tour de la ville : indiquez une ville (`city`), un code postal, un département, une région, un thème (`query`) ou un code NAF, et récupérez une liste d'associations loi 1901 avec RNA, SIREN, SIRET, adresse, date de création et statut. Au moins un filtre est obligatoire, sinon l'Actor s'arrête avec un message clair. Cas d'usage : prospection, recherche de subventions, partenariats locaux. Tarif : environ 1 $ les 1 000 associations (voir l'onglet Pricing). Aucun dirigeant ni donnée personnelle n'est collecté ; rappel RGPD : vous restez responsable de l'usage des données lors d'un contact.

### How to use it

1. Click **Try for free** and open the **Input** tab.
2. Enter keywords, and optionally a department or postal code.
3. Set the maximum number of results, then click **Start**.
4. Download the dataset from the **Output** tab.

### Input

```json
{
  "query": "football",
  "city": "Lyon",
  "onlyActive": true,
  "maxItems": 10
}
```

Other example (grants research in Pays de la Loire): `{"query": "culture", "region": "52", "onlyESS": true, "maxItems": 50}`.

At least one filter is required (query, city, postalCode, department, region or activityCode). The API returns at most about 10,000 results per search; a big city may have several postal codes, `city` covers the whole commune.

### Output

```json
{
  "name": "FOOTBALL CLUB EXEMPLE",
  "rna": "W691234567",
  "siren": "123456789",
  "siret": "12345678900012",
  "city": "LYON",
  "postalCode": "69001",
  "department": "69",
  "address": "1 RUE EXEMPLE 69001 LYON",
  "mainActivityCode": "93.12Z",
  "creationDate": "2005-03-12",
  "employeeRange": "03",
  "isEmployer": true,
  "isESS": false,
  "isActive": true,
  "sourceUrl": "https://annuaire-entreprises.data.gouv.fr/entreprise/123456789"
}
```

Values above are illustrative. Fields that are not published are returned as null.

### How much does it cost?

This Actor uses **pay per event** pricing: you pay a small amount per result. The cost for 1,000 results is 1,000 `result` events at the price shown in the **Pricing** tab. Nothing is charged when no result is found. The free plan monthly credits let you test it first.

### FAQ

#### Where does the data come from?

From the French public API Recherche d'entreprises (api.gouv.fr), built on SIRENE and RNA open data. No login and no private data are used.

#### Is it legal? What about GDPR?

The Actor only returns public information about organisations, and does not collect names of officers or private individuals' contacts. If you use the results for prospecting, you remain responsible for complying with the GDPR (RGPD) and local rules, notably when contacting people.

#### Why is there no website or purpose text?

These fields are not in the open data used here. Use the activity code and the source link to complete your research.

#### What if something does not work?

Open an issue in the **Issues** tab with your input and the run link.

***

Created with the help of artificial intelligence.

# Changelog

This Actor's version history is a separate document: https://apify.com/bonpleincapital/associations-fr/changelog.md

# Actor input Schema

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

Words in the association name or activity, e.g. 'football', 'secours', 'musique'. Leave empty to list by location only.

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

Optional French department code, e.g. 75, 69, 2A.

## `city` (type: `string`):

Optional city name, e.g. Nantes, Lyon, Lille (resolved to the official commune code).

## `region` (type: `string`):

Optional INSEE region code, e.g. 11 (Ile-de-France), 52 (Pays de la Loire), 84 (Auvergne-Rhone-Alpes).

## `postalCode` (type: `string`):

Optional 5-digit postal code to narrow the search to one town.

## `activityCode` (type: `string`):

Optional NAF code to target a sector, e.g. 93.12Z (sports clubs), 94.99Z (other associations), 90.01Z (performing arts).

## `onlyEmployers` (type: `boolean`):

Keep only associations that employ staff (better for B2B prospecting).

## `onlyESS` (type: `boolean`):

Keep only associations flagged as social and solidarity economy.

## `onlyActive` (type: `boolean`):

Skip associations that have been closed.

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

Stop after this many results. Keep it low to test the Actor cheaply.

## Actor input object example

```json
{
  "query": "football",
  "department": "69",
  "city": "Nantes",
  "region": "52",
  "postalCode": "69001",
  "activityCode": "93.12Z",
  "onlyEmployers": false,
  "onlyESS": false,
  "onlyActive": true,
  "maxItems": 10
}
```

# Actor output Schema

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

One dataset item per result, shown in the Overview view.

# 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 = {
    "query": "football",
    "department": "69",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("bonpleincapital/associations-fr").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 = {
    "query": "football",
    "department": "69",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("bonpleincapital/associations-fr").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 '{
  "query": "football",
  "department": "69",
  "maxItems": 10
}' |
apify call bonpleincapital/associations-fr --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bonpleincapital/associations-fr"
        }
    }
}
```

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/U9Fvd0ZO4Dy0Vc6c1/builds/nNjgKliYoKTAMUJ7B/openapi.json
