Product
Scrape Lazada product pages by product ID.
The lazada_product source is designed to retrieve Lazada product pages. The API returns the HTML for any Lazada product you like.
Request samples
The samples below illustrate how you can get a Lazada product page.
curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
"source": "lazada_product",
"product_id": "5275753034"
}'import requests
from pprint import pprint
# Structure payload.
payload = {
'source': 'lazada_product',
'product_id': '5275753034'
}
# Get response.
response = requests.request(
'POST',
'https://realtime.oxylabs.io/v1/queries',
auth=('USERNAME', 'PASSWORD'),
json=payload
)
# Instead of response with job status and results url, this will return the
# JSON response with the result.
pprint(response.json())We use synchronous Realtime integration method in our examples. If you would like to use Proxy Endpoint or asynchronous Push-Pull integration, refer to the integration methods section.
Request parameter values
Generic
source
Sets the scraper.
lazada_product
product_id
Numerical Lazada product ID. For example, 5275753034 from /products/pdp-i5275753034-s31361431848.html.
-
- mandatory parameter
Localization
Adapt results to specific domains.
domain
Domain localization for Lazada. Available values are: co.th, sg, co.id, com.my, vn, com.ph, com, jp, com.hk .
com.ph
String
Last updated
Was this helpful?

