# Mon compte formation scraper (`saswave/mon-compte-formation-scraper`) Actor

moncompteformation.gouv.fr scraper.
Récupérer et extraire les informations des entreprises de formation dans une recherche sur le site Mon Compte Formation Gouv FR.
Information trouvé: prix, nom entreprise, raison social, siret siren, emails, telephones, site internet et plus encore

- **URL**: https://apify.com/saswave/mon-compte-formation-scraper.md
- **Developed by:** [SASWAVE](https://apify.com/saswave) (community)
- **Categories:** Automation, Lead generation
- **Stats:** 10 total users, 0 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

### 🎓 Mon Compte Formation Scraper – French Training Course Data Extraction

**Mon Compte Formation Scraper** is a robust web scraping tool designed to extract **training course information from moncompteformation.gouv.fr**, the official French government platform for professional training. 

This scraper allows you to collect comprehensive details about **training programs, organizations, course prices, schedules, modalities, and contact information**.  

It is ideal for **researchers, training institutions, career advisors, and data analysts** who need to aggregate and analyze **training offers across France**. 

With this scraper, you can easily track **course availability, pricing, durations, and eligible training providers** in a structured JSON format ready for analytics or integration into databases and dashboards.  


### ✨ Features

Extract **course titles, training organizations, and modalities**

Retrieve **prices, duration, and accessibility information**

Access **detailed provider information** including SIRET, emails, phone numbers, and websites

Identify **eligible training programs for individuals**

Output data in **structured JSON** for analytics, reporting, or machine learning



### OUTPUT

```json
{
  "numeroAction": "82375098900027_1HCONDUITE1EXAMEN",
  "address": {
    "numeroVoie": null,
    "codeIndiceRepetition": null,
    "codeTypeVoie": null,
    "libelleVoie": null,
    "complementAdresse": null,
    "complementIdentification": null,
    "numLibelleVoie": null,
    "lieuDit": "Lieu-dit",
    "city": "BETTON",
    "postalCode": "35830",
    "countryCode": null,
    "country": "FRANCE"
  },
  "nbHoursCentre": null,
  "nbHoursEntreprise": null,
  "duration": null,
  "fraisAdditionnels": {
    "montant": 45.0,
    "detail": "le reste dû"
  },
  "libelleRythmeFormation": [
    "En semaine",
    "En journée"
  ],
  "totalPriceTTC": 65.0,
  "raisonSocialeOrganisme": "EN ROUTE VERS LE PERMIS",
  "contactInformation": {
    "nom": "bertin",
    "prenom": "paquita",
    "mail": "enrouteverslepermis@gmail.com",
    "urlActions": [],
    "telephones": [
      "0200000000",
      "0620229990"
    ],
    "address": {
      "numeroVoie": null,
      "codeIndiceRepetition": null,
      "codeTypeVoie": null,
      "libelleVoie": null,
      "complementAdresse": null,
      "complementIdentification": null,
      "numLibelleVoie": null,
      "lieuDit": null,
      "city": null,
      "postalCode": null,
      "countryCode": null,
      "country": null
    }
  },
  "formation": {
    "numeroFormation": "82375098900027_1HCONDUITE1EXAMEN",
    "title": "Préparation au passage de l'examen pratique",
    "codeModaliteEnseignement": "PRESENTIEL",
    "specificCondition": null,
    "objective": "Avoir le niveau pour obtention du permis B",
    "content": "1 h de conduite\n1 présentation et accompagnement à l'examen pratique",
    "resultatAttendueFormation": "obtention du permis B",
    "niveauCertificationVisee": null,
    "codesRome": [],
    "formacodes": [
      {
        "code": "31812",
        "label": "Conduite auto"
      }
    ],
    "niveauSortieFormation": {
      "code": "9",
      "libelle": "NIVEAU 1 (Sans niveau spécifique)"
    },
    "intituleCertification": "Permis de conduire catégorie B",
    "codeRncp": null,
    "codeInventaire": null,
    "contactFormation": {
      "telephonesFixes": [
        "0200000000"
      ],
      "telephonesPortables": [
        "0620229990"
      ]
    },
    "resumeContenu": "Approche individuelle",
    "expectedResult": null,
    "libelleTypeParcoursFormation": "Individualisé : selon les objectifs individuels",
    "minDateSessionPoleEmploi": false,
    "dateFinValiditeCertifcationVisee": null
  },
  "conformiteReglementaire": 1,
  "accessibiliteBatimentaire": null,
  "restauration": null,
  "hebergement": null,
  "transport": null,
  "autresServices": null,
  "siretOrganisme": "82375098900027",
  "formateur": {
    "prenom": "paquita",
    "nom": "bertin"
  },
  "libelleModaliteAdmission": [
    "Admission sans disposition particulière"
  ],
  "infoAdmission": null,
  "indicateurFraisCertification": 1,
  "modalitesPedagogiques": null,
  "modaliteHandicap": null,
  "langueUtiliseeFormation": "FR",
  "libelleLangueFormation": "Français",
  "eligibilitePermis": null,
  "permis": true,
  "urlRedirect": "/espace-public/eligibilite-du-permis-de-conduire-au-cpf-nouvelles-regles",
  "nombreEvaluations": null,
  "moyennesNotationParQuestion": [],
  "minDateSessionPoleEmploi": "2026-02-24T23:00Z",
  "publicCible": "GRAND_PUBLIC",
  "abondementsEligibles": true,
  "blocsModifiables": null,
  "certificationComplete": true,
  "blocCompetences": null,
  "favorite": false
}
````

### 💡 Use Cases

Career Advisors: Provide students or clients with up-to-date training options

Market Analysis: Track trends in training offers, pricing, and availability

Institution Research: Compare courses across training providers

Data Integration: Feed structured JSON into analytics dashboards or applications

### 🚀 Getting Started

Add the Mon Compte Formation Scraper Actor to your Apify account

Configure your search filters (e.g., location, type of course, keywords)

Run the Actor to collect structured course and provider data

Download JSON output for analytics, research, or integration

### 🛟 SUPPORT

Share your runs with the developer team and create issues on error to help us improve actor quality.

You might discover edge case we didn't test yet

We stay available anytime

# Actor input Schema

## `urls` (type: `array`):

Provide a search url OR a direct formation url

## Actor input object example

```json
{
  "urls": [
    "https://www.moncompteformation.gouv.fr/espace-prive/html/#/formation/recherche/resultats?q=%7B%22ou%22:%7B%22modality%22:%22EN_CENTRE_MIXTE%22,%22type%22:%22CP%22,%22ville%22:%7B%22nom%22:%22AVON%22,%22codePostal%22:%2277210%22,%22codeInsee%22:%2277014%22,%22coordonnee%22:%7B%22longitude%22:2.755068,%22latitude%22:48.417088%7D,%22eligibleCpf%22:true%7D%7D,%22debutPagination%22:1,%22nombreOccurences%22:10,%22contexteFormation%22:%22ACTIVITE_PROFESSIONNELLE%22,%22quoi%22:%22PERMIS%20B%22,%22quoiReferentiel%22:null,%22nomOrganisme%22:null,%22endDate%22:null,%22startDate%22:null,%22evaluation%22:null,%22niveauSortie%22:null,%22minPrix%22:95,%22maxPrix%22:100,%22rythme%22:null,%22onlyWithAbondementsEligibles%22:null,%22durationHours%22:null,%22certifications%22:null,%22certificationComplete%22:null,%22distance%22:%2250000%22,%22conformiteReglementaire%22:null%7D"
  ]
}
```

# Actor output Schema

## `results` (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 = {
    "urls": [
        "https://www.moncompteformation.gouv.fr/espace-prive/html/#/formation/recherche/resultats?q=%7B%22ou%22:%7B%22modality%22:%22EN_CENTRE_MIXTE%22,%22type%22:%22CP%22,%22ville%22:%7B%22nom%22:%22AVON%22,%22codePostal%22:%2277210%22,%22codeInsee%22:%2277014%22,%22coordonnee%22:%7B%22longitude%22:2.755068,%22latitude%22:48.417088%7D,%22eligibleCpf%22:true%7D%7D,%22debutPagination%22:1,%22nombreOccurences%22:10,%22contexteFormation%22:%22ACTIVITE_PROFESSIONNELLE%22,%22quoi%22:%22PERMIS%20B%22,%22quoiReferentiel%22:null,%22nomOrganisme%22:null,%22endDate%22:null,%22startDate%22:null,%22evaluation%22:null,%22niveauSortie%22:null,%22minPrix%22:95,%22maxPrix%22:100,%22rythme%22:null,%22onlyWithAbondementsEligibles%22:null,%22durationHours%22:null,%22certifications%22:null,%22certificationComplete%22:null,%22distance%22:%2250000%22,%22conformiteReglementaire%22:null%7D"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("saswave/mon-compte-formation-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 = { "urls": ["https://www.moncompteformation.gouv.fr/espace-prive/html/#/formation/recherche/resultats?q=%7B%22ou%22:%7B%22modality%22:%22EN_CENTRE_MIXTE%22,%22type%22:%22CP%22,%22ville%22:%7B%22nom%22:%22AVON%22,%22codePostal%22:%2277210%22,%22codeInsee%22:%2277014%22,%22coordonnee%22:%7B%22longitude%22:2.755068,%22latitude%22:48.417088%7D,%22eligibleCpf%22:true%7D%7D,%22debutPagination%22:1,%22nombreOccurences%22:10,%22contexteFormation%22:%22ACTIVITE_PROFESSIONNELLE%22,%22quoi%22:%22PERMIS%20B%22,%22quoiReferentiel%22:null,%22nomOrganisme%22:null,%22endDate%22:null,%22startDate%22:null,%22evaluation%22:null,%22niveauSortie%22:null,%22minPrix%22:95,%22maxPrix%22:100,%22rythme%22:null,%22onlyWithAbondementsEligibles%22:null,%22durationHours%22:null,%22certifications%22:null,%22certificationComplete%22:null,%22distance%22:%2250000%22,%22conformiteReglementaire%22:null%7D"] }

# Run the Actor and wait for it to finish
run = client.actor("saswave/mon-compte-formation-scraper").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 '{
  "urls": [
    "https://www.moncompteformation.gouv.fr/espace-prive/html/#/formation/recherche/resultats?q=%7B%22ou%22:%7B%22modality%22:%22EN_CENTRE_MIXTE%22,%22type%22:%22CP%22,%22ville%22:%7B%22nom%22:%22AVON%22,%22codePostal%22:%2277210%22,%22codeInsee%22:%2277014%22,%22coordonnee%22:%7B%22longitude%22:2.755068,%22latitude%22:48.417088%7D,%22eligibleCpf%22:true%7D%7D,%22debutPagination%22:1,%22nombreOccurences%22:10,%22contexteFormation%22:%22ACTIVITE_PROFESSIONNELLE%22,%22quoi%22:%22PERMIS%20B%22,%22quoiReferentiel%22:null,%22nomOrganisme%22:null,%22endDate%22:null,%22startDate%22:null,%22evaluation%22:null,%22niveauSortie%22:null,%22minPrix%22:95,%22maxPrix%22:100,%22rythme%22:null,%22onlyWithAbondementsEligibles%22:null,%22durationHours%22:null,%22certifications%22:null,%22certificationComplete%22:null,%22distance%22:%2250000%22,%22conformiteReglementaire%22:null%7D"
  ]
}' |
apify call saswave/mon-compte-formation-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=saswave/mon-compte-formation-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Mon compte formation scraper",
        "description": "moncompteformation.gouv.fr scraper. \nRécupérer et extraire les informations des entreprises de formation dans une recherche sur le site Mon Compte Formation Gouv FR. \nInformation trouvé: prix, nom entreprise, raison social, siret siren, emails, telephones, site internet et plus encore",
        "version": "0.0",
        "x-build-id": "BYAh9BQYdadTvSfy5"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/saswave~mon-compte-formation-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-saswave-mon-compte-formation-scraper",
                "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/saswave~mon-compte-formation-scraper/runs": {
            "post": {
                "operationId": "runs-sync-saswave-mon-compte-formation-scraper",
                "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/saswave~mon-compte-formation-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-saswave-mon-compte-formation-scraper",
                "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",
                "required": [
                    "urls"
                ],
                "properties": {
                    "urls": {
                        "title": "Urls",
                        "type": "array",
                        "description": "Provide a search url OR a direct formation url",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
