{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon Reviews Scraper - Date Filter, Photos, 9 Sites, $0.85/1K",
    "description": "Amazon reviews scraper and API alternative: extract product reviews with rating, title, text, date, verified purchase and helpful votes, plus the product rating and review count. Works on 9 Amazon marketplaces (US, UK, DE, FR...), no login, reviewer names pseudonymized.",
    "version": "1.0",
    "x-build-id": "3BSqRn25hSGoFGZuO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sweet_stickball~amazon-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sweet_stickball-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/sweet_stickball~amazon-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sweet_stickball-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/sweet_stickball~amazon-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sweet_stickball-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",
        "properties": {
          "productUrls": {
            "title": "Amazon products",
            "type": "array",
            "description": "Amazon product URLs or ASINs, one per line (e.g. 'https://www.amazon.co.uk/dp/B0CHX3QBCH' or 'B0CHX3QBCH'). A full URL sets the marketplace from its domain; a bare ASIN uses 'Marketplace' below. Up to 100 products per run; each product gets one product record plus its reviews.",
            "items": {
              "type": "string"
            }
          },
          "maxReviews": {
            "title": "Maximum Reviews",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of reviews to return. Amazon now shows its full review pages only to signed-in users, so this Actor returns the top reviews embedded in the product page (typically 8-13 per product, deduplicated). Higher values return at most what Amazon shows publicly.",
            "default": 50
          },
          "country": {
            "title": "Country",
            "enum": [
              "US",
              "UK",
              "FR",
              "DE",
              "CA",
              "JP",
              "AU",
              "ES",
              "IT"
            ],
            "type": "string",
            "description": "Amazon marketplace used for a bare ASIN. Ignored when the product URL is a full Amazon link (its domain decides). Amazon.com (US) currently hides reviews from most signed-out visitors; the other marketplaces still show them.",
            "default": "US"
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "recent",
              "helpful"
            ],
            "type": "string",
            "description": "Order of the returned reviews, applied by the Actor to the reviews shown on the product page: 'recent' = newest first, 'helpful' = most helpful votes first. Amazon-side sorting of all reviews is no longer available without sign-in.",
            "default": "recent"
          },
          "filterByStar": {
            "title": "Filter by Star Rating",
            "enum": [
              "all",
              "five_star",
              "four_star",
              "three_star",
              "two_star",
              "one_star"
            ],
            "type": "string",
            "description": "Keep only reviews with this star rating. Applied by the Actor to the reviews shown on the product page (not to all reviews of the product), so a filter can return few or no results.",
            "default": "all"
          },
          "reviewsSince": {
            "title": "Reviews since (date)",
            "pattern": "^$|^\\d{4}-\\d{2}-\\d{2}([T ].*)?$",
            "type": "string",
            "description": "Optional. Keep only reviews written on or after this date (ISO format, e.g. 2026-01-31). Applied to the reviews shown on the product page; reviews without a readable date are left out when set. Leave empty for no date limit."
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Optional. Keep only reviews whose title or text contains at least one of these words (case-insensitive), e.g. 'battery', 'broke'. Empty = all reviews.",
            "items": {
              "type": "string"
            }
          },
          "marketplaceFallback": {
            "title": "Use another marketplace when reviews require sign-in",
            "type": "boolean",
            "description": "When Amazon shows 'Sign in to see customer reviews' on every page of the requested marketplace (amazon.com does this for most signed-out visitors), read the reviews of the same ASIN on amazon.ca, then amazon.co.uk. Each review keeps its 'country' and the 'marketplace' field tells where it was read. Disable to get only reviews from the requested marketplace (the run then fails on a sign-in gate).",
            "default": true
          },
          "onlyNew": {
            "title": "Only new reviews (monitoring)",
            "type": "boolean",
            "description": "Optional, off by default. Return only reviews that an earlier run with the same input did not return, so a scheduled run gives you (and charges you for) new reviews only. The first run returns everything and records it. The record is kept in a named key-value store of your own Apify account ('amazon-reviews-scraper-incremental').",
            "default": false
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Optional, used with 'Only new reviews'. Name of the saved state. Empty = derived from the input (same input = same state)."
          },
          "productUrl": {
            "title": "Product URL (single, older field)",
            "type": "string",
            "description": "Older single-product field, still accepted. Prefer 'Amazon products' above."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}