Lazada API & Scraper: parameters and responses
This is the reference for the 2 Lazada endpoints under /lazada/v1 (product and catalog_ids) and their 5 parameters. Each endpoint lists its parameters, required or optional, with allowed values and defaults, and comes with a cURL, Python and JavaScript call; every response uses the same { ok, data, meta, error } envelope.
The Lazada API returns one Lazada product at a time as clean JSON from any of its six Southeast Asian storefronts: Singapore, Malaysia, Thailand, Indonesia, Vietnam and the Philippines.
🤖 Using an AI assistant? Copy this link into ChatGPT / Claude / Cursor — it reads every endpoint and parameter instantly and tells you if this API fits your use case.
You pass an item id and a country, and product returns the title, a numeric price with the currency and Lazada's own display string, brand, the numeric seller id, category path, description, images, every SKU and variant axis, availability and the per-order purchase limit. catalog_ids returns item ids with canonical URLs from the product feed each storefront publishes, so you can start without ids. There is no keyword search: you ask by id, not by word, and rating, review count and the seller's name come back null because Lazada does not publish them on the product document.
Six storefronts, six currencies, one item id per country
The country parameter picks the storefront, and each is its own marketplace with its own catalogue, sellers and currency.
| country | Storefront | Currency |
|---|---|---|
| sg | lazada.sg (Singapore) | SGD |
| my | lazada.com.my (Malaysia) | MYR |
| th | lazada.co.th (Thailand) | THB |
| id | lazada.co.id (Indonesia) | IDR |
| vn | lazada.vn (Vietnam) | VND |
| ph | lazada.com.ph (Philippines) | PHP |
price is a number and price_display keeps the string Lazada prints: on 2026-11-08 a Sony headset on lazada.sg read 35.52 and $35.52, and an ELLE watch on lazada.co.id read 2179000 and Rp2.179.000. IDR and VND have no minor unit, so the Indonesian figure is two million, not two thousand.
Real request and response JSON
Captured from the indexed primary action, product, on .
{
"method": "POST",
"url": "https://api.reefapi.com/lazada/v1/product",
"headers": {
"x-api-key": "$REEF_KEY",
"content-type": "application/json"
},
"body": {
"itemId": "3478876886",
"country": "sg"
}
}{
"ok": true,
"meta": {
"api": "lazada",
"endpoint": "product",
"mode": "live",
"latency_ms": 2607.6,
"record_count": 1,
"bytes": 265922,
"cache_hit": false,
"url": "https://www.lazada.sg/products/pdp-i3478876886.html",
"country": "sg",
"waf_retries": 0,
"charged_credits": 3,
"version": "2.0.0",
"request_id": "f6e9634acfa6454e",
"queue_ms": 1.4,
"fetched_at": "2026-11-03T17:32:10.568Z"
},
"data": {
"product": {
"item_id": "3478876886",
"sku_id": "23022460605",
"title": "Sony MDR-ZX110AP Extra Bass Wired Headphones with Mic Foldable Earphone Sport Headset Game Earbuds",
"url": "https://www.lazada.sg/products/sony-mdr-zx110ap-extra-bass-wired-headphones-with-mic-foldable-earphone-sport-headset-game-earbuds-i3478876886.html",
"country": "sg",
"currency": "SGD",
"price": 35.52,
"price_display": "$35.52",
"list_price": null,
"list_price_display": null,
"discount_percent": null,
"availability": "InStock",
"in_stock": true,
"stock_quantity": null,
"purchase_limit": {
"max": 5,
"min": 1
},
"brand": "Sony",
"brand_id": "61403",
"brand_url": "https://www.lazada.sg/sony/",
"seller": {
"id": "1193984462",
"name": null,
"url": null,
"rating": null,
"review_count": null
},
"rating": null,
"review_count": null,
"rating_scale": null,
"sold_count": null,
"category": "Headphones & Headsets",
"category_path": [
"Audio",
"Headphones & Headsets"
],
"category_id": "155",
"description": "Sony MDR-ZX110AP Wired On-Ear Headphones Cross-Border Product Description Product Overview Upgrade your daily audio experience with the authentic Sony MDR-ZX110AP closed-back wired on-ear headphones, a cost-effective daily audio staple tailored for global users including students, office workers, commuters and casual music lovers. Designed by Sony professional audio team, this entry-level headphone balances premium sound quality, all-day wearing comfort, ultra-portable folding structure and practical hands-free calling function. Compatible with mainstream smartphones, tablets, laptops, MP3 pla",
"description_html": "<article><p><span>Sony MDR-ZX110AP Wired On-Ear Headphones Cross-Border Product Description</span></p><p><span>Product Overview</span></p><p><span>Upgrade your daily audio experience with the authentic Sony MDR-ZX110AP closed-back wired on-ear headphones, a cost-effective daily audio staple tailored for global users including students, office workers, commuters and casual music lovers. Designed by Sony professional audio team, this entry-level headphone balances premium sound quality, all-day wearing comfort, ultra-portable folding structure and practical hands-free calling function. Compatibl",
"images": [
"https://laz-img-sg.alicdn.com/p/27d59068b7edbef64775bee51d4d6e67.png",
"https://laz-img-sg.alicdn.com/p/79f9e34802e7a9495fa625179545a943.png",
"https://laz-img-sg.alicdn.com/p/bcd8cd7710e03a082133a539ab2c5d7b.png"
],
"image": "https://laz-img-sg.alicdn.com/p/27d59068b7edbef64775bee51d4d6e67.png",
"video": null,
"variants": null,
"skus": [
{
"sku_id": "23022460605",
"item_id": "3478876886",
"category_id": "155",
"image": "https://laz-img-sg.alicdn.com/p/27d59068b7edbef64775bee51d4d6e67.png",
"purchase_limit": {
"max": "[trimmed-depth]",
"min": "[trimmed-depth]"
}
}
],
"sku": "3478876886_SGAMZ-23022460605",
"mpn": "3478876886",
"return_policy": "MerchantReturnNotPermitted"
}
}
}What the Lazada API does
| Action | Description | Concrete use case | Key params |
|---|---|---|---|
| product | Full product detail for one Lazada item id: title, numeric price with the currency and the exact string Lazada displays, brand, seller id, the full 3-level category path, description as clean text and as the original HTML, the whole image gallery, the product video where one exists, every SKU and variant axis, schema.org sku/mpn, the return-policy code and Lazada's per-order purchase limit. Measured 2026-10-06 over 37 live products from all six marketplaces and six currencies: 20 of those field groups arrived on 37/37, brand on 35/37 (two were genuinely unbranded), variants on 27/37 and a video on 12/37. 🔴 Lazada does NOT publish rating, review count, seller NAME, list price, discount or stock quantity on this document — those exist only on its listing surface, which this API does not offer, so they come back null and are never guessed at. A dead or withdrawn item id returns NOT_FOUND (Lazada answers 404 with its 'no longer available' page); it is not a block and retrying will not change it. | Pricing teams call product to get full product detail for one Lazada item id. | itemId, country |
| catalog_ids | Item ids straight out of Lazada's OWN published product feed, so a caller with no id can get one. It is the `sitemap-products-order-last-N-days-morethan0` feed the storefront publishes for search engines: a second-level index of leaves, each leaf exactly 10 000 canonical product URLs. `page` picks the leaf, and `offset`/`limit` slice inside it. Measured 2026-10-06: sg 235 leaves (≈2.34 M ids), my 600 (≈6.00 M), th 762 (≈7.61 M), vn 241 (≈2.40 M), ph 627 (≈6.26 M), id 1308 (≈13.08 M); leaves are disjoint. 🔴 READ `sitemap_lastmod` BEFORE TRUSTING THE NAME. The feed says 'last 30 days' but every URL in it carries one single lastmod — the day Lazada regenerated the file — and on 2026-10-06 that was today for Indonesia and 2025-07 for the other five storefronts. So a share of these ids is already withdrawn: measured dead rate (n=12 per storefront, fetched through `product`) id 0 %, my 25 %, th 42 %, ph 58 %, sg 82 %, vn 83 %. Every response repeats that figure in `dead_id_rate_measured`. This action is NOT a search: it cannot be filtered by keyword, price or category, it is ordered the way Lazada orders its feed, and it returns no product data — only the id and the canonical URL. | Marketplace operators call catalog_ids to get item ids straight out of Lazada's OWN published product feed, so a caller with no id can get one. | country, page, limit, offset |
Call product from your stack
curl -X POST https://api.reefapi.com/lazada/v1/product \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"itemId":"3478876886","country":"sg"}'import os
import requests
REEF_KEY = os.environ["REEF_KEY"]
r = requests.post(
"https://api.reefapi.com/lazada/v1/product",
headers={"x-api-key": REEF_KEY},
json={
"itemId": "3478876886",
"country": "sg"
},
timeout=90,
)
print(r.json()["data"])const res = await fetch("https://api.reefapi.com/lazada/v1/product", {
method: "POST",
headers: {
"x-api-key": process.env.REEF_KEY,
"content-type": "application/json",
},
body: JSON.stringify({
"itemId": "3478876886",
"country": "sg"
}),
});
const { ok, data, meta, error } = await res.json();Ask your MCP-connected assistant: call reefapi.lazada.product with {"itemId":"3478876886","country":"sg"}.Who uses this API and why
- Watch a list of item ids for price and availability across the six storefronts
- Fill in titles, brands, category paths and images for products you already have ids for
- Build a starting list of ids per country from catalog_ids, then fetch the products you want
Questions developers ask before integrating
Can I search Lazada by keyword?
No. This API has two actions, product and catalog_ids, and neither takes a keyword, category or price filter. You need item ids, from your own list or from catalog_ids.
Where do item ids come from?
catalog_ids reads the product feed each storefront publishes: a page holds up to 10,000 ids and a call returns up to 2,000 of them with their canonical URLs, walked with limit and offset. leaves_total says how many pages a storefront has. It is an id list, with no product data.
Are all the ids in the feed still live?
No, and the response tells you what to expect. sitemap_lastmod is the feed's own date and dead_id_rate_measured is the share of ids from that feed found dead when we last measured it: on 2026-11-08 Indonesia was dated that day with a rate of 0, and Singapore was dated 2025-07-07 with 0.82. A dead id returns NOT_FOUND.
Do I get ratings, reviews, stock or the seller's name?
No. rating, review_count, stock_quantity, sold_count, list_price and seller.name are null on a product, because the product document does not carry them. You do get the numeric seller.id, availability and the per-order purchase_limit.
Can I use one item id on another storefront?
No. Each country is a separate catalogue, so pass the country the id came from; an id that does not exist on that storefront returns NOT_FOUND.
What do variants and SKUs give me?
variants lists the axes Lazada publishes, such as a strap colour, with each value and its image, and is null when a product has none. skus has one row per SKU with its sku_id, image, category id and purchase limit.
What is the Lazada API?
Lazada API is a ReefAPI endpoint group for lazada products as json by item id across six southeast asian storefronts, with item ids from lazada's own feed. It returns live JSON through POST requests under /lazada/v1.
Is the Lazada API free to try?
Yes. ReefAPI starts with 1,000 free credits, no card required. Lazada calls use the same shared credit balance as every other ReefAPI engine.
Do I need a Lazada login or account?
No login to Lazada is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.
How fresh is the Lazada data?
The page example is captured from a live product call, and production requests fetch live data through ReefAPI rather than a static sample.
How many credits does the Lazada API use?
Lazada actions currently cost 1-3 credits per successful call. Failed or blocked calls are free. All APIs draw from one credit pool.
Can I call Lazada from an AI assistant or MCP client?
Yes. Connect ReefAPI once through MCP and your assistant can call lazada actions with the same key, credit pool and JSON envelope used by normal REST requests.
Is the Lazada API a Lazada scraper?
It is the managed alternative to a DIY Lazada scraper. Instead of building and maintaining your own scraper — proxies, headless browsers, captcha and constant breakage — you call one ReefAPI endpoint and get the same lazada products as json by item id across six southeast asian storefronts, with item ids from lazada's own feed back as clean JSON.
Why does my Lazada scraper keep getting blocked?
Most Lazada scrapers break on anti-bot defenses, rate limits and IP bans that need rotating residential proxies and browser fingerprinting to clear. ReefAPI handles all of that for you — no proxies, no captchas, no maintenance — and returns live JSON. Blocked calls are free.