October 11, 2025
20 Views
Default

How to Get Product and Video Information Using TikHub API

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).


Use the endpoint below to get trending video links:

text
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:

text
1GET https://api.tikhub.io/api/v1/tiktok/app/v3/fetch_one_video_v2
2
  • The response includes many fields such as:

    • like_count
    • comment_count
    • collect_count
    • play_count
    • description,
    • author info
    • video link etc.
  • Within the response, check the following key to determine if the video contains a product link:

    text
    1$.data[0].share_info.share_url
    2
  • Example:

    text
    1https://www.tiktok.com/@eldrej/video/7481903316788628758?...&placeholder_product_id=1729405933664243180...
    2

    If 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:

text
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

This method allows you to access more than 500 videos by searching trending topics.

text
1GET https://api.tikhub.io/api/v1/tiktok/web/fetch_trending_searchwords
2
  • Returns trending keywords and topics currently popular on TikTok.

Use each trending keyword in the search endpoint below:

text
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_v2 again.
  • Check the share_url field in each video to determine whether it includes a placeholder_product_id.

Step 3: Retrieve Product Information

If the share_url includes a product link, again use:

text
1GET https://api.tikhub.io/api/v1/tiktok/shop/web/fetch_product_detail_v3
2

to get detailed product information (price, seller, SKU, etc.).

Enjoyed this article?

Share it with your friends and colleagues!

Default
Last updated: January 13, 2026
相关文章
正在检查服务状态...
How to Get Product and Video Information Using TikHub API - TikHub.io