# Lazada Product API — full product detail from the six Southeast Asian Lazada marketplaces (Singapore, Malaysia, Thailand, Indonesia, Vietnam, Philippines), plus item-id discovery from Lazada's own product feed. Keyword search is NOT offered: Lazada's listing surface answers 4 calls in 10 and we will not sell that

> 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.
> ReefAPI engine `lazada` · 2 endpoints · clean JSON, no scraping or browsers to manage.

## How to call
- **Endpoint:** `POST https://api.reefapi.com/lazada/v1/<action>` with a JSON body.
- **Auth:** header `x-api-key: <YOUR_REEFAPI_KEY>` — create one free (1,000 credits, no card): https://reefapi.com/signup
- **Response (every call):** `{ ok: boolean, data: ..., meta: { record_count, credits, ... }, error: { code, message } }` — branch on `ok`. Failed calls are free.
- **One key + one shared credit pool** across every ReefAPI API. Per-call credits are listed on each endpoint below.
- **Use it from an AI agent (MCP):** connect `https://api.reefapi.com/mcp` (remote streamable-http). Clients that add connectors by URL, such as ChatGPT and the Claude app, connect with OAuth 2.1 (the user pastes their key once on a ReefAPI page; discovery at `/.well-known/oauth-protected-resource/mcp`). Config files send the key as `Authorization: Bearer <key>`. `?key=<key>` in the URL also works as a last-resort fallback.

## Endpoints

### POST https://api.reefapi.com/lazada/v1/product — 3 credits
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.

**Parameters:**
- `itemId` (string, required) — Lazada item id — the digits in a product URL (…-i3492111551.html) or an `item_id` from `catalog_ids`. A whole product URL is accepted too. 🔴 Lazada item ids EXPIRE: measured 2026-10-06, 12 of 13 resolvable ids that were live 30 days earlier were still live, but ids taken from Lazada's own 15-month-old product feed were dead on 18-75 % of fetches depending on the storefront. Take a fresh id from `catalog_ids` rather than reusing an old one; a dead id comes back as NOT_FOUND, never as a block.
- `country` (enum, optional, default "sg") — Lazada storefront to query — each is a separate marketplace with its own catalogue, sellers and currency. Default sg. [one of: sg, my, th, id, vn, ph]

**Returns:** product{} — one product object. `price` is a NUMBER and `price_display` keeps Lazada's localised string (IDR and VND have no minor unit, so `Rp296.000` is 296000, not 296). `seller` is a nested object whose `name` is null: Lazada leaves it empty on this document. `rating`, `review_count`, `rating_scale`, `list_price`, `discount_percent`, `stock_quantity` and `sold_count` are null for the same reason and are NEVER back-filled from anywhere else.

**Example request body:**
```json
{
  "itemId": "3478876886",
  "country": "sg"
}
```

### POST https://api.reefapi.com/lazada/v1/catalog_ids — 1 credit
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.

**Parameters:**
- `country` (enum, optional, default "sg") — Lazada storefront to query — each is a separate marketplace with its own catalogue, sellers and currency. Default sg. [one of: sg, my, th, id, vn, ph]
- `page` (integer, optional, default 1) — Which leaf of the feed to read, 1-based. `leaves_total` in the response is the ceiling and it differs per storefront (235 on sg, 1308 on id).
- `limit` (integer, optional, default 200) — How many ids to return from that leaf (max 2000). A full leaf holds 10 000, so walk it with `offset`.
- `offset` (integer, optional, default 0) — How many ids to skip inside the leaf. 0-9999.

**Returns:** ids[] — `{item_id, url}` per row, feed order, deduplicated inside the leaf. Plus `source_sitemap`, `sitemap_lastmod` (the feed's own date, often stale — read it), `sitemap_window_days`, `leaf`, `leaves_total`, `ids_in_leaf`, `catalog_ids_estimate`, `dead_id_rate_measured`, `dead_id_rate_measured_at`, `offset`, `limit`, `has_more`, `next_offset`, `next_page`. Runs on cheap datacentre, not residential: this surface is never punished.`next_page`. Runs on cheap datacentre, not residential: this surface is never punished.

**Example request body:**
```json
{
  "country": "id",
  "limit": 50
}
```

## At scale
- **Volume:** 5M+ requests a day, measured at 60 requests a second across the fleet with no
  central bottleneck. Per-key limits are raised for high-volume accounts; volume pricing on request.
- **Missing a source:** tell us a site we do not cover and it becomes an engine. A customer asked
  for bestprice.gr on 21 Sep 2026 and it was in the catalog on 22 Sep.
- **Support:** 2 minute median time from a question in the live chat to the first answer. Setup
  help included, no support tier to buy.
- **One key, one credit pool** across every API. No per-site plans, no separate subscriptions.

## More
- Try it live, no code: https://reefapi.com/playground?engine=lazada
- Human docs page: https://reefapi.com/docs/lazada
- Overview page: https://reefapi.com/lazada-api
- Every ReefAPI API in one file (for your AI): https://reefapi.com/llms-full.txt
