{
  "openapi": "3.0.1",
  "info": {
    "title": "SSENSE Scraper | Product Prices, Discounts and Stock",
    "description": "SSENSE scraper for luxury fashion prices and stock: type one designer and get 20 product rows in 4 seconds, 31 fields each. Price, full price and discount per storefront country, every size with stock, SKU and GTIN barcode, category path, colour, composition, origin and images. No account needed.",
    "version": "1.0",
    "x-build-id": "1tgHPQoJCoiMKtn6V"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~ssense-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-ssense-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/silentflow~ssense-scraper/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-ssense-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/silentflow~ssense-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-ssense-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": {
          "designers": {
            "title": "👗 Designers",
            "type": "array",
            "description": "Designer names as SSENSE writes them, one per line: <code>Maison Margiela</code>, <code>Rick Owens</code>, <code>The Row</code>, <code>Comme des Garçons</code>, or a designer link. Each designer returns its products up to the limit below, in the departments picked below. A large designer carries several hundred products per department.",
            "items": {
              "type": "string"
            }
          },
          "productIds": {
            "title": "🏷️ Product ids or links",
            "type": "array",
            "description": "Products to check, one per line: the SSENSE product id (<code>19662441</code>, the number at the end of every product link) or the product link itself. Ideal for a daily price and stock check of your own references. Every id returns its rows whatever the limit below, sold out products included. A product SSENSE no longer sells returns no row and is listed at the end of the log.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 SSENSE links",
            "type": "array",
            "description": "Links copied from ssense.com, with their filters:<ul><li>a designer, <code>https://www.ssense.com/en-us/men/designers/rick-owens</code></li><li>a category, <code>https://www.ssense.com/en-us/women/shoes</code> or <code>…/men/sneakers</code></li><li>the sale, <code>https://www.ssense.com/en-us/men/sale</code> or <code>…/women/sale/designers/the-row</code></li><li>a search, <code>https://www.ssense.com/en-us/women?q=cashmere+sweater</code></li><li>a product page, read like a product id above</li></ul>Each listing link returns its products up to the limit below.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searchQueries": {
            "title": "🔎 Search",
            "type": "array",
            "description": "Words to search SSENSE with, one search per line: <code>cashmere sweater</code>, <code>leather loafers</code>, <code>margiela tabi</code>. Each search returns its best matches up to the limit below. A search SSENSE cannot match returns no rows rather than random products.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "🌍 Storefront countries",
            "type": "array",
            "description": "SSENSE prices and discounts every product per country, in that country's currency, and markdowns differ from one storefront to the next. Pick one or more countries: each product gives one row per country, so three countries give three rows. Type any other country code (<code>fi</code>, <code>fin</code>) or English name (<code>Finland</code>) SSENSE ships to. Left empty, a link keeps its own storefront and everything else reads the United States.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "us",
                "ca",
                "gb",
                "fr",
                "de",
                "it",
                "es",
                "nl",
                "be",
                "ch",
                "at",
                "dk",
                "se",
                "no",
                "ie",
                "pl",
                "jp",
                "kr",
                "cn",
                "hk",
                "tw",
                "sg",
                "my",
                "th",
                "ph",
                "vn",
                "in",
                "au",
                "nz",
                "ae",
                "sa",
                "bh",
                "om",
                "il",
                "mx",
                "co",
                "ar",
                "pr"
              ],
              "enumTitles": [
                "United States",
                "Canada",
                "United Kingdom",
                "France",
                "Germany",
                "Italy",
                "Spain",
                "Netherlands",
                "Belgium",
                "Switzerland",
                "Austria",
                "Denmark",
                "Sweden",
                "Norway",
                "Ireland",
                "Poland",
                "Japan",
                "South Korea",
                "China",
                "Hong Kong",
                "Taiwan",
                "Singapore",
                "Malaysia",
                "Thailand",
                "Philippines",
                "Vietnam",
                "India",
                "Australia",
                "New Zealand",
                "United Arab Emirates",
                "Saudi Arabia",
                "Bahrain",
                "Oman",
                "Israel",
                "Mexico",
                "Colombia",
                "Argentina",
                "Puerto Rico"
              ]
            }
          },
          "department": {
            "title": "🚻 Department",
            "enum": [
              "all",
              "men",
              "women",
              "everything-else"
            ],
            "type": "string",
            "description": "Which department designers and searches read. <b>All departments</b> reads men, then women, then everything else until the limit is reached. Links keep the department written in them.",
            "default": "all"
          },
          "maxItems": {
            "title": "🔢 Max products per designer, search or link",
            "minimum": 1,
            "type": "integer",
            "description": "The most products returned for each designer, each search and each listing link. Each product gives one row per storefront country. Never cuts your list of product ids: every id always returns its rows.",
            "default": 50
          },
          "sort": {
            "title": "↕️ Sort",
            "enum": [
              "recommended",
              "newest",
              "trending",
              "priceAsc",
              "priceDesc",
              "discount"
            ],
            "type": "string",
            "description": "The order designers, searches and links are read in, as on SSENSE. <b>Latest arrivals</b> puts this week's new products first, <b>Biggest discount</b> the deepest markdowns. A link that already sorts keeps its own order.",
            "default": "recommended"
          },
          "saleOnly": {
            "title": "🏷️ Sale only",
            "type": "boolean",
            "description": "Read only the marked-down products of each designer, search and link, from SSENSE's sale section. Product ids are always read, on sale or not.",
            "default": false
          },
          "debugMode": {
            "title": "🐞 Debug mode",
            "type": "boolean",
            "description": "Write detailed progress to the log.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}