# Find F and G rated homes in a French commune

**Use case:** 

Find the homes a renovation business actually wants: houses built before 1975 and rated F or G in one commune, with address, class, floor area and year — plus the share they represent in the local stock (304 of 1,481 in Avignon, 20.5%). Class G can no longer be let and F follows in 2028, which makes this a market size rather than a statistic.

## Input

```json
{
  "communes": [
    "84007"
  ],
  "radiusMeters": 1000,
  "energyClasses": [
    "F",
    "G"
  ],
  "gasClasses": [],
  "buildingTypes": [
    "maison"
  ],
  "builtBefore": 1975,
  "includeStatistics": true,
  "includeRecords": true,
  "maxRecordsPerArea": 50
}
```

## Output

```json
{
  "address": {
    "label": "Address"
  },
  "postcode": {
    "label": "Postcode"
  },
  "energyClass": {
    "label": "DPE"
  },
  "gasClass": {
    "label": "GES"
  },
  "buildingType": {
    "label": "Type"
  },
  "yearBuilt": {
    "label": "Built"
  },
  "floorAreaSqm": {
    "label": "m²"
  },
  "energyUsePerSqm": {
    "label": "kWh/m²"
  },
  "assessedOn": {
    "label": "Assessed"
  },
  "latitude": {
    "label": "Lat"
  },
  "longitude": {
    "label": "Lon"
  }
}
```

## About this Actor

This example demonstrates how to use [French DPE Energy Rating Search — Find Homes by Class](https://apify.com/dalbian/french-dpe-energy-search.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/dalbian/french-dpe-energy-search.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/dalbian/french-dpe-energy-search.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`).
