{
  "openapi": "3.0.1",
  "info": {
    "title": "France Sold Property Prices Scraper - DVF House Prices",
    "description": "France sold property prices from DVF, the official register of every property sale: date, price, EUR per m2, house / flat / land, living area, rooms, land area, address, coordinates. Bulk cities, postcodes, departments; 2021 to 2026. $0.20 per 1,000, no start fee.",
    "version": "1.0",
    "x-build-id": "Sikn75bRcYg98nepp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rel8ble~france-property-sold-prices-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rel8ble-france-property-sold-prices-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/rel8ble~france-property-sold-prices-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rel8ble-france-property-sold-prices-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/rel8ble~france-property-sold-prices-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rel8ble-france-property-sold-prices-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": {
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Optional. French commune names, many per run, e.g. \"Bordeaux\", \"Lyon\", \"Nantes\". Paris, Lyon and Marseille include all arrondissements. Add a department to disambiguate: \"Saint-Denis, 93\". Empty with no other location = Bordeaux demo.",
            "items": {
              "type": "string"
            }
          },
          "postcodes": {
            "title": "Postcodes",
            "type": "array",
            "description": "Optional. 5-digit French postcodes, e.g. \"75011\", \"06400\", \"33000\".",
            "items": {
              "type": "string"
            }
          },
          "communeCodes": {
            "title": "INSEE commune codes",
            "type": "array",
            "description": "Optional. Official commune codes, e.g. \"33063\" (Bordeaux), \"75111\" (Paris 11e), \"2A004\" (Ajaccio).",
            "items": {
              "type": "string"
            }
          },
          "departments": {
            "title": "Departments",
            "type": "array",
            "description": "Optional. Whole departments, e.g. \"33\", \"75\", \"2A\", \"974\". Large: use maxSalesPerLocation or the filters below.",
            "items": {
              "type": "string"
            }
          },
          "years": {
            "title": "Years",
            "type": "array",
            "description": "Optional. DVF data years to search, newest first, e.g. \"2025\", \"2024\". Available: second half of 2021 to the latest half-year (2026 = January to June). Empty = all years, newest first, stopping when maxSalesPerLocation is reached.",
            "items": {
              "type": "string"
            }
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "Optional. \"house\", \"apartment\", \"commercial\", \"outbuilding\" (garages, parking, cellars) and / or \"land\". Default [\"house\", \"apartment\"].",
            "default": [
              "house",
              "apartment"
            ],
            "items": {
              "type": "string"
            }
          },
          "saleTypes": {
            "title": "Sale types",
            "type": "array",
            "description": "Optional. \"sale\" (resale), \"off-plan\" (VEFA new build), \"building-land\", \"auction\", \"exchange\", \"expropriation\". Default [\"sale\", \"off-plan\"].",
            "default": [
              "sale",
              "off-plan"
            ],
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Min price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Keep sales at or above this total price. 0 = no minimum.",
            "default": 0
          },
          "maxPrice": {
            "title": "Max price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Keep sales at or below this total price. 0 = no maximum.",
            "default": 0
          },
          "soldAfter": {
            "title": "Sold on or after",
            "type": "string",
            "description": "Optional. YYYY-MM-DD (or a year)."
          },
          "soldBefore": {
            "title": "Sold on or before",
            "type": "string",
            "description": "Optional. YYYY-MM-DD (or a year)."
          },
          "minLivingArea": {
            "title": "Min living area (m2)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Keep sales whose houses / flats total at least this many m2. 0 = off.",
            "default": 0
          },
          "maxLivingArea": {
            "title": "Max living area (m2)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. 0 = off.",
            "default": 0
          },
          "minRooms": {
            "title": "Min rooms",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Minimum main rooms (pièces principales). 0 = off.",
            "default": 0
          },
          "minPricePerM2": {
            "title": "Min EUR per m2",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Only single house / flat sales have a price per m2; others are dropped when this is set. 0 = off.",
            "default": 0
          },
          "maxPricePerM2": {
            "title": "Max EUR per m2",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. 0 = off.",
            "default": 0
          },
          "includeLines": {
            "title": "Include raw DVF lines",
            "type": "boolean",
            "description": "Optional. Add the raw parcel / premises lines of each sale (lines field). Default false.",
            "default": false
          },
          "maxSalesPerLocation": {
            "title": "Max sales per location",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Stop each city / postcode / commune / department after this many sales (newest first). Default 50; 0 = every sale (Bordeaux is about 6,000 per year). You pay per sale.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}