# Compare sold apartment prices by energy class (DPE) in Lyon

**Use case:** 

Real notarized sales (official DVF data) of Lyon apartments in 2024-2025, each matched to the energy certificate of the home sold: price, price per m2, surface, address, energy class A-G and how sure the match is. The free summary gives the median price per m2 for each class, so you can measure what an F or G rating costs. Works for any French city, arrondissement or postal code.

## Input

```json
{
  "locations": [
    "Lyon"
  ],
  "years": [
    2024,
    2025
  ],
  "propertyTypes": [
    "apartment"
  ],
  "newBuild": "include",
  "maxSalesPerLocation": 1000,
  "includeSummary": true,
  "includeEnergyRating": true,
  "includeRentalYield": true,
  "maxNotifications": 30
}
```

## Output

```json
{
  "location": {
    "label": "Location",
    "format": "string"
  },
  "date": {
    "label": "Date",
    "format": "string"
  },
  "propertyType": {
    "label": "Property type",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "pricePerM2": {
    "label": "Price per m2",
    "format": "integer"
  },
  "surface": {
    "label": "Surface",
    "format": "number"
  },
  "rooms": {
    "label": "Rooms",
    "format": "integer"
  },
  "energyRating": {
    "label": "Energy rating",
    "format": "string"
  },
  "grossRentalYieldPct": {
    "label": "Gross rental yield pct",
    "format": "number"
  },
  "address": {
    "label": "Address",
    "format": "string"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "isNewBuild": {
    "label": "Is new build",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [France Real Estate Sold Prices (DVF): €/m², Sales & Trends](https://apify.com/euroscrape/france-property-prices.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/euroscrape/france-property-prices.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/euroscrape/france-property-prices.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
