APIs / Marketplaces / Lazada
1 credit per call4 endpoints16 datapoints
Lazada API
Lazada API for product search, reviews, shop profiles and shop products in six Southeast Asian countries as JSON, from 1 credit per call.
{
"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
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | item_idstring | sku_idstring | titlestring | imageurl | imagesstring[] | priceinteger | currencystring | locationstring | sellerobject | shop_idstring | brandobject | categoriesstring[] | in_stockboolean | urlurl | badgesobject | is_sponsoredboolean |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2756758840 | 18740374042 | Y113 Beexcellent GM-5 Gaming Headset for PS4 Xbox Nintendo Laptop Computer | https://sg-live-01.slatic.net/p/7e5d8bff884b98535980a83a503502be.jpg | [1 item] | 20 | SGD | Singapore | {2 fields} | 1177431 | {2 fields} | [3 items] | true | https://www.lazada.sg/products/pdp-i2756758840.html | {3 fields} | false |
| 2 | 2756860180 | 18740197645 | 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) | https://sg-live-01.slatic.net/p/e67243116aea33ab1ca66e0c79a4311a.jpg | [1 item] | 20 | SGD | Singapore | {2 fields} | 1177431 | {2 fields} | [3 items] | true | https://www.lazada.sg/products/pdp-i2756860180.html | {3 fields} | false |
| 3 | 3061728296 | 20908555182 | Audio Studio Wireless Headphones, Bluetooth Headphones with 30+ Hour Playtime and Custom EQ3 Sound, | https://sg-live-01.slatic.net/p/b2b7bf740cf8c3424e7737d75e8896b5.jpg | [1 item] | 20 | SGD | Singapore | {2 fields} | 99339 | {2 fields} | [3 items] | true | https://www.lazada.sg/products/pdp-i3061728296.html | {3 fields} | false |
[
{
"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
}
]item_id,sku_id,title,image,images,price,currency,location,seller,shop_id,brand,categories,in_stock,url,badges,is_sponsored
2756758840,18740374042,Y113 Beexcellent GM-5 Gaming Headset for PS4 Xbox Nintendo Laptop Computer,https://sg-live-01.slatic.net/p/7e5d8bff884b98535980a83a503502be.jpg,"[""https://sg-live-01.slatic.net/p/7e5d8bff884b98535980a83a503502be.jpg""]",20,SGD,Singapore,"{""id"":""1141476424"",""name"":""Sjelectronics""}",1177431,"{""id"":""39704"",""name"":""No Brand""}","[""10100387"",""154"",""156""]",true,https://www.lazada.sg/products/pdp-i2756758840.html,"{""lazmall"":false,""free_shipping"":false,""flash_sale"":false}",false
2756860180,18740197645,"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)",https://sg-live-01.slatic.net/p/e67243116aea33ab1ca66e0c79a4311a.jpg,"[""https://sg-live-01.slatic.net/p/e67243116aea33ab1ca66e0c79a4311a.jpg""]",20,SGD,Singapore,"{""id"":""1141476424"",""name"":""Sjelectronics""}",1177431,"{""id"":""39704"",""name"":""No Brand""}","[""10100387"",""154"",""156""]",true,https://www.lazada.sg/products/pdp-i2756860180.html,"{""lazmall"":false,""free_shipping"":false,""flash_sale"":false}",false
3061728296,20908555182,"Audio Studio Wireless Headphones, Bluetooth Headphones with 30+ Hour Playtime and Custom EQ3 Sound,",https://sg-live-01.slatic.net/p/b2b7bf740cf8c3424e7737d75e8896b5.jpg,"[""https://sg-live-01.slatic.net/p/b2b7bf740cf8c3424e7737d75e8896b5.jpg""]",20,SGD,Singapore,"{""id"":""1000008455"",""name"":""juzbuyla""}",99339,"{""id"":""39704"",""name"":""No Brand""}","[""10100387"",""154"",""157""]",true,https://www.lazada.sg/products/pdp-i3061728296.html,"{""lazmall"":false,""free_shipping"":false,""flash_sale"":false}",falseRecorded from our API · 3 items shown · 16 datapoints per itemGET /v1/lazada/search?query=headphones&country=sg&sort=price_asc&min_price=20&max_price=500
16 datapoints
Identity
- item_idstring
- sku_idstring
- titlestring
- shop_idstring
- brandobject
Contact
- sellerobject
- urlurl
Location
- locationstring
Reputation
- imageurl
- imagesstring[]
- badgesobject
Price
- priceinteger
- currencystring
Other
- categoriesstring[]
- in_stockboolean
- is_sponsoredboolean
Playground
Run this API
curl "https://api.perceptlayer.com/v1/lazada/search?query=headphones&country=sg&sort=price_asc&min_price=20&max_price=500" \
-H "X-API-Key: $API_KEY"Lazada · 4 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters and an example request.
| Endpoint | Required parameters | Cost |
|---|---|---|
GET/v1/lazada/reviews | item_id+4 optional | 1–3 credits |
GET/v1/lazada/search | none+10 optional | 2 credits |
GET/v1/lazada/shop | shop_id+1 optional | 2 credits |
GET/v1/lazada/shop-products | shop_id+6 optional | 2 credits |
Overview
About the Lazada API
What you can get
The Lazada API returns Lazada marketplace data as JSON through 4 endpoints. Each takes a country (sg, my, id, th, ph or vn).
- Search:
searchtakes aquery, withcategory,min_price,max_price,min_rating,local_only,lazmall_only,pageandsort(relevance, price_asc, price_desc or popularity). - Reviews:
reviewstakes anitem_id, withpage,ratingandsort(relevance or newest). - Shops:
shoptakes ashop_id.shop-productstakes ashop_id, withquery,min_price,max_price,pageand the samesortvalues assearch.
The recorded search for "headphones" in sg, between 20 and 500 sorted by price_asc, returns results, each with item_id, sku_id, title, image, price, currency, location, seller, shop_id, brand, categories, in_stock, url, badges (lazmall, free_shipping and flash_sale) and is_sponsored. It also returns pagination with has_next and total_results, and filters with categories and sorts.
How a call works
Search, then look up: GET /v1/lazada/search?query=headphones&country=sg&sort=price_asc&min_price=20&max_price=500 with your key in the X-API-Key header returns each product's item_id and shop_id; reviews takes the item_id, and shop and shop-products take the shop_id. Check has_next before asking for the next page. search, shop and shop-products cost 2 credits. reviews costs 1, or 3 when the reviews page takes a slower fetch. Failed calls cost nothing.
More marketplaces APIs
Use cases
Track Lazada prices for a product across six countries
Use the Lazada API to track Lazada prices for a product across six countriesCompare LazMall and marketplace sellers with `lazmall_only`
Use the Lazada API to compare LazMall and marketplace sellers with `lazmall_only`Watch a shop's products and prices with `shop-products`
Use the Lazada API to watch a shop's products and prices with `shop-products`Analyse reviews by rating, newest first
Use the Lazada API to analyse reviews by rating, newest firstFAQ
Questions
How much does the Lazada API cost?
`search`, `shop` and `shop-products` cost 2 credits per successful call. `reviews` costs 1, or 3 when the reviews page needs a slower fetch. Failed calls cost nothing. New accounts get free credits to start, and credit packs bring the price down as you scale.
Which countries does it cover?
Singapore, Malaysia, Indonesia, Thailand, the Philippines and Vietnam: pass `country` as sg, my, id, th, ph or vn.
Do I need a Lazada account?
No. You call this Lazada API with your Perceptlayer key in the `X-API-Key` header, with no Lazada login.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Should I build a Lazada scraper instead?
You can, but a Lazada scraper is code you maintain: page changes break it, requests get blocked, and Lazada's terms govern how you collect data. The Lazada API gives you 4 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the Lazada API with 100 free credits
No credit card. Failed calls are never billed.