Lazada Scraper: Products & Prices (SEA)
A live-tested lazada scraper guide - product JSON-LD, sitemap discovery at 10,000 URLs a shard, and the honest answer on prices and reviews.

On this page
Lazada is Alibaba’s Southeast Asian marketplace, and most guides treat it like a fortress: rotating proxies, unblocker APIs, headless browser farms. I ran a lazada scraper against it on 2026-10-29 from a home connection and found a split verdict. Product pages hand over a clean Product JSON-LD block to any polite static fetch, but the two things in this page’s title, prices and reviews, are not in that payload at all. They load at runtime from a token-gated API, and when I escalated to a headless browser to chase them, Lazada served me a reCAPTCHA.
Everything below ran on 2026-10-29 against lazada.sg; sites change, so re-test before you build on this.
All commands use Magpie, a local CLI scraper (free, AGPL/commercial dual license). Static fetch handled everything that worked; no proxies, no accounts.
The lay of the land
Lazada runs six country domains: lazada.sg, lazada.com.my, lazada.co.th, lazada.co.id, lazada.com.ph, and lazada.vn. Same platform, same page templates, separate product catalogs and sitemaps. The bare www.lazada.com 301s to a regional /en/ site; when I curled its robots.txt, I got an Alibaba WAF block page (a redirect to g.alicdn.com/sd/punish/waf_block.html) instead of a robots file. The country subdomains served me fine all day, so pick your market’s domain and stay on it.
The robots.txt of www.lazada.sg is 221 bytes and almost empty:
User-agent: *
Disallow: /wow/gcp/sg/member/login-signup
Disallow: /undefined/
Disallow: */undefined/$
Disallow: */undefined$
User-agent: OAI-SearchBot
Allow: /
User-agent: GPTBot
Allow: /
User-agent: ChatGPT-User
Allow: /
That is the entire file. Product pages, search, seller shops, all allowed for *, no Crawl-delay. Lazada explicitly invites the AI crawlers in, which tells you the site is not trying to wall off polite fetchers; it walls off volume. There is no Sitemap line in robots.txt, but /sitemap.xml exists, and it is where the real inventory hides.
What a Lazada scraper gets from a product page
A product URL looks like https://www.lazada.sg/products/<slug>-i2500528121.html, where the i-number is the product ID. One plain GET returns a big page (306 KB for a Canon camera bundle) with two JSON-LD blocks, Product and BreadcrumbList, plus a cleaned markdown body. The Canon page cleans to 1,159 words: title, the seller’s promo description, and a full specifications table. Thinner listings clean to 180-230 words.
Here is the Product block from the Canon listing, a bundle I pulled off the sitemap; the shampoo and monitor pages carried the same fields, minus the return policy:
| JSON-LD field | Canon EOS R10 (2026-10-29) |
|---|---|
name |
Canon EOS R10 Mirrorless Camera with 18-150mm Lens + … |
brand |
{"@type": "Brand", "name": "Canon", "url": ".../canon-127198858/?type=brand"} |
sku |
2500528121_SGAMZ-15140909837 (product ID + platform suffix) |
mpn |
2500528121 (the product ID again) |
category |
Cameras & Drones |
description |
Seller promo text, unicode bold and all |
offers.availability |
https://schema.org/InStock |
offers.seller |
Organization, name: "" (empty) |
offers.hasMerchantReturnPolicy |
applicableCountry SG, return not permitted |
offers.price |
absent |
aggregateRating / review |
absent |
Magpie can flatten that into a typed record with zero LLM and no key:
$ magpie scrape "https://www.lazada.sg/products/canon-eos-r10-mirrorless-camera-with-18-150mm-lens-32gb-card-bag-15-months-canon-singapore-warranty-i2500528121.html" --vertical ecommerce_product
{
"vertical": "ecommerce_product",
"record": {
"availability": "https://schema.org/InStock",
"brand": "Canon",
"currency": "",
"name": "Canon EOS R10 Mirrorless Camera with 18-150mm Lens + ...",
"price": null,
"url": "https://www.lazada.sg/products/...-i2500528121.html"
}
}
(abridged; the real record carries the full title and URL)
Notice what the record cannot give you: price is null because the source JSON-LD has no price. Magpie is not dropping it; Lazada never sends it.
Where the price actually lives
This is the section most Lazada tutorials skip, and it decides whether your project is feasible.
I grepped the full 306 KB Canon HTML for price data: zero "price" JSON fields, zero ratingValue, zero reviewCount. The static page has the catalog card but not the commerce numbers. Those arrive after page load, when the page’s JavaScript calls an internal API; the static HTML references Alibaba’s mtop gateway 48 times, and that API needs session tokens the page computes in the browser.
The obvious next move, render the page headlessly and scrape the DOM, is where Lazada pushes back. My first render (a listing page) came back fine, just site chrome. The product-page render came back with a modal: “We need to check if you are a robot”, a reCAPTCHA checkbox over a price-less page. The rendered markdown was byte-for-byte the same 1,159 words as the static fetch, minus the captcha. So the headless browser is not an escalation path here; it is the thing that gets flagged.
Your realistic options, ranked by how much I would trust them:
- Decide you do not need live prices. For taxonomy, catalog overlap, seller directories, or brand mapping, the JSON-LD record plus specs is genuinely useful and free. Availability is in the payload too, so stock-change monitoring on a fixed list of products works without a single price.
- Buy the unblocker. ScrapingBee, Bright Data, Decodo, and Apify all sell Lazada-specific scrapers that run their own proxy and CAPTCHA infrastructure. This works; it is also metered per request, and you are renting someone else’s cat-and-mouse win. The vendor trade-offs are their own comparison: see /alternatives/apify and /alternatives/scrapingbee.
- Use the official Open Platform, if you are a seller. open.lazada.com is Lazada’s developer portal: register an app, get an app key and secret, call
/products/getthrough their SDK. The catch is scope: the product APIs are seller-scoped, meaning you pull your own shop’s data, not the whole marketplace. For competitor research it is useless; for automating your own listings it is the right tool. - Reverse the mtop API yourself. People do it. It involves token computation and breaks without notice, and it is far past the “polite scraper” line this site draws. I am not covering it.
The honest summary: a lazada scraper built on polite static fetches gets products, brands, SKUs, categories, and specs. Prices require either money (option 2), seller status (option 3), or fragility (option 4).
Finding product URLs: the sitemap machine
Lazada does not make you guess URLs. /sitemap.xml on each country domain is an index; on lazada.sg it lists 32 sitemaps, and lazada.com.my lists 31. The interesting sets:
| Sitemap | Contents |
|---|---|
sitemap-products-order-last-30days-* |
Recently ordered products: 235 gz shards, 10,000 URLs each, up to 2.35 million URLs for one country’s last 30 days |
sitemap-pdp-basic, -lazmall, -review, -choice |
Products segmented by program (LazMall, Choice, reviewed) |
sitemap-sellers-*.xml.gz |
Seller shops: 3 shards x 10,000 /shop/<name>/ URLs |
sitemap-categories-* |
Category and brand landing pages |
sitemap-tag-* |
SEO tag pages (mostly dead ends; see below) |
Magpie expands the whole index for you:
$ magpie map "https://www.lazada.sg/sitemap.xml" --format lines | head -1000 > urls.txt
$ head -1 urls.txt
https://www.lazada.sg/products/3d-european-door-sticker-...-i2468432579.html
One staleness warning before you loop over that file. The “last 30 days” product sitemap looked fresh (lastmod the day before my test), but of 17 URLs I sampled from it, only 7 still resolved: ten were 404 “no longer available” pages. Sellers delist fast, and sitemap entries outlive them. My two-URL sample from lazada.com.my went 0-for-2. Plan for a HEAD-request pre-filter (or just let each magpie scrape fail fast on the 404s) and expect roughly half of any old shard to be dead.
The pages that never render
Lazada is a JavaScript-first shop, and its listing surfaces are all client-side. On a static fetch, every one of these returned HTTP 200 with a real page shell and then “quality blocked (empty)” in Magpie, because the cleaned text is empty:
| Page type | What a static fetch gets |
|---|---|
/catalog/?q=coffee+maker |
301 to /tag/coffee-maker/, then a JS shell. No results. |
/tag/<term>/ |
58 KB shell whose <title> is one random product’s name; zero product links in the HTML |
Category landings (/shop-...) |
Shell, no listings |
Seller shops (/shop/<name>/) |
116 KB shell, no product grid |
Brand pages (/<brand>/?type=brand) |
Shell |
| Homepage | Works: 959 words of categories and promos |
The tag-page quirk is worth knowing for SEO work: these pages exist to rank, and their title tags are borrowed from a top product, so do not trust titles from tag URLs in any dataset you build.
There is no search, no category browse, no seller crawl available politely. If your use case starts with “get all products in category X”, the sitemap shards are the only door, and they are not organized by category.
Rate reality and staying unblocked
Across about two dozen static requests on test day (products, sitemaps, shells) at 1-3 second intervals from a residential IP, I saw zero challenges, zero WAF pages, and zero rate-limit responses on the country domains. The WAF exists (see the www.lazada.com punish page and the product-render reCAPTCHA), but it did not fire on polite static traffic.
Three habits that keep it that way:
- Sleep 2-3 seconds between requests. Magpie’s
crawlauto-throttles, but ascrapeloop is your throttle:
while read -r u; do
magpie scrape "$u" --out "$(basename "$u" .html).json"
sleep 3
done < urls.txt
- Stay on one country domain per session. The six domains share infrastructure, and scraping all six in parallel from one IP is exactly the pattern bot filters exist for.
- Do not add a headless browser to the loop. As shown above, that is what triggers the reCAPTCHA, not the request volume.
The legal frame (Lazada’s terms, what robots.txt does and does not mean) is covered in is web scraping legal and robots.txt for web scraping. I am not a lawyer; those pages are not legal advice either.
FAQ
Is scraping Lazada legal?
Public product data is the low-risk end of a contested field, but Lazada’s terms of service prohibit automated access, and that matters at commercial scale. Read is web scraping legal, keep the volume polite, and get proper advice before you build a business on it.
Does Lazada have an official API?
Yes: the Lazada Open Platform (open.lazada.com). It is seller- and ISV-facing: you register an app, receive an app key and secret, and call endpoints like /products/get scoped to your own shop. There is no public read-the-whole-marketplace API.
Why is the price missing from my Lazada scrape?
Prices, ratings, reviews, and sold counts are not in the static HTML or the JSON-LD. They load from a runtime API that requires browser-computed tokens. Static scrapers cannot see them; headless browsers get a reCAPTCHA.
Can I scrape Lazada product reviews?
Not statically. Reviews are absent from the Product JSON-LD and from the page source; they arrive through the same runtime API as prices. The vendor scrapers sell review extraction; politely, this is a dead end as of October 2026.
Which Lazada domain should I scrape?
The one whose market you want: each of the six country domains has its own catalog, sellers, and currency. All of them share the same page templates and sitemap structure, so a pipeline built for lazada.sg needs only its domain and product-ID space changed for another.
Where to take this next
If Lazada taught your team that ecommerce scraping is mostly discovery and parsing discipline, the same playbook works on friendlier ground: the Amazon price tracker guide covers a site where prices are in the static payload, and the Amazon scraper guide maps that site’s walls. For monitoring a handful of Lazada product pages for description or availability changes, Magpie’s watch mode with webhooks does the job; for price monitoring specifically, competitor website monitoring covers the general setup and where price data has to come from when the site refuses to serve it.


