{
  "openapi": "3.0.1",
  "info": {
    "title": "Kununu Reviews Scraper",
    "description": "Scrape Kununu company reviews by company slug or URL. Supports batch companies in one run and saves each employee or candidate review as one charged dataset item.",
    "version": "1.0",
    "x-build-id": "X58Z6Wcfd9fMtH2E4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/thescrappa~kununu-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-thescrappa-kununu-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/thescrappa~kununu-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-thescrappa-kununu-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/thescrappa~kununu-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-thescrappa-kununu-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": {
          "targets": {
            "title": "Companies",
            "maxItems": 25,
            "type": "array",
            "description": "Kununu company slugs, country/slug pairs, or full Kununu company URLs. Up to 25 companies per run.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 500
            }
          },
          "company_slug": {
            "title": "Single Company Slug",
            "maxLength": 255,
            "type": "string",
            "description": "Single Kununu company slug for compatibility. Ignored when Companies is provided."
          },
          "country": {
            "title": "Default Country",
            "enum": [
              "de",
              "at",
              "ch"
            ],
            "type": "string",
            "description": "Kununu country for bare slugs. Kununu supports Germany, Austria, and Switzerland.",
            "default": "de"
          },
          "page": {
            "title": "Start Page",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "First Kununu review page to fetch.",
            "default": 1
          },
          "max_pages": {
            "title": "Max Pages",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Number of pages to fetch per company target.",
            "default": 1
          },
          "review_type": {
            "title": "Review Type",
            "enum": [
              "employees",
              "candidates"
            ],
            "type": "string",
            "description": "Employee reviews or candidate interview reviews.",
            "default": "employees"
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "newest",
              "oldest",
              "best",
              "worst"
            ],
            "type": "string",
            "description": "Optional Kununu sort order. Leave empty for Kununu relevance order."
          },
          "score_filters": {
            "title": "Score Filters",
            "type": "array",
            "description": "Filter by Kununu score buckets.",
            "items": {
              "type": "string",
              "enum": [
                "excellent",
                "good",
                "satisfactory",
                "subpar"
              ]
            }
          },
          "recommended_filters": {
            "title": "Recommended Filters",
            "type": "array",
            "description": "Filter by recommendation status.",
            "items": {
              "type": "string",
              "enum": [
                "yes",
                "no"
              ]
            }
          },
          "jobstatus_filters": {
            "title": "Job Status Filters",
            "type": "array",
            "description": "Filter employee reviews by current or former employees.",
            "items": {
              "type": "string",
              "enum": [
                "current",
                "former"
              ]
            }
          },
          "position_filters": {
            "title": "Position Filters",
            "type": "array",
            "description": "Filter by reviewer position.",
            "items": {
              "type": "string",
              "enum": [
                "employee",
                "manager",
                "apprentice",
                "student",
                "intern",
                "freelancer",
                "contractor"
              ]
            }
          },
          "department_filters": {
            "title": "Department Filters",
            "type": "array",
            "description": "Filter by department.",
            "items": {
              "type": "string",
              "enum": [
                "administration",
                "sales",
                "legal",
                "operations",
                "recruiting",
                "communication",
                "product",
                "logistic",
                "it",
                "management",
                "research",
                "controlling",
                "design",
                "procurement"
              ]
            }
          },
          "response_filters": {
            "title": "Response Filters",
            "type": "array",
            "description": "Filter by whether the company responded.",
            "items": {
              "type": "string",
              "enum": [
                "yes",
                "no"
              ]
            }
          },
          "date_filters": {
            "title": "Date Filters",
            "type": "array",
            "description": "Filter by review age.",
            "items": {
              "type": "string",
              "enum": [
                "24months",
                "12months",
                "6months",
                "30days"
              ]
            }
          },
          "fetch_factor_scores": {
            "title": "Fetch Factor Scores",
            "type": "boolean",
            "description": "Include detailed factor ratings when Kununu provides them.",
            "default": false
          },
          "include_raw_review": {
            "title": "Include Raw Review",
            "type": "boolean",
            "description": "Include the full Scrappa review object in each dataset item. Leave disabled for smaller, cheaper dataset output.",
            "default": false
          },
          "include_raw_responses": {
            "title": "Include Raw Page Responses",
            "type": "boolean",
            "description": "Include full per-page Scrappa responses in the OUTPUT key-value-store record. Leave disabled for large batch runs.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}