{
  "openapi": "3.0.1",
  "info": {
    "title": "ChicMe Scraper",
    "description": "Scrape ChicMe.com - search products, browse categories/collections with sorting, list all categories, or fetch full product detail by handle. Prices, sizes, colors, images, stock status. No login, no API key, no proxy required.",
    "version": "1.0",
    "x-build-id": "dpkrb3mjDLHY787fU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~chicme-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-chicme-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~chicme-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-chicme-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~chicme-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-chicme-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",
              "browseCollection",
              "listCollections",
              "byHandle",
              "relatedProducts"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Free-text product search (mode=search). ChicMe's quick-search returns up to 10 top matches.",
            "default": "summer dress"
          },
          "collectionHandle": {
            "title": "Category (mode=browseCollection)",
            "enum": [
              "all-products",
              "new-in",
              "new-in-week",
              "best-sellers",
              "trending-now",
              "clearance-sale",
              "last-chance-deals",
              "dresses",
              "bodycon-dresses",
              "essentialtops",
              "blouses-shirts",
              "bottoms-1",
              "denim-jeans",
              "jumpsuits-rompers-1",
              "matching-sets-1",
              "jackets-coats",
              "shoes",
              "sleep-to-lounge",
              "back-to-school",
              "basic-clothing"
            ],
            "type": "string",
            "description": "Pick a common ChicMe category. For a category not listed, use \"Custom category handle\" below instead.",
            "default": "dresses"
          },
          "customCollectionHandle": {
            "title": "Custom category handle (mode=browseCollection)",
            "type": "string",
            "description": "Overrides the dropdown above. Paste any ChicMe collection handle or full collection URL, e.g. `sleep-to-lounge` or `https://www.chicme.com/collections/sleep-to-lounge`. Use mode=listCollections to discover valid handles."
          },
          "sortBy": {
            "title": "Sort order (mode=browseCollection)",
            "enum": [
              "best-selling",
              "title-ascending",
              "title-descending",
              "price-ascending",
              "price-descending",
              "created-descending",
              "created-ascending",
              "manual"
            ],
            "type": "string",
            "description": "How to order products within the category.",
            "default": "best-selling"
          },
          "productHandles": {
            "title": "Product handles / URLs (mode=byHandle / relatedProducts)",
            "type": "array",
            "description": "ChicMe product handles or full product URLs, e.g. `floral-print-u-neck-long-sleeve-ribbed-tee-slim-fit-layering-top` or `https://www.chicme.com/products/<handle>`. For mode=byHandle these are looked up directly; for mode=relatedProducts each handle's \"customers also viewed\" recommendations (up to 10 per handle) are fetched instead.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "priceMin": {
            "title": "Min price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Drop products cheaper than this."
          },
          "priceMax": {
            "title": "Max price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Drop products more expensive than this."
          },
          "inStockOnly": {
            "title": "In stock only",
            "type": "boolean",
            "description": "Only emit products with at least one available variant. Not usable with mode=byHandle: ChicMe's single-product detail endpoint doesn't report stock status, so this drops everything in that mode.",
            "default": false
          },
          "onSaleOnly": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Only emit products that are genuinely marked down (have a `discountPercent` above 0).",
            "default": false
          },
          "discountMinPercent": {
            "title": "Min discount % ",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Only emit products marked down by at least this percentage, e.g. `20` for 20% off or more. Implies on-sale (products without a genuine markdown are dropped)."
          },
          "color": {
            "title": "Color contains",
            "type": "string",
            "description": "Only emit products with a variant color matching this text (case-insensitive, partial match), e.g. `black` or `floral print`."
          },
          "size": {
            "title": "Size equals",
            "type": "string",
            "description": "Only emit products with an available size exactly matching this (case-insensitive), e.g. `M`, `XL`, `2XL`."
          },
          "productType": {
            "title": "Product type (garment style)",
            "enum": [
              "A Line",
              "Accessories",
              "Active Pants",
              "Active Shorts",
              "Asymmetrical",
              "Babydolls",
              "Baseball",
              "Biker",
              "Blazer",
              "Blazer Sets",
              "Blouses",
              "Bodychain",
              "Bodycon",
              "Bodysuit",
              "Boots",
              "Bracelet",
              "Bralette",
              "Cami",
              "Cami Sets",
              "Cape",
              "Cardigan",
              "Cargo Pants",
              "Coat",
              "Cover Ups",
              "Crop Top",
              "Cuffed",
              "Denim",
              "Denim Jackets & Coats",
              "Denim Shorts",
              "Denim Skirts",
              "Ear Climber",
              "Earrings",
              "Flared",
              "Flared Pants",
              "Flat Sandals",
              "Flip Flops",
              "Heeled-Sandals",
              "High Waist",
              "Hoodie",
              "Hoop Earrings",
              "Jacket",
              "Jeans",
              "Jumpsuit",
              "Knit Sets",
              "Knit Top",
              "Layered/Tiered",
              "Leggings",
              "Mermaid",
              "Nightgown",
              "Onesie",
              "Pajamas Set",
              "Pants",
              "Pants Sets",
              "Pea Coat",
              "Pleated",
              "Puffer",
              "Pumps",
              "Regular",
              "Romper",
              "Shacket",
              "Shirt",
              "Shorts",
              "Shorts Set",
              "Skinny Pants",
              "Skirt",
              "Skirt Sets",
              "Slip-On",
              "Slippers",
              "Slit",
              "Smock",
              "Sneakers",
              "Socks",
              "Straight",
              "Straight Leg",
              "Suit Set",
              "Sweater",
              "Sweatpants",
              "Sweatpants Sets",
              "Sweatshirt",
              "Sweatshirt Sets",
              "Tank",
              "Tee",
              "Teddy",
              "Two-piece Sets",
              "Vest",
              "Wedge Shoes",
              "Wide Leg",
              "Work Pants",
              "Wrap"
            ],
            "type": "string",
            "description": "Pick a common ChicMe garment style/cut. For a style not listed, use \"Product type contains\" below instead."
          },
          "productTypeContains": {
            "title": "Product type contains (override)",
            "type": "string",
            "description": "Free-text override for the dropdown above (case-insensitive, partial match). Only emit products whose type matches this text, e.g. `Bodycon`, `A Line`, `Blazer`, `Jeans`, `Cardigan` (not `Dress` or `Sweater`, which are category names, not style types). Takes priority over \"Product type\" above when both are set."
          },
          "tagsInclude": {
            "title": "Tags include (any)",
            "type": "array",
            "description": "Only emit products that carry at least one of these tags (case-insensitive), e.g. `Floral`, `Fall`, `Party`. Tags vary widely per product — use mode=search or mode=browseCollection first to discover typical tags.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}