{
  "openapi": "3.0.1",
  "info": {
    "title": "Adorama Scraper",
    "description": "Scrape Adorama products by keyword, listing URL (with or without filters), product URL, or whole category. Get prices, discounts, stock, condition, ratings, images, specs, and barcodes. Export to JSON, CSV, or Excel, or use the API.",
    "version": "0.0",
    "x-build-id": "R1hg8qpeM44Ek6ZIu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tigma~adorama-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tigma-adorama-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/tigma~adorama-scraper/runs": {
      "post": {
        "operationId": "runs-sync-tigma-adorama-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/tigma~adorama-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-tigma-adorama-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": {
          "productSources": {
            "title": "Product Sources",
            "type": "array",
            "description": "Enter search terms (for example <code>Sony camera</code>) or Adorama URLs, one per line. You can mix both. Supported URLs: search results, product listings (including Deals, Used, Open Box, and Clearance), Daily Deals (adorama.com/dailydeals), and product pages.<br><br><b>Basic product:</b> from search terms and listing URLs, with price, discounts, stock, condition, ratings, and images.<br><b>Full product:</b> from product page URLs, with everything in Basic plus barcode, variants, bundles, warranty, and shipping details. Full products cost more, because each one is collected from its own page.<br><br>Pages that only link to other categories return no products, so use <b>Scrape by Category</b> for those. Ignored when category scraping is on.",
            "default": [
              "Sony camera"
            ],
            "items": {
              "type": "string"
            }
          },
          "productsPerSource": {
            "title": "Products Per Source",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum products to collect from each search term or URL. Ignored when category scraping is on.",
            "default": 30
          },
          "totalProductsLimit": {
            "title": "Total Products Limit",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum products for the whole run, across all search terms and URLs. You pay only for the products you get, so this also caps your cost. Collection stops at whichever limit is reached first, so to get the full amount from every source, set this to at least <i>products per source × number of sources</i>. Ignored when category scraping is on.",
            "default": 50
          },
          "includeProductSpecifications": {
            "title": "Include Product Specifications",
            "type": "boolean",
            "description": "Add full technical specifications to every product, such as dimensions, weight, and compatibility. Applies to all products, Basic or Full, whether they come from Product Sources or Scrape by Category. <b>Specifications are charged as an extra per product.</b> Turn this off for faster, cheaper runs when you only need prices, stock, and ratings.",
            "default": false
          },
          "enableCategoryScraping": {
            "title": "Enable Category Scraping",
            "type": "boolean",
            "description": "Turn on to scrape the category selected below instead of Product Sources. Product Sources, Products Per Source, and Total Products Limit are then ignored, and the limits in this section apply. Include Product Specifications still applies.",
            "default": false
          },
          "category": {
            "title": "Category",
            "enum": [
              "Photography",
              "Lighting & Studio",
              "Computers",
              "Video",
              "Audio",
              "Home Electronics",
              "Musical Instruments",
              "Drones",
              "Optics & Binoculars"
            ],
            "type": "string",
            "description": "Top-level Adorama category to scrape.",
            "default": "Photography"
          },
          "productsPerSubcategory": {
            "title": "Products Per Subcategory",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum products to collect from each subcategory of the selected category.",
            "default": 50
          },
          "categoryTotalProductsLimit": {
            "title": "Category Total Products Limit",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum products for the whole category run. This also caps your cost. Collection stops at whichever limit is reached first.",
            "default": 500
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}