{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon ASIN Rating, Review Count & BSR Lookup API – No Login",
    "description": "Bulk Amazon ASIN lookup: star ratings, review count, 5★–1★ breakdown, price, Best Sellers Rank (main + every subcategory) and units bought in past month for ASINs or product URLs on 19 marketplaces. No login or cookies. First 100 products free every month, then from $1.60/1,000.",
    "version": "1.2",
    "x-build-id": "1H0UznD35iGUcmkoZ"
  },
  "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 product URLs",
            "type": "array",
            "description": "List of Amazon products to check, one per line: bare 10-character ASINs or full product URLs. Example: [\"B0G7RYP439\", \"https://www.amazon.de/dp/B0GDHRZFWH\"]. Bare ASINs use the Marketplace below; a URL is scraped on its own Amazon site, so one run can mix countries. You can paste a whole spreadsheet column: duplicates and non-ASIN cells are skipped automatically.",
            "default": [
              "B0G7RYP439",
              "B0G7QZ7RMD"
            ],
            "items": {
              "type": "string"
            }
          },
          "marketplace": {
            "title": "Marketplace for bare ASINs",
            "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, as the domain ending after 'amazon.'. Example: \"de\" for amazon.de, \"co.jp\" for amazon.co.jp, \"com\" (default) for amazon.com. Product URLs in ASINs always use their own site, whatever this is set to.",
            "default": "com"
          },
          "maxConcurrency": {
            "title": "Parallel sessions",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many products are fetched at the same time (each with its own IP and cookies). Example: 40 (default). Leave it at the default unless you want a slower, gentler run (e.g. 10). It is capped automatically to fit the run memory and slows down by itself if Amazon pushes back.",
            "default": 40
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Proxy settings. Example: {\"useApifyProxy\": true} (default) = fast Apify datacenter proxies, switching to residential only for products that keep getting blocked. Change it only to force a proxy 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 23 Nov 2026, then <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 to store each fetched page in the run's key-value store so you can inspect what Amazon returned. Example: false (default). Leave off for normal use.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}