{
  "openapi": "3.0.1",
  "info": {
    "title": "Trusted Shops & ProvenExpert Reviews Scraper — German Ratings",
    "description": "Scrape public business ratings and reviews from ProvenExpert, Trusted Shops, eKomi, and Google Maps. Match the same company across all four channels, calculate a transparent trust score, track rating changes over time, and benchmark each business against a sector cohort.",
    "version": "0.3",
    "x-build-id": "kfStMjrbg3e0lC17z"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kamerozkan~provenexpert-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kamerozkan-provenexpert-reviews-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/kamerozkan~provenexpert-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-kamerozkan-provenexpert-reviews-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/kamerozkan~provenexpert-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-kamerozkan-provenexpert-reviews-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": {
          "startUrls": {
            "title": "Review profile URLs",
            "maxItems": 100,
            "type": "array",
            "description": "ProvenExpert, Trusted Shops, eKomi, or Google Maps business profile URLs.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "profileSlugs": {
            "title": "ProvenExpert profile slugs",
            "maxItems": 100,
            "type": "array",
            "description": "ProvenExpert slugs such as provenexpert-com.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "businesses": {
            "title": "Cross-platform businesses",
            "maxItems": 25,
            "type": "array",
            "description": "Optional explicit company groups. URLs in the same object are guaranteed to be matched into one business row.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "title": "Stable business ID",
                  "description": "Your optional stable identifier for this business."
                },
                "companyName": {
                  "type": "string",
                  "title": "Company name",
                  "description": "Preferred company name used in the matched business row."
                },
                "category": {
                  "type": "string",
                  "title": "Benchmark category",
                  "description": "Sector label used to select comparable businesses."
                },
                "city": {
                  "type": "string",
                  "title": "City",
                  "description": "Optional city label for this business."
                },
                "provenExpertUrl": {
                  "type": "string",
                  "title": "ProvenExpert URL",
                  "description": "Public ProvenExpert business profile URL."
                },
                "trustedShopsUrl": {
                  "type": "string",
                  "title": "Trusted Shops URL",
                  "description": "Public Trusted Shops business profile URL."
                },
                "eKomiUrl": {
                  "type": "string",
                  "title": "eKomi URL",
                  "description": "Public eKomi certificate/profile URL."
                },
                "googleMapsUrl": {
                  "type": "string",
                  "title": "Google Maps URL",
                  "description": "Public Google Maps place URL."
                }
              }
            },
            "default": []
          },
          "searchQueries": {
            "title": "ProvenExpert company discovery",
            "maxItems": 5,
            "type": "array",
            "description": "Discover public ProvenExpert profiles by sector/keyword and optional location. Results become the benchmark cohort.",
            "items": {
              "type": "object",
              "required": [
                "term"
              ],
              "properties": {
                "term": {
                  "type": "string",
                  "title": "Sector or keyword",
                  "description": "The service, sector, or keyword to search on ProvenExpert."
                },
                "location": {
                  "type": "string",
                  "title": "Location",
                  "description": "Optional city or region for the ProvenExpert search."
                },
                "maxProfiles": {
                  "type": "integer",
                  "title": "Maximum profiles",
                  "description": "Maximum discovered profiles to process for this query.",
                  "default": 50,
                  "minimum": 1,
                  "maximum": 100
                }
              }
            },
            "default": []
          },
          "locale": {
            "title": "ProvenExpert locale",
            "enum": [
              "de-de",
              "en-us",
              "en-gb"
            ],
            "type": "string",
            "description": "Locale used for slugs and non-localized ProvenExpert URLs.",
            "default": "de-de"
          },
          "outputMode": {
            "title": "Raw output mode",
            "enum": [
              "profile_and_reviews",
              "profiles_only",
              "reviews_only"
            ],
            "type": "string",
            "description": "Business and change rows are controlled separately below. This option controls raw profile/review rows.",
            "default": "profile_and_reviews"
          },
          "maxReviewsPerProfile": {
            "title": "Maximum reviews per profile",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum native reviews saved per ProvenExpert, Trusted Shops, or eKomi profile. Google Maps currently returns aggregate reputation fields.",
            "default": 20
          },
          "sortBy": {
            "title": "Review sorting",
            "enum": [
              "newest",
              "oldest",
              "best",
              "worst",
              "experiences_first"
            ],
            "type": "string",
            "description": "Order used when the source supports sorting.",
            "default": "newest"
          },
          "followExternalProfiles": {
            "title": "Follow linked external profiles",
            "type": "boolean",
            "description": "Open supported Trusted Shops, eKomi, and Google Maps links found on ProvenExpert and refresh their aggregate data directly.",
            "default": true
          },
          "discoverExternalProfilesFromWebsite": {
            "title": "Discover review badges on company websites",
            "type": "boolean",
            "description": "Visit only the company homepage and follow supported ProvenExpert, Trusted Shops, eKomi, or Google Maps profile links found in anchors and badge iframes.",
            "default": true
          },
          "includeBusinessSummary": {
            "title": "Create cross-platform business rows",
            "type": "boolean",
            "description": "Match profiles and emit one business row with all channels and the DACH Trust Score.",
            "default": true
          },
          "emitChanges": {
            "title": "Create change rows",
            "type": "boolean",
            "description": "Compare each business with its latest stored or supplied snapshot.",
            "default": true
          },
          "changesOnly": {
            "title": "Output changes only",
            "type": "boolean",
            "description": "Suppress unchanged business/profile rows and reviews already present in the previous snapshot.",
            "default": false
          },
          "saveHistory": {
            "title": "Save time-series snapshots",
            "type": "boolean",
            "description": "Append compact time-series snapshots and maintain an indexed latest-state store for fast future comparisons.",
            "default": true
          },
          "historyDatasetName": {
            "title": "History dataset name",
            "minLength": 1,
            "maxLength": 63,
            "type": "string",
            "description": "Persistent named dataset used for automatic time-series comparisons.",
            "default": "dach-reputation-history"
          },
          "previousDatasetId": {
            "title": "Previous snapshot dataset ID or name",
            "type": "string",
            "description": "Optional explicit baseline. When empty, the named history dataset is used."
          },
          "benchmarkDatasetId": {
            "title": "Benchmark dataset ID or name",
            "type": "string",
            "description": "Optional dataset containing business, business_snapshot, or profile rows to enlarge the benchmark cohort."
          },
          "minimumBenchmarkCohortSize": {
            "title": "Minimum benchmark cohort",
            "minimum": 2,
            "maximum": 1000,
            "type": "integer",
            "description": "Minimum comparable businesses required before a benchmark is marked ready.",
            "default": 3
          },
          "ratingChangeThreshold": {
            "title": "Rating change threshold",
            "minimum": 0,
            "maximum": 1,
            "type": "number",
            "description": "Minimum absolute rating movement counted as a change. Review count changes always count.",
            "default": 0.01
          },
          "maxConcurrency": {
            "title": "Maximum concurrency",
            "minimum": 1,
            "maximum": 6,
            "type": "integer",
            "description": "Profiles processed in parallel. Keep this moderate for stable crawling.",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional Apify Proxy configuration. Direct connections are used by default; enable proxy rotation if Google or another source blocks your cloud region.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}