{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon Scraper All-in-One Product",
    "description": "Extract comprehensive product data from Amazon without proxy costs. This professional Amazon scraper provides 8 powerful scraping modes to gather product listings, reviews, best sellers, seller information, and more from Amazon marketplaces worldwide.",
    "version": "1.0",
    "x-build-id": "YHOU8khrYXRnQYRWf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/devil_port369-owner~amazon-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-devil_port369-owner-amazon-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/devil_port369-owner~amazon-scraper/runs": {
      "post": {
        "operationId": "runs-sync-devil_port369-owner-amazon-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/devil_port369-owner~amazon-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-devil_port369-owner-amazon-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": [
          "scraperType"
        ],
        "properties": {
          "scraperType": {
            "title": "Scraper Type",
            "enum": [
              "searchResults",
              "singleProduct",
              "productVariations",
              "sellerOffers",
              "bestSellers",
              "sellerDetails",
              "sponsoredProducts",
              "relatedSearches",
              "deals"
            ],
            "type": "string",
            "description": "Select the Amazon data mode: search, product details, variations, offers, best sellers, seller profiles, sponsored ads, related searches, or deals.",
            "default": "searchResults"
          },
          "geocode": {
            "title": "Marketplace (geocode)",
            "enum": [
              "us",
              "uk",
              "gb",
              "de",
              "fr",
              "es",
              "it",
              "ca",
              "jp",
              "in",
              "au",
              "ie",
              "za",
              "tr",
              "br",
              "mx",
              "nl",
              "be",
              "pl",
              "se",
              "ae",
              "sa",
              "sg",
              "eg"
            ],
            "type": "string",
            "description": "Amazon marketplace country code. ZIP-level: us, gb/uk, de, fr, it, es, ca, jp, in, ie, za. Country-level: au, tr, br, mx, nl, be, pl, se, ae, sa, sg, eg.",
            "default": "us"
          },
          "zipcode": {
            "title": "ZIP / Postal code",
            "type": "string",
            "description": "Delivery location for ZIP-level marketplaces (localizes price, stock, shipping). Examples: 10001 (US), SW1A 1AA (UK), 10115 (DE). Do not combine with countryName.",
            "default": "10001"
          },
          "countryName": {
            "title": "Country name (country-level marketplaces)",
            "type": "string",
            "description": "For marketplaces without ZIP-level delivery (e.g. au, tr, br). Use instead of zipcode. Do not pass the marketplace home country redundantly.",
            "default": ""
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "ISO 639-1 display language (e.g. EN, ES, DE, FR, JA, HI). US zipcode only works with EN or ES.",
            "default": ""
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "ISO 4217 display currency (USD, EUR, GBP, …). Amazon converts prices when supported.",
            "default": ""
          },
          "device": {
            "title": "Device",
            "enum": [
              "desktop",
              "mobile"
            ],
            "type": "string",
            "description": "desktop or mobile profile (bestsellers forces desktop).",
            "default": "desktop"
          },
          "searchQuery": {
            "title": "Search Query",
            "type": "string",
            "description": "Single keyword (optional if searchQueries is set)."
          },
          "searchQueries": {
            "title": "Search Queries (bulk)",
            "type": "array",
            "description": "Multiple keywords processed concurrently. Merged with searchQuery if both set.",
            "items": {
              "type": "string"
            }
          },
          "maxPages": {
            "title": "Max Pages",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Pages to scrape for search/deals. Best Sellers supports max 2 (positions 1–100).",
            "default": 3
          },
          "asins": {
            "title": "ASINs",
            "type": "array",
            "description": "Amazon ASINs (10 characters). Used by Single Product, Variations, Seller Offers.",
            "items": {
              "type": "string"
            }
          },
          "seller_ids": {
            "title": "Seller IDs",
            "type": "array",
            "description": "Amazon seller ids for Seller Details mode.",
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Category",
            "type": "string",
            "description": "Best Sellers category slug (marketplace-specific), e.g. electronics.",
            "default": "electronics"
          },
          "bestSellersType": {
            "title": "Chart type",
            "enum": [
              "bestsellers",
              "new-releases"
            ],
            "type": "string",
            "description": "bestsellers or new-releases.",
            "default": "bestsellers"
          },
          "node": {
            "title": "Category node id",
            "type": "string",
            "description": "Optional Amazon browse node id (deals / bestsellers / search refinement).",
            "default": ""
          },
          "lowPrice": {
            "title": "Low price filter",
            "type": "number",
            "description": "Optional minimum price for deals/search filters."
          },
          "highPrice": {
            "title": "High price filter",
            "type": "number",
            "description": "Optional maximum price for deals/search filters."
          },
          "maxOutput": {
            "title": "Max Output Items (per job)",
            "minimum": 0,
            "type": "integer",
            "description": "Max rows per search query / per mode job (0 = unlimited). Example: 2 queries + maxOutput 40 → up to 80 rows total.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}