APIs / Lazada / Search

Lazada: Search

Search from Lazada as JSON. 2 credits per successful call.

GET /v1/lazada/search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringOptionalUp to 120 characters
countrystringOptionalsg, my, id, th, ph, vn
pageintegerOptionalAny
categorystringOptionalUp to 120 characters
sortstringOptionalrelevance, price_asc, price_desc, popularity
min_pricenumberOptionalAny
max_pricenumberOptionalAny
min_ratingintegerOptionalAny
local_onlybooleanOptionalAny
lazmall_onlybooleanOptionalAny

Example request

Lazada
GET/v1/lazada/search?query=headphones&country=sg&sort=price_asc&min_price=20&max_price=500
{
  "success": true,
  "data": {
    "query": "headphones",
    "country": "sg",
    "currency": "SGD",
    "results": [
      {
        "item_id": "2756758840",
        "sku_id": "18740374042",
        "title": "Y113 Beexcellent GM-5 Gaming Headset for PS4 Xbox Nintendo Laptop Computer",
        "image": "https://sg-live-01.slatic.net/p/7e5d8bff884b98535980a83a503502be.jpg",
        "images": [
          "https://sg-live-01.slatic.net/p/7e5d8bff884b98535980a83a503502be.jpg"
        ],
        "price": 20,
        "currency": "SGD",
        "location": "Singapore",
        "seller": {
          "id": "1141476424",
          "name": "Sjelectronics"
        },
        "shop_id": "1177431",
        "brand": {
          "id": "39704",
          "name": "No Brand"
        },
        "categories": [
          "10100387",
          "154",
          "156"
        ],
        "in_stock": true,
        "url": "https://www.lazada.sg/products/pdp-i2756758840.html",
        "badges": {
          "lazmall": false,
          "free_shipping": false,
          "flash_sale": false
        },
        "is_sponsored": false
      },
      {
        "item_id": "2756860180",
        "sku_id": "18740197645",
        "title": "Y101 Gaming Headset PC780 with Microphone 3.5mm Plextone PC780 LED Light Headphones Surround Stereo Bass HD Earphone for Gamer PC, Xbox Series X/S, PS5, PS4 Mac, Mobile and VR (Black and Blue)",
        "image": "https://sg-live-01.slatic.net/p/e67243116aea33ab1ca66e0c79a4311a.jpg",
        "images": [
          "https://sg-live-01.slatic.net/p/e67243116aea33ab1ca66e0c79a4311a.jpg"
        ],
        "price": 20,
        "currency": "SGD",
        "location": "Singapore",
        "seller": {
          "id": "1141476424",
          "name": "Sjelectronics"
        },
        "shop_id": "1177431",
        "brand": {
          "id": "39704",
          "name": "No Brand"
        },
        "categories": [
          "10100387",
          "154",
          "156"
        ],
        "in_stock": true,
        "url": "https://www.lazada.sg/products/pdp-i2756860180.html",
        "badges": {
          "lazmall": false,
          "free_shipping": false,
          "flash_sale": false
        },
        "is_sponsored": false
      },
      {
        "item_id": "3061728296",
        "sku_id": "20908555182",
        "title": "Audio Studio Wireless Headphones, Bluetooth Headphones with 30+ Hour Playtime and Custom EQ3 Sound,",
        "image": "https://sg-live-01.slatic.net/p/b2b7bf740cf8c3424e7737d75e8896b5.jpg",
        "images": [
          "https://sg-live-01.slatic.net/p/b2b7bf740cf8c3424e7737d75e8896b5.jpg"
        ],
        "price": 20,
        "currency": "SGD",
        "location": "Singapore",
        "seller": {
          "id": "1000008455",
          "name": "juzbuyla"
        },
        "shop_id": "99339",
        "brand": {
          "id": "39704",
          "name": "No Brand"
        },
        "categories": [
          "10100387",
          "154",
          "157"
        ],
        "in_stock": true,
        "url": "https://www.lazada.sg/products/pdp-i3061728296.html",
        "badges": {
          "lazmall": false,
          "free_shipping": false,
          "flash_sale": false
        },
        "is_sponsored": false
      }
    ],
    "pagination": {
      "page": 1,
      "per_page": 40,
      "has_next": true,
      "total_results": 4080,
      "total_results_capped": true
    },
    "filters": {
      "categories": [
        {
          "slug": "shop-over-ear-headphones",
          "title": "Over-Ear Headphones"
        },
        {
          "slug": "shop-on-ear-headphones",
          "title": "On-Ear Headphones"
        },
        {
          "slug": "shop-in-ear-headphones",
          "title": "In-Ear Headphones"
        }
      ],
      "sorts": [
        "relevance",
        "price_asc",
        "price_desc"
      ]
    }
  },
  "meta": {
    "endpoint_family": "search",
    "request_id": "req_d55915c114b04fdaa8e9ea3c44be67bc",
    "credits_charged": 2,
    "credits_remaining": 1931
  }
}
200 OKJSONX-Credits-Used: 2
Recorded from our API and shortened.

Run this endpoint in the playground with your own parameters. 2 credits per successful call; failed calls are free.