{
  "openapi": "3.0.1",
  "info": {
    "title": "Steuerberaterverzeichnis Scraper - German Tax Adviser Leads",
    "description": "German tax advisers (Steuerberater) and tax firms from the official BStBK register: email, phone, website, office address, Safe ID and chamber. Search by postcode, city, name, chamber or all of Germany. From $4 per 1,000 records.",
    "version": "0.1",
    "x-build-id": "3nZjuaRxwg2NGBDVY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapersdelight~steuerberaterverzeichnis-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapersdelight-steuerberaterverzeichnis-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~steuerberaterverzeichnis-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapersdelight-steuerberaterverzeichnis-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~steuerberaterverzeichnis-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapersdelight-steuerberaterverzeichnis-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": {
          "postcodes": {
            "title": "Postcodes (PLZ)",
            "type": "array",
            "description": "German postcodes to search, one per line. A full 5-digit PLZ (`80331`) returns every tax adviser registered there. A shorter prefix covers a whole area: `803` = all of 803xx, `80` = all of 80xxx, `8` = all of 8xxxx. The register refuses broad searches with \"Zu viele mögliche Treffer\"; this actor narrows a refused prefix digit by digit automatically, so a prefix of any length is complete. Leave everything empty to run the small demo scope (PLZ 65719, Hofheim am Taunus).",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities (Ort)",
            "type": "array",
            "description": "Town names as the register writes them, e.g. `Hofheim`, `Münster`, `Frankfurt am Main`. The register matches the start of the town name. A big city is refused as too broad and narrowed by postcode automatically.",
            "items": {
              "type": "string"
            }
          },
          "names": {
            "title": "Surnames or firm names",
            "type": "array",
            "description": "Search by surname (`Schmidt`) or by the name of a tax-advisory firm (`Main - Taunus`). At least 2 characters. `*` and `?` work as wildcards (`Mül*`). A common surname is refused as too broad and narrowed by postcode automatically.",
            "items": {
              "type": "string"
            }
          },
          "allGermany": {
            "title": "Whole register (all of Germany)",
            "type": "boolean",
            "description": "Walk the entire register, postcode area by postcode area. Ignores postcodes, cities and names. Combine with a chamber below to export one Steuerberaterkammer. Set Max results to 0 for no cap, and note that every delivered record is charged.",
            "default": false
          },
          "chamber": {
            "title": "Only this Steuerberaterkammer",
            "enum": [
              "",
              "Berlin",
              "Brandenburg",
              "Bremen",
              "Düsseldorf",
              "Hamburg",
              "Hessen",
              "Köln",
              "Mecklenburg-Vorpommern",
              "München",
              "Niedersachsen",
              "Nordbaden",
              "Nürnberg",
              "Rheinland-Pfalz",
              "Saarland",
              "Sachsen",
              "Sachsen-Anhalt",
              "Schleswig-Holstein",
              "Stuttgart",
              "Südbaden",
              "Thüringen",
              "Westfalen-Lippe"
            ],
            "type": "string",
            "description": "Keep only members of one of the 21 regional chambers. Applied on the register's side where possible: an area with no member of this chamber is skipped without opening a single record.",
            "default": ""
          },
          "entityType": {
            "title": "Record type",
            "enum": [
              "ALL",
              "PERSON",
              "COMPANY"
            ],
            "type": "string",
            "description": "PERSON = individual Steuerberater/innen and Steuerbevollmächtigte. COMPANY = Berufsausübungsgesellschaften (Steuerberatungsgesellschaften, partnerships). ALL = both.",
            "default": "ALL"
          },
          "requireEmail": {
            "title": "Only records with an email address",
            "type": "boolean",
            "description": "Skip (and never charge for) records that publish no valid email address.",
            "default": false
          },
          "requireContact": {
            "title": "Only records with some contact",
            "type": "boolean",
            "description": "Skip (and never charge for) records that publish no email, phone, mobile or website.",
            "default": false
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many records are delivered. Each delivered record is one charged event. 0 = no cap.",
            "default": 80
          },
          "detailConcurrency": {
            "title": "Parallel record requests",
            "minimum": 1,
            "maximum": 16,
            "type": "integer",
            "description": "How many record pages to open at once. The default is measured to be fast without straining the register.",
            "default": 8
          },
          "residentialFallback": {
            "title": "Switch to residential proxy if the register blocks",
            "type": "boolean",
            "description": "The register's rate limit is shared by all Apify servers, so another job can use it up. When the register blocks this run for a minute or more, continue on Apify RESIDENTIAL proxy instead of waiting (up to 30 minutes). No effect on price.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "The register has no anti-bot and answers Apify's own servers directly, so no proxy is used by default (measured: 651 records in 19 s, zero retries). Switch on Apify Proxy (RESIDENTIAL) or your own proxy if you prefer.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}