{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon Scraper API: Products, Search, Offers & Reviews",
    "description": "Amazon products, search results, seller offers, and reviews as JSON, from 10 marketplaces. Price, rating, Best Sellers Rank, buy box, specs, and images. No login.",
    "version": "1.0",
    "x-build-id": "GB1aZWemWaGnX7hZk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/clair-api~amazon-scraper-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-clair-api-amazon-scraper-api",
        "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/clair-api~amazon-scraper-api/runs": {
      "post": {
        "operationId": "runs-sync-clair-api-amazon-scraper-api",
        "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/clair-api~amazon-scraper-api/run-sync": {
      "post": {
        "operationId": "run-sync-clair-api-amazon-scraper-api",
        "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": {
          "searches": {
            "title": "Searches",
            "type": "array",
            "description": "One per line: a product keyword, as typed into Amazon. Each is one call to Search (/v1/amazon/search). Amazon product cards for a keyword or category.",
            "items": {
              "type": "string"
            }
          },
          "searchPages": {
            "title": "Result pages per search",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many pages to read for each input, 1 to 10. Every row on them is charged.",
            "default": 1
          },
          "asins": {
            "title": "Products",
            "type": "array",
            "description": "One per line: a 10-character ASIN. Each is one call to Product details (/v1/amazon/product). Full detail page for one ASIN.",
            "items": {
              "type": "string"
            }
          },
          "offerAsins": {
            "title": "Offers",
            "type": "array",
            "description": "One per line: an ASIN whose sellers' offers to list. Each is one call to Product offers (/v1/amazon/offers). Every seller offering one ASIN, new and used.",
            "items": {
              "type": "string"
            }
          },
          "reviewAsins": {
            "title": "Reviews",
            "type": "array",
            "description": "One per line: an ASIN whose reviews to read. Each is one call to Product reviews (/v1/amazon/reviews). Top customer reviews and the star breakdown for one ASIN, outside amazon.com.",
            "items": {
              "type": "string"
            }
          },
          "reviewsMarketplace": {
            "title": "Reviews marketplace",
            "enum": [
              "gb",
              "ca",
              "au",
              "in",
              "de",
              "es",
              "nl",
              "be",
              "jp"
            ],
            "type": "string",
            "description": "The marketplace to read reviews from. amazon.com is not offered: it shows reviews only to signed-in visitors.",
            "default": "gb"
          },
          "sort_by": {
            "title": "Sort by",
            "type": "string",
            "description": "relevance (default), price_low_to_high, price_high_to_low, reviews, newest, or best_sellers. Applies to Searches."
          },
          "min_price": {
            "title": "Minimum price",
            "type": "string",
            "description": "Lowest price, in the marketplace currency. Applies to Searches."
          },
          "max_price": {
            "title": "Maximum price",
            "type": "string",
            "description": "Highest price, in the marketplace currency. Applies to Searches."
          },
          "brand": {
            "title": "Brand",
            "type": "string",
            "description": "Brand name, e.g. Logitech. No commas. Applies to Searches."
          },
          "prime": {
            "title": "Prime only",
            "type": "boolean",
            "description": "true for Prime-eligible items only. Amazon US only; other countries return 400. Applies to Searches."
          },
          "min_rating": {
            "title": "Minimum rating",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "4 for Amazon's 4 Stars & Up filter. Applies to Searches."
          },
          "condition": {
            "title": "Condition",
            "type": "string",
            "description": "new, used, or renewed. A condition the marketplace does not offer returns 400. Applies to Searches."
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Marketplace: us (default), gb, ca, au, in, de, es, nl, be, or jp. Sets the Amazon domain, currency, and request location. Applies to Searches and Products and Offers."
          },
          "zip_code": {
            "title": "ZIP code",
            "type": "string",
            "description": "Delivery postal code in that country, e.g. 10001. Prices, stock, delivery dates, and the buy-box seller follow it."
          },
          "maxConcurrency": {
            "title": "Parallel calls",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Inputs called at once, 1 to 10.",
            "default": 5
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}