lazada.co.th APIlazada.co.th ↗
Search Lazada Thailand products, browse categories, and fetch full product details including prices, SKUs, ratings, and seller info via a simple REST API.
curl -X GET 'https://api.parse.bot/scraper/775da6b3-ac73-4d3c-bfe5-553678117381/search_products?page=1&query=laptop' \ -H 'X-API-Key: $PARSE_API_KEY'
Search for products on Lazada Thailand using a keyword. Returns a paginated list of products with name, price, discount, rating, review count, seller info, images, and more.
| Param | Type | Description |
|---|---|---|
| page | integer | Page number for pagination |
| queryrequired | string | Search keyword (e.g. 'laptop', 'smartphone', 'shoes') |
{
"type": "object",
"fields": {
"page": "integer, current page number",
"products": "array of product objects with fields like name, itemId, price, priceShow, discount, ratingScore, review, sellerName, image, location, inStock, itemSoldCntShow",
"total_results": "string representation of total number of results, or null"
},
"sample": {
"data": {
"page": 1,
"products": [
{
"name": "Acer Aspire Lite 15 AL15-42P-R4PQ Silver",
"image": "https://th-live-01.slatic.net/p/d6b8ab467d419fa979148b49ed05462e.jpg",
"price": "16290",
"itemId": "5766451776",
"review": "46",
"inStock": true,
"discount": "6% Off",
"location": "Samut Prakan",
"priceShow": "฿16,290.00",
"sellerName": "BaNANA IT",
"ratingScore": "4.826086956521739",
"itemSoldCntShow": "172 sold"
}
],
"total_results": "3889"
},
"status": "success"
}
}About the lazada.co.th API
The Lazada Thailand API provides 3 endpoints to search products by keyword, browse category listings, and retrieve detailed product data from lazada.co.th. The search_products endpoint returns paginated results with pricing, discount, rating score, review count, and seller name. get_product_details goes deeper — returning SKU variants, image galleries, brand metadata, and HTML product highlights using an item ID from search results.
What the API Covers
The API exposes product data from Lazada Thailand across three focused endpoints. search_products accepts a query string and an optional page integer, returning an array of product objects with fields including name, itemId, price, priceShow, discount, ratingScore, review, sellerName, and image. The total_results field gives a string count of matches for the query. This is the primary entry point for keyword-driven product discovery.
Category Browsing
get_category_listings accepts a category_slug parameter matching the URL path segment on lazada.co.th — for example, shop-tablet. It returns the same product object shape as search results, paginated via the page parameter. Not every category slug returns structured listing data; the endpoint works reliably for known slugs like shop-tablet, so testing your target category slug before building against it is advisable.
Product Detail Extraction
get_product_details takes an item_id (the itemId field from search or category results) and returns a richer data structure. The response includes title, a brand object with name and url, highlights as an HTML string with product specifications, and skuBase with variant properties and a skus array. The skuInfos object maps SKU IDs to objects containing categoryId, image, sellerId, and quantity. The skuGalleries object maps SKU IDs to arrays of image objects with src and type fields, useful for building variant-aware product displays.
- Track price changes and discount levels across keyword searches on Lazada Thailand
- Build product comparison tools using SKU variant data from
get_product_details - Monitor seller listings by extracting
sellerNameanditemIdfrom search results - Populate a product catalog with images pulled from
skuGalleriesper variant - Research category assortments using
get_category_listingswith known slugs likeshop-tablet - Extract product specifications from the
highlightsHTML field for structured parsing - Aggregate rating scores and review counts across product searches for market research
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Lazada have an official developer API?+
What does `get_product_details` return beyond what search results include?+
price, ratingScore, sellerName, and a single image. get_product_details adds skuBase with the full variant tree (sizes, colors, etc.), skuInfos with per-SKU quantity and seller mapping, skuGalleries with multiple images per variant, the brand object with brand URL, and highlights as an HTML string containing product specs and feature descriptions.Are there limitations on which category slugs work with `get_category_listings`?+
shop-tablet. Other category slugs may return empty or incomplete product arrays. It is best to validate a slug against the endpoint before relying on it in production.Does the API return seller profile pages, shop ratings, or flash sale data?+
sellerName from search and category results, and sellerId inside skuInfos, but there is no dedicated endpoint for seller profiles, shop-level ratings, or flash sale pricing states. You can fork this API on Parse and revise it to add an endpoint targeting seller or promotion data.Can I retrieve customer review text or individual review details?+
ratingScore and review count fields but does not include individual review content, reviewer names, or review dates. You can fork this API on Parse and revise it to add a review detail endpoint using the itemId returned by search or category results.