{
  "openapi": "3.0.1",
  "info": {
    "title": "Quince.com Price and Stock Scraper by Color Variant",
    "description": "Pull Quince.com products by search, department/category, or direct URL, with one record per color - current price, retail price, discount, stock, images, and the review summary.",
    "version": "1.0",
    "x-build-id": "tWTCLQr6cyOepSXyh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataspryva~quince-com-price-and-stock-scraper-by-color/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataspryva-quince-com-price-and-stock-scraper-by-color",
        "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/dataspryva~quince-com-price-and-stock-scraper-by-color/runs": {
      "post": {
        "operationId": "runs-sync-dataspryva-quince-com-price-and-stock-scraper-by-color",
        "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/dataspryva~quince-com-price-and-stock-scraper-by-color/run-sync": {
      "post": {
        "operationId": "run-sync-dataspryva-quince-com-price-and-stock-scraper-by-color",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byCategory",
              "byCollectionUrl",
              "byProductUrl"
            ],
            "type": "string",
            "description": "How to find products: keyword search, department/category browse, collection page URLs, or direct product URLs/IDs.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Keywords to search (used in Keyword Search mode). Leave empty to browse the whole catalog. Example: 'mongolian cashmere', 'linen pants'."
          },
          "department": {
            "title": "Department",
            "enum": [
              "",
              "Women",
              "Men",
              "Home",
              "Kids & Baby",
              "CPG",
              "Emerging",
              "Gift"
            ],
            "type": "string",
            "description": "Business department filter. Used by Browse by Department/Category; optional in other modes.",
            "default": ""
          },
          "category": {
            "title": "Category",
            "enum": [
              "",
              "Apparel",
              "Home",
              "Kids & Baby",
              "Jewelry",
              "Furniture",
              "Accessories",
              "Bags",
              "Beauty",
              "Shoes",
              "Lighting",
              "Travel",
              "Home Fragrance",
              "Boots",
              "Pants",
              "Throws & Blankets",
              "Pets",
              "Wellness",
              "Toys",
              "Oral Care",
              "Wine",
              "Perfume",
              "Flowers",
              "Fitness",
              "Food Gifts",
              "Gear & Essentials",
              "Cold Food"
            ],
            "type": "string",
            "description": "Product category filter such as Apparel, Home, Jewelry, Furniture, or Bags.",
            "default": ""
          },
          "subcategory": {
            "title": "Subcategory",
            "type": "string",
            "description": "Sub-department filter. Examples: Cashmere, Bedding, Rings, Sneakers. Matches Quince's sub-department facet."
          },
          "material": {
            "title": "Material",
            "type": "string",
            "description": "Material filter. Common values: Cashmere, Cotton, Linen, Organic Cotton, Silk, Wool, Leather, Denim, Bamboo, Polyester."
          },
          "color": {
            "title": "Color family",
            "enum": [
              "",
              "Blue",
              "Grey",
              "White",
              "Brown",
              "Black",
              "Tan",
              "Green",
              "Yellow",
              "Pink",
              "Multi",
              "Red",
              "Purple",
              "Orange"
            ],
            "type": "string",
            "description": "Primary color filter. Use this to narrow to a color family such as Black, Blue, or White.",
            "default": ""
          },
          "size": {
            "title": "Size",
            "type": "string",
            "description": "Exact size filter. Examples: XS, S, M, L, XL, XXL, 8, 10, One Size, Twin, Queen, King."
          },
          "productType": {
            "title": "Product type",
            "type": "string",
            "description": "Product type filter. Examples: Tops, Sweaters, Bottoms, Dresses, Bedding, Rings, Furniture."
          },
          "gender": {
            "title": "Gender",
            "enum": [
              "",
              "female",
              "male",
              "unisex"
            ],
            "type": "string",
            "description": "Gender filter.",
            "default": ""
          },
          "collectionUrls": {
            "title": "Collection page URLs",
            "type": "array",
            "description": "Quince collection/category page URLs or paths (used in Collection Page URLs mode). Every product on the collection is scraped, with full pagination. Example: https://www.quince.com/shop/women/sweaters",
            "items": {
              "type": "string"
            }
          },
          "productUrls": {
            "title": "Product URLs or IDs",
            "type": "array",
            "description": "Quince product page URLs or product IDs (used in Direct Product URLs mode). Example: https://www.quince.com/women/cashmere/cashmere-crewneck-sweater",
            "items": {
              "type": "string"
            }
          },
          "inStockOnly": {
            "title": "In-stock only",
            "type": "boolean",
            "description": "Only return colors that currently have at least one purchasable size.",
            "default": false
          },
          "onSaleOnly": {
            "title": "On-sale only",
            "type": "boolean",
            "description": "Only return colors whose current price is below Quince's traditional retail price.",
            "default": false
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Drop products rated below this average (1–5). Leave empty for no rating filter."
          },
          "minPrice": {
            "title": "Min price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Minimum current selling price. Leave at 0 for no minimum.",
            "default": 0
          },
          "maxPrice": {
            "title": "Max price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum current selling price. Leave at 100000 for no maximum.",
            "default": 100000
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "featured",
              "priceLowToHigh",
              "priceHighToLow",
              "newest",
              "oldest",
              "bestSelling"
            ],
            "type": "string",
            "description": "How to order results before applying maxItems.",
            "default": "featured"
          },
          "maxReviews": {
            "title": "Max reviews per product",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "How many of the newest reviews to include per product (0–50). Quince's public service returns at most 27 newest reviews. Set 0 to omit review text.",
            "default": 10
          },
          "maxItems": {
            "title": "Max records",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Maximum number of product-color records to return (1–20,000).",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}