{
  "openapi": "3.0.1",
  "info": {
    "title": "Mytheresa Scraper — Per-Size Stock, Composition & Prices",
    "description": "Scrape mytheresa.com luxury fashion by category, designer or sale. Full size ladder with real per-size availability, prices, markdowns, colour, images and category tree. Full mode adds composition, care, fit, measurements and the designer's own colourway name.",
    "version": "0.1",
    "x-build-id": "pXQ4eQj7RcpsKAOf7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/studio-amba~mytheresa-scraper-v2/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-studio-amba-mytheresa-scraper-v2",
        "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/studio-amba~mytheresa-scraper-v2/runs": {
      "post": {
        "operationId": "runs-sync-studio-amba-mytheresa-scraper-v2",
        "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/studio-amba~mytheresa-scraper-v2/run-sync": {
      "post": {
        "operationId": "run-sync-studio-amba-mytheresa-scraper-v2",
        "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": "Depth",
            "enum": [
              "index",
              "full"
            ],
            "type": "string",
            "description": "Fast (index) reads Mytheresa's listing API only — up to 120 products per request, under a second each. It already includes real per-size stock. Full adds one product-page request per item to pick up composition, care instructions, fit notes, garment measurements and the designer colour name, at roughly one product per second.",
            "default": "index"
          },
          "categorySlugs": {
            "title": "Category slugs",
            "uniqueItems": true,
            "type": "array",
            "description": "Mytheresa category paths, relative to the section and WITHOUT a locale or leading section. Valid: 'clothing', 'clothing/dresses', 'shoes', 'bags', 'accessories', 'sale', 'sale/clothing', 'new-arrivals', 'designers/gucci', 'designers/gucci/bags'. Not valid: '/women/clothing' or '/euro/en/women/clothing'. Leave empty and specify nothing else to browse the section's whole catalogue.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keyword filter",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only products whose name, designer, description, category or colour contains one of these words, e.g. 'cashmere', 'loafer'. This is a filter over what the actor browses, NOT a query to Mytheresa's search engine — their search endpoint checks the client's TLS fingerprint and is unreachable from a Node actor, so this scraper browses the category tree instead. Pair it with a category and enough Max items, because a narrow keyword against a small category returns nothing.",
            "items": {
              "type": "string"
            }
          },
          "designer": {
            "title": "Designer",
            "type": "string",
            "description": "Filter to one designer, in plain language ('Gucci', 'Saint Laurent', 'Dolce&Gabbana'). Resolved to Mytheresa's own designer page, so you get that designer's whole assortment for the chosen section."
          },
          "section": {
            "title": "Section",
            "enum": [
              "women",
              "men",
              "kids"
            ],
            "type": "string",
            "description": "Which side of the catalogue to read. This is a required header on Mytheresa's API, and a product only resolves under its own section — a women's product looked up as men's comes back as not found.",
            "default": "women"
          },
          "market": {
            "title": "Market",
            "enum": [
              "BE",
              "NL",
              "FR",
              "IE",
              "IT",
              "ES",
              "DE",
              "AT",
              "GB",
              "US",
              "INT"
            ],
            "type": "string",
            "description": "Which Mytheresa storefront to read. Assortment AND currency differ per market, so this is a real choice and not just a currency switch — the women's clothing catalogue runs 16,765 items on International and 18,342 on US.",
            "default": "BE"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 200000,
            "type": "integer",
            "description": "Maximum number of products to return across all categories.",
            "default": 100
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "recommendation",
              "new_item",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "Mytheresa accepts exactly these four. Anything else makes their gateway return a server error, so other values are rejected here rather than passed through.",
            "default": "recommendation"
          },
          "onlySale": {
            "title": "Only discounted items",
            "type": "boolean",
            "description": "Keep only products that carry a real markdown. With no category specified this also switches the default browse to Mytheresa's sale listing (around 49,000 items).",
            "default": false
          },
          "onlyInStock": {
            "title": "Only items with a size in stock",
            "type": "boolean",
            "description": "Drop products where every size is sold out. Mytheresa lists sold-out sizes rather than hiding them, which is exactly why this actor reports per-size stock — turn this on if you only want buyable products.",
            "default": false
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "type": "integer",
            "description": "Only return products at or above this price, in the market's own currency."
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "type": "integer",
            "description": "Only return products at or below this price, in the market's own currency."
          },
          "filtersQueryParams": {
            "title": "Facet filters (advanced)",
            "type": "string",
            "description": "Raw facet filter string passed to Mytheresa, e.g. 'colors=black' or 'materials=Cashmere&sizesHarmonized=M'. Facet names are categories, colors, designers, materials, sizesHarmonized, fit and rise. Values are case-sensitive: 'materials=Silk' matches, 'materials=silk' returns nothing."
          },
          "pageSize": {
            "title": "Products per request",
            "minimum": 12,
            "maximum": 120,
            "type": "integer",
            "description": "Mytheresa clamps this to a maximum of 120 and a minimum of 12. Leave at the maximum unless you are deliberately slowing the crawl down.",
            "default": 120
          },
          "requestDelayMs": {
            "title": "Delay between requests (ms)",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Pacing between API calls. Mytheresa's gateway stalls on roughly 4% of requests under load, so a small delay makes long runs noticeably more reliable. The actor retries stalled requests regardless.",
            "default": 250
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Deliberately ignored, and off by default. Mytheresa's API answers a direct request in about half a second with no cookies at all, while residential exits are badly scored against Akamai-fronted luxury sites and measured worse than direct. Kept for Apify Store compatibility."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}