# Lazada



Public product data from the Lazada Indonesia marketplace — search the catalog by keyword, then read any listing in full: price, variants, gallery, seller, and description.



## Lazada Product Search

Search Lazada Indonesia's public catalog — name, price, discount, rating, seller, and location on every card, forty cards a page.

- Method: `GET`
- Path: `/v1/marketplace/lazada/search`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `q` | string | required | What to search the catalog for. |
| `page` | integer | optional | Result page, forty cards each. |
| `max_age` | integer (seconds) | optional | Ask for data no older than this. Clamped to the product's own floor, so it can narrow the window but never force a refresh on every call. |

**Example request**

```bash
curl https://api.diraz.ae/v1/marketplace/lazada/search \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "query": "iphone 15",
    "page": 1,
    "total_count": 4820,
    "items": [
      {
        "item_id": "8665126667",
        "name": "Apple iPhone 15",
        "price": 12999000,
        "price_display": "Rp12.999.000",
        "original_price_display": "Rp16.499.000",
        "discount": "21% Off",
        "rating": 4.9,
        "rating_count": 68,
        "location": "Kota Bekasi",
        "seller_name": "Official Store",
        "brand_name": "Apple",
        "image": "https://sg-test-11.slatic.net/p/a38ab00f670348578ad6f66a447ddc43.jpg",
        "url": "https://www.lazada.co.id/products/pdp-i8665126667.html",
        "in_stock": true
      }
    ]
  },
  "meta": {
    "request_id": "req_7Q2fK4mZ",
    "as_of": "2026-08-20T14:45:00.000Z",
    "age_seconds": 120,
    "next_update_at": "2026-08-20T14:50:00.000Z"
  }
}
```

## Lazada Product Detail

One Lazada listing in full — price and discount, the whole gallery, variant options, seller, brand, category, and the listing's own description.

- Method: `GET`
- Path: `/v1/marketplace/lazada/products/{product}`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `product` | path segment | required | The listing key from a search card's `url`, without the `.html` — e.g. `apple-iphone-15-i8665126667-s16096562644`. |
| `max_age` | integer (seconds) | optional | Ask for data no older than this. Clamped to the product's own floor, so it can narrow the window but never force a refresh on every call. |

**Example request**

```bash
curl https://api.diraz.ae/v1/marketplace/lazada/products/%7Bproduct%7D \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "item_id": "8665126667",
    "sku_id": "16096562644",
    "title": "Apple iPhone 15",
    "brand_name": "Apple",
    "seller_name": "Official Store",
    "category": "Lazada Choice - Iphone",
    "price": 16499000,
    "price_display": "Rp16.499.000",
    "discount": "21% Off",
    "description_html": "<div>iPhone 15 menghadirkan Dynamic Island, kamera Utama 48 MP, dan USB-C.</div>",
    "images": [
      "https://laz-img-sg.alicdn.com/p/a38ab00f670348578ad6f66a447ddc43.jpg"
    ],
    "variants": [
      { "name": "Garansi Resmi", "values": ["1 Tahun Garansi Resmi"] }
    ],
    "in_stock": null,
    "url": "https://www.lazada.co.id/products/pdp-i8665126667.html"
  },
  "meta": {
    "request_id": "req_7Q2fK4mZ",
    "as_of": "2026-08-20T14:45:00.000Z",
    "age_seconds": 60,
    "next_update_at": "2026-08-20T14:50:00.000Z"
  }
}
```