# Lazada Shop Products API Documentation

<p><strong>Lazada Shop Products API</strong> lists the products of one Lazada shop, 40 per page, with the same item fields as the Lazada Search API. Search inside the shop with <code>query</code>, sort and filter by price. Every item belongs to the shop you ask for.</p><p>There are at most 102 pages. Page N returns the real page N.</p><p>Costs 2 credits per successful request. Empty results and failed requests are free.</p>

- **Documentation:** [https://scrappa.co/docs/lazada-api/lazada_shop_products](https://scrappa.co/docs/lazada-api/lazada_shop_products)
- **API group:** Lazada API
- **Endpoint:** `GET https://scrappa.co/api/lazada/shop/products`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `shop_id` | string | Yes | Shop id from search or product (required). |
| `country` | string | No | Country code: sg, my, id, th, ph or vn (default sg). One country per request. |
| `query` | string | No | Search text inside the shop. Lists all products when empty. |
| `page` | integer | No | One-based page number, 1 to 102 (default 1). |
| `sort` | string | No | One of relevance, price_asc, price_desc, popularity. |
| `min_price` | number | No | Lowest price in the local currency. |
| `max_price` | number | No | Highest price in the local currency. |

## Example response

```json
{
    "data": {
        "query": null,
        "country": "sg",
        "results": [
            {
                "url": "https://www.lazada.sg/products/pdp-i14022800763.html",
                "brand": {
                    "id": "28314",
                    "name": "Marshall"
                },
                "image": "https://sg-live-01.slatic.net/p/dd7c6f535272772d9e4e5499d16e8821.jpg",
                "price": 699,
                "title": "[NEW] Marshall Bromley 150 - Party Speaker",
                "badges": {
                    "lazmall": true,
                    "flash_sale": false,
                    "free_shipping": true
                },
                "images": [
                    "https://sg-live-01.slatic.net/p/dd7c6f535272772d9e4e5499d16e8821.jpg"
                ],
                "rating": null,
                "seller": {
                    "id": "1133229569",
                    "name": "Marshall"
                },
                "sku_id": "125107440575",
                "item_id": "14022800763",
                "shop_id": "402099",
                "currency": "SGD",
                "in_stock": true,
                "location": "Singapore",
                "categories": [
                    "10100387",
                    "181",
                    "10100399"
                ],
                "sold_count": null,
                "is_sponsored": false,
                "review_count": null,
                "original_price": null,
                "discount_percent": null
            }
        ],
        "shop_id": "402099",
        "currency": "SGD",
        "pagination": {
            "page": 1,
            "has_next": false,
            "per_page": 40,
            "total_results": 25,
            "total_results_capped": true
        }
    },
    "meta": {
        "credits": 2,
        "billable": true,
        "endpoint_family": "shop_products"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required parameter or a value is invalid. This response is not billable. |
| 503 | Upstream Unavailable | Lazada could not be reached after several tries. This response is not billable. Retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
