# FFN Swimming Clubs · French Directory (`corent1robert/ffn-clubs-scraper`) Actor

Export French swimming club contacts from FFN. Names, phones, emails, GPS and websites — one row per club. Public directory. No login. No API key.

- **URL**: https://apify.com/corent1robert/ffn-clubs-scraper.md
- **Developed by:** [Corentin Robert](https://apify.com/corent1robert) (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 $7.49 / 1,000 club rows

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## 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

## FFN Swimming Clubs · French Directory

Export **French swimming club contacts** from the public FFN (Fédération Française de Natation) directory. Pick a department (or nationwide) and get one row per club: name, address, published email, phone, GPS, website and activity labels.

**No login. No API key. No federation account.**

### Who is this for?

| You are… | Typical goal | Suggested setup |
|----------|--------------|-----------------|
| Pool equipment or swimwear brand | Prospect list of FFN clubs | One department first, then **All departments** |
| Event or competition organiser | Clubs that can host or relay a meet | Your département + neighbouring codes |
| Agency / outbound | CRM feed with email, phone and website | Overview or Outreach CRM view |
| Local authority / school sport | Territory map of swimming clubs | One code, then neighbours |
| Data / ops | Scheduled master table of the federation | `departments: ["ALL"]`, `maxItems: 0` |

**What you get by default.** Club name, department, address, GPS, finder URL and labels when the directory has them. Email and phone **only when the federation published them**. Generic federation mailboxes are omitted. This Actor never invents a mailbox.

**When to go nationwide.** Use **All departments** on a paid plan with `maxItems: 0`. Corsica (2A / 2B) and overseas departments (including Réunion 974) are included.

### How to use

1. Open the Actor in [Apify Console](https://console.apify.com).
2. Pick one or more **departments**, or **All departments**.
3. Keep **Max clubs** at 20 for a first run (Free plan is always 20 per run). Set **0** on a paid plan for a full export of the selection.
4. Click **Start**. Rows appear in the Dataset while the run is still listing other departments.

### Ready-made examples (published tasks)

| Example | Best for |
|---------|----------|
| [Find Paris swimming clubs with published contacts](https://apify.com/corent1robert/ffn-clubs-scraper/examples/paris-swimming-club-contacts) | First run / Île-de-France |
| [Rhône swimming clubs, CRM-ready emails and phones](https://apify.com/corent1robert/ffn-clubs-scraper/examples/rhone-swimming-clubs-crm) | CRM import |
| [La Réunion FFN swimming club directory](https://apify.com/corent1robert/ffn-clubs-scraper/examples/reunion-ffn-swimming-clubs) | Overseas department |
| [Find Ain swimming clubs from the FFN directory](https://apify.com/corent1robert/ffn-clubs-scraper/examples/ain-swimming-club-contacts) | B2B test / Auvergne-Rhône-Alpes |

### What it extracts

| Category | Fields |
|----------|--------|
| Identity | Club name, FFN club id |
| Location | Department, town, postcode, address, GPS |
| Contact | Email and phone when published |
| Web | Club website when published |
| Labels | Federation activity tags (e.g. water-polo) |
| Finder | Link to `ffnatation.fr/trouver-un-club` |

### Typical coverage

On a 20-club Paris export, every row has a club name, department and finder URL. Email, phone, website and GPS follow what the federation shows — empty when the club did not publish them.

### Input

| Field | Type | Default | Notes |
|-------|------|---------|--------|
| `departments` | array | `["75"]` | Department codes, or `ALL` for nationwide including Corsica. Omitted = Paris. Empty array = nationwide. |
| `maxItems` | integer | `20` | **0** = no row ceiling. **Free plan: 20 / run.** |

#### API-only keys

Not shown on the Console form. Safe defaults are already in code.

| Key | Type | Default | Notes |
|-----|------|---------|--------|
| `delayBetweenRequests` | integer | `80` | Pause between catalog pages (ms) |

#### Examples

Paris (Try):

```json
{ "departments": ["75"], "maxItems": 20 }
```

Nationwide, paid plan, no row ceiling:

```json
{ "departments": ["ALL"], "maxItems": 0 }
```

### Output sample

Download in JSON, CSV, Excel, or HTML from the Dataset tab.

```json
{
  "clubId": "54363120",
  "structureName": "CLUB DES NAGEURS DE PARIS",
  "departmentNumber": "75",
  "town": "Paris",
  "postalCode": "75012",
  "address": "34 Bd Carnot",
  "latitude": 48.841654,
  "longitude": 2.412718,
  "contactEmail": "secretariat@cnparis.org",
  "contactPhone": "01 44 73 81 11",
  "website": "https://cnparis.org/",
  "labels": "eau-libre, enf, label-argent, nagez-forme-bien-être, nagez-forme-santé, natation-course, water-polo",
  "url": "https://www.ffnatation.fr/trouver-un-club"
}
```

### How it works

1. Reads the public FFN club finder for the selected departments.
2. Keeps clubs whose postcode maps to that department (Réunion is 974, not 97; Corsica is 2A / 2B).
3. Deduplicates clubs by name within each department.
4. Writes each row to the dataset as soon as it is complete.

### How much does it cost to scrape FFN clubs?

HTTP-only — no browser. You pay **pay-per-event** on the Store: about **$0.00749 per exported club** plus a negligible run start.

| Scenario | Approx. cost |
|----------|----------------|
| 20 clubs (Try / Free plan) | ~$0.15 |
| 1,000 clubs | ~$7.49 |
| Full selection with `maxItems: 0` | $0.00749 × clubs exported |

### Is scraping FFN free?

Apify Free plan users get **20 clubs per run**. Paid plans follow PPE and your max charge. Compute is cheap because this Actor does not launch a browser.

### Is it legal to scrape FFN?

This Actor only accesses data that FFN makes publicly available in its club directory. As with any data containing personal information, ensure your use complies with GDPR and relevant regulations.

### Local development

```bash
cd ffn-clubs-scraper
npm install
apify run --input-file=./.actor/INPUT.json
```

`storage/key_value_stores/default/INPUT.json` must satisfy the input schema, or pass `--input-file`. On local `apify run`, platform/CLI input overwrites overlapping keys from a root `input.json`.

### Support

Contact <corentin@outreacher.fr> if you need a custom scraper or tailored automation.

### Also available

Also available as a pack: [France Sports Clubs hub](https://apify.com/corent1robert/france-sports-clubs-hub) — merge several federations into one dataset.

Same job (French department → published club contacts). One Actor per federation.

| Sport | Actor |
|-------|--------|
| Hiking (FFRandonnée) | [ffr-clubs-scraper](https://apify.com/corent1robert/ffr-clubs-scraper) |
| Athletics (FFA) | [ffa-clubs-scraper](https://apify.com/corent1robert/ffa-clubs-scraper) |
| Judo (FFJDA) | [ffjda-clubs-scraper](https://apify.com/corent1robert/ffjda-clubs-scraper) |
| Rugby (FFR) | [ffr-rugby-clubs-scraper](https://apify.com/corent1robert/ffr-rugby-clubs-scraper) |
| Equestrian (FFE) | [ffe-clubs-scraper](https://apify.com/corent1robert/ffe-clubs-scraper) |
| Swimming (FFN) | [ffn-clubs-scraper](https://apify.com/corent1robert/ffn-clubs-scraper) |
| Basketball (FFBB) | [ffbb-clubs-scraper](https://apify.com/corent1robert/ffbb-clubs-scraper) |
| Handball (FFHandball) | [ffhandball-clubs-scraper](https://apify.com/corent1robert/ffhandball-clubs-scraper) |
| Volleyball (FFVolley) | [ffvolley-clubs-scraper](https://apify.com/corent1robert/ffvolley-clubs-scraper) |
| Climbing (FFME) | [ffme-clubs-scraper](https://apify.com/corent1robert/ffme-clubs-scraper) |
| Canoe (FFCK) | [ffck-clubs-scraper](https://apify.com/corent1robert/ffck-clubs-scraper) |
| Golf (FFGolf) | [ffgolf-clubs-scraper](https://apify.com/corent1robert/ffgolf-clubs-scraper) |
| Chess (FFÉchecs) | [ffechecs-clubs-scraper](https://apify.com/corent1robert/ffechecs-clubs-scraper) |
| Gymnastics (FFGym) | [ffgym-clubs-scraper](https://apify.com/corent1robert/ffgym-clubs-scraper) |
| Badminton (FFBaD) | [ffbad-clubs-scraper](https://apify.com/corent1robert/ffbad-clubs-scraper) |
| Football (FFF) | [fff-clubs-scraper](https://apify.com/corent1robert/fff-clubs-scraper) |

# Actor input Schema

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

One or more French departments, or **All departments** for nationwide (Corsica included). Try starts on Paris.

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

How many clubs to export. **0** = no ceiling (until selected departments are done). **Free plan: 20 per run.**

## Actor input object example

```json
{
  "departments": [
    "75"
  ],
  "maxItems": 20
}
```

# Actor output Schema

## `dataset` (type: `string`):

All exported swimming clubs.

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

Club name, location and published contacts.

## `outreachCrm` (type: `string`):

Email, phone and website for CRM import.

## `runLog` (type: `string`):

Plain-text progress for this run.

# 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 = {
    "departments": [
        "75"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("corent1robert/ffn-clubs-scraper").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 = {
    "departments": ["75"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("corent1robert/ffn-clubs-scraper").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 '{
  "departments": [
    "75"
  ],
  "maxItems": 20
}' |
apify call corent1robert/ffn-clubs-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,corent1robert/ffn-clubs-scraper"
        }
    }
}

```

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/62g54jrKpck7vTBdT/builds/gn7eLNYB1MzxPCkCq/openapi.json
