Webcast Fetch
Purpose
Historical TikTok LIVE protobuf bootstrap endpoint for initial messages, cursor state, cookie updates and WebSocket connection metadata.
Endpoint
- host:
webcast.tiktok.com - method: not conclusively established for direct TikTok requests
- path:
/webcast/fetch/
Method Note
The direct TikTok HTTP method remains uncertain. Historical descriptions disagree between GET and POST; this page does not establish either as the current contract.
Observed Query Parameters
The strongest preserved parameter family includes:
aid=1988app_language=en-USapp_name=tiktok_webbrowser_language=enbrowser_name=Mozillabrowser_online=truebrowser_platform=Win32browser_version={user_agent}cookie_enabled=truecursorinternal_extdevice_platform=webfocus_state=truefrom_page=userhistory_len=4is_fullscreen=falseis_page_visible=truedid_rule=3fetch_rule=1last_rtt=0live_id=12resp_content_type=protobufscreen_height=1152screen_width=2048tz_name=Europe/Berlinreferer=https://www.tiktok.com/root_referer=https://www.tiktok.commsTokenversion_code=180800webcast_sdk_version=1.3.0update_version_code=1.3.0room_iddevice_id
Observed Headers
User-AgentAccept: text/html,application/json,application/protobufReferer: https://www.tiktok.com/Origin: https://www.tiktok.comAccept-Language: en-US,en;q=0.9Accept-Encoding: gzip, deflate
Protobuf Payload Fields
messagescursorfetchIntervalnowinternalExtfetchTyperouteParamsMapheartBeatDurationneedsAckpushServerisFirsthistoryCommentCursorhistoryNoMore
Inner message envelope:
methodpayloadmsgIdmsgTypeoffsetisHistory
Response Headers
X-Set-TT-Cookie
X-Set-TT-Cookie can carry cookies for .tiktok.com that are then used for the WebSocket connection.
Example Decoded Values
cursor = 1705338859684_7324374619413042663_1_1_0_0fetchInterval = 1000internalExt = fetch_time:1705338859684|start_time:0|ack_ids:,,|flag:0|seq:1|next_cursor:1705338859684_7324374619413042663_1_1_0_0|wss_info:0-1705338859684-0-0fetchType = 1- returned websocket URL pointed at
/webcast/im/push/
Current Interpretation
This is a legacy bootstrap route. Modern direct web WSS can establish the connection without this request.