Search Lazada products by keyword across Southeast Asia
apify.lazada.search.productsSearch Lazada and return products with price, original price, currency, rating, review and sold counts, seller and location from one of six SEA country sites (SG, MY, VN, TH, PH, ID)
- 价格
- $0.005/result按供应商原价
- 成功率
- —暂无成功率数据暂无成功率数据
- 延迟 p50
- ——
- 最后验证
- 2026年9月26日实测可用
POSThttps://toolswitch.dev/v1/tools/apify.lazada.search.products?memory=2048&timeout=90&maxItems=1&maxTotalChargeUsd=0.06预览- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
the response is the dataset items array directly — no run envelope, no polling. Each row carries title, price, price_original, currency, rating, review_count, sold_count, seller_name, location, brand and product_url. Cap every call with maxTotalChargeUsd, the spend limit Apify enforces; the body row limit sets how many rows run
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
memory | 整数 | 可选 | MB of run memory. treg's key requires 2048; your own key may set any size | 2048 |
timeout | 整数 | 可选 | run timeout in seconds. treg's key requires 90 so the run and its rows arrive before any wait gives up; a larger pull should use your own key and the async web.scrape.job.* pair above | 90 |
maxItems | 整数 | 可选 | optional row cap; pay-per-event actors that take the row count from their own input ignore it, so maxTotalChargeUsd is the spend limit | 40 |
maxTotalChargeUsd | 数字 | 可选 | the spend cap Apify enforces on every event this run bills, in dollars. treg's key requires it, at most 1, and holds it for the call; this actor refuses a cap below 0.05. Set it ABOVE max_results x 0.005 (0.06 for 10 products): a run whose charges land exactly on the cap can be aborted by Apify and answers 400 with no rows | 0.06 |
- 查询参数
memory整数可选MB of run memory. treg's key requires 2048; your own key may set any size
示例:
2048timeout整数可选run timeout in seconds. treg's key requires 90 so the run and its rows arrive before any wait gives up; a larger pull should use your own key and the async web.scrape.job.* pair above
示例:
90maxItems整数可选optional row cap; pay-per-event actors that take the row count from their own input ignore it, so maxTotalChargeUsd is the spend limit
示例:
40maxTotalChargeUsd数字可选the spend cap Apify enforces on every event this run bills, in dollars. treg's key requires it, at most 1, and holds it for the call; this actor refuses a cap below 0.05. Set it ABOVE max_results x 0.005 (0.06 for 10 products): a run whose charges land exactly on the cap can be aborted by Apify and answers 400 with no rows
示例:
0.06
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
curl -X POST 'https://toolswitch.dev/v1/tools/apify.lazada.search.products?memory=2048&timeout=90&maxItems=1&maxTotalChargeUsd=0.06' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"region":"sg","max_results":10,"search_terms":["iphone 15 case"]}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/apify.lazada.search.products?memory=2048&timeout=90&maxItems=1&maxTotalChargeUsd=0.06",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"region\":\"sg\",\"max_results\":10,\"search_terms\":[\"iphone 15 case\"]}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/apify.lazada.search.products?memory=2048&timeout=90&maxItems=1&maxTotalChargeUsd=0.06", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"region\":\"sg\",\"max_results\":10,\"search_terms\":[\"iphone 15 case\"]}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.005/result 计费,已含服务费。