# French DPE Energy Class Checker (ADEME) (`fit_melon/french-dpe-energy-class-checker-ademe`) Actor

Check the DPE energy class (A-G) of French properties in bulk from official ADEME data (15M+ diagnostics). Rental-ban verdict (loi Climat), passoires thermiques finder by postal code, GES, consumption, GPS. Free.

- **URL**: https://apify.com/fit\_melon/french-dpe-energy-class-checker-ademe.md
- **Developed by:** [D N](https://apify.com/fit_melon) (community)
- **Categories:** Real estate, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## French DPE Energy Class Checker (ADEME) — Free

Check the **DPE energy performance class (A–G)** of any French dwelling, in bulk, straight from the **official ADEME open database** (15+ million diagnostics, updated weekly). For every property you also get the **legal rental verdict under the French Climate law** (*loi Climat & Résilience*): is this dwelling a *passoire énergétique*? Is it already **banned from rental** (class G since 2025) or soon to be (F in 2028, E in 2034)?

This actor is **100% free** — you only pay your own Apify platform usage. No API key, no proxy, no scraping of fragile websites: it queries the official government open data API (`data.ademe.fr`), published under the French Open Licence 2.0.

**Keywords:** DPE, diagnostic de performance énergétique, étiquette énergie, classe énergétique, passoire thermique, passoire énergétique, ADEME, GES, French energy performance certificate, EPC France, energy class lookup, interdiction location DPE G, audit énergétique, rénovation énergétique.

### Two modes (combinable in a single run)

#### 1. Bulk address lookup — "check my portfolio"
Paste a list of French addresses (from your CRM, your rental portfolio, your listings). For each address the actor returns the most relevant DPE on record — matched on the BAN-normalized address, preferring your postal code and the most recent diagnostic.

#### 2. Area search — "find every energy sieve in town"
Give a postal code (or INSEE commune code) and optionally filter by class. Example: postal code `59000` + classes `F,G` → every officially recorded *passoire thermique* in Lille, with GPS coordinates. Perfect for renovation lead generation.

### Input

| Field | Type | Description |
|---|---|---|
| `addresses` | array of strings | Addresses to look up (1 address = 1 result item) |
| `postalCode` | string | Area search by postal code (e.g. `59000`) |
| `inseeCode` | string | Area search by INSEE commune code (e.g. `59350`) |
| `energyClasses` | array | Optional class filter for area search (`["F","G"]`) |
| `maxResults` | integer | Cap for area search results (default 100, max 10 000) |

### Output (one JSON item per result)

```json
{
  "inputAddress": "25 rue de Vaugirard 75006 Paris",
  "status": "found",
  "mode": "address_lookup",
  "dpeNumber": "2275E1234567X",
  "energyClass": "G",
  "gesClass": "F",
  "energyConsumptionKwhM2Year": 498.2,
  "gesEmissionKgCo2M2Year": 92.4,
  "matchedAddress": "25 Rue de Vaugirard 75006 Paris",
  "postalCode": "75006",
  "commune": "Paris",
  "buildingType": "appartement",
  "surfaceM2": 32.5,
  "constructionYear": 1880,
  "mainHeatingEnergy": "Électricité",
  "dpeDate": "2022-03-15",
  "dpeExpiryDate": "2032-03-15",
  "dpeExpired": false,
  "latitude": 48.848563,
  "longitude": 2.331375,
  "isEnergySieve": true,
  "rentalBannedNow": true,
  "rentalBanDate": "2025-01-01",
  "auditRequiredOnSaleNow": true,
  "complianceNote": "Class G: banned from rental in metropolitan France since 2025-01-01 (loi Climat & Résilience).",
  "source": "ADEME open data (dpe03existant)"
}
````

Every item carries an explicit `status`: `found`, `not_found` or `error` — the actor never crashes on an invalid address, it reports it and moves on.

### Use cases

- **Landlords & property managers** — audit a whole rental portfolio in one run and flag every dwelling that is (or will soon be) illegal to rent.
- **Real-estate agents & investors** — verify the energy class claimed in a listing before an offer; enrich a CRM of properties automatically.
- **Renovation & solar companies** — generate qualified leads: every F/G-rated home in a postal code is a prospect for insulation, heat pumps or solar panels.
- **PropTech & data teams** — plug the actor into Make, n8n or Zapier and enrich incoming property records with official energy data, continuously.

### Limitations & fair use

- The ADEME database covers **diagnostics performed since 1 July 2021** on existing dwellings; a property with no recent sale or rental may have no record (`not_found`).
- Data is raw, entered by certified inspectors; ADEME performs consistency checks but does not guarantee individual records.
- Rental-ban dates apply to **metropolitan France**; French overseas territories follow a later calendar (G banned in 2028, F in 2031).
- Address matching is fuzzy full-text: always check `matchedAddress` against your input. The `candidatesInDatabase` field tells you how many records matched.
- Source: ADEME, *DPE Logements existants (depuis juillet 2021)*, Licence Ouverte / Open Licence 2.0. Please keep request volumes reasonable — the actor already throttles itself.

### More actors by this developer

This actor is part of a suite of **French open-data actors**: company enrichment (SIREN/SIRENE), EU VAT validation (VIES), new French companies finder, RGE-certified contractors finder (ADEME), collective agreement (IDCC) finder, legal notices tools, and more. Pair this one with the **RGE contractors finder** to go from "this home is an energy sieve" to "here are the certified professionals who can renovate it". Browse them all on the developer profile.

# Actor input Schema

## `addresses` (type: `array`):

List of French addresses (one per line). For each address, the actor returns the most relevant DPE on record: energy class A–G, GES class, consumption, surface, and the legal rental verdict (loi Climat). One address = one result item.

## `postalCode` (type: `string`):

Optional. Search all DPE records in a French postal code (e.g. 59000 for Lille). Combine with the energy class filter below to find every F/G-rated 'passoire thermique' in an area — ideal for renovation lead generation.

## `inseeCode` (type: `string`):

Optional alternative to the postal code: the 5-character INSEE code of a commune (e.g. 59350 for Lille).

## `energyClasses` (type: `array`):

Optional. Restrict the area search to specific DPE classes. Example: select F and G to list only energy sieves ('passoires énergétiques').

## `maxResults` (type: `integer`):

Maximum number of DPE records returned by the area search (1 to 10 000).

## Actor input object example

```json
{
  "addresses": [
    "25 rue de Vaugirard 75006 Paris",
    "10 rue de la République 69001 Lyon"
  ],
  "postalCode": "59000",
  "inseeCode": "59350",
  "maxResults": 100
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "addresses": [
        "25 rue de Vaugirard 75006 Paris",
        "10 rue de la République 69001 Lyon"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fit_melon/french-dpe-energy-class-checker-ademe").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "addresses": [
        "25 rue de Vaugirard 75006 Paris",
        "10 rue de la République 69001 Lyon",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("fit_melon/french-dpe-energy-class-checker-ademe").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "addresses": [
    "25 rue de Vaugirard 75006 Paris",
    "10 rue de la République 69001 Lyon"
  ]
}' |
apify call fit_melon/french-dpe-energy-class-checker-ademe --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=fit_melon/french-dpe-energy-class-checker-ademe",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "French DPE Energy Class Checker (ADEME)",
        "description": "Check the DPE energy class (A-G) of French properties in bulk from official ADEME data (15M+ diagnostics). Rental-ban verdict (loi Climat), passoires thermiques finder by postal code, GES, consumption, GPS. Free.",
        "version": "0.0",
        "x-build-id": "GnkeUP5VdSepgeL88"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/fit_melon~french-dpe-energy-class-checker-ademe/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-fit_melon-french-dpe-energy-class-checker-ademe",
                "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/fit_melon~french-dpe-energy-class-checker-ademe/runs": {
            "post": {
                "operationId": "runs-sync-fit_melon-french-dpe-energy-class-checker-ademe",
                "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/fit_melon~french-dpe-energy-class-checker-ademe/run-sync": {
            "post": {
                "operationId": "run-sync-fit_melon-french-dpe-energy-class-checker-ademe",
                "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": {
                    "addresses": {
                        "title": "Addresses to check (bulk lookup)",
                        "type": "array",
                        "description": "List of French addresses (one per line). For each address, the actor returns the most relevant DPE on record: energy class A–G, GES class, consumption, surface, and the legal rental verdict (loi Climat). One address = one result item.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "postalCode": {
                        "title": "Postal code (area search)",
                        "type": "string",
                        "description": "Optional. Search all DPE records in a French postal code (e.g. 59000 for Lille). Combine with the energy class filter below to find every F/G-rated 'passoire thermique' in an area — ideal for renovation lead generation."
                    },
                    "inseeCode": {
                        "title": "INSEE commune code (area search)",
                        "type": "string",
                        "description": "Optional alternative to the postal code: the 5-character INSEE code of a commune (e.g. 59350 for Lille)."
                    },
                    "energyClasses": {
                        "title": "Energy class filter (area search only)",
                        "type": "array",
                        "description": "Optional. Restrict the area search to specific DPE classes. Example: select F and G to list only energy sieves ('passoires énergétiques').",
                        "items": {
                            "type": "string",
                            "enum": [
                                "A",
                                "B",
                                "C",
                                "D",
                                "E",
                                "F",
                                "G"
                            ]
                        }
                    },
                    "maxResults": {
                        "title": "Max results (area search)",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum number of DPE records returned by the area search (1 to 10 000).",
                        "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
                                    }
                                }
                            },
                            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
