{
  "openapi": "3.0.1",
  "info": {
    "title": "Adidas & Lululemon Activewear Catalog Tracker",
    "description": "Read adidas US and Lululemon UK, Germany, France, Luxembourg, Hong Kong and Japan stores. Collect product catalogs by search or category, or paste product URLs for full detail: prices by color and size, stock availability, ratings, fabric, care, country of manufacture and images.",
    "version": "1.0",
    "x-build-id": "UMzYnCfMm2qDPNcFh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/xyrelith-data~adidas-lululemon-activewear-catalog-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-xyrelith-data-adidas-lululemon-activewear-catalog-tracker",
        "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/xyrelith-data~adidas-lululemon-activewear-catalog-tracker/runs": {
      "post": {
        "operationId": "runs-sync-xyrelith-data-adidas-lululemon-activewear-catalog-tracker",
        "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/xyrelith-data~adidas-lululemon-activewear-catalog-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-xyrelith-data-adidas-lululemon-activewear-catalog-tracker",
        "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": {
          "brand": {
            "title": "Brand",
            "enum": [
              "adidas",
              "lululemon"
            ],
            "type": "string",
            "description": "Which activewear store to read. Adidas uses the US catalog; Lululemon uses the market selected under Lululemon options.",
            "default": "adidas"
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byCategory",
              "productUrls"
            ],
            "type": "string",
            "description": "Search by keyword, browse a category, or fetch specific product URLs. Each mode uses the matching list below.",
            "default": "search"
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Keywords for mode=search, for example `ultraboost`, `samba`, `define jacket` or `align leggings`. Every query is paged until maxItems is reached.",
            "items": {
              "type": "string"
            },
            "default": [
              "ultraboost"
            ]
          },
          "categories": {
            "title": "Categories or listing slugs",
            "type": "array",
            "description": "For mode=byCategory. Adidas accepts listing slugs such as `women-shoes`, `women-shoes-black` or `men-running`; Lululemon accepts category URLs or Demandware category IDs such as `womens-tops`.",
            "items": {
              "type": "string"
            },
            "default": [
              "women-shoes"
            ]
          },
          "productUrls": {
            "title": "Product URLs or IDs",
            "type": "array",
            "description": "For mode=productUrls. Adidas product URLs or article IDs (e.g. `KK1153`); Lululemon product URLs or product IDs (e.g. `prod11020158`).",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "adidasSort": {
            "title": "Adidas sort order",
            "enum": [
              "relevance",
              "price-low-to-high",
              "price-high-to-low",
              "newest-to-oldest",
              "top-sellers"
            ],
            "type": "string",
            "description": "Sort used for Adidas search and category pages.",
            "default": "relevance"
          },
          "includeReviews": {
            "title": "Include Adidas reviews",
            "type": "boolean",
            "description": "When on, each scraped Adidas product also emits customer review rows with rating summaries. Ignored for Lululemon.",
            "default": false
          },
          "maxReviews": {
            "title": "Maximum reviews (total)",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Total review rows allowed across all Adidas products. Only used when Include Adidas reviews is on.",
            "default": 50
          },
          "maxReviewsPerProduct": {
            "title": "Maximum reviews per product",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Review rows allowed for each Adidas product. Only used when Include Adidas reviews is on.",
            "default": 10
          },
          "reviewSort": {
            "title": "Review order",
            "enum": [
              "newest",
              "highestRated",
              "lowestRated"
            ],
            "type": "string",
            "description": "How to order the Adidas reviews collected in this run. Adidas returns newest first; the other two values sort the fetched rows by rating.",
            "default": "newest"
          },
          "lululemonSort": {
            "title": "Lululemon sort order",
            "enum": [
              "relevance",
              "bestsellers",
              "new-arrivals",
              "price-low-to-high",
              "price-high-to-low"
            ],
            "type": "string",
            "description": "Sort used for Lululemon search and category pages. Availability of a specific order can vary by storefront.",
            "default": "relevance"
          },
          "lululemonMarket": {
            "title": "Lululemon market",
            "enum": [
              "UK",
              "DE",
              "FR",
              "LU",
              "HK",
              "JP"
            ],
            "type": "string",
            "description": "Storefront and currency for Lululemon search and category runs. Product URLs detect their own market.",
            "default": "UK"
          },
          "includeDetails": {
            "title": "Enrich catalog rows with product detail",
            "type": "boolean",
            "description": "For search and category modes, fetch each product page for sizes, colors, fabric, care and ratings. Slower but much richer. Product URL mode always fetches detail.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum products",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after this many product rows. Review rows are counted separately.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}