{"openapi":"3.1.0","info":{"title":"Lazada Southeast Asia Products and Shops (x402 & MCP)","version":"0.1.0","description":"Lazada products, prices, ratings, reviews and seller catalogs across Singapore, Malaysia, Philippines, Thailand, Vietnam and Indonesia, one row per entity.","x-guidance":"Structured real-time web intelligence APIs paid per delivered row in USDC via x402. All endpoints are synchronous at POST /s/<site>/v1/<endpoint> and also exposed over stateless MCP at POST /mcp. Supports x402 v2 'upto' (Permit2, charged strictly for delivered rows) and 'exact' (EIP-3009). Empty/0-row (404), invalid input (422), timeout (504), and upstream failures (502) are never charged.","contact":{"email":"ops@opendata.best"}},"servers":[{"url":"https://x402.opendata.best"}],"paths":{"/s/lazada-com/v1/search":{"post":{"operationId":"lazada_com_search","summary":"Lazada Southeast Asia Products and Shops: Search Lazada products across 6 Southeast Asian markets","description":"Product and optional review/detail rows across MY, PH, SG, TH, VN and ID. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["lazada-com","eCommerce"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string"},"description":"Enter up to 20 Lazada search phrases. Only search and both modes use them; other modes ignore keywords. With no target input, the Actor runs a three-row example search.","maxItems":20},"market":{"type":"string","description":"Choose the Lazada country site to collect from. One market is used for the whole run.","default":"MY","enum":["PH","SG","MY","TH","VN","ID"]},"pages":{"type":"integer","description":"Number of search pages to request per keyword, from 1 to 3. Fewer rows may be available than requested.","default":1,"minimum":1,"maximum":3},"enrichDetails":{"type":"boolean","description":"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","description":"Maximum products to supplement with product-page details, from 0 to 10. Sitemap mode requires a value above zero.","default":3,"minimum":0,"maximum":10},"includeReviews":{"type":"boolean","description":"Return available buyer reviews as separate rowType=review rows at the same price per row. Products and reviews share maxItems; sitemap-only products do not receive this add-on.","default":false},"maxReviewsPerItem":{"type":"integer","description":"Maximum separate review rows considered per product, from 0 to 50. The input maxItems limit also applies.","default":5,"minimum":0,"maximum":50},"maxResults":{"type":"integer","description":"Maximum rows per keyword or explicit seller key, from 1 to 200; the default is 70. All row types share that input limit, and total delivery also respects the cost cap and Free-plan limit of 200 rows per run and 10 total runs.","default":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"keywords":["bluetooth earbuds"],"market":"MY","enrichDetails":false,"maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_lazada_com"},"example":{"jobId":"job_lazada-c_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","id":"example_001","reviewId":"example_reviewId","market":"example_market","keyword":"example_keyword","page":10}],"meta":{"site":"lazada-com","endpoint":"search","maxResults":10,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/lazada-com/v1/shops":{"post":{"operationId":"lazada_com_shops","summary":"Lazada Southeast Asia Products and Shops: Lazada storefront items, sellers, live or sitemap discovery","description":"Collect items from sellerKeys storefronts or browse seller/live/sitemap discovery faces. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["lazada-com","eCommerce"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"sellerKeys":{"type":"array","items":{"type":"string"},"description":"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","description":"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","enum":["search","sitemap","both","sellers","live","shopcatalog","shopItems"]},"market":{"type":"string","description":"Choose the Lazada country site to collect from. One market is used for the whole run.","default":"MY","enum":["PH","SG","MY","TH","VN","ID"]},"pages":{"type":"integer","description":"Number of search pages to request per keyword, from 1 to 3. Fewer rows may be available than requested.","default":1,"minimum":1,"maximum":3},"includeShopProfile":{"type":"boolean","description":"Add available shop profile information. Requires shop and seller identifiers, so combine with includeSellerInfo for better coverage.","default":false},"includeSellerInfo":{"type":"boolean","description":"Add available shop name, seller rating, follower count and chat information to product rows.","default":false},"enrichDetails":{"type":"boolean","description":"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","description":"Maximum rows per keyword or explicit seller key, from 1 to 200; the default is 70. All row types share that input limit, and total delivery also respects the cost cap and Free-plan limit of 200 rows per run and 10 total runs.","default":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"discoveryMode":"shopItems","sellerKeys":["itel"],"market":"PH","enrichDetails":false,"maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_lazada_com"},"example":{"jobId":"job_lazada-c_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","id":"example_001","reviewId":"example_reviewId","market":"example_market","keyword":"example_keyword","page":10}],"meta":{"site":"lazada-com","endpoint":"shops","maxResults":10,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/lazada-com/v1/health":{"get":{"operationId":"lazada_com_health","summary":"Lazada Southeast Asia Products and Shops: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["lazada-com","health"],"responses":{"200":{"description":"Operational","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"charged":{"type":"boolean"}}},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"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"}}},"Row_lazada_com":{"type":"object","properties":{"rowType":{"type":["string","null"],"title":"Row type"},"id":{"type":["string","null"],"title":"Entity ID"},"reviewId":{"type":["string","null"],"title":"Review ID"},"market":{"type":["string","null"],"title":"Market"},"keyword":{"type":["string","null"],"title":"Keyword"},"page":{"type":["number","null"],"title":"Page"},"rank":{"type":["number","null"],"title":"Rank"},"title":{"type":["string","null"],"title":"Title"},"price":{"type":["string","null"],"title":"Price"},"originalPrice":{"type":["string","null"],"title":"Original price"},"discount":{"type":["string","null"],"title":"Discount"},"currencyCode":{"type":["string","null"],"title":"Currency"},"ratingScore":{"type":["number","null"],"title":"Rating"},"reviewCount":{"type":["number","null"],"title":"Reviews"},"sellerName":{"type":["string","null"],"title":"Seller"},"productUrl":{"type":["string","null"],"format":"uri","title":"Product URL"},"image":{"type":["string","null"],"title":"Image"}},"additionalProperties":true},"Response_lazada_com":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string"},"done":{"type":"boolean"},"rowCount":{"type":"integer","minimum":1},"rowsBilled":{"type":"integer","minimum":1},"rowsDelivered":{"type":"integer","minimum":1},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row_lazada_com"}},"meta":{"type":"object","properties":{"site":{"type":"string"},"endpoint":{"type":"string"},"maxResults":{"type":"integer"},"payment":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"quotedMicrousd":{"type":"integer"},"settledMicrousd":{"type":"integer"},"transaction":{"type":"string"},"payer":{"type":"string"}}}}}},"required":["jobId","status","done","rowCount","rows"]}}},"x-discovery":{"ownershipProofs":["0xdb7c562a3ef6f9f29da4672abdab1489e82e910a91b863e3c22b905df6522b7223798a84245e0452cab689483b6cbb7cd8c13141319df982b213dea31ee7e4311c"]}}