{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Lazada Scraper · 10,000 Free Products/Month",
    "description": "Lazada Scraper gets you Lazada product data ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — prices, discounts, ratings, units sold, variants and stores on all 6 storefronts. 💰 $0.50 per 1,000 products, no start fee. Scrape your first 10,000 products free every month 🚀",
    "version": "0.0",
    "x-build-id": "bU48sF9YpR5ehe0Mj"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~lazada-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-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/omkar-cloud~lazada-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-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/omkar-cloud~lazada-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-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": {
          "queries": {
            "title": "🔍 Search keywords",
            "type": "array",
            "description": "One search per line, exactly as you would type it on Lazada (raspberry pi, airpods pro, dyson). Each line is searched separately on the storefront you pick below.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Lazada links",
            "type": "array",
            "description": "Any Lazada link from any of the 6 storefronts, one per line: a search page (…/catalog/?q=iphone, its sort, price and rating filters are kept), a tag page (…/tag/iphone-15/), a category (…/shop-laptops/), a store (…/shop/apple/) or a product (…/products/…-i3544945444.html). A link sets its own storefront.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "🗂️ Categories",
            "type": "array",
            "description": "Category slugs (laptops, mobiles, shop-headphones) or category links, one per line. Every product in the category, with the filters below.",
            "items": {
              "type": "string"
            }
          },
          "stores": {
            "title": "🏬 Stores",
            "type": "array",
            "description": "Store keys (the part after /shop/ in a store link, e.g. apple) or store links, one per line. Every product the store sells.",
            "items": {
              "type": "string"
            }
          },
          "productIds": {
            "title": "🔢 Item IDs",
            "type": "array",
            "description": "Lazada item IDs (the digits after \"-i\" in a product link, e.g. 3544945444), one per line. Each one comes back as a full product from the storefront you pick below.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Storefront",
            "enum": [
              "sg",
              "my",
              "th",
              "vn",
              "ph",
              "id"
            ],
            "type": "string",
            "description": "Where to search keywords, categories, stores and item IDs. Prices come back in that storefront's currency. Links set their own storefront.",
            "default": "sg"
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "popularity",
              "price_asc",
              "price_desc"
            ],
            "type": "string",
            "description": "Order of the results (searches, categories and stores).",
            "default": "popularity"
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price in the storefront's currency (SGD on Singapore, MYR on Malaysia, ...). Searches and categories."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price in the storefront's currency. Searches and categories."
          },
          "minRating": {
            "title": "Minimum rating",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5"
            ],
            "type": "string",
            "description": "Only products rated at least this. Searches and categories."
          },
          "brand": {
            "title": "Brand ID",
            "type": "string",
            "description": "Only one brand: its Lazada brand ID, e.g. 127197227 for Apple (the number at the end of a brand link: …/apple-127197227/). Searches and categories."
          },
          "maxResults": {
            "title": "Maximum products per input",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many products for each line you entered. Lazada shows 40 products a page. Keeps your cost predictable.",
            "default": 100
          },
          "fullDetails": {
            "title": "Full details",
            "type": "boolean",
            "description": "Open every product for the full page: every variant's price and stock, all photos, specifications, description, seller rating and tags, rating breakdown, delivery options and warranties. Charged as an add-on per product; product links and item IDs are always full.",
            "default": false
          },
          "onlyNewProducts": {
            "title": "Only new products",
            "type": "boolean",
            "description": "Schedule the run and get only the products you have not received before for the same input.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}