# France Real Estate Sales (DVF) & Energy DPE F/G Leads API (`grimbles/fr-real-estate-dvf-dpe-leads`) Actor

Query official French ADEME DPE energy performance diagnostics (residential & commercial F/G thermal sieves) combined with DGFiP/Cerema DVF real estate transactions, BAN addresses & INSEE SIRENE data. Built for PropTech, solar/heat-pump contractors, real estate agencies & renovation brokers.

- **URL**: https://apify.com/grimbles/fr-real-estate-dvf-dpe-leads.md
- **Developed by:** [Grimbles Data Labs](https://apify.com/grimbles) (community)
- **Categories:** Lead generation, Automation, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.35 / 1,000 france real estate dpe / dvf property lead extracteds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-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 Real Estate Sales (DVF) & Energy DPE F/G Leads Scraper

**Extract French ADEME energy performance diagnostics (DPE A–G, residential & commercial F/G thermal sieves) enriched with DGFiP/Cerema DVF+ property transaction prices (€/m²), Base Adresse Nationale (BAN) geocoding, and INSEE SIRENE commercial occupant data.**

Built for **PropTech valuation engines, heat-pump / solar / insulation B2B installers, French real estate agencies, renovation lenders, and AI agents (MCP / n8n)** — powered by 100% official French government Open Data APIs (`data.ademe.fr`, `apidf-preprod.cerema.fr`, `geo.api.gouv.fr`, `recherche-entreprises.api.gouv.fr`).

***

### Key Features

- **ADEME Official DPE Diagnostics (`dpe03existant` & `dpe01tertiaire`)**: Filter residential housing or commercial/tertiary buildings by French department (`75`, `69`, `33`), postal code, energy grade (`F`, `G`, `E`), and minimum floor area (m²).
- **Cerema / DGFiP DVF+ Property Sales & €/m² Comps**: Enriches every DPE commune with real-world median sale price per m² and recent property transaction counts (`dvf_opendata`), or queries raw DVF sales directly in `dvf_property_sales` mode.
- **Commercial Building INSEE SIRENE Linking**: For commercial/tertiary buildings (`dpe01tertiaire`), looks up matching companies on `recherche-entreprises.api.gouv.fr` to attach `commercialCompanyName`, `commercialSiren`, and `commercialNafCode`.
- **Renovation & Energy Opportunity Score (`0–100`)**: Ranks properties by `G`/`F` rental-ban urgency, kWh/m² consumption, surface area, and fossil/direct-electric heating systems prime for heat-pump or solar upgrades.

***

### Sample Output JSON

```json
{
  "recordSource": "ADEME_DPE_RESIDENTIAL",
  "recordId": "2675E1234567A",
  "recordDate": "2026-10-14",
  "address": "24 Rue de Charonne 75011 Paris",
  "postalCode": "75011",
  "city": "Paris",
  "inseeCode": "75111",
  "departmentCode": "75",
  "propertyType": "appartement",
  "surfaceM2": 78.5,
  "constructionYear": 1930,
  "dpeGrade": "G",
  "gesGrade": "F",
  "energyConsumptionKwhM2": 465.0,
  "ghgEmissionsKgM2": 78.0,
  "heatingType": "Fioul domestique",
  "latitude": 48.8531,
  "longitude": 2.3764,
  "salePriceEur": null,
  "communeMedianPricePerM2": 9850.0,
  "communeRecentSalesCount": 25,
  "commercialCompanyName": null,
  "commercialSiren": null,
  "commercialNafCode": null,
  "renovationOpportunityScore": 96,
  "sourceUrl": "https://observatoire-dpe-audit.ademe.fr/afficher-dpe/2675E1234567A"
}
```

***

### AI Agent (MCP) & n8n Automation Integration

#### Apify MCP Server (Claude Desktop / Cursor / Windsurf)

```json
{
  "mcpServers": {
    "fr-real-estate-dvf-dpe-leads": {
      "url": "https://mcp.apify.com/?tools=grimbles/fr-real-estate-dvf-dpe-leads",
      "headers": {
        "Authorization": "Bearer <YOUR_APIFY_API_TOKEN>"
      }
    }
  }
}
```

#### n8n / Make HTTP Run-Sync Integration

```json
{
  "method": "POST",
  "url": "https://api.apify.com/v2/acts/grimbles~fr-real-estate-dvf-dpe-leads/run-sync-get-dataset-items",
  "headers": {
    "Authorization": "Bearer <YOUR_APIFY_API_TOKEN>",
    "Content-Type": "application/json"
  },
  "body": {
    "mode": "dpe_renovation_leads",
    "dpeScope": "residential",
    "departments": ["75", "69"],
    "dpeGrades": ["F", "G"],
    "enrichDvfComps": true,
    "maxResults": 25
  }
}
```

# Actor input Schema

## `mode` (type: `string`):

Query ADEME DPE energy renovation leads (with DVF commune price/m2 comps), DGFiP/Cerema DVF property sales, or both.

## `dpeScope` (type: `string`):

Select residential existing housing (dpe03existant), commercial/tertiary buildings (dpe01tertiaire), or both.

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

List of 2-digit or 3-digit French department codes (e.g. \['75', '69', '33', '44']).

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

Optional list of exact 5-digit French postal codes (e.g. \['75011', '69006']).

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

Target energy efficiency labels (A..G). Defaults to \['F', 'G'] thermal sieves subject to French rental bans.

## `minSurfaceM2` (type: `number`):

Optional minimum habitable or useful floor area in square meters.

## `enrichDvfComps` (type: `boolean`):

Attach median property sale price per m2 and recent transaction counts from DGFiP/Cerema DVF+ by INSEE commune.

## `enrichCommercialSirene` (type: `boolean`):

For commercial/tertiary DPE records, query INSEE SIRENE by address to attach matching company names and SIRENs.

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

Maximum number of DPE / DVF property records to return.

## Actor input object example

```json
{
  "mode": "dpe_renovation_leads",
  "dpeScope": "residential",
  "departments": [
    "75",
    "69"
  ],
  "postalCodes": [],
  "dpeGrades": [
    "F",
    "G"
  ],
  "minSurfaceM2": 0,
  "enrichDvfComps": true,
  "enrichCommercialSirene": true,
  "maxResults": 25
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing ADEME DPE energy diagnostics, Cerema/DGFiP DVF sales, and renovation scores.

# 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("grimbles/fr-real-estate-dvf-dpe-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("grimbles/fr-real-estate-dvf-dpe-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 grimbles/fr-real-estate-dvf-dpe-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,grimbles/fr-real-estate-dvf-dpe-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/9WxK0pSg496d9HjlC/builds/LZ3MbEHlF2kYGfYZM/openapi.json
