{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon Reviews Scraper: Top Reviews from 13 Marketplaces",
    "description": "Scrape the top ~13 reviews per product per marketplace from Amazon.de, .co.uk, .fr, .co.jp and 9 more. amazon.com: rating summary only. Fan one ASIN out across marketplaces, filter by stars, media or date, skip reviews you already hold. Typed rows. Pay per result.",
    "version": "0.1",
    "x-build-id": "FHBcA8NbgiszYPalB"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataizi-srl~amazon-product-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataizi-srl-amazon-product-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/dataizi-srl~amazon-product-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-dataizi-srl-amazon-product-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/dataizi-srl~amazon-product-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-dataizi-srl-amazon-product-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": [
          "products"
        ],
        "properties": {
          "products": {
            "title": "Products",
            "minItems": 1,
            "uniqueItems": true,
            "type": "array",
            "description": "ASINs or Amazon product links, one per line, for example `B0DHL93XCN` or `https://www.amazon.de/dp/B0DHL93XCN`. The ASIN is the 10-character code after `/dp/` in a product link. A link from a supported marketplace adds that marketplace to the run. Amazon shows signed-out visitors about 13 top reviews per product per storefront; never the full history.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "storefronts": {
            "title": "Marketplaces",
            "minItems": 1,
            "uniqueItems": true,
            "type": "array",
            "description": "The Amazon marketplaces to read for every product. Each one is one page per product and returns about 13 top reviews, with some repeats between marketplaces that are removed. \"United States (amazon.com)\" returns the product summary only, because Amazon shows signed-out visitors no review text there.",
            "items": {
              "type": "string",
              "enum": [
                "de",
                "co.uk",
                "fr",
                "it",
                "es",
                "nl",
                "se",
                "pl",
                "in",
                "ae",
                "com.au",
                "sg",
                "co.jp",
                "com"
              ],
              "enumTitles": [
                "Germany (amazon.de)",
                "United Kingdom (amazon.co.uk)",
                "France (amazon.fr)",
                "Italy (amazon.it)",
                "Spain (amazon.es)",
                "Netherlands (amazon.nl)",
                "Sweden (amazon.se)",
                "Poland (amazon.pl)",
                "India (amazon.in)",
                "United Arab Emirates (amazon.ae)",
                "Australia (amazon.com.au)",
                "Singapore (amazon.sg)",
                "Japan (amazon.co.jp)",
                "United States (amazon.com): rating summary only, Amazon shows reviews to signed-in visitors only"
              ]
            },
            "default": [
              "de",
              "co.uk",
              "fr",
              "it",
              "es",
              "nl",
              "se",
              "in",
              "ae",
              "com.au"
            ]
          },
          "maxItems": {
            "title": "Maximum reviews in total",
            "minimum": 1,
            "type": "integer",
            "description": "Stops the run after this many review rows over all products. Product summaries do not count toward it. The default of 100 keeps a first run small; raise it for bigger jobs.",
            "default": 100
          },
          "maxReviewsPerProduct": {
            "title": "Maximum reviews per product",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "The most unique reviews kept for each product over all marketplaces, counted after filters. Amazon shows signed-out visitors about 13 top reviews per product per storefront; never the full history. So this limit only matters when you select many marketplaces or variants. 1 to 1,000.",
            "default": 100
          },
          "starRatings": {
            "title": "Star ratings",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only reviews with these ratings. Leave all five selected, or empty, to keep every review.",
            "items": {
              "type": "string",
              "enum": [
                "5",
                "4",
                "3",
                "2",
                "1"
              ],
              "enumTitles": [
                "5 stars",
                "4 stars",
                "3 stars",
                "2 stars",
                "1 star"
              ]
            },
            "default": [
              "5",
              "4",
              "3",
              "2",
              "1"
            ]
          },
          "verifiedPurchaseOnly": {
            "title": "Verified purchases only",
            "type": "boolean",
            "description": "Keep only reviews that carry Amazon's Verified Purchase badge.",
            "default": false
          },
          "withMediaOnly": {
            "title": "Only reviews with photos or videos",
            "type": "boolean",
            "description": "Keep only reviews that include customer images or video.",
            "default": false
          },
          "reviewedAfter": {
            "title": "Reviewed after",
            "type": "string",
            "description": "Keep reviews dated on or after this date (`2026-01-31`), or within the last N days, weeks, months or years (for example `30 days`). Reviews whose date could not be read are kept, and counted in the run summary. Leave empty for every date."
          },
          "reviewKeywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Keep reviews whose title or text contains any of these words, ignoring case. Reviews are in the language they were written in, usually the marketplace's, so use words in that language. Leave empty for every review.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "reviewLanguages": {
            "title": "Review languages",
            "type": "array",
            "description": "Keep reviews written in these languages, as 2-letter codes such as `en`, `de` or `fr`. A review whose language could not be read is kept, and counted in the run summary. Leave empty for all languages.",
            "items": {
              "type": "string",
              "minLength": 2,
              "maxLength": 8
            }
          },
          "excludeReviewIds": {
            "title": "Review ids to skip",
            "type": "array",
            "description": "Review ids you already hold, shown in the `reviewId` column of an earlier run. They are skipped and never charged. Use it to collect only new reviews on repeat runs.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "expandVariants": {
            "title": "Also open variants",
            "type": "boolean",
            "description": "Also read the colour and size variants listed on each page, one level deep, on the same marketplace. Their reviews count toward the product you entered. Each variant page is one more page, and bills one more summary.",
            "default": false
          },
          "maxVariantsPerProduct": {
            "title": "Maximum variants per product",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "The most variant pages opened for each product and marketplace. Only used when Also open variants is on. 1 to 10.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "On by default: Amazon refuses requests from Apify's servers without a proxy, so the run uses Apify Proxy (datacenter). Residential proxies and custom proxy URLs are not supported.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}