{
  "openapi": "3.0.1",
  "info": {
    "title": "France Jobs Aggregator: HelloWork + APEC Scraper",
    "description": "Scrape French job offers from HelloWork and APEC in one run: keyword, city, department or region, contract, remote and date filters. Duplicates merged, direct employers vs agencies tagged, salaries structured, plus a list of companies hiring the most. JSON, CSV, Excel.",
    "version": "0.1",
    "x-build-id": "jq6cl10IooZfdSQlt"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/frenchdatalab~france-jobs-aggregator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-frenchdatalab-france-jobs-aggregator",
        "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/frenchdatalab~france-jobs-aggregator/runs": {
      "post": {
        "operationId": "runs-sync-frenchdatalab-france-jobs-aggregator",
        "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/frenchdatalab~france-jobs-aggregator/run-sync": {
      "post": {
        "operationId": "run-sync-frenchdatalab-france-jobs-aggregator",
        "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": [
          "queries"
        ],
        "properties": {
          "queries": {
            "title": "Search keywords",
            "type": "array",
            "description": "Job titles or keywords, one per line (e.g. \"comptable\", \"développeur python\", \"infirmier\"). Each keyword is searched on every selected job board.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City (\"Lyon\"), postal code (\"69003\"), department number (\"69\") or region (\"Bretagne\"). Leave empty to search all of France."
          },
          "contractTypes": {
            "title": "Contract types",
            "uniqueItems": true,
            "type": "array",
            "description": "Leave empty for all contract types. Note: APEC only publishes CDI, CDD, intérim and alternance offers.",
            "items": {
              "type": "string",
              "enum": [
                "CDI",
                "CDD",
                "Interim",
                "Alternance",
                "Stage",
                "Freelance"
              ],
              "enumTitles": [
                "CDI (permanent)",
                "CDD (fixed-term)",
                "Intérim (temp)",
                "Alternance (work-study)",
                "Stage (internship)",
                "Freelance / independent"
              ]
            }
          },
          "postedWithin": {
            "title": "Posted within",
            "enum": [
              "any",
              "24h",
              "3d",
              "7d",
              "30d"
            ],
            "type": "string",
            "description": "Only keep offers published recently. Ideal for daily or weekly monitoring with a schedule.",
            "default": "any"
          },
          "remote": {
            "title": "Remote work",
            "enum": [
              "any",
              "partial",
              "full"
            ],
            "type": "string",
            "description": "Filter on remote-friendly offers.",
            "default": "any"
          },
          "publisherTypes": {
            "title": "Who published the offer",
            "uniqueItems": true,
            "type": "array",
            "description": "Direct employers only = best for B2B lead generation. 'Job board re-posts' are APEC offers re-published by other job boards (Hellowork, Cadremploi, Meteojob...): the company shown is then the job board, not the employer, so they are excluded by default.",
            "items": {
              "type": "string",
              "enum": [
                "employer",
                "agency",
                "trainingCenter",
                "jobBoard"
              ],
              "enumTitles": [
                "Direct employers (companies, IT services firms)",
                "Recruitment firms & temp agencies",
                "Training centers / schools",
                "Job board re-posts (APEC only)"
              ]
            },
            "default": [
              "employer",
              "agency",
              "trainingCenter"
            ]
          },
          "titleMustMatch": {
            "title": "Keyword must be in the job title",
            "type": "boolean",
            "description": "Job boards also return offers that only mention your keyword somewhere in the description (e.g. 'comptable' returns building-site managers). Keep this on for job titles; turn it off for skills or tools (e.g. 'python', 'SAP').",
            "default": true
          },
          "sources": {
            "title": "Job boards",
            "uniqueItems": true,
            "type": "array",
            "description": "Job boards to search.",
            "items": {
              "type": "string",
              "enum": [
                "hellowork",
                "apec"
              ],
              "enumTitles": [
                "HelloWork (all jobs)",
                "APEC (executive / cadre jobs)"
              ]
            },
            "default": [
              "hellowork",
              "apec"
            ]
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Maximum number of unique job offers to return for the whole run.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include full job details",
            "type": "boolean",
            "description": "Open each HelloWork offer to get the full description, skills, exact publication date, expiry date, required experience, industry and company page. Slower.",
            "default": false
          },
          "deduplicate": {
            "title": "Merge duplicates across job boards",
            "type": "boolean",
            "description": "When the same offer (same title, company and department) is published on several boards, return it once and list every source.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Not needed in most cases. Use Apify Proxy if you experience blocking on very large runs.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}