TikTok modelsapi generation api

tiktok/web/post-detail

Get single video data

Input
Idle

Example output — click Run to generate your own

API README

Get single video data

Purpose:

  • Get single video data Parameters:
  • itemId: Video id
  • region: Region code, optional; affects content region, e.g. US/GB/JP/ID, default US. Return:
  • Video data Note:
  • 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]

itemId = "7650908353513737479" region = "ID"

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

Related Models