# Mesurer la part des diagnostics DPE F/G à Lille

**Use case:** 

Obtenez les étiquettes A à G et la part des diagnostics F/G à Lille depuis 2024, à partir des données ADEME. / Get Lille energy-label statistics since 2024. Statistiques de diagnostics, pas un recensement des logements ; aucune adresse ni identité.

## Input

```json
{
  "mode": "live",
  "communeNames": [
    "Lille"
  ],
  "communeCodes": [],
  "departments": [],
  "sinceYear": 2024
}
```

## Output

```json
{
  "isDemo": {
    "label": "Fictif / Demo",
    "format": "boolean"
  },
  "communeCode": {
    "label": "INSEE",
    "format": "string"
  },
  "communeName": {
    "label": "Commune",
    "format": "string"
  },
  "sinceYear": {
    "label": "Depuis / Since",
    "format": "integer"
  },
  "totalDiagnostics": {
    "label": "Diagnostics",
    "format": "integer"
  },
  "withoutLabel": {
    "label": "Sans étiquette / Unlabelled",
    "format": "integer"
  },
  "energyHogs.count": {
    "label": "Diagnostics F+G",
    "format": "integer"
  },
  "energyHogs.share": {
    "label": "Part F+G (0-1) / Share (0-1)",
    "format": "number"
  },
  "datasetUpdatedAt": {
    "label": "Date producteur / Producer update",
    "format": "string"
  },
  "fetchedAt": {
    "label": "Consultation / Retrieved",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The France DPE: energy labels / passoires par commune Actor is ready to run with the inputs already set for "Mesurer la part des diagnostics DPE F/G à Lille". [Sign up or log in](https://console.apify.com/create-task-from-example/GsjleNoNRo3glOrna) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Mesurer la part des diagnostics DPE F/G à Lille" task

The France DPE: energy labels / passoires par commune Actor will start running based on the input automatically. You can also change all the input fields, like mode, commune names / noms de communes, and more, to match your specific use case.

### 3. Receive the "Mesurer la part des diagnostics DPE F/G à Lille" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as fictif / demo, INSEE, commune, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Mesurer la part des diagnostics DPE F/G à Lille" task via API](https://apify.com/westbrook_data/dpe-france-communes.md).

## FAQ

### Est-ce le parc de logements ? / Is this the housing stock?

Les statistiques comptent les diagnostics disponibles, pas tous les logements. Un logement peut avoir plusieurs diagnostics. / Counts cover available certificates, not unique dwellings.

### Peut-on saisir un nom ? / Can I use a name?

Oui, avec communeNames. Un nom inconnu ou homonyme doit être corrigé ou remplacé par un code INSEE. / Use communeNames; unknown or ambiguous names must be corrected or replaced by INSEE codes.

### Pourquoi aucune ligne ? / Why no row?

Une commune sous dix diagnostics n’est ni livrée ni facturée comme résultat. Vérifiez période et SUMMARY. / Communes below ten certificates are not delivered or billed as results; inspect SUMMARY.

### Comment lire F/G et les grandes villes ? / F/G and major cities?

0,11 signifie 11 % des diagnostics retenus. Paris, Lyon et Marseille sont développés en arrondissements, donc plusieurs lignes possibles. / 0.11 means 11%; major-city names expand into arrondissement rows.

### Quel prix et plafond ? / What price and spending cap?

FREE : 0,02 USD/commune livré ; plafond 0,025 USD. Autres offres : Pricing. / FREE $0.02/delivered result, cap $0.025. Ressources plateforme mesurées séparément / Platform resources measured separately.

### Exemple de valeurs fictives / Synthetic output values

FICTIF / SYNTHETIC : totalDiagnostics=1000 ; withoutLabel=0 ; energyHogs.count=110. Illustration, pas un résultat réel / not a live result.

## About this Actor

This example demonstrates how to use [France DPE: energy labels / passoires par commune](https://apify.com/westbrook_data/dpe-france-communes.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/westbrook_data/dpe-france-communes.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/westbrook_data/dpe-france-communes.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`).
