{"openapi":"3.0.0","info":{"title":"Lazada Southeast Asia Products and Shops","version":"1.0.0","description":"Lazada products, prices, ratings, reviews and seller catalogs across Singapore, Malaysia, Philippines, Thailand, Vietnam and Indonesia, one row per entity."},"servers":[{"url":"https://ah-lazada-com.opendata.best/s/lazada-com"}],"paths":{"/v1/search":{"post":{"operationId":"search","summary":"Search Lazada products across 6 Southeast Asian markets","description":"Product and optional review/detail rows across MY, PH, SG, TH, VN and ID. Fixed for this endpoint: discoveryMode=\"search\".","tags":["search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"keywords":{"type":"array","items":{"type":"string"},"description":"Keywords. Enter up to 20 Lazada search phrases. Only search and both modes use them; other modes ignore keywords.","example":["bluetooth earbuds"]},"market":{"type":"string","enum":["PH","SG","MY","TH","VN","ID"],"description":"Market. Choose the Lazada country site to collect from. One market is used for the whole run.","default":"MY"},"pages":{"type":"integer","minimum":1,"maximum":3,"description":"Pages per keyword. Number of search pages to request per keyword, from 1 to 3. Fewer rows may be available than requested.","default":1},"enrichDetails":{"type":"boolean","description":"Add product details. Add available product-page details to the first results, including seller identifiers and shipping location. Enabled by default; unavailable details do not replace existing search fields.","default":true},"enrichMaxItems":{"type":"integer","minimum":0,"maximum":10,"description":"Maximum products with details. Maximum products to supplement with product-page details, from 0 to 10. Sitemap mode requires a value above zero.","default":3},"includeReviews":{"type":"boolean","description":"Include buyer reviews. Return available buyer reviews as separate rowType=review rows at the same price per row. Products and reviews share maxResults; sitemap-only products do not receive this add-on.","default":false},"maxReviewsPerItem":{"type":"integer","minimum":0,"maximum":50,"description":"Max reviews per item. Maximum separate review rows considered per product, from 0 to 50. The input maxResults limit also applies.","default":5},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"keywords":["bluetooth earbuds"],"market":"MY","enrichDetails":false,"maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/shops":{"post":{"operationId":"shops","summary":"Lazada storefront items, sellers, live or sitemap discovery","description":"Collect items from sellerKeys storefronts or browse seller/live/sitemap discovery faces.","tags":["shops"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"sellerKeys":{"type":"array","items":{"type":"string"},"description":"Seller keys. Enter storefront keys from shop URLs, such as itel. Keys without keywords select shopcatalog. Without keys, seller modes list shops from the built-in seller catalog and seed pool, not from keywords."},"discoveryMode":{"type":"string","enum":["search","sitemap","both","sellers","live","shopcatalog","shopItems"],"description":"Discovery mode. Choose search, sitemap inventory, both, sellers, live rooms, shopcatalog categories or shopItems products. Sitemap requires enrichDetails=true and enrichMaxItems above zero; inventory is not keyword-matched.","default":"search"},"market":{"type":"string","enum":["PH","SG","MY","TH","VN","ID"],"description":"Market. Choose the Lazada country site to collect from. One market is used for the whole run.","default":"MY"},"pages":{"type":"integer","minimum":1,"maximum":3,"description":"Pages per keyword. Number of search pages to request per keyword, from 1 to 3. Fewer rows may be available than requested.","default":1},"includeShopProfile":{"type":"boolean","description":"Include shop profile. Add available shop profile information. Requires shop and seller identifiers, so combine with includeSellerInfo for better coverage.","default":false},"includeSellerInfo":{"type":"boolean","description":"Include seller info. Add available shop name, seller rating, follower count and chat information to product rows.","default":false},"enrichDetails":{"type":"boolean","description":"Add product details. Add available product-page details to the first results, including seller identifiers and shipping location. Enabled by default; unavailable details do not replace existing search fields.","default":true},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"discoveryMode":"shopItems","sellerKeys":["itel"],"market":"PH","enrichDetails":false,"maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/health":{"get":{"operationId":"health","summary":"API health check","description":"Lightweight readiness check for this API. Never starts a collection and always bills 0 rows.","tags":["health"],"responses":{"200":{"description":"API is operational (0 rows).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"API is temporarily unavailable (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"Row":{"type":"object","properties":{"rowType":{"type":"string","description":"Entity type for billing: product, review, seller, live, presenter, store, or shop_category."},"id":{"type":"string","description":"Stable identifier within rowType."},"reviewId":{"nullable":true,"type":"string"},"reviewIndex":{"nullable":true,"type":"integer"},"productId":{"nullable":true,"type":"string"},"productName":{"nullable":true,"type":"string"},"buyerId":{"nullable":true},"buyerName":{"nullable":true,"type":"string"},"rating":{"nullable":true,"type":"number"},"text":{"nullable":true,"type":"string"},"boughtDate":{"nullable":true,"type":"string"},"images":{"type":"array","items":{"type":"string"}},"keyword":{"type":"string"},"market":{"type":"string","enum":["PH","SG","MY","TH","VN","ID"]},"marketName":{"type":"string"},"country":{"type":"string"},"page":{"type":"integer"},"rank":{"type":"integer"},"absoluteRank":{"type":"integer"},"itemId":{"type":"string"},"skuId":{"nullable":true,"type":"string"},"title":{"type":"string"},"productUrl":{"type":"string"},"sourceUrl":{"type":"string"},"image":{"nullable":true,"type":"string"},"price":{"nullable":true,"type":"string"},"currency":{"type":"string","description":"Currency symbol shown with prices on the country site, such as RM or ₱."},"currencyCode":{"type":"string","description":"ISO 4217 currency code, such as MYR or PHP."},"capturedAt":{"type":"string"},"source":{"type":"string"},"sellerName":{"nullable":true,"type":"string"},"sellerId":{"nullable":true,"type":"string"},"originalPrice":{"nullable":true,"type":"string"},"discount":{"nullable":true,"type":"string"},"ratingScore":{"nullable":true,"type":"number"},"reviewCount":{"nullable":true,"type":"integer"},"soldText":{"nullable":true,"type":"string"},"location":{"nullable":true,"type":"string"},"marketHost":{"type":"string"},"searchUrl":{"type":"string"},"ajaxUrl":{"type":"string"},"responseUrl":{"type":"string"},"responseStatus":{"nullable":true,"type":"integer"},"pageType":{"nullable":true,"type":"string"},"detailUrl":{"nullable":true,"type":"string"},"phones":{"type":"array","description":"Phone entries, when supplied. A platform_hotline entry is Lazada customer support, not a seller contact.","items":{"type":"object","properties":{"value":{"type":"string"},"type":{"nullable":true,"type":"string"}}}},"emails":{"type":"array","items":{"type":"object"}},"address":{"nullable":true,"type":"object","description":"Available province, city or district location. Street and unit values remain empty.","properties":{"street":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"},"locality":{"nullable":true,"type":"string"},"region":{"nullable":true,"type":"string"},"postalCode":{"nullable":true,"type":"string"},"country":{"nullable":true,"type":"string"},"full":{"nullable":true,"type":"string"}}},"geo":{"nullable":true,"type":"object","properties":{"lat":{"nullable":true,"type":"number"},"lng":{"nullable":true,"type":"number"}}},"person":{"nullable":true,"type":"object","description":"No individual seller contact is supplied; this field remains null.","properties":{"name":{"nullable":true,"type":"string"},"role":{"nullable":true,"type":"string"}}},"org":{"nullable":true,"type":"object","description":"Seller organization name and identifier, when shown.","properties":{"name":{"nullable":true,"type":"string"},"id":{"nullable":true,"type":"string"}}},"web":{"nullable":true,"type":"object","description":"Available shop website link.","properties":{"website":{"nullable":true,"type":"string"},"socials":{"type":"array","items":{"type":"string"}}}},"leadSource":{"nullable":true,"type":"string","enum":["search","detail","entity","contact","reveal-xhr"]},"leadReveal":{"nullable":true,"type":"string","enum":["visible","click","xhr","gated","image","absent"]},"leadAbsences":{"nullable":true,"type":"object","description":"Reasons why contact or location fields are empty, indicating whether a field is not present on the source or was not verified.","additionalProperties":true},"detailParsed":{"nullable":true,"type":"object","description":"Available product-page details, including variant, price, availability and shipping location fields.","properties":{"sku":{"nullable":true,"type":"string"},"mpn":{"nullable":true},"shipFrom":{"nullable":true,"type":"string"},"shopSlug":{"nullable":true,"type":"string"},"sellerIdConfirmed":{"nullable":true,"type":"boolean"},"price":{"nullable":true},"currency":{"nullable":true,"type":"string"},"availability":{"nullable":true},"highPrice":{"nullable":true}}},"skus":{"type":"array","description":"Product variants shown with the listing.","items":{}},"categories":{"type":"array","description":"Product categories shown with the listing.","items":{}},"promotionId":{"nullable":true,"description":"Promotion identifier, when shown."},"inStock":{"nullable":true,"type":"boolean","description":"Listing-level availability flag; not a count of stock for each variant."},"sku":{"description":"Product variant information as shown with the listing."},"cheapestSku":{"description":"Information about the lowest-priced variant, when shown."},"reviewStats":{"nullable":true,"type":"object","description":"Review summary retained for older output formats. Current product rows use ratingScore and reviewCount instead.","properties":{"status":{"nullable":true,"type":"string","enum":["blocked","empty","partial","complete"]},"totalItems":{"nullable":true,"type":"integer"},"averageRating":{"nullable":true,"type":"number"},"withMediaCount":{"nullable":true,"type":"integer"},"fetchedCount":{"nullable":true,"type":"integer"},"primaryRet":{"nullable":true,"type":"string"},"sourceApi":{"nullable":true,"type":"string","enum":["getreviewlist","getrelatedreviewlist"]},"geoBlocked":{"nullable":true,"type":"boolean"},"geoBlockedSuspect":{"nullable":true,"type":"boolean"}}},"reviewPrimaryRet":{"nullable":true,"type":"string","description":"Status value returned for the product review request."},"reviewSourceApi":{"nullable":true,"type":"string","description":"Identifier of the review source that supplied the results.","enum":["getreviewlist","getrelatedreviewlist"]},"shopProfile":{"nullable":true,"type":"object","description":"Available storefront profile, shipping, category and seller qualification information.","additionalProperties":true},"sellerItemReviews":{"nullable":true,"type":"object","description":"Available product-review information across a shop, requested with includeSellerItemReviews.","additionalProperties":true},"sellerKey":{"nullable":true,"type":"string","description":"Storefront key from the shop URL."},"shopId":{"nullable":true,"type":"string","description":"Lazada shop identifier."},"shopUrl":{"nullable":true,"type":"string","description":"Storefront URL."},"sellerInfo":{"nullable":true,"type":"object","description":"Available shop name, rating, follower count, chat availability, logo and navigation tabs.","additionalProperties":true},"multiBuy":{"nullable":true,"type":"object","description":"Bundle-offer information, including offer count and promotion link, when an offer exists.","additionalProperties":true},"engine":{"nullable":true,"type":"string","description":"Collection method identifier."},"liveId":{"nullable":true,"type":"integer","description":"Live room id (live discovery mode)."},"liveUuid":{"nullable":true,"type":"string","description":"Live room uuid."},"roomStatus":{"nullable":true,"type":"string","description":"Live room status (Live/History)."},"anchorId":{"nullable":true,"type":"integer","description":"Live anchor id."},"anchorName":{"nullable":true,"type":"string","description":"Live anchor display name."},"anchorPageUrl":{"nullable":true,"type":"string","description":"Anchor profile page URL."},"coverImg":{"nullable":true,"type":"string","description":"Live cover image URL."},"jumpUrl":{"nullable":true,"type":"string","description":"Live room jump URL."},"presenterId":{"nullable":true,"type":"integer","description":"Recommended presenter id."},"presenterName":{"nullable":true,"type":"string","description":"Recommended presenter name."},"fansNum":{"nullable":true,"type":"integer","description":"Presenter follower count."},"liveRoomCount":{"nullable":true,"type":"integer","description":"Presenter live room count."},"actionUrl":{"nullable":true,"type":"string","description":"Presenter action URL."},"shopName":{"nullable":true,"type":"string","description":"Storefront display name on store and shop_category rows."},"themeColor":{"nullable":true,"type":"string","description":"Store theme color."},"catId":{"nullable":true,"description":"In-shop category identifier in shopcatalog mode."},"catName":{"nullable":true,"type":"string","description":"In-shop category name."},"childCount":{"nullable":true,"type":"integer","description":"In-shop category child count."},"pcHeaderBGImage":{"nullable":true,"type":"string","description":"Store PC header image."},"wirelessHeaderBGImage":{"nullable":true,"type":"string","description":"Storefront mobile header image URL."},"reviewSummary":{"nullable":true,"type":"object","description":"Product review summary, such as rating distribution, when available."},"changeStatus":{"nullable":true,"type":"string"},"detailCompleteness":{"nullable":true,"type":"string","description":"How complete the product detail fields are for this row."},"isSponsored":{"nullable":true,"type":"boolean","description":"Whether the search result is a sponsored placement."},"badges":{"nullable":true,"type":"array","description":"Product or store badges shown by the source, up to 50.","items":{}},"highlights":{"nullable":true,"type":"array","description":"Product highlight lines from the product page, up to 50.","items":{}},"parentCatId":{"nullable":true,"type":"string","description":"Parent category identifier for in-shop category rows."},"depth":{"nullable":true,"type":"integer","description":"Category depth in the in-shop category tree."},"categoryPath":{"nullable":true,"type":"string","description":"Category path from the top-level category."},"sellerQualificationStatus":{"nullable":true,"type":"object","description":"Seller qualification details published on regulated markets."},"reviewRateId":{"nullable":true,"type":"string","description":"Review rating identifier for review rows."},"relatedItemId":{"nullable":true,"type":"string","description":"Related product identifier for linked product rows."},"parentProductId":{"nullable":true,"type":"string","description":"Product the review or child row belongs to."},"reviewVideos":{"nullable":true,"type":"array","description":"Review video links, up to 50 per review.","items":{}},"isLazMall":{"nullable":true,"description":"Whether the store is a LazMall store."},"bottomTipsInfo":{"nullable":true,"type":"string","description":"Notice text shown below the product offer."},"bitRate":{"nullable":true,"description":"Live-room stream bit rate."}},"additionalProperties":true,"description":"One collected entity. Field availability depends on rowType and the source. Fields always present (a|b = at least one of them): every row: id; rowType=product: id, title, productUrl, price; rowType=review: id, reviewId, productId; rowType=seller: id, sellerKey, shopUrl; rowType=live: id, title, liveId; rowType=presenter: id, title, presenterId; rowType=store: id, title, sellerKey, shopUrl; rowType=shop_category: id, title, catId, shopUrl."},"Error":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string","example":"invalid_input"},"message":{"type":"string"},"retryable":{"type":"boolean"}}},"JobStatus":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","partial","failed","cancelled"]},"done":{"type":"boolean"},"rowsAvailable":{"type":"integer"},"rowsDelivered":{"type":"integer","description":"Rows already delivered (and billed) to you for this job."},"rowsLimit":{"type":"integer","description":"Most rows this job can deliver."},"estimatedFinishSec":{"type":"integer","description":"While running: estimated seconds until done."},"statusUrl":{"type":"string"},"resultsUrl":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"retentionHours":{"type":"integer"},"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"RowsPage":{"allOf":[{"$ref":"#/components/schemas/JobStatus"},{"type":"object","properties":{"offset":{"type":"integer"},"nextOffset":{"type":"integer"},"hasMore":{"type":"boolean"},"rowCount":{"type":"integer"},"rowsBilled":{"type":"integer","description":"Rows delivered by this response."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row"}},"meta":{"type":"object","additionalProperties":true}}}]},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}}}}}