{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon Product Details by ASIN – Ratings, Review Count & BSR",
    "description": "Amazon product details by ASIN: takes a list of ASINs directly and returns star rating, review count (ratingsCount), Best Sellers Rank (BSR), price and units sold last month from amazon.de and 18 other Amazon sites. No login or cookies. 100 free a month, then from $1.60/1,000.",
    "version": "1.3",
    "x-build-id": "N3eWw2NTAdziv83bU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/k-data-lab~amazon-asin-rating-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-k-data-lab-amazon-asin-rating-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/k-data-lab~amazon-asin-rating-scraper/runs": {
      "post": {
        "operationId": "runs-sync-k-data-lab-amazon-asin-rating-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/k-data-lab~amazon-asin-rating-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-k-data-lab-amazon-asin-rating-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": [
          "asins"
        ],
        "properties": {
          "asins": {
            "title": "ASINs or Amazon product URLs (required)",
            "type": "array",
            "description": "Products to look up, one per line. Each entry is a 10-character ASIN (\"B00006JSUA\") or an Amazon product link (\"https://www.amazon.de/dp/B00006JSUA\"). A bare ASIN is looked up on the Marketplace below; a link is looked up on its own Amazon site. Several ASINs in one line, separated by commas or spaces, are split. Duplicates, blank cells, \"-\" and \"TBD\" are skipped. Empty list: the run checks the two sample products. Example: [\"B00006JSUA\", \"https://www.amazon.de/dp/B00006JSUA\"].",
            "default": [
              "B00006JSUA",
              "B00NTCH52W"
            ],
            "items": {
              "type": "string"
            }
          },
          "marketplace": {
            "title": "Marketplace for bare ASINs (Amazon site)",
            "enum": [
              "com",
              "co.uk",
              "de",
              "fr",
              "it",
              "es",
              "co.jp",
              "in",
              "ca",
              "com.au",
              "com.mx",
              "nl",
              "se",
              "pl",
              "ae",
              "sa",
              "sg",
              "com.br",
              "com.tr"
            ],
            "type": "string",
            "description": "Amazon site for bare ASINs, written as the domain ending after \"amazon.\": \"com\" (US, default), \"co.uk\", \"de\", \"fr\", \"it\", \"es\", \"co.jp\", \"in\", \"ca\", \"com.au\", \"com.mx\", \"nl\", \"se\", \"pl\", \"ae\", \"sa\", \"sg\", \"com.br\", \"com.tr\" (19 sites). Product links ignore this and use their own site. Example: \"de\".",
            "default": "com"
          },
          "maxConcurrency": {
            "title": "Parallel sessions (speed)",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Products fetched at the same time, 1 to 50, each with its own IP and cookies. Default 40. Lower it (e.g. 10) for a slower, gentler run. Capped to fit the run memory; slows down by itself if Amazon pushes back. Example: 10.",
            "default": 40
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Proxy settings. Leave the default {\"useApifyProxy\": true}: fast Apify datacenter proxies, switching to residential only for products that keep getting blocked. Change it only to force a group, e.g. {\"useApifyProxy\": true, \"apifyProxyGroups\": [\"RESIDENTIAL\"]}, or to use your own proxies.",
            "default": {
              "useApifyProxy": true
            }
          },
          "childStarCounts": {
            "title": "Child ASIN review counts per star (needs your Amazon login)",
            "type": "boolean",
            "description": "Set true to add <b>childReviewCounts</b> {all, 5, 4, 3, 2, 1}: written reviews for this exact variant per star. Example: true (default false). Requires <b>Amazon cookies</b> below for each marketplace you scrape; leave false unless you have cookies. Counts only ratings with a written review, so they are lower than the family-wide ratingsCount. Adds 6 page loads per product. Free until 30 Nov 2026; from 1 Dec 2026 <b>$0.01 per product per marketplace</b>, only when the counts come back.",
            "default": false
          },
          "amazonCookies": {
            "title": "Amazon cookies (signed-in consumer account)",
            "type": "string",
            "description": "Only used when 'Child ASIN review counts' is true; leave empty otherwise. Paste cookies from a signed-in Amazon <b>consumer</b> account (not Amazon Business): a cookie-extension JSON export, a JSON object per marketplace, or a plain Cookie header for the marketplace above. Example: {\"de\": \"session-id=...; at-acbde=...\"}. Stored encrypted; never shown in the run input or logs. Use your own account only."
          },
          "debugHtml": {
            "title": "Save raw pages (debug)",
            "type": "boolean",
            "description": "Set true only for troubleshooting: stores each fetched page in the run's key-value store. Default false. Example: false.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}