{
  "openapi": "3.0.1",
  "info": {
    "title": "Clévacances Scraper · Holiday Rental Hosts by Department",
    "description": "Export Clévacances-labelled holiday rentals in France: one row per gîte, B&B or unusual stay with host type (owner or concierge), concierge company, label level, capacity, nightly price, rating and GPS. Pick a department. No login.",
    "version": "1.0",
    "x-build-id": "gswIusookCwCGErEV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/corent1robert~clevacances-hosts-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-corent1robert-clevacances-hosts-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/corent1robert~clevacances-hosts-scraper/runs": {
      "post": {
        "operationId": "runs-sync-corent1robert-clevacances-hosts-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/corent1robert~clevacances-hosts-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-corent1robert-clevacances-hosts-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": {
          "departments": {
            "title": "Departments",
            "type": "array",
            "description": "French departments to export. Leave empty to export all of France.",
            "items": {
              "type": "string",
              "enum": [
                "01",
                "02",
                "03",
                "04",
                "05",
                "06",
                "07",
                "08",
                "09",
                "10",
                "11",
                "12",
                "13",
                "14",
                "15",
                "16",
                "17",
                "18",
                "19",
                "2A",
                "2B",
                "21",
                "22",
                "23",
                "24",
                "25",
                "26",
                "27",
                "28",
                "29",
                "30",
                "31",
                "32",
                "33",
                "34",
                "35",
                "36",
                "37",
                "38",
                "39",
                "40",
                "41",
                "42",
                "43",
                "44",
                "45",
                "46",
                "47",
                "48",
                "49",
                "50",
                "51",
                "52",
                "53",
                "54",
                "55",
                "56",
                "57",
                "58",
                "59",
                "60",
                "61",
                "62",
                "63",
                "64",
                "65",
                "66",
                "67",
                "68",
                "69",
                "70",
                "71",
                "72",
                "73",
                "74",
                "75",
                "76",
                "77",
                "78",
                "79",
                "80",
                "81",
                "82",
                "83",
                "84",
                "85",
                "86",
                "87",
                "88",
                "89",
                "90",
                "91",
                "92",
                "93",
                "94",
                "95"
              ],
              "enumTitles": [
                "01 · Ain",
                "02 · Aisne",
                "03 · Allier",
                "04 · Alpes-de-Haute-Provence",
                "05 · Hautes-Alpes",
                "06 · Alpes-Maritimes",
                "07 · Ardèche",
                "08 · Ardennes",
                "09 · Ariège",
                "10 · Aube",
                "11 · Aude",
                "12 · Aveyron",
                "13 · Bouches-du-Rhône",
                "14 · Calvados",
                "15 · Cantal",
                "16 · Charente",
                "17 · Charente-Maritime",
                "18 · Cher",
                "19 · Corrèze",
                "2A · Corse-du-Sud",
                "2B · Haute-Corse",
                "21 · Côte-d'Or",
                "22 · Côtes-d'Armor",
                "23 · Creuse",
                "24 · Dordogne",
                "25 · Doubs",
                "26 · Drôme",
                "27 · Eure",
                "28 · Eure-et-Loir",
                "29 · Finistère",
                "30 · Gard",
                "31 · Haute-Garonne",
                "32 · Gers",
                "33 · Gironde",
                "34 · Hérault",
                "35 · Ille-et-Vilaine",
                "36 · Indre",
                "37 · Indre-et-Loire",
                "38 · Isère",
                "39 · Jura",
                "40 · Landes",
                "41 · Loir-et-Cher",
                "42 · Loire",
                "43 · Haute-Loire",
                "44 · Loire-Atlantique",
                "45 · Loiret",
                "46 · Lot",
                "47 · Lot-et-Garonne",
                "48 · Lozère",
                "49 · Maine-et-Loire",
                "50 · Manche",
                "51 · Marne",
                "52 · Haute-Marne",
                "53 · Mayenne",
                "54 · Meurthe-et-Moselle",
                "55 · Meuse",
                "56 · Morbihan",
                "57 · Moselle",
                "58 · Nièvre",
                "59 · Nord",
                "60 · Oise",
                "61 · Orne",
                "62 · Pas-de-Calais",
                "63 · Puy-de-Dôme",
                "64 · Pyrénées-Atlantiques",
                "65 · Hautes-Pyrénées",
                "66 · Pyrénées-Orientales",
                "67 · Bas-Rhin",
                "68 · Haut-Rhin",
                "69 · Rhône",
                "70 · Haute-Saône",
                "71 · Saône-et-Loire",
                "72 · Sarthe",
                "73 · Savoie",
                "74 · Haute-Savoie",
                "75 · Paris",
                "76 · Seine-Maritime",
                "77 · Seine-et-Marne",
                "78 · Yvelines",
                "79 · Deux-Sèvres",
                "80 · Somme",
                "81 · Tarn",
                "82 · Tarn-et-Garonne",
                "83 · Var",
                "84 · Vaucluse",
                "85 · Vendée",
                "86 · Vienne",
                "87 · Haute-Vienne",
                "88 · Vosges",
                "89 · Yonne",
                "90 · Territoire de Belfort",
                "91 · Essonne",
                "92 · Hauts-de-Seine",
                "93 · Seine-Saint-Denis",
                "94 · Val-de-Marne",
                "95 · Val-d'Oise"
              ]
            }
          },
          "listingTypes": {
            "title": "Listing types",
            "type": "array",
            "description": "Keep only some kinds of rentals. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "cottage",
                "guest_house",
                "unusual",
                "group",
                "residence",
                "village",
                "stopover_lodge"
              ],
              "enumTitles": [
                "Gîte / holiday cottage",
                "B&B (chambre d'hôtes)",
                "Unusual stay (treehouse, yurt...)",
                "Group lodge",
                "Holiday residence",
                "Holiday village",
                "Stopover lodge"
              ]
            }
          },
          "includeHostDetails": {
            "title": "Host details",
            "type": "boolean",
            "description": "Open each listing to add the host type (owner, concierge, agency), the concierge company and contact, the website when the listing shows it, and tourism registration numbers.",
            "default": true
          },
          "maxItems": {
            "title": "Max listings",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many listings. 0 = no cap.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}