{
  "openapi": "3.0.1",
  "info": {
    "title": "Commissaires de Justice France · Official Directory Emails",
    "description": "Export French commissaires de justice (former huissiers and commissaires-priseurs) from the official CNCJ register: office email, phone, website, address, GPS, team names, property management, syndic and auction services. Filter by department. One row per office or per professional. No login.",
    "version": "1.0",
    "x-build-id": "FfTs96j2WymM35Z22"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/corent1robert~commissaires-justice-france-annuaire/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-corent1robert-commissaires-justice-france-annuaire",
        "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~commissaires-justice-france-annuaire/runs": {
      "post": {
        "operationId": "runs-sync-corent1robert-commissaires-justice-france-annuaire",
        "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~commissaires-justice-france-annuaire/run-sync": {
      "post": {
        "operationId": "run-sync-corent1robert-commissaires-justice-france-annuaire",
        "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": "Departments",
            "type": "array",
            "description": "Get offices located in these departments. Empty = all of France (about 2,200 offices).",
            "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 - Ardeche",
                "08 - Ardennes",
                "09 - Ariege",
                "10 - Aube",
                "11 - Aude",
                "12 - Aveyron",
                "13 - Bouches-du-Rhone",
                "14 - Calvados",
                "15 - Cantal",
                "16 - Charente",
                "17 - Charente-Maritime",
                "18 - Cher",
                "19 - Correze",
                "2A - Corse-du-Sud",
                "2B - Haute-Corse",
                "21 - Cote-d'Or",
                "22 - Cotes-d'Armor",
                "23 - Creuse",
                "24 - Dordogne",
                "25 - Doubs",
                "26 - Drome",
                "27 - Eure",
                "28 - Eure-et-Loir",
                "29 - Finistere",
                "30 - Gard",
                "31 - Haute-Garonne",
                "32 - Gers",
                "33 - Gironde",
                "34 - Herault",
                "35 - Ille-et-Vilaine",
                "36 - Indre",
                "37 - Indre-et-Loire",
                "38 - Isere",
                "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 - Lozere",
                "49 - Maine-et-Loire",
                "50 - Manche",
                "51 - Marne",
                "52 - Haute-Marne",
                "53 - Mayenne",
                "54 - Meurthe-et-Moselle",
                "55 - Meuse",
                "56 - Morbihan",
                "57 - Moselle",
                "58 - Nievre",
                "59 - Nord",
                "60 - Oise",
                "61 - Orne",
                "62 - Pas-de-Calais",
                "63 - Puy-de-Dome",
                "64 - Pyrenees-Atlantiques",
                "65 - Hautes-Pyrenees",
                "66 - Pyrenees-Orientales",
                "67 - Bas-Rhin",
                "68 - Haut-Rhin",
                "69 - Rhone",
                "70 - Haute-Saone",
                "71 - Saone-et-Loire",
                "72 - Sarthe",
                "73 - Savoie",
                "74 - Haute-Savoie",
                "75 - Paris",
                "76 - Seine-Maritime",
                "77 - Seine-et-Marne",
                "78 - Yvelines",
                "79 - Deux-Sevres",
                "80 - Somme",
                "81 - Tarn",
                "82 - Tarn-et-Garonne",
                "83 - Var",
                "84 - Vaucluse",
                "85 - Vendee",
                "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 Reunion",
                "976 - Mayotte"
              ]
            }
          },
          "cities": {
            "title": "Cities (optional)",
            "type": "array",
            "description": "Only keep offices whose city contains one of these names, e.g. Lyon, Marseille. Accents and case are ignored.",
            "items": {
              "type": "string"
            }
          },
          "services": {
            "title": "Services offered",
            "type": "array",
            "description": "Keep offices offering at least one of these services. Empty = every office.",
            "items": {
              "type": "string",
              "enum": [
                "property_management",
                "condominium_management",
                "judicial_auctions",
                "mediation",
                "website"
              ],
              "enumTitles": [
                "Property management (gestion locative)",
                "Condominium management (syndic)",
                "Judicial auctions and inventories",
                "Mediation",
                "Has a website"
              ]
            }
          },
          "outputMode": {
            "title": "One row per",
            "enum": [
              "offices",
              "people"
            ],
            "type": "string",
            "description": "Offices: one row per office with its team list. People: one row per commissaire de justice (first name, last name, titles) with the office contact details.",
            "default": "offices"
          },
          "officeUrls": {
            "title": "Office links",
            "type": "array",
            "description": "Paste office links from annuaire.commissaire-justice.fr to refresh only those offices. When filled, departments and filters are ignored.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many rows. 0 = no cap (whole selection).",
            "default": 50
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}