{
  "openapi": "3.0.1",
  "info": {
    "title": "France Travail Scraper (Pôle Emploi) · Jobs · $0.9/1k",
    "description": "Scrape France Travail (Pôle Emploi) jobs in all 101 départements, incl. partner offers: salaries, employers, temp agencies, hiring signals. No login.",
    "version": "0.2",
    "x-build-id": "JyT90shqiCChh7Gfk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/difioprdy~francetravail-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-difioprdy-francetravail-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/difioprdy~francetravail-scraper/runs": {
      "post": {
        "operationId": "runs-sync-difioprdy-francetravail-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/difioprdy~francetravail-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-difioprdy-francetravail-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": [
          "occupations"
        ],
        "properties": {
          "occupations": {
            "title": "Occupations (job titles or ROME codes)",
            "minItems": 1,
            "maxItems": 20,
            "type": "array",
            "description": "One occupation per entry: a French job title such as \"Préparateur de commandes\", \"Aide-soignant\" or \"Cariste\", or a ROME code such as \"N1103\". Names are matched to the official ROME 4.0 list (accents and capitals do not matter); when a name fits several codes, the run log and RUN_STATS list the alternatives, and a ROME code picks one exactly. There is no free-text keyword search (see README). Up to 20.",
            "items": {
              "type": "string"
            }
          },
          "titleContains": {
            "title": "Title must contain (optional)",
            "type": "array",
            "description": "Keep only jobs whose title contains at least one of these words, for example [\"CACES\", \"nuit\"]. Matching ignores accents and capitals. Applied locally on the results, never sent as a search. Leave empty to keep all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "departments": {
            "title": "Departments",
            "type": "array",
            "description": "Department codes or names, for example \"75\", \"69\", \"2A\", \"971\" or \"Rhône\", \"Nord\". Leave empty (and Regions empty) for all of France.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "Region names or codes, for example \"Île-de-France\", \"Hauts-de-France\" or \"84\". Used only when Departments is empty. Leave both empty for all of France.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "contractTypes": {
            "title": "Contract types",
            "type": "array",
            "description": "Only these contract types. Leave empty for all (apprenticeships and other contracts included).",
            "items": {
              "type": "string",
              "enum": [
                "CDI",
                "CDD",
                "MIS",
                "SAI"
              ],
              "enumTitles": [
                "CDI (permanent)",
                "CDD (fixed-term)",
                "MIS (intérim / temp agency)",
                "SAI (seasonal)"
              ]
            },
            "default": []
          },
          "publishedWithinDays": {
            "title": "Published within",
            "enum": [
              "",
              "1",
              "3",
              "7",
              "14",
              "31"
            ],
            "type": "string",
            "description": "Only jobs published within the last N days. Leave empty for all.",
            "default": ""
          },
          "excludeTempAgencies": {
            "title": "Exclude temp agencies",
            "type": "boolean",
            "description": "Leave out intérim jobs and jobs posted by temp agencies (direct employers only). Turn it off for the agency map.",
            "default": false
          },
          "fullTimeOnly": {
            "title": "Full-time only",
            "type": "boolean",
            "description": "Only full-time jobs (temps plein).",
            "default": false
          },
          "includePartnerOffers": {
            "title": "Include partner offers",
            "type": "boolean",
            "description": "Also return offers that France Travail republishes from partner job boards (HelloWork, DirectEmploi, Meteojob, Indeed, APEC and others). They are the majority of offers on francetravail.fr. Each job row says where it comes from in partnerSource. Turn it off for offers posted directly on France Travail only.",
            "default": true
          },
          "thoroughMode": {
            "title": "Thorough mode (more requests)",
            "type": "boolean",
            "description": "Read the offer details of every job in the occupation's professional domain, not only of the jobs whose title names the occupation, so no matching offer with an unusual title is missed. Warning: this makes many more requests (one per job in the domain, at 1 per second), so runs take longer; for example about 400 detail requests instead of about 50 for one occupation in one department. Without it, 0 of 150 sampled skipped jobs matched (conservative lower bound about 88 % recall; see README). Turn it on for guaranteed completeness. Default off.",
            "default": false
          },
          "maxItems": {
            "title": "Max job rows per occupation",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "At most this many job rows are saved (and charged) for each occupation in the list, so every occupation gets its own quota: 2 occupations with 100 give up to 200 job rows. Employer, market and agency rows are built from all jobs read. With Full coverage every matching job is read for the signals, and this still caps the saved job rows per occupation. Default 200.",
            "default": 200
          },
          "includeEmployerSignals": {
            "title": "Employer signals",
            "type": "boolean",
            "description": "Add one row per named employer: open roles, new roles in 7 and 30 days, change vs. the previous run, ROME codes, departments, new departments and temp-agency share.",
            "default": true
          },
          "includeMarketSummary": {
            "title": "Market summary",
            "type": "boolean",
            "description": "Add one row per ROME code and department: openings, salary coverage, monthly salary p25 / median / p75 (with 10+ salaries), temp-agency share, and posting lifetime after 2 complete scans.",
            "default": true
          },
          "includeAgencyMap": {
            "title": "Temp-agency map",
            "type": "boolean",
            "description": "Add one row per temp agency and department: postings, share of the department's temp-agency postings, top ROME codes, new postings and change vs. the previous run.",
            "default": true
          },
          "includeDescription": {
            "title": "Include descriptions",
            "type": "boolean",
            "description": "Add the offer text to job rows. E-mail addresses, phone numbers, \"M./Mme <Name>\" and the contact block at the end are removed.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "maxLength": 60,
            "type": "string",
            "description": "Any name, for example \"preparateurs-nord\". Runs with the same name and inputs remember earlier results: job rows get changeType (new, updated, unchanged, closed), only new and updated jobs are saved, and employer and agency rows get the change vs. the previous run. Leave empty for a one-off run.",
            "default": ""
          },
          "fullCoverage": {
            "title": "Full coverage",
            "type": "boolean",
            "description": "Read every matching job (splitting around the site's ~1,150 results per search), not just up to Maximum job rows. Needed for closed jobs, posting lifetime, the hard-to-fill index and changes vs. the previous run. Works best with Departments set.",
            "default": false
          },
          "experimentalFlags": {
            "title": "Experimental flags",
            "type": "boolean",
            "description": "Also output the experimental flags hiringSurge, expansion and hardToFill. They are not yet validated; counts and changes are always output.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}