{
  "openapi": "3.0.1",
  "info": {
    "title": "ProvenExpert Scraper: German Business Leads, Ratings & Reviews",
    "description": "Scrape ProvenExpert (provenexpert.com) by industry and German city or postal code: business name, services, address, phone, email, website, socials, rating and rating counts; optionally each profile's customer reviews (rating, text, date, owner reply). Export to JSON, CSV or Excel, or via API.",
    "version": "1.0",
    "x-build-id": "Q0Wi8DOp4zNcF5XKg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyscrape~provenexpert-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyscrape-provenexpert-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/steadyscrape~provenexpert-scraper/runs": {
      "post": {
        "operationId": "runs-sync-steadyscrape-provenexpert-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/steadyscrape~provenexpert-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-steadyscrape-provenexpert-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": {
          "industries": {
            "title": "Industries",
            "maxItems": 50,
            "type": "array",
            "description": "What to search, one per line, as ProvenExpert's directory names its 180 industries: <code>Steuerberatung & Buchhaltung</code>, <code>Webdesign</code>, <code>Immobilienvermittlung</code>, <code>Zahnärzte</code>, <code>Rechtsdienstleistungen</code>, <code>Handwerk</code>, <code>Unternehmensberatung</code>. A close word works too (<code>Steuerberater</code>, <code>Anwalt</code>, <code>Hotel</code>); one the directory does not have is a free row that suggests the industries it looks like. Each industry is searched in every place. Up to 50.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "German cities or postal codes",
            "maxItems": 200,
            "type": "array",
            "description": "Where to search, one per line: a German city (<code>Berlin</code>, <code>München</code>, <code>Frankfurt am Main</code>, <code>Castrop-Rauxel</code>) or a postal code (<code>10997</code>). The directory holds German places only, so Wien or Zürich give a free row. Write a city in full: the directory reads <code>Frankfurt</code> as Frankfurt (Oder), and each row says which place it searched. Left empty, each industry is searched in the whole directory (all of Germany). Up to 200.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "ProvenExpert links",
            "maxItems": 5000,
            "type": "array",
            "description": "Links copied from provenexpert.com, one per line: a profile (<code>https://www.provenexpert.com/profinance-gmbh/</code>, any language) or just its name (<code>profinance-gmbh</code>) is read on its own page and charged as a business; a directory search (<code>https://www.provenexpert.com/de-de/suche/Webdesign/Hamburg/</code>) is walked like a search. A profile ProvenExpert shows only in its directory answers 410 and is a free row. Up to 5,000.",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerSearch": {
            "title": "Max businesses per search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop each industry in each place (and each search link) after this many businesses. The directory shows 10 per page; Berlin lists 2,736 craft businesses (Handwerk) and 41 tax advisers. The run's spending limit is respected too. Through the API, <code>maxItems</code> caps the businesses of the whole run.",
            "default": 100
          },
          "includeReviews": {
            "title": "Read each business's reviews (review)",
            "type": "boolean",
            "description": "Also read the customer reviews given on ProvenExpert itself for every business: rating, recommendation, text (the original when the page shows a machine translation), date, author as the page shows it (\"Anonym\" stays anonymous), rating criteria, the owner's reply and what was rated. Each review is charged as <code>review</code>. Ratings ProvenExpert collected from other sites such as Google are shown only as a total and cannot be read one by one: such a business says so in <code>reviewsNote</code> and costs nothing more. With this on, a business also carries its contact person and Impressum link from its profile page.",
            "default": false
          },
          "maxReviewsPerBusiness": {
            "title": "Max reviews per business",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop each business's reviews after this many. They are read 20 per page.",
            "default": 20
          },
          "reviewsSort": {
            "title": "Review order",
            "enum": [
              "newest",
              "oldest",
              "best",
              "worst",
              "withTextFirst"
            ],
            "type": "string",
            "description": "The order of the profile's own review list, which decides which reviews a maximum keeps.",
            "default": "newest"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}