{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon Product Details Scraper — ASINs, BSR, Buy Box",
    "description": "Paste ASINs or /dp/ links, get the full product page: BSR, buy box, every marketplace offer, variants priced individually, bullets, images, stock and estimated sales, across 21 Amazon markets. Delivery-aware prices by ZIP. Monitoring POSTs an alert when a price moves.",
    "version": "0.0",
    "x-build-id": "3ChyrvJ4XIY9CBcXJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~amazon-product-details-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-amazon-product-details-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/memo23~amazon-product-details-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-amazon-product-details-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/memo23~amazon-product-details-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-amazon-product-details-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",
        "properties": {
          "asins": {
            "title": "ASINs",
            "type": "array",
            "description": "The products to open, as ASINs — ten characters of A-Z and 0-9, e.g. <code>B0CX1234ZZ</code>. A <code>/dp/</code> URL pasted here works too. A malformed entry is reported in the log and skipped.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Product URLs",
            "type": "array",
            "description": "Amazon <code>/dp/</code> product URLs. The domain picks the marketplace, so a mix of markets in one list is fine. A search or category URL works as well, but keyword discovery belongs in <a href=\"https://apify.com/memo23/amazon-search\">Amazon Search &amp; Product Scraper</a>.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "marketplaces": {
            "title": "🌍 Marketplaces",
            "type": "array",
            "description": "Which Amazon marketplaces the keyword / ASIN queries run on. Prices come back in the marketplace currency with the ISO code attached. Start URLs ignore this and use the domain in the URL.",
            "items": {
              "type": "string",
              "enum": [
                "com",
                "co.uk",
                "de",
                "fr",
                "it",
                "es",
                "ca",
                "com.au",
                "co.jp",
                "in",
                "nl",
                "se",
                "pl",
                "com.be",
                "ae",
                "com.mx",
                "com.tr",
                "sg",
                "com.br",
                "sa",
                "eg"
              ],
              "enumTitles": [
                "amazon.com (US)",
                "amazon.co.uk (UK)",
                "amazon.de (Germany)",
                "amazon.fr (France)",
                "amazon.it (Italy)",
                "amazon.es (Spain)",
                "amazon.ca (Canada)",
                "amazon.com.au (Australia)",
                "amazon.co.jp (Japan)",
                "amazon.in (India)",
                "amazon.nl (Netherlands)",
                "amazon.se (Sweden)",
                "amazon.pl (Poland)",
                "amazon.com.be (Belgium)",
                "amazon.ae (UAE)",
                "amazon.com.mx (Mexico)",
                "amazon.com.tr (Turkey)",
                "amazon.sg (Singapore)",
                "amazon.com.br (Brazil)",
                "amazon.sa (Saudi Arabia)",
                "amazon.eg (Egypt)"
              ]
            },
            "default": [
              "com"
            ]
          },
          "enrichDetails": {
            "title": "Full product details",
            "type": "boolean",
            "description": "Open each product page for BSR, variants, buy box, bullets, images, stock, estimated monthly sales, question count and the technical-details block. Billed per enriched product.",
            "default": true
          },
          "maxOffers": {
            "title": "Marketplace offers per product",
            "minimum": 0,
            "type": "integer",
            "description": "How many other-seller offers to collect per product — price, condition, seller and delivery. 0 collects none. Billed per offer.",
            "default": 0
          },
          "scrapeProductVariantPrices": {
            "title": "Scrape product variant prices",
            "type": "boolean",
            "description": "Fetch each variant's /dp/ page and write price / priceValue onto the parent's variants[] list. Extra fetches — leave off unless you need those prices.",
            "default": false
          },
          "maxProductVariantsAsSeparateResults": {
            "title": "Maximum product variants as separate results",
            "minimum": 0,
            "type": "integer",
            "description": "Fetch other colour/size ASINs and emit each as its own row (parentAsin set). 0 keeps variants only on the parent. Each extra row is a normal product result.",
            "default": 0
          },
          "countryCode": {
            "title": "Delivery country code",
            "type": "string",
            "description": "ISO country for Amazon's delivery location (e.g. US, DE, GB). Combined with zip code. Prices and availability follow this address when Amazon honours it."
          },
          "zipCode": {
            "title": "Delivery zip / postal code",
            "type": "string",
            "description": "Postal code for Amazon's delivery location (e.g. 10001). Prices and availability follow this address when Amazon honours it. With a zip code or a delivery country set, each product scraped is billed as a Delivery location event ($0.0005)."
          },
          "locationDeliverableRoutes": {
            "title": "Apply delivery location on",
            "type": "array",
            "description": "Which page types get the zip/country. Default is product pages, search, and offers.",
            "items": {
              "type": "string",
              "enum": [
                "PRODUCT",
                "SEARCH",
                "OFFERS"
              ],
              "enumTitles": [
                "Product detail",
                "Search / category",
                "Offers"
              ]
            },
            "default": [
              "PRODUCT",
              "OFFERS"
            ]
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "de",
              "fr",
              "es",
              "it",
              "ja",
              "nl",
              "pl",
              "pt",
              "sv",
              "tr",
              "ar"
            ],
            "type": "string",
            "description": "Accept-Language hint (en, de, fr, es, it, ja, nl, pl, pt, sv, tr, ar). If the marketplace does not speak it, Amazon falls back to the domain default."
          },
          "maxItems": {
            "title": "Max products (whole run)",
            "minimum": 1,
            "type": "integer",
            "description": "Hard ceiling of product rows across the whole run. Also capped by your plan and charge limit."
          },
          "monitorMode": {
            "title": "📡 Monitor mode",
            "enum": [
              "off",
              "price-changes",
              "buybox-changes",
              "all-changes"
            ],
            "type": "string",
            "description": "Schedule the same input to receive only what changed. \"Price changes\" emits new products and price moves; \"Buy Box changes\" also emits winner, FBA and stock moves (turns on product-page enrich); \"All changes\" adds rating and review-count moves. The first run builds the baseline and returns all products. Runs that find no changes publish no billable rows.",
            "default": "off"
          },
          "monitorName": {
            "title": "📡 Monitor name",
            "type": "string",
            "description": "Stable name for the monitoring baseline — use the same name (with the same queries/marketplaces) on every scheduled run of the same watch. Example: \"competitor-asins-us\"."
          },
          "webhookUrl": {
            "title": "🔔 Change webhook URL (optional)",
            "pattern": "^https?://.+",
            "type": "string",
            "description": "HTTPS endpoint that receives a JSON POST with the changed rows whenever a monitor run finds changes (never on the first baseline run). Works with Slack incoming webhooks, Zapier/Make catch hooks, or your own backend. Payload: { event: \"amazon-products.changes\", monitorName, totalChanges, countsByChangeType, rows }. Example: \"https://hooks.zapier.com/hooks/catch/123/abc\"."
          },
          "proxyCountry": {
            "title": "Proxy country",
            "type": "string",
            "description": "Override the residential exit country (ISO2, e.g. us, de, gb). Leave empty to pin the exit to the Amazon domain (recommended)."
          },
          "concurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many listing pages to fetch in parallel (1–20). The default is safe for any memory size.",
            "default": 6
          },
          "proxy": {
            "title": "Proxy (optional override)",
            "type": "object",
            "description": "Leave unset for the built-in residential setup (recommended: Amazon blocks datacenter IPs). To use your own proxies instead, pick \"Own proxies\" and paste their URLs; Apify Proxy groups set here are ignored."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}