> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapeunblocker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Scrape Lazada product search

> Searches a Lazada market (Singapore, Malaysia, Thailand, Philippines, Vietnam or Indonesia - `country`) for `query` and returns `products`, each with `position`, `itemId`, `skuId`, `name`, `price`, `priceText`, `originalPrice` (crossed-out price), `discountPercent`, `rating`, `reviewCount`, `sold` (units sold, as Lazada rounds it) and `soldText`, `brand`, `seller` / `sellerId`, `location` (ships from), `inStock`, `lazMall`, `freeShipping`, `sponsored`, `image` and `url`. Also `total` (results Lazada lets you page through), `matches` (all matches it reports), `currency` and `nextPage`. `sort` orders the results, `min_price` / `max_price` filter by price, `page` picks the first page and `max_results` collects across pages (40 a page). One unit per Lazada page read.



## OpenAPI

````yaml /api-reference/openapi.json post /marketplace/lazada-search
openapi: 3.1.0
info:
  title: ScrapeUnblocker API
  description: >-
    Public API for the ScrapeUnblocker proxy/anti-bot service. Authenticate
    every request with the `x-scrapeunblocker-key` header. Documented here:
    page-source extraction, Google SERP scraping, image fetch, and the dedicated
    plugin endpoints (search engines, marketplaces, reviews, travel, social and
    more). All other paths exist for internal operations and are intentionally
    hidden from this spec.
  version: 3.0.0
servers:
  - url: https://api.scrapeunblocker.com
    description: Production
security: []
paths:
  /marketplace/lazada-search:
    post:
      tags:
        - Plugins
      summary: Scrape Lazada product search
      description: >-
        Searches a Lazada market (Singapore, Malaysia, Thailand, Philippines,
        Vietnam or Indonesia - `country`) for `query` and returns `products`,
        each with `position`, `itemId`, `skuId`, `name`, `price`, `priceText`,
        `originalPrice` (crossed-out price), `discountPercent`, `rating`,
        `reviewCount`, `sold` (units sold, as Lazada rounds it) and `soldText`,
        `brand`, `seller` / `sellerId`, `location` (ships from), `inStock`,
        `lazMall`, `freeShipping`, `sponsored`, `image` and `url`. Also `total`
        (results Lazada lets you page through), `matches` (all matches it
        reports), `currency` and `nextPage`. `sort` orders the results,
        `min_price` / `max_price` filter by price, `page` picks the first page
        and `max_results` collects across pages (40 a page). One unit per Lazada
        page read.
      operationId: lazada_search_marketplace_lazada_search_post
      parameters:
        - name: query
          in: query
          required: true
          schema:
            type: string
            description: What to search for, e.g. 'iphone case' or 'air fryer'.
            title: Query
          description: What to search for, e.g. 'iphone case' or 'air fryer'.
        - name: country
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Lazada market: 'sg' (lazada.sg), 'my' (lazada.com.my), 'th'
              (lazada.co.th), 'ph' (lazada.com.ph), 'vn' (lazada.vn), 'id'
              (lazada.co.id). Default 'sg'. Prices are in that market's
              currency.
            title: Country
          description: >-
            Lazada market: 'sg' (lazada.sg), 'my' (lazada.com.my), 'th'
            (lazada.co.th), 'ph' (lazada.com.ph), 'vn' (lazada.vn), 'id'
            (lazada.co.id). Default 'sg'. Prices are in that market's currency.
        - name: sort
          in: query
          required: false
          schema:
            type: string
            description: 'Result order: relevance, price_asc, price_desc.'
            default: relevance
            title: Sort
          description: 'Result order: relevance, price_asc, price_desc.'
        - name: page
          in: query
          required: false
          schema:
            type: integer
            description: First Lazada results page to read (1-102).
            default: 1
            title: Page
          description: First Lazada results page to read (1-102).
        - name: min_price
          in: query
          required: false
          schema:
            anyOf:
              - type: number
              - type: 'null'
            description: Lowest price, in the market's currency.
            title: Min Price
          description: Lowest price, in the market's currency.
        - name: max_price
          in: query
          required: false
          schema:
            anyOf:
              - type: number
              - type: 'null'
            description: Highest price, in the market's currency.
            title: Max Price
          description: Highest price, in the market's currency.
        - name: max_results
          in: query
          required: false
          schema:
            type: integer
            description: >-
              Products to collect across pages, 1-400. A page holds 40 products;
              each page is one unit.
            default: 40
            title: Max Results
          description: >-
            Products to collect across pages, 1-400. A page holds 40 products;
            each page is one unit.
      responses:
        '200':
          description: JSON with a `products` array.
          content:
            application/json:
              schema: {}
        '400':
          description: Invalid parameters.
        '404':
          description: Lazada found no products for this search.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: >-
            Blocked by Lazada on every attempt, an unusable answer, or no answer
            in time.
      security:
        - ScrapeUnblockerKey: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ScrapeUnblockerKey:
      type: apiKey
      in: header
      name: x-scrapeunblocker-key
      description: Your ScrapeUnblocker API key. Apply on every request.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.