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

Tokopedia

Learn how to scrape various types of Tokopedia pages using Web Scraper API, including supported sources, parameters, and example requests.

With Web Scraper API, you can scrape various types of Tokopedia pages; below is an overview of all supported scrapers and their respective source values.

Source
Description

tokopedia_search

Search pagearrow-up-right for a search term of your choice.

tokopedia

Submit any Tokopedia URLarrow-up-right you like.

Getting started

Create your API user credentials: Sign up for a free trial or purchase the product in the Oxylabs dashboardarrow-up-right to create your API user credentials (USERNAME and PASSWORD).

circle-exclamation

Request sample

curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
        "source": "tokopedia_search", 
        "query": "shampoo"
    }'

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.

Optionally, you can include additional parameters such as user_agent_type, render, and more to customize your scraping request. Read more:

Featureschevron-right

Last updated

Was this helpful?