{
  "openapi": "3.0.1",
  "info": {
    "title": "Zalora Scraper - SE Asia Fashion Products, Prices & Sellers",
    "description": "Scrape Zalora fashion products across Singapore, Malaysia, Philippines, Hong Kong & Indonesia — names, brands, prices, discounts, sizes, stock, images, sellers, ratings & reviews. Search by keyword, segment, brand, category or URL. Monitor price drops. No login or API key. Export JSON, CSV, Excel.",
    "version": "0.1",
    "x-build-id": "jp74Iz3hYxxyiuATP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapesage~zalora-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapesage-zalora-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/scrapesage~zalora-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapesage-zalora-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/scrapesage~zalora-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapesage-zalora-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": {
          "country": {
            "title": "Market / country",
            "enum": [
              "sg",
              "my",
              "ph",
              "hk",
              "id"
            ],
            "type": "string",
            "description": "Which Zalora marketplace to scrape. Each market returns its own catalog, currency and local pricing.",
            "default": "sg"
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Keywords to search the Zalora catalog, e.g. <code>running shoes</code>, <code>summer dress</code>, <code>Nike</code>. Each query is scraped independently.",
            "items": {
              "type": "string"
            }
          },
          "segments": {
            "title": "Segments (browse)",
            "type": "array",
            "description": "Browse whole catalog segments instead of (or in addition to) searching. Common values: <code>women</code>, <code>men</code>, <code>kids</code>. Combined with the sort and filters below.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Paste any Zalora URLs: product pages (<code>/p/...</code>), search pages (<code>?q=...</code>), brand pages (<code>/c/nike/b-126</code>), or segment/category pages (<code>/c/women</code>). Used in addition to the queries and segments above.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "popularity",
              "newest",
              "price_low_high",
              "price_high_low",
              "discount",
              "rating"
            ],
            "type": "string",
            "description": "Ordering of catalog/search results.",
            "default": "popularity"
          },
          "priceMin": {
            "title": "Min price",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep products whose current price is at least this amount (in the market's currency). 0 = no minimum.",
            "default": 0
          },
          "priceMax": {
            "title": "Max price",
            "minimum": 0,
            "type": "integer",
            "description": "Only keep products whose current price is at most this amount. 0 = no maximum.",
            "default": 0
          },
          "onSaleOnly": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Only keep products that are discounted (have a special / sale price).",
            "default": false
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Only keep products with an average rating at or above this value (0–5). 0 = no rating filter.",
            "default": 0
          },
          "brandIds": {
            "title": "Brand IDs",
            "type": "array",
            "description": "Filter by Zalora brand IDs (the number in a brand URL, e.g. <code>126</code> from <code>/c/nike/b-126</code>). Leave empty for all brands.",
            "items": {
              "type": "string"
            }
          },
          "colors": {
            "title": "Colours",
            "type": "array",
            "description": "Filter by colour, e.g. <code>black</code>, <code>white</code>, <code>red</code>, <code>blue</code>, <code>beige</code>.",
            "items": {
              "type": "string"
            }
          },
          "categoryId": {
            "title": "Category ID",
            "type": "string",
            "description": "Optional Zalora category ID to narrow a segment (e.g. clothing, shoes, bags). Advanced — read it from the catalog page's category facet."
          },
          "sellerIds": {
            "title": "Seller IDs",
            "type": "array",
            "description": "Filter to specific marketplace sellers / stores by Zalora seller ID (e.g. <code>13164</code> for adidas Singapore). Useful for tracking one merchant's catalog.",
            "items": {
              "type": "string"
            }
          },
          "includeProductDetails": {
            "title": "Include full product details",
            "type": "boolean",
            "description": "Open each product page to add the full description, every size with live stock, colour, attributes/specifications, care instructions, seller info, shipping & returns, full image gallery and review tags. Adds one fast page fetch per product.",
            "default": false
          },
          "maxItems": {
            "title": "Max products",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of products to scrape across all queries/segments. Keep modest for quick runs.",
            "default": 100
          },
          "maxItemsPerQuery": {
            "title": "Max products per query",
            "minimum": 0,
            "type": "integer",
            "description": "Optional cap per individual search query / segment / source. 0 = no per-query cap.",
            "default": 0
          },
          "monitorMode": {
            "title": "Monitor mode (only new / changed)",
            "type": "boolean",
            "description": "Remember products across runs and emit only NEW products and those whose price changed (tagged new / price_drop / price_increase). Pair with Apify Schedules to track prices and new arrivals automatically.",
            "default": false
          },
          "dedupStoreName": {
            "title": "Monitor store name",
            "type": "string",
            "description": "Key-value store name that holds the monitor state. Use a different name per saved search you want to track independently.",
            "default": "zalora-monitor"
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Parallel product-detail page fetches when 'Include full product details' is on.",
            "default": 6
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxies to use. Residential proxies pinned to the chosen market are strongly recommended — Zalora protects its site with PerimeterX and country-matched residential IPs are the most reliable.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}