{
  "openapi": "3.0.1",
  "info": {
    "title": "Woot Scraper",
    "description": "Scrape Woot.com daily deals - browse or search live offers across Electronics, Computers, Home, Tools, Sport, Grocery, Shirt.Woot and Clearance, fetch offer detail by slug/URL, and pull active site-wide events. Prices, discounts, images, stock status, ratings.",
    "version": "1.0",
    "x-build-id": "zTvBpgp8IEzoAE4US"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~woot-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-woot-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/crawlerbros~woot-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-woot-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/crawlerbros~woot-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-woot-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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byOfferSlugs",
              "activeEvents",
              "byEventSlugs"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "keyword": {
            "title": "Keyword (mode=search)",
            "type": "string",
            "description": "Free-text search across offer titles (e.g. `headphones`, `air fryer`). Leave empty to browse a category or all deals.",
            "default": ""
          },
          "category": {
            "title": "Category",
            "enum": [
              "all",
              "tech",
              "pc",
              "home",
              "sport",
              "tools",
              "grocery",
              "shirt",
              "wine",
              "sellout",
              "woot"
            ],
            "type": "string",
            "description": "Restrict to one Woot category/sub-site. `all` searches every category. Also used as the category for mode=activeEvents.",
            "default": "all"
          },
          "sortBy": {
            "title": "Sort by (mode=search)",
            "enum": [
              "BestSelling",
              "DiscountPercentage",
              "NewestFirst",
              "PriceHighToLow",
              "PriceLowToHigh"
            ],
            "type": "string",
            "description": "Result ordering. Applied within each fetch pass; when `soldOutFilter` is `any`, sold-out and in-stock offers are fetched as two separate passes (sold-out first) and each pass is independently sorted, so the combined output is not one continuous global sort across the sold-out/in-stock boundary. With `excludeSoldOut` or `onlySoldOut` (a single pass) the sort is fully global.",
            "default": "BestSelling"
          },
          "soldOutFilter": {
            "title": "Sold-out filter",
            "enum": [
              "excludeSoldOut",
              "any",
              "onlySoldOut"
            ],
            "type": "string",
            "description": "Whether to include sold-out offers.",
            "default": "excludeSoldOut"
          },
          "minPrice": {
            "title": "Min sale price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop offers whose sale price is below this."
          },
          "maxPrice": {
            "title": "Max sale price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop offers whose sale price is above this."
          },
          "minDiscountPercentage": {
            "title": "Min discount %",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Drop offers discounted less than this percentage off list price."
          },
          "condition": {
            "title": "Condition filter",
            "type": "string",
            "description": "Only keep offers whose condition contains this text (case-insensitive), e.g. `New`, `Refurbished`, `Reconditioned`. Offers without a condition attribute always pass."
          },
          "color": {
            "title": "Color filter (mode=search)",
            "type": "string",
            "description": "Restrict to offers with this exact item color/finish (case-insensitive, e.g. `Black`, `Blue`, `White`). Applied server-side via Woot's own `Color` facet, so it narrows the source results (not just a post-filter). Color values vary per product line, so this is free text rather than a fixed dropdown; leave blank to include every color. Not available in mode=byOfferSlugs or mode=activeEvents."
          },
          "offerSlugs": {
            "title": "Offer slugs or URLs (mode=byOfferSlugs)",
            "type": "array",
            "description": "Woot offer slugs (e.g. `philips-g3-wired-over-ear-gaming-headphones`) or full offer URLs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "eventSlugs": {
            "title": "Event slugs or URLs (mode=byEventSlugs)",
            "type": "array",
            "description": "Woot event slugs (e.g. `samsung-hw-q990f`) or full event URLs (`woot.com/events/<slug>`). Returns every individual offer that belongs to that event/Woot-Off/multi-item sale -- useful for grabbing a whole themed sale in one call instead of guessing offer slugs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 40
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}