{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon Reviews Scraper (Reviews, Ratings & Photos)",
    "description": "Extract genuine real-time Amazon product reviews, star ratings, reviewer profiles, customer photos & sentiment across 15+ marketplaces (US, UK, DE). Features bulk ASIN scraping, verified badges, direct review links, and export to Excel, CSV & JSON without requiring logins or cookies.",
    "version": "0.0",
    "x-build-id": "8w5cXquVnmSSaopiR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapepilot~amazon-reviews-scraper-reviews-ratings-photos/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapepilot-amazon-reviews-scraper-reviews-ratings-photos",
        "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/scrapepilot~amazon-reviews-scraper-reviews-ratings-photos/runs": {
      "post": {
        "operationId": "runs-sync-scrapepilot-amazon-reviews-scraper-reviews-ratings-photos",
        "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/scrapepilot~amazon-reviews-scraper-reviews-ratings-photos/run-sync": {
      "post": {
        "operationId": "run-sync-scrapepilot-amazon-reviews-scraper-reviews-ratings-photos",
        "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": {
          "asins": {
            "title": "Product ASINs",
            "type": "array",
            "description": "List of Amazon product ASINs (e.g. B086K4ZMT3, B08C1W5N87). Enter one ASIN per line.",
            "items": {
              "type": "string"
            }
          },
          "domainCode": {
            "title": "Amazon Marketplace Domain",
            "enum": [
              "com",
              "co.uk",
              "de",
              "fr",
              "it",
              "es",
              "ca",
              "in",
              "co.jp",
              "com.au",
              "com.br",
              "nl",
              "se",
              "com.mx",
              "ae"
            ],
            "type": "string",
            "description": "Amazon marketplace country domain code (default: com).",
            "default": "com"
          },
          "sortBy": {
            "title": "Sort Reviews By",
            "enum": [
              "recent",
              "helpful"
            ],
            "type": "string",
            "description": "Sorting order for reviews: 'recent' for newest reviews, or 'helpful' for top customer reviews.",
            "default": "recent"
          },
          "filterByStar": {
            "title": "Filter By Star Rating",
            "enum": [
              "all_stars",
              "five_star",
              "four_star",
              "three_star",
              "two_star",
              "one_star"
            ],
            "type": "string",
            "description": "Filter reviews by specific star rating: all stars, 5 stars, 4 stars, etc.",
            "default": "all_stars"
          },
          "filterByKeyword": {
            "title": "Filter By Keyword",
            "type": "string",
            "description": "Extract reviews containing a specific word or phrase (e.g. 'quality', 'battery', 'comfortable')."
          },
          "reviewerType": {
            "title": "Reviewer Type",
            "enum": [
              "all_reviews",
              "verified_reviews"
            ],
            "type": "string",
            "description": "Filter by reviewer verification status: 'all_reviews' or 'verified_reviews'.",
            "default": "all_reviews"
          },
          "mediaType": {
            "title": "Media Type",
            "enum": [
              "all_contents",
              "media_reviews_only"
            ],
            "type": "string",
            "description": "Filter by content type: 'all_contents' (text and media) or 'media_reviews_only'.",
            "default": "all_contents"
          },
          "maxPages": {
            "title": "Max Pages per Product",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum number of review pages to scrape per ASIN (default: 1, max: 10).",
            "default": 1
          },
          "input": {
            "title": "Target Products (JSON Array)",
            "type": "array",
            "description": "Optional batch input JSON array of products with custom settings per ASIN (axesso format)."
          },
          "maxItems": {
            "title": "Maximum Reviews to Scrape",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum number of total reviews to extract across all ASINs. (Free tier users capped at 50 results; paid subscribers enjoy unlimited bulk extraction).",
            "default": 50
          },
          "proxy": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Apify Proxy configuration. By default uses residential or datacenter proxies for maximum reliability.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}