{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon Reviews Scraper (19 Sites, Ratings, Verified, Filters)",
    "description": "Amazon product reviews on 19 marketplaces from ASINs or links: rating, title, text, ISO date and country, verified purchase, helpful votes, variant, photos and reviewer display name. Free product row with star histogram. Full list with sort and filters using your own cookies.",
    "version": "0.1",
    "x-build-id": "CPGuRhy1qhN7h5XJ3"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/locaihost~amazon-reviews/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-locaihost-amazon-reviews",
        "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/locaihost~amazon-reviews/runs": {
      "post": {
        "operationId": "runs-sync-locaihost-amazon-reviews",
        "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/locaihost~amazon-reviews/run-sync": {
      "post": {
        "operationId": "run-sync-locaihost-amazon-reviews",
        "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": {
          "products": {
            "title": "Products (ASINs or links)",
            "type": "array",
            "description": "ASINs (B0BS1QCFHX) or product links from any of the 19 Amazon sites (https://www.amazon.de/dp/B0BS1QCFHX). A link sets its own site; a bare ASIN uses the marketplace below. Up to 200 per run.",
            "default": [
              "https://www.amazon.co.uk/dp/1408855658"
            ],
            "items": {
              "type": "string"
            }
          },
          "marketplace": {
            "title": "Marketplace for bare ASINs",
            "enum": [
              "US",
              "UK",
              "DE",
              "FR",
              "IT",
              "ES",
              "CA",
              "JP",
              "IN",
              "AU",
              "MX",
              "BR",
              "NL",
              "SE",
              "PL",
              "SG",
              "AE",
              "SA",
              "TR"
            ],
            "type": "string",
            "description": "Which Amazon site a bare ASIN is read from. Links keep their own site.",
            "default": "US"
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Without cookies Amazon shows about 8 to 13 reviews on a product page, so that is the most you get per product. With your cookies, up to 100 per filter, and up to 500 when no star filter is set (read star by star).",
            "default": 100
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "helpful",
              "recent"
            ],
            "type": "string",
            "description": "Order of the reviews. Without cookies, \"recent\" sorts the product-page reviews newest first.",
            "default": "helpful"
          },
          "stars": {
            "title": "Star ratings",
            "type": "array",
            "description": "Only these ratings. Empty = all. With cookies each choice is read as its own Amazon filter.",
            "items": {
              "type": "string",
              "enum": [
                "5",
                "4",
                "3",
                "2",
                "1",
                "positive",
                "critical"
              ],
              "enumTitles": [
                "5 stars",
                "4 stars",
                "3 stars",
                "2 stars",
                "1 star",
                "Positive (4-5)",
                "Critical (1-3)"
              ]
            },
            "default": []
          },
          "amazonCookies": {
            "title": "Your Amazon cookies (optional, for the full list)",
            "type": "string",
            "description": "Amazon shows the full review list (all pages, sort and filters) to signed-in shoppers only. Paste the Cookie header from your own signed-in tab on the same Amazon site as your products. Stored encrypted by Apify, never saved in the output or the log. Leave empty to read the reviews on each product page."
          },
          "verifiedOnly": {
            "title": "Verified purchases only",
            "type": "boolean",
            "description": "Only reviews with the Verified Purchase badge.",
            "default": false
          },
          "keyword": {
            "title": "Keyword in review",
            "type": "string",
            "description": "Only reviews that mention this word or phrase. With cookies Amazon filters the full list; without, every word must be in the title or text."
          },
          "newerThan": {
            "title": "Reviews from (date)",
            "type": "string",
            "description": "Only reviews dated on or after this day: 2026-01-31, or a span back from today such as \"30 days\" or \"6 months\". With cookies and Newest first, reading stops at the first page older than this."
          },
          "olderThan": {
            "title": "Reviews up to (date)",
            "type": "string",
            "description": "Only reviews dated on or before this day: 2026-06-30 or \"7 days\"."
          },
          "withPhotosOnly": {
            "title": "Reviews with photos only",
            "type": "boolean",
            "description": "Only reviews that include customer photos. With cookies Amazon filters the full list.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new reviews",
            "type": "boolean",
            "description": "Skip reviews an earlier run of this Actor in your account already returned (remembered by review id). Skipped reviews are not charged.",
            "default": false
          },
          "includeOtherCountries": {
            "title": "Include reviews from other countries",
            "type": "boolean",
            "description": "Amazon adds \"Top reviews from other countries\" under the local ones. Turn off for the marketplace's own reviews only.",
            "default": true
          },
          "allVariants": {
            "title": "All variants",
            "type": "boolean",
            "description": "Reviews of every colour and size of the product. Turn off for the linked variant only (cookies mode).",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}