TikTok

Learn how to scrape various types of TikTok Shop pages using Web Scraper API, including supported sources, parameters, and request examples.

You can scrape various types of TikTok pages; below is an overview of all supported scrapers and their respective source values.

Source
Description

tiktok_shop_search

Search page for a search term of your choice.

tiktok_shop_product

Product page of a product ID of your choice.

tiktok

Submit any TikTok Shop URL 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": "tiktok_shop_product",
        "product_id": "1731541214379741272"
    }'

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.

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

Last updated

Was this helpful?