Akses data publik Lazada Indonesia: pencarian produk dengan harga, diskon, rating, jumlah terjual, dan info penjual. Untuk riset harga & monitoring katalog.
searchpassing, 17.3s/v1/marketplace:lazada/search5m cache3 paramschecking key…// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";
const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });
const data = await client.run("marketplace:lazada", "search", {
"query": "laptop",
"page": 1,
"sort": "cheapest"
});
console.log(data);curl -X GET "https://api.zpi.web.id/v1/marketplace:lazada/search?query=laptop&page=1&sort=cheapest" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"/v1/marketplace:lazada/searchCari produk di Lazada Indonesia berdasarkan kata kunci. Mengembalikan harga, diskon, rating, jumlah terjual, dan info penjual per produk.querystringrequiredpagenumberoptionalsortenumoptionalcurl -X GET "https://api.zpi.web.id/v1/marketplace:lazada/search?query=laptop&page=1&sort=cheapest" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"page": 1,
"count": 40,
"items": [
{
"url": "https://www.lazada.co.id/products/pdp-i8402078335.html",
"name": "Laptop Lenovo G480 RAM 4GB HDD 320GB INTEL CELERON B820 MURAH",
"shop": {
"city": "Kota Tangerang",
"name": "Awan Notebook",
"shopId": "401776912089"
},
"brand": "Lenovo",
"image": "https://id-live-01.slatic.net/p/258fbc577ac7eda10b5e2eb0f424e4ce.jpg",
"price": 899000,
"rating": 4.583333333333333,
"inStock": true,
"soldText": "36 sold",
"listPrice": 1200000,
"priceText": "Rp899.000",
"productId": "8402078335",
"reviewCount": 12,
"discountPercent": 25
},
{
"url": "https://www.lazada.co.id/products/pdp-i8105376706.html",
"name": "Lenovo ThinkPad X1 Carbon 4Th/5Th/6Th Core I5/I7 Laptop + Bonus!!! Most Cheap, Most Smooth, Worth It to Buy",
"shop": {
"city": "Kota Jakarta Utara",
"name": "Grand Laptop",
"shopId": "401744560052"
},
"brand": "UNINICE",
"image": "https://id-live-01.slatic.net/p/ff91f40b21a75fb69f8d28d242525003.jpg",
"price": 3300000,
"rating": 5,
"inStock": true,
"soldText": "115 sold",
"priceText": "Rp3.300.000",
"productId": "8105376706",
"reviewCount": 68
},
{
"url": "https://www.lazada.co.id/products/pdp-i7632398683.html",
"name": "Laptop Hp Elitebook 830 G7 I7 Gen 10 32Gb/1Tb Ssd Slim Cool with Guarantee Ready to Use",
"shop": {
"city": "Kota Jakarta Barat",
"name": "Bestbrand Laptops",
"shopId": "401085104905"
},
"brand": "HP",
"image": "https://id-live-01.slatic.net/p/c7a36a81126795ea5a2f0993e10dcab7.jpg",
"price": 3500000,
"rating": 4.809523809523809,
"inStock": true,
"soldText": "54 sold",
"listPrice": 4650000,
"priceText": "Rp3.500.000",
"productId": "7632398683",
"reviewCount": 21,
"discountPercent": 25
}
],
"query": "laptop",
"hasMore": true,
"nextPage": 2,
"totalData": 3285,
"totalDataText": null
}