Skip to content
Scrappa Get API key
Lazada API 2 credits / request

Lazada Shop Products API Documentation

GET https://scrappa.co/api/lazada/shop/products

Lazada Shop Products API 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 query, sort and filter by price. Every item belongs to the shop you ask for.

There are at most 102 pages. Page N returns the real page N.

Costs 2 credits per successful request. Empty results and failed requests are free.

Lazada Shop Products API Documentation 2 credits / request

Endpoint

Request preview
GET
https://scrappa.co/api/lazada/shop/products
Auth header
x-api-key
Cost
2 credits / request
shop_id = 1234567890
Response preview
200 OK
{
    "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",
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

6 optional filters available.

shop_id string Required

Shop id from search or product (required).

Example value 1234567890
country string Optional

Country code: sg, my, id, th, ph or vn (default sg). One country per request.

Example value US
query string Optional

Search text inside the shop. Lists all products when empty.

Example value coffee shops
page integer Optional

One-based page number, 1 to 102 (default 1).

Example value 1
sort string Optional

One of relevance, price_asc, price_desc, popularity.

Example value relevance
min_price number Optional

Lowest price in the local currency.

Example value 10
max_price number Optional

Highest price in the local currency.

Example value 10

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "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

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A required parameter or a value is invalid. This response is not billable.

{
    "errors": {
        "shop_id": [
            "The shop id is the number from search, e.g. 402099."
        ]
    },
    "message": "The request validation failed"
}
503

Upstream Unavailable

Lazada could not be reached after several tries. This response is not billable. Retry shortly.

{
    "meta": {
        "credits": 0,
        "billable": false,
        "retryable": true,
        "endpoint_family": "shop_products"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "Lazada could not be reached. Please retry shortly."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.