{
  "openapi": "3.0.1",
  "info": {
    "title": "Trustpilot Reviews Scraper",
    "description": "Scrape every Trustpilot review, past the 200-review limit: rating, text, date, reviewer, country and company reply, with the company's TrustScore, AI summary and contacts. Filter by stars, language, date, words and topic. List companies by category, monitor new reviews. Export to Excel or CSV.",
    "version": "0.0",
    "x-build-id": "rER8DoMuMZpGfkQ62"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/keklik~trustpilot-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-keklik-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/keklik~trustpilot-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-keklik-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/keklik~trustpilot-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-keklik-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": [
          "targets"
        ],
        "properties": {
          "targets": {
            "title": "🔗 Companies, categories or searches",
            "type": "array",
            "description": "One per line, any mix: a Trustpilot company page (https://www.trustpilot.com/review/amazon.com), a company's website or domain (amazon.com), a brand name (nike), a Trustpilot category page (https://www.trustpilot.com/categories/web_hosting_service), or a reviewer's Trustpilot profile (https://www.trustpilot.com/users/...) for every review that person wrote. With Reviews, a brand name gets that company's reviews; with Companies, words search Trustpilot's company directory (web hosting).",
            "items": {
              "type": "string"
            }
          },
          "whatToGet": {
            "title": "📦 What to get",
            "enum": [
              "reviews",
              "companies"
            ],
            "type": "string",
            "description": "Reviews: one row per review, with the company's profile on every row. For a category or a search, the reviews of each company it lists, up to Max companies. Companies: one row per company: TrustScore, review counts by star, categories, website, phone, email and address. Use it to list a category or search the company directory.",
            "default": "reviews"
          },
          "maxReviews": {
            "title": "🔢 Max reviews per company",
            "minimum": 0,
            "type": "integer",
            "description": "Stop each company after this many reviews. 0 means all of them: the whole history, past the 200 reviews Trustpilot's website shows.",
            "default": 100
          },
          "maxCompanies": {
            "title": "🏢 Max companies per category or search",
            "minimum": 0,
            "type": "integer",
            "description": "For a category or a search: how many companies to take, in the order Trustpilot lists them. 0 means all it lists (up to 10,000).",
            "default": 20
          },
          "maxResults": {
            "title": "🛑 Max results in total",
            "minimum": 0,
            "type": "integer",
            "description": "Stop the whole run after this many rows. 0 means no limit. Your maximum cost per run also always applies.",
            "default": 0
          },
          "onlyNew": {
            "title": "🔔 Only new since my last run",
            "type": "boolean",
            "description": "For scheduled runs: each company returns only reviews newer than the ones the last run saved (with Companies, only companies the last run didn't list). Reviews are read newest first and the run stops at what you already have, so you never pay twice for a review. Runs of the same saved task share this memory; different tasks keep their own. Free.",
            "default": false
          },
          "includeRegional": {
            "title": "🌍 Include the brand's other country sites",
            "type": "boolean",
            "description": "Many brands have a Trustpilot page per country site: nike.com, nike.co.uk, nike.de. Turn this on to also get the reviews of each of them (largest first).",
            "default": false
          },
          "outputFormat": {
            "title": "🤖 Output format",
            "enum": [
              "full",
              "llm"
            ],
            "type": "string",
            "description": "Full: every field on every row. LLM-friendly: each row keeps only the fields an AI needs (rating, title, text, date, reviewer country, reply, company), drops empty ones and adds the review as Markdown; the whole run is also saved as one Markdown file (reviews.md), company by company, ready to paste into ChatGPT or Claude or load into an AI tool. Free.",
            "default": "full"
          },
          "companyOnEveryReview": {
            "title": "🏢 Full company details on every review",
            "type": "boolean",
            "description": "Off: each review has the company's name, domain, TrustScore, review count, category and country, and every company's full profile (description, AI summary, contacts, add-ons) is in the free Companies table, once per company: smaller files that open fast in Excel. On: every company column on every review row, for one sheet with everything.",
            "default": false
          },
          "companyContacts": {
            "title": "🌐 Company contacts from its website ($)",
            "type": "boolean",
            "description": "Also visit each company's own website for its emails (checked for a working mail server), phone numbers, WhatsApp and social profiles (Facebook, Instagram, LinkedIn, X, TikTok, YouTube and more), and its company details from the legal notice. Trustpilot's own email field is often empty. Charged once per company with something found; companies whose website has nothing are free.",
            "default": false
          },
          "transparencyReport": {
            "title": "🔍 Transparency report and reply statistics ($)",
            "type": "boolean",
            "description": "Add each company's Trustpilot transparency report for the last 12 months: how many reviews were invited by the company and how many came on their own, the share of negative reviews it replied to and how fast, the reviews it reported and how many were taken offline, and its reviews per month by star. Charged once per company. Paid Apify plans only.",
            "default": false
          },
          "order": {
            "title": "↕️ Which reviews",
            "enum": [
              "newest",
              "spread"
            ],
            "type": "string",
            "description": "Newest first reads from today back. Spread takes Max reviews per company in small batches spread evenly from the newest to the oldest review (or to Posted since), for a sample of the whole history.",
            "default": "newest"
          },
          "stars": {
            "title": "⭐ Star ratings",
            "type": "array",
            "description": "Only reviews with these ratings, for example 1 and 2 stars for complaints. Empty: every rating.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "1 star",
                "2 stars",
                "3 stars",
                "4 stars",
                "5 stars"
              ]
            }
          },
          "languages": {
            "title": "🗣️ Languages",
            "type": "array",
            "description": "Only reviews written in these languages. Empty: every language.",
            "items": {
              "type": "string",
              "enum": [
                "ar",
                "zh",
                "zh-TW",
                "da",
                "nl",
                "en",
                "fi",
                "fr",
                "de",
                "el",
                "he",
                "id",
                "it",
                "ja",
                "ko",
                "no",
                "pl",
                "pt",
                "ru",
                "es",
                "sv",
                "th",
                "tr",
                "vi"
              ],
              "enumTitles": [
                "Arabic",
                "Chinese (Simplified)",
                "Chinese (Traditional)",
                "Danish",
                "Dutch",
                "English",
                "Finnish",
                "French",
                "German",
                "Greek",
                "Hebrew",
                "Indonesian",
                "Italian",
                "Japanese",
                "Korean",
                "Norwegian",
                "Polish",
                "Portuguese",
                "Russian",
                "Spanish",
                "Swedish",
                "Thai",
                "Turkish",
                "Vietnamese"
              ]
            }
          },
          "postedSince": {
            "title": "📅 Posted since",
            "pattern": "^$|^\\s*\\d+\\s*(minute|hour|day|week|month|year|h|d|w|m|y)s?\\s*$|^\\s*\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])([ T]\\d{2}:\\d{2}(:\\d{2})?)?\\s*$",
            "type": "string",
            "description": "Only reviews from this date on: a date like 2026-11-01, or a period back from now like 7 days or 24 hours. Newest first stops at the first older review, so it's fast and cheap."
          },
          "keyword": {
            "title": "🔎 Words in the review",
            "type": "string",
            "description": "Only reviews Trustpilot's own search finds for these words, for example refund or delivery. Put them in double quotes for the exact phrase (\"never arrived\")."
          },
          "topics": {
            "title": "🏷️ Topics",
            "type": "array",
            "description": "Only reviews Trustpilot tagged with one of these topics, for example customer_service, delivery_service, refund, product, price.",
            "items": {
              "type": "string"
            }
          },
          "verifiedOnly": {
            "title": "✅ Verified reviews only",
            "type": "boolean",
            "description": "Only reviews Trustpilot marks as verified (an invited customer or a proof of purchase).",
            "default": false
          },
          "withReplyOnly": {
            "title": "💬 Only reviews the company replied to",
            "type": "boolean",
            "description": "Only reviews with a reply from the company.",
            "default": false
          },
          "reviewerCountries": {
            "title": "📍 Reviewer countries",
            "type": "array",
            "description": "Only reviews by reviewers from these countries, as two-letter codes (US, GB, DE). Trustpilot has no filter for this, so every page is read and filtered, which is slower.",
            "items": {
              "type": "string"
            }
          },
          "allReviewsPerReviewer": {
            "title": "🔁 Include a reviewer's older reviews",
            "type": "boolean",
            "description": "Trustpilot normally shows only the latest review a person wrote about a company. Turn this on to also get their older reviews of it. Trustpilot then lists at most the newest 10,000 reviews per company.",
            "default": false
          },
          "companyCountry": {
            "title": "🏳️ Companies from",
            "type": "string",
            "description": "For a category: only companies from this country, as a two-letter code (US, GB, DE). Empty: every country. A country in a pasted category link (?country=GB) is used too."
          },
          "companySort": {
            "title": "↕️ Category order",
            "enum": [
              "recommended",
              "reviews",
              "latest"
            ],
            "type": "string",
            "description": "The order a category lists its companies in, which decides which ones Max companies takes.",
            "default": "recommended"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}