TikTok modelsapi generation api

tiktok/web/live-recommend

Get live room homepage recommendation list

Input
Idle

Example output — click Run to generate your own

API README

Get live room homepage recommendation list

Purpose:

  • Get live room homepage recommendation list Parameters:
  • related_live_tag: Related live tag (live category). The available values are not fixed; call /fetch_live_recommend_tabs first to get the currently available tag list, then pick one to pass in. Return:
  • Live room homepage recommendation list Note:
  • If you are not sure which values related_live_tag accepts, call /fetch_live_recommend_tabs to get the currently available tag (category tab) list.
  • All video CDN links returned by this interface need to carry the returned tt_chain_token parameter to be accessed normally, otherwise HTTP 403 error will be returned.
  • When accessing the video CDN link, be sure to carry Cookie: tt_chain_token={tt_chain_token} in the request header, where {tt_chain_token} is replaced with the tt_chain_token parameter value returned by the interface.
  • If you receive HTTP 403 error when accessing video CDN links:
    1. Use the video link starting with https://www.tiktok.com/aweme/v1/play/ from the API response (usually found in video.playAddr or similar fields)
    2. When requesting this link, make sure to add Cookie: tt_chain_token={tt_chain_token} in the request header, where {tt_chain_token} is the value returned by the API
    3. Example request header: Cookie: tt_chain_token=xxx
  • If you need to bypass this restriction to get a watermark-free video CDN link that can be accessed directly, please use the interface under the TikTok APP V3 directory.

[Example]

related_live_tag = "VALORANT"

Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

Related Models