{
  "openapi": "3.0.1",
  "info": {
    "title": "Francetravail Scraper | Job Offers and Salaries",
    "description": "France Travail scraper (ex Pôle emploi): export French job offers by keyword, location, link or offer number. 20 jobs in 9 seconds, 42 fields each: full description, ROME code, contract, salary range, skills, company, city, coordinates and the apply link. No login, partner job boards included.",
    "version": "1.0",
    "x-build-id": "kKVH0gQTLQ3PP3Hiw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~francetravail-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-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/silentflow~francetravail-scraper/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-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/silentflow~francetravail-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-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",
        "properties": {
          "searchQueries": {
            "title": "🔎 Keywords",
            "type": "array",
            "description": "Job titles or skills to search, one per line, as you would type them on candidat.francetravail.fr: <code>développeur</code>, <code>infirmier</code>, <code>comptable</code>, <code>chauffeur poids lourd</code>, <code>data engineer</code>. Each keyword is a separate search; an offer found twice counts once. A common job title matches thousands of offers across France.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "📍 Location",
            "type": "string",
            "description": "Where the jobs are. Type it the way you say it: a city (<code>Lyon</code>, <code>Saint-Malo</code>), a postal code (<code>69002</code>), a département number or name (<code>33</code>, <code>Gironde</code>), or a region (<code>Bretagne</code>, <code>Île-de-France</code>). France Travail place codes (<code>75D</code>, <code>11R</code>) work too. A city also returns offers within 10 km of it. Leave empty for all of France."
          },
          "startUrls": {
            "title": "🔗 France Travail links",
            "type": "array",
            "description": "Pages copied from candidat.francetravail.fr: a search with its filters (<code>https://candidat.francetravail.fr/offres/recherche?motsCles=comptable&lieux=75D&typeContrat=CDI</code>), a job page (<code>https://candidat.francetravail.fr/offres/emploi/infirmier/s36m2</code>) or an offer (<code>https://candidat.francetravail.fr/offres/recherche/detail/215XBLY</code>). The filters of a search link are kept as you set them on the site.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "jobIds": {
            "title": "🆔 Offer numbers",
            "type": "array",
            "description": "France Travail offer numbers, as shown under the offer title (<code>Offre n° 215XBLY</code>) or at the end of its address: <code>215XBLY</code>, <code>8449679</code>. Each number returns one row, whatever the filters below. Handy to check that the offers you follow are still open.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "🔢 Max jobs",
            "minimum": 1,
            "type": "integer",
            "description": "The most job offers the run returns, keywords, links and offer numbers together. France Travail lets anyone page through 1,150 offers per search: add a location, a contract type or a date filter to reach more.",
            "default": 50
          },
          "contractTypes": {
            "title": "📝 Contract types",
            "type": "array",
            "description": "Keep only these contracts. Leave empty for every contract.",
            "items": {
              "type": "string",
              "enum": [
                "CDI",
                "CDD",
                "MIS",
                "SAI",
                "DIN",
                "LIB",
                "CCE",
                "FRA",
                "REP"
              ],
              "enumTitles": [
                "CDI (permanent)",
                "CDD (fixed term)",
                "Intérim (temp work)",
                "Saisonnier (seasonal)",
                "CDI intérimaire",
                "Profession libérale (freelance)",
                "Profession commerciale (sales agent)",
                "Franchise",
                "Reprise d'entreprise (business takeover)"
              ]
            }
          },
          "postedWithin": {
            "title": "📅 Published in the last",
            "enum": [
              "1",
              "3",
              "7",
              "14",
              "31"
            ],
            "type": "string",
            "description": "Keep only the offers published recently. Leave empty for every offer online."
          },
          "sort": {
            "title": "↕️ Sort",
            "enum": [
              "relevance",
              "date"
            ],
            "type": "string",
            "description": "<b>Relevance</b> puts the best matches first, France Travail's own offers ahead. <b>Date</b> puts the newest offers first, partner job boards included.",
            "default": "relevance"
          },
          "includePartnerOffers": {
            "title": "🤝 Partner job boards",
            "type": "boolean",
            "description": "France Travail also lists offers from partner job boards (HelloWork, APEC, Cadremploi, Meteojob...). On, they come with the link to the original posting; their rows carry fewer details (no skills or education list). Off, only offers posted on France Travail itself.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}