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)
- Precio
- $0.005/resultA precio de catálogo
- Tasa de éxito
- —Aún no hay datos de tasa de éxitoAún no hay datos de tasa de éxito
- Latencia p50
- ——
- Última verificación
- 26 sept 2026Verificado y operativo
POSThttps://toolswitch.dev/v1/tools/apify.lazada.search.products?memory=2048&timeout=90&maxItems=1&maxTotalChargeUsd=0.06Beta- Usa la cuota de la plataforma
- Respuesta síncrona
- Lee datos públicos
Parámetros
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
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
memory | entero | Opcional | MB of run memory. treg's key requires 2048; your own key may set any size | 2048 |
timeout | entero | Opcional | 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 | entero | Opcional | 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 | número | Opcional | 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 |
| Cuerpo (JSON) | ||||
region | cadena | Opcional | one of sg|my|vn|th|ph|id — decides which country site, the listing language and the currency of every price. Default sg. One run covers one country, so comparing markets means one run per region | sg |
proxyUrls | array[string] | Opcional | leave empty to use the residential proxy included in the run price; or pass one gateway URL per entry (http://user:pass@host:port) to route through your own provider instead | |
max_results | entero | Opcional | total products across all search terms; default 40, max 4000, and a value below 10 is raised to 10. A single keyword usually runs out before 4000 — widen coverage with more terms, not a higher cap | 40 |
search_terms | array[string] | Obligatorio | keywords to search, one per entry; each is paged until the run reaches max_results. An empty list stops the run with an input error before anything is charged | ["iphone 15 case"] |
- Parámetros de consulta
memoryenteroOpcionalMB of run memory. treg's key requires 2048; your own key may set any size
Ejemplo:
2048timeoutenteroOpcionalrun 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
Ejemplo:
90maxItemsenteroOpcionaloptional row cap; pay-per-event actors that take the row count from their own input ignore it, so maxTotalChargeUsd is the spend limit
Ejemplo:
40maxTotalChargeUsdnúmeroOpcionalthe 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
Ejemplo:
0.06- Cuerpo (JSON)
regioncadenaOpcionalone of sg|my|vn|th|ph|id — decides which country site, the listing language and the currency of every price. Default sg. One run covers one country, so comparing markets means one run per region
Ejemplo:
sgproxyUrlsarray[string]Opcionalleave empty to use the residential proxy included in the run price; or pass one gateway URL per entry (http://user:pass@host:port) to route through your own provider instead
max_resultsenteroOpcionaltotal products across all search terms; default 40, max 4000, and a value below 10 is raised to 10. A single keyword usually runs out before 4000 — widen coverage with more terms, not a higher cap
Ejemplo:
40search_termsarray[string]Obligatoriokeywords to search, one per entry; each is paged until the run reaches max_results. An empty list stops the run with an input error before anything is charged
Ejemplo:
["iphone 15 case"]
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
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());La API de la pasarela está en Beta; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.005/result, incluida la tarifa de servicio.