{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon Asin Scraper",
    "description": "Amazon Asin Scraper extracts detailed data for any Amazon ASIN. Capture titles, prices, images, ratings, reviews, variations, sellers, and key product details. Ideal for market research, pricing analysis, product tracking, and workflows needing structured ASIN-level data.",
    "version": "0.2",
    "x-build-id": "ZXEgaeTRYHQ3pSlCI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/api-empire~amazon-asin-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-api-empire-amazon-asin-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/api-empire~amazon-asin-scraper/runs": {
      "post": {
        "operationId": "runs-sync-api-empire-amazon-asin-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/api-empire~amazon-asin-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-api-empire-amazon-asin-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": "📦 Amazon ASINs",
            "type": "array",
            "description": "Paste one or more ASINs (10 alphanumeric characters, e.g. `B07GBZ4Q68`). Bulk paste is supported — ASINs run concurrently.\n\n🔎 Find an ASIN in the URL after `/dp/` or under *Product details*.",
            "items": {
              "type": "string"
            }
          },
          "amazonDomain": {
            "title": "🌍 Amazon marketplace domain",
            "type": "string",
            "description": "Choose the storefront so currency and inventory match the region. Examples: `amazon.com` 🇺🇸 · `amazon.co.uk` 🇬🇧 · `amazon.de` 🇩🇪 · `amazon.fr` 🇫🇷 · `amazon.in` 🇮🇳 · `amazon.co.jp` 🇯🇵 · `amazon.ca` 🇨🇦 · `amazon.com.au` 🇦🇺 · `amazon.com.br` 🇧🇷.",
            "default": "amazon.com"
          },
          "language": {
            "title": "🗣️ Display language",
            "enum": [
              "",
              "en",
              "en_US",
              "en_GB",
              "de",
              "fr",
              "es",
              "it",
              "nl",
              "pl",
              "pt",
              "pt_BR",
              "sv",
              "tr",
              "cs",
              "da",
              "ja",
              "zh_CN",
              "zh_TW",
              "hi"
            ],
            "type": "string",
            "description": "Optional language code. Sent as `?language=…` and in `Accept-Language` so the page matches your locale.",
            "default": "en"
          },
          "proxyCountry": {
            "title": "🛡️ Proxy country",
            "enum": [
              "AUTO_SELECT_PROXY_COUNTRY",
              "US",
              "GB",
              "DE",
              "FR",
              "ES",
              "IT",
              "CA",
              "AU",
              "JP",
              "IN",
              "BR",
              "MX",
              "NL",
              "PL",
              "TR",
              "SE",
              "AE"
            ],
            "type": "string",
            "description": "Route requests through this country for geo-specific prices and availability.\n\n✨ **Auto select** lets Apify pick the best exit for your marketplace.",
            "default": "AUTO_SELECT_PROXY_COUNTRY"
          },
          "useCaptchaSolver": {
            "title": "🧩 Enable CAPTCHA solver",
            "type": "boolean",
            "description": "Automatic CAPTCHA solving for difficult pages.\n\n**Off (recommended):** proxy rotation + retries — fastest and cheapest.\n**On:** slower and costlier, higher success on stubborn `.com` pages.",
            "default": false
          },
          "zipCode": {
            "title": "📮 Delivery ZIP / postal code",
            "type": "string",
            "description": "Optional destination ZIP/postal code (e.g. `10001` 🇺🇸 · `SW1A 1AA` 🇬🇧) so prices and shipping reflect that location.\n\n🍪 The actor sets Amazon's delivery cookie before scraping.",
            "default": ""
          },
          "proxyConfiguration": {
            "title": "🔐 Advanced proxy configuration",
            "type": "object",
            "description": "Full proxy override: Apify groups (Residential / Datacenter) or your own URLs.\n\nMost runs can leave this empty."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}