{
  "openapi": "3.0.1",
  "info": {
    "title": "Lazada Scraper & Price Tracker: Products, Prices, Sold",
    "description": "Lazada scraper for all 6 storefronts (VN, ID, MY, PH, TH, SG): price, discount, rating, sold count, seller and rank. Optional product details and reviews. Price monitoring: unchanged products free. Proxy included. $1.50 per 1,000 products; blocked searches free.",
    "version": "0.1",
    "x-build-id": "chIxkaX5lXpPqZ5Ra"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/quanta1810~lazada-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-quanta1810-lazada-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/quanta1810~lazada-scraper/runs": {
      "post": {
        "operationId": "runs-sync-quanta1810-lazada-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/quanta1810~lazada-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-quanta1810-lazada-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": {
          "searchQueries": {
            "title": "Search keywords",
            "type": "array",
            "description": "What you would type in the Lazada search box — one keyword per line. Each keyword is searched in every country you pick below.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Lazada storefronts to search. Each keyword × country is one search.",
            "items": {
              "type": "string",
              "enum": [
                "vn",
                "id",
                "my",
                "ph",
                "th",
                "sg"
              ],
              "enumTitles": [
                "Vietnam (lazada.vn)",
                "Indonesia (lazada.co.id)",
                "Malaysia (lazada.com.my)",
                "Philippines (lazada.com.ph)",
                "Thailand (lazada.co.th)",
                "Singapore (lazada.sg)"
              ]
            },
            "default": [
              "sg"
            ]
          },
          "startUrls": {
            "title": "…or Lazada search / category URLs",
            "type": "array",
            "description": "Optional: paste Lazada search or category page URLs (with your filters already applied on the website). The country is taken from the URL.",
            "items": {
              "type": "string"
            }
          },
          "maxProductsPerSearch": {
            "title": "Max products per search",
            "minimum": 1,
            "maximum": 4080,
            "type": "integer",
            "description": "Stop each search after this many products (40 per page; Lazada shows at most 4,080 per search). Cost: $0.0015 per product, so 100 products ≈ $0.15.",
            "default": 100
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "popularity",
              "priceasc",
              "pricedesc"
            ],
            "type": "string",
            "description": "Order of the search results, as on the Lazada website.",
            "default": "popularity"
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "type": "integer",
            "description": "Optional, in the storefront's currency (VND, IDR, MYR, PHP, THB, SGD)."
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "type": "integer",
            "description": "Optional, in the storefront's currency."
          },
          "includeSponsored": {
            "title": "Include sponsored listings",
            "type": "boolean",
            "description": "Ads shown in the results (marked isSponsored). Turn off to keep only organic results.",
            "default": true
          },
          "includeDetails": {
            "title": "Add product details",
            "type": "boolean",
            "description": "Also open each product's page and add: full description, highlights, category path, brand, variant options (e.g. colour / size) with their SKU ids and images, gallery images and availability. Per-variant prices and stock are not on Lazada's public page and are not included. Slower: about 10–60 s per product page, a few at a time. Billing: only when the Pricing tab lists the \"Product details\" event — then that event is charged once per product page actually read (failed pages are free). If the Pricing tab does not list it yet, this option is ignored: rows say detailStatus \"skipped\" and nothing extra is charged.",
            "default": false
          },
          "includeReviews": {
            "title": "Add reviews",
            "type": "boolean",
            "description": "Also add each product's reviews: star rating, review text, date, the variant bought, helpful votes, photo links, the seller's reply, plus the product's rating breakdown (5★…1★). Reviewer names and accounts are not collected. Only products that have reviews are looked up. Billing: only when the Pricing tab lists the \"Review\" event — then it is charged once per review delivered. If the Pricing tab does not list it yet, this option is ignored: rows say reviewsStatus \"skipped\" and nothing extra is charged.",
            "default": false
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Stop after this many reviews per product (Lazada's default order, 50 per request; at most 200).",
            "default": 10
          },
          "monitorMode": {
            "title": "Price-change monitoring",
            "type": "boolean",
            "description": "Remember every product's price and stock, and on the next run return only NEW products and products whose price, original price or stock CHANGED. Unchanged products are not charged. Schedule the Actor (e.g. daily) to track competitors.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Use a different name for each product list you track. Stored in a key-value store named lazada-scraper-monitor in your own account.",
            "default": "default"
          },
          "includeUnchanged": {
            "title": "List unchanged products too",
            "type": "boolean",
            "description": "Also add a row for unchanged products (status \"unchanged\", not charged).",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Keep the default (Apify Proxy, group UNBLOCKER): it clears Lazada's anti-bot check, measured at 97.8% of searches returning products over 178 searches in October 2026. Proxy cost is included in the per-product price - you are not billed extra for it. Turning the proxy off makes most searches hit the anti-bot check. If the UNBLOCKER group is not available on your Apify plan, the run continues without proxy.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "UNBLOCKER"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}