# France ADEME DPE Energy Audit Leads (F/G Scraper) (`govdata-api/ademe-fr-dpe-energy-leads`) Actor

Extract fresh geocoded French ADEME DPE energy certificates (F/G passoires thermiques) by postal code, department, building type, oil/gas/electric heating & floor area for RGE renovation & real estate leads. Zero proxy needed · Official French Government Open Data · MCP & n8n ready.

- **URL**: https://apify.com/govdata-api/ademe-fr-dpe-energy-leads.md
- **Developed by:** [Samuel Godran](https://apify.com/govdata-api) (community)
- **Categories:** Lead generation, Real estate, AI
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## France ADEME DPE Energy Audit Leads (F/G Scraper)

> **Extract fresh, geocoded French Energy Performance Certificates (DPE F & G *passoires thermiques*) directly from the official ADEME database — filtered by postal code, heating fuel (*Fioul/Gaz/Électricité*), building type & floor area.**

![Zero Proxy](https://img.shields.io/badge/Proxies-Zero%20Required-22c55e) ![Official Gov API](https://img.shields.io/badge/Source-Official%20ADEME%20DPE%20API-2563eb) ![Pricing](https://img.shields.io/badge/Pricing-Pay--Per--Event-f59e0b) ![MCP Ready](https://img.shields.io/badge/AI%20%2F%20Automation-MCP%20%26%20n8n%20Ready-8b5cf6)

Query the official French **ADEME Observatoire DPE (`dpe03existant`)** API in real time — **zero proxies, zero scraping fragility, sorted newest-first** — to capture newly diagnosed low-efficiency homes and buildings before competitors reach them.

Every extracted record includes the **verified BAN street address**, **GPS coordinates (`geopoint`)**, **DPE & GES grades (`A`–`G`)**, **main heating energy** (*Fioul*, *Gaz*, *Électricité*, *Bois*), **estimated annual energy bill in EUR**, **consumption in kWh/m²/yr**, **envelope insulation quality**, and the **official ADEME certificate link**.

***

### High-ROI Renovation & Real Estate Use Cases

- **Heat Pump (PAC), Solar & Insulation Contractors (RGE / MaPrimeRénov')**: Target newly issued `F` and `G` individual houses (`buildingType: "maison"`) heated with oil (`heatingFuel: "Fioul"`) or electric radiators in your exact service postal codes.
- **Real Estate Agencies & Off-Market Property Hunters**: In France, a fresh DPE is legally mandatory right before a property is listed for sale or rent — monitor newly issued `F`/`G` DPEs daily as an ultra-early **seller-intent signal** driven by the *Loi Climat et Résilience* (2025 G-class rental ban, 2028 F-class rental ban).
- **Property Investors & Marchands de Biens**: Spot entire multi-unit buildings (`buildingType: "immeuble"`) with poor envelope insulation (`qualite_isolation_enveloppe: "insuffisante"`) for value-add energy-renovation flips.
- **PropTech, Mortgage & ESG Analytics**: Enrich real estate datasets with verified official ADEME `kWh/m²` scores and estimated annual energy costs (`annualEnergyCostEur`).
- **AI Real Estate & Geo-Marketing Agents (MCP)**: Let Claude, Cursor, or automated n8n workflows pull hyper-local thermal-sieve maps on demand.

***

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `dpeGrades` | `string[]` | `["F", "G"]` | Target DPE energy labels (`"A"` through `"G"`). Defaults to `["F", "G"]` (*passoires thermiques*). |
| `departments` | `string[]` | `[]` | Optional 2- or 3-digit French department codes (e.g. `["75", "92", "69", "33"]`). |
| `postalCodes` | `string[]` | `[]` | Optional specific 5-digit French postal codes (e.g. `["75019", "69003", "33000"]`). |
| `buildingType` | `string` | `"all"` | Residential building filter: `"all"`, `"maison"` (house), `"appartement"` (apartment), or `"immeuble"` (entire building). |
| `heatingFuel` | `string` | `""` | Optional keyword filter on main heating energy (e.g. `"Fioul"`, `"Gaz"`, `"Électricité"`). Leave empty for all fuels. |
| `minSurfaceSqm` | `integer` | `0` | Minimum habitable floor area in m² (`0` = no minimum). |
| `maxResults` | `integer` | `100` | Maximum number of DPE certificates to return (`1` to `5000`), sorted newest-first (`-date_etablissement_dpe`). |

***

### Real Input & Verified Output Example

#### Example Input (JSON)

```json
{
  "dpeGrades": ["F", "G"],
  "departments": ["75"],
  "buildingType": "appartement",
  "minSurfaceSqm": 30,
  "maxResults": 100
}
```

#### Real Verified Output (Live Official ADEME DPE API Record)

```json
{
  "dpeNumber": "2675E2973724C",
  "dpeGrade": "F",
  "gesGrade": "C",
  "issueDate": "2026-11-25",
  "buildingType": "appartement",
  "constructionPeriod": "avant 1948",
  "constructionYear": null,
  "surfaceSqm": 40.2,
  "address": "26 Rue Pradier 75019 Paris",
  "postalCode": "75019",
  "city": "Paris",
  "departmentCode": "75",
  "geopoint": "48.87610197411213,2.382433956032124",
  "mainHeatingEnergy": "Électricité",
  "annualEnergyCostEur": 1849.5,
  "energyConsumptionKwhM2": 414,
  "envelopeInsulationQuality": "insuffisante",
  "officialAdemeUrl": "https://observatoire-dpe-audit.ademe.fr/afficher-dpe/2675E2973724C"
}
```

***

### Transparent Pay-Per-Event (PPE) Pricing

No fixed monthly subscription and **no proxy costs**. Pay strictly per geocoded DPE record delivered:

| Event Name | Description | Price (USD) |
|---|---|---|
| `actor-start` | Charged once per Actor run startup | `$0.005` |
| `result-item` | One geocoded French ADEME DPE certificate with address, grade, fuel & cost estimate | `$0.020` |

#### Estimated Cost Examples

| Volume | Calculation | Total Cost (USD) |
|---|---|---|
| **100 DPE leads** | `$0.005 + (100 × $0.020)` | **`$2.005`** (~$2.01) |
| **1,000 DPE leads** | `$0.005 + (1,000 × $0.020)` | **`$20.005`** (~$20.01) |

> **Budget cap built-in**: Set `maxTotalChargeUsd` on any run or schedule to guarantee predictable monthly lead-gen budgets.

***

### Integrations: n8n, Make, API & AI Agents (MCP)

#### 1. n8n / Make.com / Zapier (Direct Sync HTTP Webhook)

Push fresh oil-heated F/G houses into Google Sheets, Airtable, or your CRM every week:

```http
POST https://api.apify.com/v2/acts/govdata-api~ademe-fr-dpe-energy-leads/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN
Content-Type: application/json

{
  "dpeGrades": ["F", "G"],
  "departments": ["69", "38"],
  "buildingType": "maison",
  "heatingFuel": "Fioul",
  "minSurfaceSqm": 80,
  "maxResults": 100
}
```

#### 2. Node.js (`apify-client`)

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });

const run = await client.actor('govdata-api/ademe-fr-dpe-energy-leads').call({
  dpeGrades: ['F', 'G'],
  postalCodes: ['75019', '75020'],
  buildingType: 'appartement',
  minSurfaceSqm: 30,
  maxResults: 50,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### 3. Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run = client.actor("govdata-api/ademe-fr-dpe-energy-leads").call(run_input={
    "dpeGrades": ["F", "G"],
    "departments": ["33"],
    "buildingType": "maison",
    "heatingFuel": "Fioul",
    "minSurfaceSqm": 90,
    "maxResults": 100,
})

items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(f"Extracted {len(items)} geocoded ADEME DPE records")
```

#### 4. AI Agents via Apify MCP Server (Claude Desktop, Cursor, Antigravity)

```json
{
  "mcpServers": {
    "apify-ademe-dpe-fr": {
      "url": "https://mcp.apify.com?actors=govdata-api/ademe-fr-dpe-energy-leads",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_TOKEN"
      }
    }
  }
}
```

*Example prompt*: `"Pull the 50 most recent F and G houses heated by Fioul over 90 m² in Gironde (department 33) and group them by postal code with average annual energy bills."`

***

### Part of the Official France Open Data Suite by `govdata-api`

Running an energy renovation marketplace or lead-gen agency? Pair **ADEME DPE** (homeowner/property demand) with **SIRENE & RNE Enricher (`onlyRge: true`)** to match properties directly with certified RGE contractors in the same department:

| Actor | Official Government Source | Primary Use Case |
|---|---|---|
| **[France ADEME DPE Energy Audit Leads (F/G Scraper)](https://apify.com/govdata-api/ademe-fr-dpe-energy-leads)** *(this Actor)* | ADEME (`dpe03existant`) | Geocoded F/G *passoires thermiques* leads by postal code, fuel & m² |
| **[France SIRENE & RNE Company Enricher & Leads API](https://apify.com/govdata-api/sirene-fr-company-enricher)** | DINUM / INSEE / INPI | Bulk SIREN enrichment, directors, revenue, **RGE**/Qualiopi & RGPD status |
| **[France BODACC Scraper — Insolvency, Liquidations & M\&A](https://apify.com/govdata-api/bodacc-fr-insolvency-radar)** | DILA / BODACC (51M+ notices) | Bankruptcies, liquidators, art. L.622-24 deadlines, M\&A sales & creations |
| **[France BOAMP Public Tenders & RFP Scraper API](https://apify.com/govdata-api/boamp-fr-public-tenders)** | DILA / BOAMP (1.7M+ tenders) | Active French public RFPs (*appels d'offres*) with deadline countdown |
| **[France DECP Public Contracts & Renewals Scraper API](https://apify.com/govdata-api/decp-fr-awarded-contracts)** | Ministry of Economy (DECP v3) | Awarded public contracts > €50k + computed 6–12 month renewal dates |

***

### Legal & Data Source

## All records are retrieved directly from the official French **ADEME (Agence de la transition écologique)** public open dataset (`dpe03existant` on `data.ademe.fr`) under **Licence Ouverte / Open Licence 2.0 (Etalab)**. Note: ADEME DPE certificates contain building-level energy diagnostics and public BAN addresses without personal owner names.

### Legal Notice & Open Data Licence

This Actor is an **independent API wrapper operated by GovData API** and is **not affiliated with, endorsed by, or officially connected to** any French or European government agency. All records are queried in real time from public government APIs (Official French ADEME DPE Open Data API (Etalab Open Licence 2.0)). Users are solely responsible for complying with GDPR and applicable data-use regulations when processing extracted records.

# Actor input Schema

## `dpeGrades` (type: `array`):

Target energy performance labels (e.g. \['F', 'G'] for thermal sieves / passoires thermiques).

## `departments` (type: `array`):

Filter by 2- or 3-digit department codes (e.g. \['75', '92', '69', '33']).

## `postalCodes` (type: `array`):

Filter by specific French 5-digit postal codes (e.g. \['75011', '69003']).

## `buildingType` (type: `string`):

Filter by residential building type (house, apartment, full building, or all).

## `heatingFuel` (type: `string`):

Optional filter on main heating energy (e.g. 'Fioul', 'Gaz', 'Électricité'). Leave empty for all.

## `minSurfaceSqm` (type: `integer`):

Minimum habitable surface in square meters (0 = no minimum).

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

Maximum number of DPE records to extract.

## Actor input object example

```json
{
  "dpeGrades": [
    "F",
    "G"
  ],
  "departments": [],
  "postalCodes": [],
  "buildingType": "all",
  "heatingFuel": "",
  "minSurfaceSqm": 0,
  "maxResults": 100
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("govdata-api/ademe-fr-dpe-energy-leads").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("govdata-api/ademe-fr-dpe-energy-leads").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{}' |
apify call govdata-api/ademe-fr-dpe-energy-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,govdata-api/ademe-fr-dpe-energy-leads"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/pU9AjJtuhyFklfxHf/builds/40P65tYA8dwW88F97/openapi.json
