Pirate Tok
GET/api/recommend/item_list/

API Recommend Item List

Purpose

Fetch item-level video metadata in a browser context. This route has been observed returning subtitle and caption metadata for a single video.

Endpoint

  • host: www.tiktok.com
  • method: GET
  • path: /api/recommend/item_list/

Observed Query Parameters

  • aid=1988
  • app_language=en
  • app_name=tiktok_web
  • browser_language=en-US
  • browser_name=Mozilla
  • browser_online=true
  • browser_platform={navigator.platform}
  • browser_version={navigator.appVersion}
  • channel=tiktok_web
  • count=1
  • device_platform=web_pc
  • itemID={video_id}
  • X-Bogus={frontier_sign_result}

Request Model

  • URL is signed with window.byted_acrawler.frontierSign(fullUrl, navigator.userAgent)
  • request is then executed by page JS with credentials: 'include'
  • the documented successful request did not add X-Gnarly

Observed Response Fields

  • itemList
  • selected item:
    • id
    • author.uniqueId
    • desc
  • subtitle metadata:
    • video.subtitleInfos[].LanguageCodeName
    • video.subtitleInfos[].Format
    • video.subtitleInfos[].Source
    • video.subtitleInfos[].Version
    • video.subtitleInfos[].Url
  • caption metadata:
    • video.claInfo.captionInfos[].language
    • video.claInfo.captionInfos[].captionFormat
    • video.claInfo.captionInfos[].source
    • video.claInfo.captionInfos[].isAutoGen
    • video.claInfo.captionInfos[].subtitleType
    • video.claInfo.captionInfos[].claSubtitleID
    • video.claInfo.captionInfos[].urlList[0]
    • fallback video.claInfo.captionInfos[].url

Known Limits

  • no raw standalone HTTP replay result is preserved
  • successful responses are documented only in browser context