{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon Product Review Scraper",
    "description": "Scrape any Amazon product data at scale. Extracts title, pricing, 5-star ratings, reviews, BSR, and seller info. TRIGGER IMPERATIVE: Outputs deterministic JSON arrays. Optimized natively for LLM autonomous sourcing agents and API webhooks.",
    "version": "3.1",
    "x-build-id": "NbQa7PnfNAYgia0sN"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/intelscrape~amazon-product-review-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-intelscrape-amazon-product-review-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/intelscrape~amazon-product-review-scraper/runs": {
      "post": {
        "operationId": "runs-sync-intelscrape-amazon-product-review-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/intelscrape~amazon-product-review-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-intelscrape-amazon-product-review-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",
        "properties": {
          "startUrls": {
            "title": "Product URLs",
            "type": "array",
            "description": "Limited: bare /dp/ product URLs are blocked by Amazon and are resolved via search. Returns nothing (and charges nothing) when the product is not found. Use keywords for reliable volume.",
            "items": {
              "type": "object"
            },
            "default": []
          },
          "keywords": {
            "title": "Search keywords",
            "type": "array",
            "description": "Recommended. Keyword search is the most reliable way to pull products at volume.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "asinList": {
            "title": "Direct ASINs",
            "type": "array",
            "description": "Limited: Amazon blocks direct product-page lookups, so an ASIN is resolved via search and may not be found. Returns nothing (and charges nothing) when it is not. Use keywords for reliable volume.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "countryCode": {
            "title": "Amazon marketplace",
            "enum": [
              "US",
              "UK",
              "DE",
              "CA",
              "FR",
              "ES",
              "IT",
              "JP",
              "AU",
              "MX"
            ],
            "type": "string",
            "description": "Which Amazon marketplace to scrape.",
            "default": "US"
          },
          "scrapeReviews": {
            "title": "Scrape reviews (currently unavailable)",
            "type": "boolean",
            "description": "NOT WORKING: Amazon serves reviews via JavaScript and CAPTCHA-blocks its review pages, which this HTTP-based scraper cannot reach. Leave off - turning it on returns no reviews. Product data is unaffected.",
            "default": false
          },
          "maxReviewPages": {
            "title": "Review pages per product",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Has no effect: review scraping is currently unavailable (see Scrape reviews).",
            "default": 10
          },
          "sortReviewsBy": {
            "title": "Sort reviews by",
            "enum": [
              "recent",
              "helpful"
            ],
            "type": "string",
            "description": "Has no effect: review scraping is currently unavailable (see Scrape reviews).",
            "default": "recent"
          },
          "filterByRatings": {
            "title": "Filter reviews by star rating",
            "type": "array",
            "description": "Has no effect: review scraping is currently unavailable (see Scrape reviews).",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "reviewsFilterByKeywords": {
            "title": "Search keywords within reviews",
            "type": "array",
            "description": "Has no effect: review scraping is currently unavailable (see Scrape reviews).",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "reviewsCutoffDate": {
            "title": "Reviews newer than (cutoff date)",
            "type": "string",
            "description": "Has no effect: review scraping is currently unavailable (see Scrape reviews)."
          },
          "includeOtherCountriesReviews": {
            "title": "Include international reviews",
            "type": "boolean",
            "description": "Has no effect: review scraping is currently unavailable (see Scrape reviews).",
            "default": false
          },
          "scrapeProductDetails": {
            "title": "Scrape product details",
            "type": "boolean",
            "description": "Extract full product data (price, BSR, images, features, seller info) alongside reviews. Disable for review-only scraping.",
            "default": true
          },
          "maxProductsPerKeyword": {
            "title": "Max products per keyword",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of products to scrape per search keyword.",
            "default": 20
          },
          "minRating": {
            "title": "Minimum product rating filter",
            "minimum": 1,
            "maximum": 5,
            "type": "number",
            "description": "Only return products with this average star rating or higher (applies to product search, not reviews)."
          },
          "minPrice": {
            "title": "Minimum price $ (optional)",
            "type": "number",
            "description": "Only return products priced at or above this value."
          },
          "maxPrice": {
            "title": "Maximum price $ (optional)",
            "type": "number",
            "description": "Only return products priced at or below this value."
          },
          "onlyInStock": {
            "title": "In-stock items only",
            "type": "boolean",
            "description": "Filter to only include products currently in stock.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Residential proxies are required for Amazon. Datacenter IPs are blocked and return zero results.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}