{
  "openapi": "3.0.1",
  "info": {
    "title": "Trustpilot Reviews Scraper",
    "description": "Trustpilot Reviews Scraper extracts customer reviews, star ratings, company replies and Trustpilot data in bulk — scrape verified reviews from any company page for brand reputation, competitor research, online reputation and review analytics.",
    "version": "0.3",
    "x-build-id": "2NLrFISQmQEgUEzfV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/data_minds~trustpilot-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-data_minds-trustpilot-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/data_minds~trustpilot-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-data_minds-trustpilot-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/data_minds~trustpilot-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-data_minds-trustpilot-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",
        "required": [
          "companies"
        ],
        "properties": {
          "companies": {
            "title": "🔗 Companies",
            "type": "array",
            "description": "Company websites (apple.com), Trustpilot review page links (https://www.trustpilot.com/review/apple.com) or brand names. One per line. Each company is collected on its own.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "🔢 Max reviews per company",
            "minimum": 0,
            "type": "integer",
            "description": "Reviews to collect for each company. Use 0 for as many as the public site shows. Large companies can return several thousand reviews; the public site limits how many it shows per view, so the exact number depends on the company and your filters.",
            "default": 20
          },
          "languages": {
            "title": "🌍 Review languages",
            "type": "array",
            "description": "Only reviews written in these languages. Leave empty for every language.",
            "items": {
              "type": "string",
              "enum": [
                "ar",
                "bg",
                "cs",
                "da",
                "de",
                "el",
                "en",
                "es",
                "et",
                "fi",
                "fr",
                "he",
                "hi",
                "hr",
                "hu",
                "id",
                "it",
                "ja",
                "ko",
                "lt",
                "lv",
                "nl",
                "no",
                "pl",
                "pt",
                "ro",
                "ru",
                "sk",
                "sl",
                "sr",
                "sv",
                "th",
                "tr",
                "uk",
                "vi",
                "zh"
              ],
              "enumTitles": [
                "Arabic",
                "Bulgarian",
                "Czech",
                "Danish",
                "German",
                "Greek",
                "English",
                "Spanish",
                "Estonian",
                "Finnish",
                "French",
                "Hebrew",
                "Hindi",
                "Croatian",
                "Hungarian",
                "Indonesian",
                "Italian",
                "Japanese",
                "Korean",
                "Lithuanian",
                "Latvian",
                "Dutch",
                "Norwegian",
                "Polish",
                "Portuguese",
                "Romanian",
                "Russian",
                "Slovak",
                "Slovenian",
                "Serbian",
                "Swedish",
                "Thai",
                "Turkish",
                "Ukrainian",
                "Vietnamese",
                "Chinese"
              ]
            }
          },
          "stars": {
            "title": "🎯 Star ratings",
            "type": "array",
            "description": "Only reviews with these ratings, for example 1 and 2 for complaints. Leave empty for all ratings.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "1 star",
                "2 stars",
                "3 stars",
                "4 stars",
                "5 stars"
              ]
            }
          },
          "sort": {
            "title": "🔃 Sort by",
            "enum": [
              "recency",
              "relevance"
            ],
            "type": "string",
            "description": "Newest reviews first, or the most relevant reviews first.",
            "default": "recency"
          },
          "datePreset": {
            "title": "📅 Review date range",
            "enum": [
              "all",
              "30d",
              "3m",
              "6m",
              "12m"
            ],
            "type": "string",
            "description": "Only reviews from this period. A start or end date below replaces this setting.",
            "default": "all"
          },
          "publishedAfter": {
            "title": "📅 Published on or after",
            "pattern": "^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$|^(\\d+)\\s*(day|week|month|year)s?$",
            "type": "string",
            "description": "Only reviews published on or after this date: a day like 2026-01-31 or a relative value like 30 days, 2 weeks, 3 months. Useful for daily or weekly updates."
          },
          "publishedBefore": {
            "title": "📅 Published on or before",
            "pattern": "^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$|^(\\d+)\\s*(day|week|month|year)s?$",
            "type": "string",
            "description": "Only reviews published on or before this date: a day like 2026-01-31 or a relative value like 1 week, 2 months."
          },
          "verifiedOnly": {
            "title": "✅ Verified reviews only",
            "type": "boolean",
            "description": "Only reviews the site marks as verified.",
            "default": false
          },
          "repliesOnly": {
            "title": "✅ Only reviews the company replied to",
            "type": "boolean",
            "description": "Only reviews that have a reply from the company.",
            "default": false
          },
          "search": {
            "title": "🔎 Search in reviews",
            "type": "string",
            "description": "Only reviews that contain this word or phrase, for example \"refund\"."
          },
          "topics": {
            "title": "🎯 Review topics",
            "type": "array",
            "description": "Only reviews that talk about one of these topics. Topics are detected from the review text with keyword rules, not by the site, so a review can match several. Reads more listings to find enough matches.",
            "items": {
              "type": "string",
              "enum": [
                "customer_service",
                "delivery_shipping",
                "refund_returns",
                "price_value",
                "product_quality",
                "website_app",
                "billing_payment",
                "scam_fraud",
                "communication",
                "wait_time"
              ],
              "enumTitles": [
                "Customer service",
                "Delivery and shipping",
                "Refunds and returns",
                "Price and value",
                "Product quality",
                "Website and app",
                "Billing and payment",
                "Scam and fraud",
                "Communication",
                "Waiting time"
              ]
            }
          },
          "reviewerCountries": {
            "title": "📍 Reviewer countries",
            "type": "array",
            "description": "Only reviews written by people from these countries. Reads more listings to find enough matches.",
            "items": {
              "type": "string",
              "enum": [
                "AE",
                "AR",
                "AT",
                "AU",
                "BE",
                "BG",
                "BR",
                "CA",
                "CH",
                "CL",
                "CN",
                "CO",
                "CY",
                "CZ",
                "DE",
                "DK",
                "EE",
                "EG",
                "ES",
                "FI",
                "FR",
                "GB",
                "GR",
                "HK",
                "HR",
                "HU",
                "ID",
                "IE",
                "IL",
                "IN",
                "IS",
                "IT",
                "JP",
                "KE",
                "KR",
                "LT",
                "LU",
                "LV",
                "MX",
                "MY",
                "NG",
                "NL",
                "NO",
                "NZ",
                "PE",
                "PH",
                "PK",
                "PL",
                "PT",
                "RO",
                "RS",
                "RU",
                "SA",
                "SE",
                "SG",
                "SI",
                "SK",
                "TH",
                "TR",
                "TW",
                "UA",
                "US",
                "VN",
                "ZA"
              ],
              "enumTitles": [
                "United Arab Emirates",
                "Argentina",
                "Austria",
                "Australia",
                "Belgium",
                "Bulgaria",
                "Brazil",
                "Canada",
                "Switzerland",
                "Chile",
                "China",
                "Colombia",
                "Cyprus",
                "Czechia",
                "Germany",
                "Denmark",
                "Estonia",
                "Egypt",
                "Spain",
                "Finland",
                "France",
                "United Kingdom",
                "Greece",
                "Hong Kong",
                "Croatia",
                "Hungary",
                "Indonesia",
                "Ireland",
                "Israel",
                "India",
                "Iceland",
                "Italy",
                "Japan",
                "Kenya",
                "South Korea",
                "Lithuania",
                "Luxembourg",
                "Latvia",
                "Mexico",
                "Malaysia",
                "Nigeria",
                "Netherlands",
                "Norway",
                "New Zealand",
                "Peru",
                "Philippines",
                "Pakistan",
                "Poland",
                "Portugal",
                "Romania",
                "Serbia",
                "Russia",
                "Saudi Arabia",
                "Sweden",
                "Singapore",
                "Slovenia",
                "Slovakia",
                "Thailand",
                "Turkey",
                "Taiwan",
                "Ukraine",
                "United States",
                "Vietnam",
                "South Africa"
              ]
            }
          },
          "balanceRatings": {
            "title": "✅ Balance ratings",
            "type": "boolean",
            "description": "Collect about the same number of reviews for each star rating instead of the newest ones. Needs a max above 0. A rating with fewer reviews gives what it has.",
            "default": false
          },
          "includeInsights": {
            "title": "✅ Add review insights",
            "type": "boolean",
            "description": "Adds topics, days until the company replied, first-time reviewer and edited flags to each review, and sentiment, topic and trend totals to the company row.",
            "default": true
          },
          "includeCompanyInfo": {
            "title": "✅ Add company overview",
            "type": "boolean",
            "description": "Adds one row per company to the Companies table: trust score, rating split, categories, contact details, reply behaviour, similar companies and the site summary when it has one.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy",
            "type": "object",
            "description": "Optional network settings for the run. The defaults work for most runs."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}