{
  "openapi": "3.0.1",
  "info": {
    "title": "French Training Organisations – Qualiopi Check & CPF Prices",
    "description": "Official list of French training organisations (NDA) with Qualiopi certification, specialities and trainee numbers, plus the CPF (Mon Compte Formation) catalogue: verify suppliers, find leads, benchmark training prices and get alerts on new organisations.",
    "version": "0.1",
    "x-build-id": "VFKYECEfU1ISWF2gQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yck69~french-training-organisations/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yck69-french-training-organisations",
        "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/yck69~french-training-organisations/runs": {
      "post": {
        "operationId": "runs-sync-yck69-french-training-organisations",
        "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/yck69~french-training-organisations/run-sync": {
      "post": {
        "operationId": "run-sync-yck69-french-training-organisations",
        "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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "What do you want?",
            "enum": [
              "organisations",
              "verify",
              "trainings",
              "prices",
              "stats"
            ],
            "type": "string",
            "description": "<b>Training organisations</b>: the official list of declared training providers (~150,000) with Qualiopi certification, specialities, trainee numbers and their CPF offer. Turn on alerts to follow new organisations and Qualiopi changes.<br><b>Verify organisations</b>: check SIREN, SIRET or declaration numbers: declared? Qualiopi certified, for what?<br><b>CPF trainings</b>: the Mon Compte Formation catalogue (~200,000 offers) with prices, hours and certifications.<br><b>CPF price benchmark</b>: price ranges (median, quartiles) by certification, area or provider.<br><b>Organisation statistics</b>: organisations, Qualiopi share and trainees by region, department or speciality.",
            "default": "organisations"
          },
          "name": {
            "title": "Organisation name",
            "type": "string",
            "description": "Words in the name."
          },
          "qualiopi": {
            "title": "Qualiopi",
            "enum": [
              "any",
              "certified",
              "not-certified"
            ],
            "type": "string",
            "description": "Certified, not certified, or both.",
            "default": "any"
          },
          "qualiopiScopes": {
            "title": "Certified for",
            "type": "array",
            "description": "Qualiopi scopes the organisation must all have.",
            "items": {
              "type": "string",
              "enum": [
                "training-actions",
                "apprenticeship",
                "skills-assessment",
                "vae"
              ],
              "enumTitles": [
                "Training actions",
                "Apprenticeship (CFA)",
                "Skills assessment (bilan de compétences)",
                "VAE (accreditation of prior learning)"
              ]
            }
          },
          "specialities": {
            "title": "Specialities",
            "type": "array",
            "description": "NSF codes (e.g. <code>326</code> IT) or words (e.g. <code>sécurité</code>, <code>langues</code>). Any of them.",
            "items": {
              "type": "string"
            }
          },
          "minTrainees": {
            "title": "Minimum trainees per year",
            "minimum": 0,
            "type": "integer",
            "description": "From the organisation's last annual report."
          },
          "maxTrainees": {
            "title": "Maximum trainees per year",
            "minimum": 0,
            "type": "integer",
            "description": "e.g. small organisations only."
          },
          "minTrainers": {
            "title": "Minimum trainers",
            "minimum": 0,
            "type": "integer",
            "description": "Number of trainers declared."
          },
          "onlyOnCpf": {
            "title": "Only organisations selling on CPF",
            "type": "boolean",
            "description": "With at least one training on the Mon Compte Formation catalogue.",
            "default": false
          },
          "addCpfOffer": {
            "title": "Add CPF offer",
            "type": "boolean",
            "description": "Number of CPF trainings, certifications, price range and top certifications of each organisation.",
            "default": true
          },
          "sortBy": {
            "title": "Sort organisations by",
            "enum": [
              "trainees",
              "trainers",
              "name",
              "distance"
            ],
            "type": "string",
            "description": "Largest first by default (nearest first with an address)."
          },
          "identifiers": {
            "title": "SIREN, SIRET or declaration numbers (Verify)",
            "type": "array",
            "description": "One per line. A SIRET also matches the organisation declared by another establishment of the same company.",
            "items": {
              "type": "string"
            }
          },
          "address": {
            "title": "Address",
            "type": "string",
            "description": "Organisations around an address, e.g. <code>Place Bellecour, Lyon</code>. Only organisations with a public address."
          },
          "radiusKm": {
            "title": "Radius (km)",
            "minimum": 0.1,
            "maximum": 100,
            "type": "number",
            "description": "Up to 100 km.",
            "default": 10
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "City names (organisations).",
            "items": {
              "type": "string"
            }
          },
          "postalCodes": {
            "title": "Postal codes",
            "type": "array",
            "description": "e.g. <code>69002</code> (organisations).",
            "items": {
              "type": "string"
            }
          },
          "departments": {
            "title": "Departments",
            "type": "array",
            "description": "e.g. <code>69</code>, <code>2A</code>, <code>974</code>.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "Whole regions. Organisations without a public address can only be found by region.",
            "items": {
              "type": "string",
              "enum": [
                "11",
                "24",
                "27",
                "28",
                "32",
                "44",
                "52",
                "53",
                "75",
                "76",
                "84",
                "93",
                "94",
                "01",
                "02",
                "03",
                "04",
                "06"
              ],
              "enumTitles": [
                "Île-de-France",
                "Centre-Val de Loire",
                "Bourgogne-Franche-Comté",
                "Normandie",
                "Hauts-de-France",
                "Grand Est",
                "Pays de la Loire",
                "Bretagne",
                "Nouvelle-Aquitaine",
                "Occitanie",
                "Auvergne-Rhône-Alpes",
                "Provence-Alpes-Côte d'Azur",
                "Corse",
                "Guadeloupe",
                "Martinique",
                "Guyane",
                "La Réunion",
                "Mayotte"
              ]
            }
          },
          "query": {
            "title": "Training keywords",
            "type": "string",
            "description": "Words in the training or certification title, e.g. <code>excel</code>, <code>anglais</code>, <code>CACES</code>."
          },
          "certificationCodes": {
            "title": "Certification codes",
            "type": "array",
            "description": "RS or RNCP codes, e.g. <code>RS6963</code>, <code>RNCP37682</code>.",
            "items": {
              "type": "string"
            }
          },
          "formacodes": {
            "title": "Formacodes",
            "type": "array",
            "description": "Training domain codes, e.g. <code>31054</code>.",
            "items": {
              "type": "string"
            }
          },
          "certificationType": {
            "title": "Certification type",
            "enum": [
              "any",
              "RS",
              "RNCP"
            ],
            "type": "string",
            "description": "RS (specific skills) or RNCP (diplomas and titles).",
            "default": "any"
          },
          "levels": {
            "title": "Diploma level",
            "type": "array",
            "description": "RNCP level after the training.",
            "items": {
              "type": "string",
              "enum": [
                "3",
                "4",
                "5",
                "6",
                "7",
                "8"
              ],
              "enumTitles": [
                "CAP, BEP (level 3)",
                "Baccalauréat (level 4)",
                "Bac+2 (level 5)",
                "Bac+3/4 (level 6)",
                "Bac+5 (level 7)",
                "Doctorate (level 8)"
              ]
            }
          },
          "maxPrice": {
            "title": "Maximum price (€)",
            "minimum": 0,
            "type": "number",
            "description": "Cheapest session at or below this price."
          },
          "minHours": {
            "title": "Minimum hours",
            "minimum": 0,
            "type": "number",
            "description": "Average duration."
          },
          "maxHours": {
            "title": "Maximum hours",
            "minimum": 0,
            "type": "number",
            "description": "Average duration."
          },
          "remoteOnly": {
            "title": "Only with remote sessions",
            "type": "boolean",
            "description": "At least one remote session.",
            "default": false
          },
          "organisationIds": {
            "title": "Organisations (SIREN or SIRET)",
            "type": "array",
            "description": "Trainings of these organisations only.",
            "items": {
              "type": "string"
            }
          },
          "trainingSort": {
            "title": "Sort trainings by",
            "enum": [
              "sessions",
              "cheapest",
              "priciest",
              "longest"
            ],
            "type": "string",
            "description": "Most active sessions first by default.",
            "default": "sessions"
          },
          "priceGroupBy": {
            "title": "Price benchmark by",
            "enum": [
              "certification",
              "formacode",
              "region",
              "department",
              "organisation"
            ],
            "type": "string",
            "description": "For CPF price benchmark.",
            "default": "certification"
          },
          "groupBy": {
            "title": "Organisation statistics by",
            "enum": [
              "region",
              "department",
              "speciality"
            ],
            "type": "string",
            "description": "For organisation statistics.",
            "default": "region"
          },
          "onlyNew": {
            "title": "Alerts: only changes since the last run",
            "type": "boolean",
            "description": "Training organisations mode: new organisations, Qualiopi gained or lost, removed organisations. Schedule it (e.g. weekly) with an email, Slack or webhook integration. The first run saves the current list.",
            "default": false
          },
          "alertName": {
            "title": "Alert name",
            "type": "string",
            "description": "Separate memory per alert. Defaults to one per set of filters."
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Organisations, trainings or statistics rows (Verify returns one row per identifier).",
            "default": 50
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}