circle-check
Documentation has been updated: see help center and changelog in one place.

URL

Scrape any Lazada URL of your choice.

You can get Lazada results by providing your own URLs to our service using the lazada source. The API returns the HTML for any Lazada page you like.

Request samples

The samples below illustrate how you can get Lazada pages.

curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
        "source": "lazada",
        "url": "https://www.lazada.co.id/catalog/?q=Parfum&from=hp_categories&src=all_channel"
    }'

We use synchronous Realtimearrow-up-right integration method in our examples. If you would like to use Proxy Endpointarrow-up-right or asynchronous Push-Pullarrow-up-right integration, refer to the integration methodsarrow-up-right section.

Request parameter values

Generic

Parameter
Description
Default Value

source

Sets the scraper.

lazada

url

Direct URL (link) to any page.

-

render

Enables JavaScript rendering when set to html. More infoarrow-up-right.

-

callback_url

URL to your callback endpoint. More infoarrow-up-right.

-

user_agent_type

Device type and browser. The full list can be found herearrow-up-right.

desktop

- mandatory parameter

Last updated

Was this helpful?