{
  "openapi": "3.0.1",
  "info": {
    "title": "German Lawyer Scraper (BRAK) - Email, Phone, beA SAFE-ID",
    "description": "Export admitted German lawyers (Rechtsanwälte) and law-firm companies from the official BRAK register: phone, mobile, email, website, beA SAFE-ID, Kammer, Fachanwalt titles, admission date and branch offices. Whole chambers, cities or postcodes. $0.018 per entry, no start fee.",
    "version": "0.1",
    "x-build-id": "ZX2TxEDF3ARI978Id"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapersdelight~brav-rechtsanwaltsregister-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapersdelight-brav-rechtsanwaltsregister-scraper",
        "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/scrapersdelight~brav-rechtsanwaltsregister-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapersdelight-brav-rechtsanwaltsregister-scraper",
        "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/scrapersdelight~brav-rechtsanwaltsregister-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapersdelight-brav-rechtsanwaltsregister-scraper",
        "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": {
          "kammern": {
            "title": "Rechtsanwaltskammern (bar chambers)",
            "type": "array",
            "description": "Export every entry of one or more regional bar chambers. Each chamber is searched separately. Chambers are big (Berlin 17,405 entries, Köln 15,519, Zweibrücken 1,431 on 2026-09-22), so raise maxResults to take a whole chamber. Combined with cities or postcodes, every chamber x city pair is one search.",
            "items": {
              "type": "string",
              "enum": [
                "BA",
                "B",
                "BRB",
                "BS",
                "HB",
                "BGH",
                "CE",
                "D",
                "F",
                "FR",
                "HH",
                "HAM",
                "KA",
                "KS",
                "KO",
                "K",
                "SN",
                "M",
                "N",
                "OL",
                "SB",
                "DD",
                "MD",
                "SL",
                "S",
                "EF",
                "TÜ",
                "ZW"
              ],
              "enumTitles": [
                "Bamberg",
                "Berlin",
                "Brandenburg",
                "Braunschweig",
                "Bremen",
                "Bundesgerichtshof (BGH bar)",
                "Celle",
                "Düsseldorf",
                "Frankfurt",
                "Freiburg",
                "Hamburg",
                "Hamm",
                "Karlsruhe",
                "Kassel",
                "Koblenz",
                "Köln",
                "Mecklenburg-Vorpommern",
                "München",
                "Nürnberg",
                "Oldenburg",
                "Saarland",
                "Sachsen",
                "Sachsen-Anhalt",
                "Schleswig-Holstein",
                "Stuttgart",
                "Thüringen",
                "Tübingen",
                "Zweibrücken"
              ]
            }
          },
          "cities": {
            "title": "Cities (Ort)",
            "type": "array",
            "description": "Towns as the register spells them, e.g. Bonn, München, Köln, Frankfurt. The register matches the Kanzlei town and branch-office towns. Each city is searched separately.",
            "items": {
              "type": "string"
            }
          },
          "postcodes": {
            "title": "Postcodes (PLZ)",
            "type": "array",
            "description": "German postcodes, e.g. 10117 or 80331. Each postcode is searched separately.",
            "items": {
              "type": "string"
            }
          },
          "specializations": {
            "title": "Fachanwalt titles",
            "type": "array",
            "description": "Only lawyers holding this Fachanwalt title. Each title is searched separately (so a lawyer with two selected titles is returned once — rows are deduplicated by beA SAFE-ID).",
            "items": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7",
                "8",
                "24",
                "9",
                "10",
                "11",
                "12",
                "13",
                "14",
                "23",
                "15",
                "16",
                "17",
                "18",
                "19",
                "20",
                "21",
                "22"
              ],
              "enumTitles": [
                "Agrarrecht",
                "Arbeitsrecht",
                "Bank- und Kapitalmarktrecht",
                "Bau- und Architektenrecht",
                "Erbrecht",
                "Familienrecht",
                "Gewerblicher Rechtsschutz",
                "Handels- und Gesellschaftsrecht",
                "Informationstechnologierecht",
                "Insolvenz- und Sanierungsrecht",
                "Insolvenzrecht",
                "Internationales Wirtschaftsrecht",
                "Medizinrecht",
                "Miet- und Wohnungseigentumsrecht",
                "Migrationsrecht",
                "Sozialrecht",
                "Sportrecht",
                "Steuerrecht",
                "Strafrecht",
                "Transport- und Speditionsrecht",
                "Urheber- und Medienrecht",
                "Vergaberecht",
                "Verkehrsrecht",
                "Versicherungsrecht",
                "Verwaltungsrecht"
              ]
            }
          },
          "lastName": {
            "title": "Last name",
            "type": "string",
            "description": "The lawyer's surname, as the register's own name field matches it. Applied to every search."
          },
          "firstName": {
            "title": "First name",
            "type": "string",
            "description": "The lawyer's first name. Applied to every search."
          },
          "firmName": {
            "title": "Kanzlei / company / employer name",
            "type": "string",
            "description": "Law-firm name, Berufsausübungsgesellschaft name or (for in-house Syndikusrechtsanwälte) the employer, e.g. Deutsche Telekom AG. Applied to every search."
          },
          "street": {
            "title": "Street",
            "type": "string",
            "description": "Street of the Kanzlei address. Applied to every search."
          },
          "professionalTitle": {
            "title": "Berufsbezeichnung",
            "type": "string",
            "description": "Professional title text, e.g. Rechtsanwalt, Rechtsanwältin, or a foreign title such as Solicitor or Avocat for European lawyers established in Germany."
          },
          "salutation": {
            "title": "Salutation",
            "enum": [
              "any",
              "Herr",
              "Frau"
            ],
            "type": "string",
            "description": "Only entries with this salutation."
          },
          "academicTitle": {
            "title": "Academic title",
            "enum": [
              "any",
              "Dr.",
              "Prof."
            ],
            "type": "string",
            "description": "Only entries holding this academic title."
          },
          "publicDefenderOnly": {
            "title": "Only lawyers interested in Pflichtverteidigung",
            "type": "boolean",
            "description": "Only lawyers who told their chamber they want to be appointed as court-appointed defence counsel.",
            "default": false
          },
          "recordTypes": {
            "title": "Entry types",
            "type": "array",
            "description": "LAWYER = a lawyer in private practice. SYNDIKUS = an in-house lawyer (Syndikusrechtsanwalt) — the Kanzlei on the row is the EMPLOYER. COMPANY = a Berufsausübungsgesellschaft (law-firm company, e.g. a PartG mbB or Rechtsanwaltsgesellschaft mbH). Filtered from the result card before any detail is fetched. Empty = all three.",
            "items": {
              "type": "string",
              "enum": [
                "LAWYER",
                "SYNDIKUS",
                "COMPANY"
              ],
              "enumTitles": [
                "Lawyer (private practice)",
                "Syndikusrechtsanwalt (in-house)",
                "Berufsausübungsgesellschaft (company)"
              ]
            }
          },
          "requireContact": {
            "title": "Only entries with a contact",
            "enum": [
              "none",
              "any",
              "email",
              "phone",
              "website"
            ],
            "type": "string",
            "description": "Deliver (and charge for) only entries that publish this contact. Entries without it are skipped free of charge and counted in RUN_SUMMARY. Contact fill depends heavily on the chamber — see the README.",
            "default": "none"
          },
          "admittedSince": {
            "title": "Admitted on or after (YYYY-MM-DD)",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Only entries whose current admission date (Datum der Zulassung) is on or after this date — newly admitted lawyers and newly registered firms. Every entry in scope is still read, so set a narrow scope for speed."
          },
          "includeBranches": {
            "title": "Include branch offices",
            "type": "boolean",
            "description": "Add every further Kanzlei, Zweigstelle and Zweigniederlassung with its own address, phone, mobile, fax, email and website. One extra request only for entries that have branches.",
            "default": true
          },
          "includePartners": {
            "title": "Include partners and organs (companies)",
            "type": "boolean",
            "description": "For a Berufsausübungsgesellschaft, add its Gesellschafter and Organe (named partners / managing directors). One extra request per company.",
            "default": true
          },
          "includeOtherTabs": {
            "title": "Include delivery agents, liquidators, representatives",
            "type": "boolean",
            "description": "Add the Zustellungsbevollmächtigte, Abwickler and Vertretung tabs where the register shows them (rare; an Abwickler means the practice is being wound up).",
            "default": true
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many delivered entries (you are charged per delivered entry). A whole chamber needs up to 17,405.",
            "default": 20
          },
          "maxConcurrency": {
            "title": "Parallel register sessions",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "How many independent register sessions read pages in parallel. Each reads about 2 entries per second.",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Default: no proxy — the register has no anti-bot measures and answers Apify's own egress directly. If you choose a proxy, each parallel session keeps ONE sticky proxy IP for its whole conversation (the register's session is bound to it).",
            "default": {
              "useApifyProxy": false
            }
          },
          "saveRawResponses": {
            "title": "Save raw register responses (support)",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Store the first N raw register responses in the key-value store (RAW_*) for troubleshooting. 0 = off.",
            "default": 0
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}