You can retrieve product and video information from TikTok through different combinations of endpoints.
Below are two main approaches: Plan A (using Ads/Trending data) and Option B (using search-based data).
🧩 Plan A — Using TikTok Ads Trending Videos
Step 1: Fetch Trending Videos
Use the endpoint below to get trending video links:
1GET https://api.tikhub.io/api/v1/tiktok/ads/get_popular_trends
2- This endpoint will only returns up to 500 trending videos , no more.
- The results may vary daily based on changing trends.
- This will only returns the simplied video info, so you need use step to get video detail
Step 2: Get Detailed Video Information
Use the following endpoint to fetch detailed video Detail info and stats:
1GET https://api.tikhub.io/api/v1/tiktok/app/v3/fetch_one_video_v2
2-
The response includes many fields such as:
like_countcomment_countcollect_countplay_countdescription,- author info
- video link etc.
-
Within the response, check the following key to determine if the video contains a product link:
text1$.data[0].share_info.share_url 2 -
Example:
text1https://www.tiktok.com/@eldrej/video/7481903316788628758?...&placeholder_product_id=1729405933664243180... 2If the URL includes
placeholder_product_id, it indicates that the video is linked to a product.
Step 3: Retrieve Product Details
If a placeholder_product_id is found, use:
1GET https://api.tikhub.io/api/v1/tiktok/shop/web/fetch_product_detail_v3
2- This endpoint provides:
- Product title and description
- SKU and price
- Seller information
- Shipping details
🔍 Option B — Using Trending Search Terms
This method allows you to access more than 500 videos by searching trending topics.
Step 1: Fetch Trending Search Words
1GET https://api.tikhub.io/api/v1/tiktok/web/fetch_trending_searchwords
2- Returns trending keywords and topics currently popular on TikTok.
Step 2: Use Searchwords to Find Related Videos
Use each trending keyword in the search endpoint below:
1GET https://api.tikhub.io/api/v1/tiktok/app/v3/fetch_video_search_result
2- This endpoint returns full video data, so you don’t need to call
fetch_one_video_v2again. - Check the
share_urlfield in each video to determine whether it includes aplaceholder_product_id.
Step 3: Retrieve Product Information
If the share_url includes a product link, again use:
1GET https://api.tikhub.io/api/v1/tiktok/shop/web/fetch_product_detail_v3
2to get detailed product information (price, seller, SKU, etc.).