{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon Reviews Scraper 2026",
    "description": "Amazon Reviews Scraper: Extract reviews, ratings & images with AI sentiment analysis. Identify \"Happy\" or \"Angry\" customers and detect emotions (enthusiasm, frustration). Perfect for market research, SEO & e-reputation. Fast, reliable, and GDPR compliant.",
    "version": "0.1",
    "x-build-id": "gviZfS8zxALrjHcyK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/oza-dev~amazon-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-oza-dev-amazon-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/oza-dev~amazon-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-oza-dev-amazon-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/oza-dev~amazon-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-oza-dev-amazon-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": [
          "productUrls"
        ],
        "properties": {
          "productUrls": {
            "title": "URLs of Amazon products",
            "type": "array",
            "description": "Enter the URL or URLs of the Amazon products you want to scrape.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxReviews": {
            "title": "Max reviews per product",
            "minimum": 1,
            "type": "integer",
            "description": "Type in the amount of reviews to be scraped. Note: max amount per star count is 100.",
            "default": 50
          },
          "includeGdprSensitive": {
            "title": "Include personal information",
            "type": "boolean",
            "description": "Include personal data like author name and ID (GDPR sensitive).",
            "default": false
          },
          "analyzeSentiment": {
            "title": "Analyze Sentiment",
            "type": "boolean",
            "description": "If enabled, the scraper will analyze the sentiment of each review (Polarity, Subjectivity, and Emotions).",
            "default": false
          },
          "filterBySentiment": {
            "title": "Filter by Sentiment/Feeling",
            "enum": [
              "all",
              "happy",
              "unhappy",
              "enthusiastic",
              "disappointed",
              "angry"
            ],
            "type": "string",
            "description": "Filter reviews by their emotional tone.",
            "default": "all"
          },
          "sort": {
            "title": "Sort reviews by",
            "enum": [
              "helpful",
              "recent"
            ],
            "type": "string",
            "description": "Select by which criteria the reviews should be sorted.",
            "default": "helpful"
          },
          "reviewsCutoffDate": {
            "title": "Newer than",
            "type": "string",
            "description": "Limit how far back to the history the scraper should go (YYYY-MM-DD or relative like '1 days')."
          },
          "filterByRatings": {
            "title": "Filter by ratings",
            "type": "array",
            "description": "Select the number of stars by which reviews should be filtered.",
            "items": {
              "type": "string",
              "enum": [
                "allStars",
                "fiveStar",
                "fourStar",
                "threeStar",
                "twoStar",
                "oneStar",
                "allPositive",
                "allCritical"
              ],
              "enumTitles": [
                "All stars",
                "5 stars only",
                "4 stars only",
                "3 stars only",
                "2 stars only",
                "1 star only",
                "All positive",
                "All critical"
              ]
            },
            "default": [
              "allStars"
            ]
          },
          "reviewsUseProductVariantFilter": {
            "title": "Scrape a single product variant",
            "type": "boolean",
            "description": "If enabled, scrape reviews only for the selected variant.",
            "default": false
          },
          "reviewsFilterByKeywords": {
            "title": "Search by keywords",
            "type": "array",
            "description": "Enter keywords by which the reviews should be filtered.",
            "items": {
              "type": "string"
            }
          },
          "scrapeProductDetails": {
            "title": "Scrape product details",
            "type": "boolean",
            "description": "If enabled, the Actor will also scrape and save product data.",
            "default": false
          },
          "reviewsAlwaysSaveCategoryData": {
            "title": "Always save category data",
            "type": "boolean",
            "description": "Return review category data even if there are no reviews.",
            "default": false
          },
          "deduplicateRedirectedAsins": {
            "title": "Deduplicate redirected ASINs",
            "type": "boolean",
            "description": "Deduplicate the redirected ASINs.",
            "default": true
          },
          "country": {
            "title": "Country Code",
            "type": "string",
            "description": "Amazon country code (e.g., US, UK, FR, DE).",
            "default": "US"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}