{
  "openapi": "3.0.1",
  "info": {
    "title": "French DPE F/G · Property Owner SIRENs",
    "description": "Export SCI / property companies sitting on ADEME DPE class F or G dwellings (passoires). Unique SIREN, directors, DPE stats. Open data, no login, no invented emails.",
    "version": "0.1",
    "x-build-id": "UQDb0cvnHEfNLWEXy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/corent1robert~dpe-fg-proprietaires-siren/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-corent1robert-dpe-fg-proprietaires-siren",
        "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/corent1robert~dpe-fg-proprietaires-siren/runs": {
      "post": {
        "operationId": "runs-sync-corent1robert-dpe-fg-proprietaires-siren",
        "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/corent1robert~dpe-fg-proprietaires-siren/run-sync": {
      "post": {
        "operationId": "run-sync-corent1robert-dpe-fg-proprietaires-siren",
        "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": {
          "departments": {
            "title": "Department(s)",
            "type": "array",
            "description": "ADEME department codes. Default **75 (Paris)**. Always set a geo filter — nationwide F/G is millions of rows.",
            "items": {
              "type": "string",
              "enum": [
                "01",
                "02",
                "03",
                "04",
                "05",
                "06",
                "07",
                "08",
                "09",
                "10",
                "11",
                "12",
                "13",
                "14",
                "15",
                "16",
                "17",
                "18",
                "19",
                "2A",
                "2B",
                "21",
                "22",
                "23",
                "24",
                "25",
                "26",
                "27",
                "28",
                "29",
                "30",
                "31",
                "32",
                "33",
                "34",
                "35",
                "36",
                "37",
                "38",
                "39",
                "40",
                "41",
                "42",
                "43",
                "44",
                "45",
                "46",
                "47",
                "48",
                "49",
                "50",
                "51",
                "52",
                "53",
                "54",
                "55",
                "56",
                "57",
                "58",
                "59",
                "60",
                "61",
                "62",
                "63",
                "64",
                "65",
                "66",
                "67",
                "68",
                "69",
                "70",
                "71",
                "72",
                "73",
                "74",
                "75",
                "76",
                "77",
                "78",
                "79",
                "80",
                "81",
                "82",
                "83",
                "84",
                "85",
                "86",
                "87",
                "88",
                "89",
                "90",
                "91",
                "92",
                "93",
                "94",
                "95",
                "971",
                "972",
                "973",
                "974",
                "976"
              ],
              "enumTitles": [
                "01 — Ain",
                "02 — Aisne",
                "03 — Allier",
                "04 — Alpes-de-Haute-Provence",
                "05 — Hautes-Alpes",
                "06 — Alpes-Maritimes",
                "07 — Ardèche",
                "08 — Ardennes",
                "09 — Ariège",
                "10 — Aube",
                "11 — Aude",
                "12 — Aveyron",
                "13 — Bouches-du-Rhône",
                "14 — Calvados",
                "15 — Cantal",
                "16 — Charente",
                "17 — Charente-Maritime",
                "18 — Cher",
                "19 — Corrèze",
                "2A — Corse-du-Sud",
                "2B — Haute-Corse",
                "21 — Côte-d’Or",
                "22 — Côtes-d’Armor",
                "23 — Creuse",
                "24 — Dordogne",
                "25 — Doubs",
                "26 — Drôme",
                "27 — Eure",
                "28 — Eure-et-Loir",
                "29 — Finistère",
                "30 — Gard",
                "31 — Haute-Garonne",
                "32 — Gers",
                "33 — Gironde",
                "34 — Hérault",
                "35 — Ille-et-Vilaine",
                "36 — Indre",
                "37 — Indre-et-Loire",
                "38 — Isère",
                "39 — Jura",
                "40 — Landes",
                "41 — Loir-et-Cher",
                "42 — Loire",
                "43 — Haute-Loire",
                "44 — Loire-Atlantique",
                "45 — Loiret",
                "46 — Lot",
                "47 — Lot-et-Garonne",
                "48 — Lozère",
                "49 — Maine-et-Loire",
                "50 — Manche",
                "51 — Marne",
                "52 — Haute-Marne",
                "53 — Mayenne",
                "54 — Meurthe-et-Moselle",
                "55 — Meuse",
                "56 — Morbihan",
                "57 — Moselle",
                "58 — Nièvre",
                "59 — Nord",
                "60 — Oise",
                "61 — Orne",
                "62 — Pas-de-Calais",
                "63 — Puy-de-Dôme",
                "64 — Pyrénées-Atlantiques",
                "65 — Hautes-Pyrénées",
                "66 — Pyrénées-Orientales",
                "67 — Bas-Rhin",
                "68 — Haut-Rhin",
                "69 — Rhône",
                "70 — Haute-Saône",
                "71 — Saône-et-Loire",
                "72 — Sarthe",
                "73 — Savoie",
                "74 — Haute-Savoie",
                "75 — Paris",
                "76 — Seine-Maritime",
                "77 — Seine-et-Marne",
                "78 — Yvelines",
                "79 — Deux-Sèvres",
                "80 — Somme",
                "81 — Tarn",
                "82 — Tarn-et-Garonne",
                "83 — Var",
                "84 — Vaucluse",
                "85 — Vendée",
                "86 — Vienne",
                "87 — Haute-Vienne",
                "88 — Vosges",
                "89 — Yonne",
                "90 — Territoire de Belfort",
                "91 — Essonne",
                "92 — Hauts-de-Seine",
                "93 — Seine-Saint-Denis",
                "94 — Val-de-Marne",
                "95 — Val-d’Oise",
                "971 — Guadeloupe",
                "972 — Martinique",
                "973 — Guyane",
                "974 — La Réunion",
                "976 — Mayotte"
              ]
            }
          },
          "postalCodes": {
            "title": "Postal codes",
            "type": "array",
            "description": "Optional. e.g. `75002`, `69001`. Applied both on ADEME and on SIRENE.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Optional contains-match on ADEME city (BAN). e.g. `Lyon`, `Bordeaux`.",
            "items": {
              "type": "string"
            }
          },
          "energyClasses": {
            "title": "DPE energy classes",
            "type": "array",
            "description": "**F** and **G** are the regulatory passoires. Add **E** only if you also want the next band.",
            "items": {
              "type": "string",
              "enum": [
                "E",
                "F",
                "G"
              ],
              "enumTitles": [
                "E (pre-passoire)",
                "F (passoire)",
                "G (passoire)"
              ]
            },
            "default": [
              "F",
              "G"
            ]
          },
          "buildingTypes": {
            "title": "Building types",
            "type": "array",
            "description": "Optional. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "appartement",
                "maison",
                "immeuble"
              ],
              "enumTitles": [
                "Apartment",
                "House",
                "Building (immeuble)"
              ]
            }
          },
          "minDpeDate": {
            "title": "Min DPE date",
            "type": "string",
            "description": "Optional ISO date (`YYYY-MM-DD`). Keep recent certificates only."
          },
          "ownerMatchMode": {
            "title": "Who counts as the owner",
            "enum": [
              "propertyCompanies",
              "propertyCompaniesAndSyndics",
              "anyCompanyAtAddress"
            ],
            "type": "string",
            "description": "**SCI / foncières (default):** legal form SCI or NAF 68.10 / 68.20 at the dwelling address. **+ syndics / copro:** also syndicat de copropriété (9110) and 68.32. **Any company at address:** any non-EI SIREN at that street number (noisier).",
            "default": "propertyCompanies"
          },
          "maxItems": {
            "title": "Max SIREN owners",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Row ceiling (unique SIREN). Default **50**. **0** = no ceiling (still bounded by Max DPE / Max addresses). If an address has several SCI, **all of them are exported** even if that slightly exceeds the ceiling — we never cut a building in half. Free plans capped at 100 / run.",
            "default": 50
          },
          "maxDpeToScan": {
            "title": "Max DPE to scan",
            "minimum": 10,
            "maximum": 20000,
            "type": "integer",
            "description": "Hard cap on ADEME rows read (not exported). Default **400**. Protects memory/time — Paris alone has 150k+ F/G.",
            "default": 400
          },
          "maxAddressesToMatch": {
            "title": "Max unique addresses to match",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Cap on SIRENE lookups (one per BAN address). Default **120**.",
            "default": 120
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}