{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon Product Scraper Search & Sales Estimator",
    "description": "Fast, 512MB RAM Amazon scraper for products, search keywords, ASINs, categories & bestsellers across global domains (.com, .de, .es, etc.). Extracts 50+ fields, BSR, monthly sales & revenue estimates, buybox offers, variants, and postal code geo-targeting.",
    "version": "0.0",
    "x-build-id": "g3vuN0olYsxwlo3Rn"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/doorma_10~amazon-product-scraper-search-sales-estimator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-doorma_10-amazon-product-scraper-search-sales-estimator",
        "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/doorma_10~amazon-product-scraper-search-sales-estimator/runs": {
      "post": {
        "operationId": "runs-sync-doorma_10-amazon-product-scraper-search-sales-estimator",
        "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/doorma_10~amazon-product-scraper-search-sales-estimator/run-sync": {
      "post": {
        "operationId": "run-sync-doorma_10-amazon-product-scraper-search-sales-estimator",
        "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": {
          "keywords": {
            "title": "Search Keywords",
            "type": "array",
            "description": "List of keywords to search on Amazon (e.g., [\"garlic press\", \"yoga mat\"]).",
            "items": {
              "type": "string"
            }
          },
          "asins": {
            "title": "ASINs",
            "type": "array",
            "description": "List of Amazon Standard Identification Numbers (ASINs) to scrape directly (e.g., [\"B08J7PQGD7\", \"B0BR3L78XN\"]).",
            "items": {
              "type": "string"
            }
          },
          "marketplace": {
            "title": "Amazon Marketplace Domain",
            "enum": [
              "com",
              "de",
              "es",
              "co.uk",
              "fr",
              "it",
              "ca",
              "com.mx",
              "co.jp",
              "com.au",
              "com.br",
              "in",
              "nl",
              "pl",
              "se",
              "com.tr",
              "ae",
              "sa",
              "sg",
              "com.be"
            ],
            "type": "string",
            "description": "Amazon marketplace domain TLD to scrape (e.g. com, de, es, co.uk, fr, it, ca, com.mx, co.jp). Default is com.",
            "default": "com"
          },
          "maxResultsPerKeyword": {
            "title": "Max results per keyword",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of products to scrape per search keyword.",
            "default": 100
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Amazon URLs to scrape. Supports product pages (/dp/ASIN), search result pages (/s?k=...), category pages (/b?node=...), and Best Sellers pages (/gp/bestsellers/...).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItemsPerStartUrl": {
            "title": "Max items per start URL",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of products to scrape per search or category start URL.",
            "default": 100
          },
          "maxSearchPagesPerStartUrl": {
            "title": "Max search pages per start URL",
            "minimum": 1,
            "maximum": 9999,
            "type": "integer",
            "description": "Maximum number of pagination pages to traverse for each search or category start URL.",
            "default": 9999
          },
          "scrapeProductDetails": {
            "title": "Scrape full product details",
            "type": "boolean",
            "description": "If enabled, visits each product page to extract all 50+ canonical fields (specifications, variants, reviews, A+ content, images). If disabled, outputs lightweight search/category listings directly.",
            "default": true
          },
          "language": {
            "title": "Language",
            "enum": [
              "en_US",
              "es_ES",
              "es_US",
              "de_DE",
              "fr_FR",
              "it_IT",
              "pt_BR",
              "ja_JP",
              "nl_NL",
              "pl_PL",
              "tr_TR",
              "ar_AE",
              "zh_CN"
            ],
            "type": "string",
            "description": "Language preference cookie for Amazon navigation (e.g. en_US, es_ES, de_DE, fr_FR, etc.).",
            "default": "en_US"
          },
          "countryCode": {
            "title": "Delivery Country Code",
            "type": "string",
            "description": "Two-letter country code for Amazon delivery address simulation (e.g., US, ES, DE, GB, MX, CA, FR, IT)."
          },
          "zipCode": {
            "title": "Delivery Zip Code",
            "type": "string",
            "description": "Destination postal code / zip code (e.g., 10001 for New York, 28001 for Madrid, 10115 for Berlin). Used to get local price, inventory, and delivery dates."
          },
          "locationDeliverableRoutes": {
            "title": "Location Deliverable Routes",
            "type": "array",
            "description": "Route types where the delivery location (zipCode and countryCode) should be configured.",
            "default": [
              "PRODUCT",
              "SEARCH",
              "OFFERS"
            ],
            "items": {
              "type": "string"
            }
          },
          "proxyCountry": {
            "title": "Proxy Country",
            "enum": [
              "AUTO_SELECT_PROXY_COUNTRY",
              "US",
              "GB",
              "DE",
              "FR",
              "ES",
              "IT",
              "CA",
              "MX",
              "JP",
              "AU",
              "BR",
              "IN",
              "NL",
              "SG",
              "AE",
              "SA",
              "TR",
              "PL",
              "SE",
              "BE"
            ],
            "type": "string",
            "description": "Select proxy country to match Amazon marketplace domain and avoid anti-scraping blocks.",
            "default": "AUTO_SELECT_PROXY_COUNTRY"
          },
          "useCaptchaSolver": {
            "title": "Use Amazon Captcha Solver",
            "type": "boolean",
            "description": "If enabled, detects Amazon captcha verification challenges on amazon.com, extracts the captcha image, and solves the token automatically. If disabled or failed, rotates IP session.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Apify Proxy configuration. Residential proxies matched with proxyCountry are strongly recommended for Amazon.",
            "default": {
              "useApifyProxy": true
            }
          },
          "maxOffers": {
            "title": "Max Offers per Product",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Number of alternative offers/sellers to extract from /gp/offer-listing/ASIN. Set to 0 to disable.",
            "default": 5
          },
          "scrapeSellers": {
            "title": "Scrape Seller Info",
            "type": "boolean",
            "description": "Whether to extract seller ID, seller name, and seller store URL.",
            "default": true
          },
          "scrapeProductVariantPrices": {
            "title": "Scrape Product Variant Prices",
            "type": "boolean",
            "description": "Extract prices for all product variants found in Twister data.",
            "default": false
          },
          "maxVariantsPerProduct": {
            "title": "Max Variants Per Product",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of product variant ASINs to scrape as separate rows. Set to 0 to only scrape parent ASIN.",
            "default": 0
          },
          "maxProductVariantsAsSeparateResults": {
            "title": "Max Product Variants As Separate Results",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Alias for maxVariantsPerProduct. Maximum number of product variant ASINs to enqueue as standalone product outputs. 0 disables variant crawling.",
            "default": 0
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}