Webcast im/fetch
Purpose
Historical web live bootstrap fetch that returns protobuf state needed by older signer-driven websocket flows.
Endpoint
- host:
webcast.tiktok.com - method:
GET - path:
/webcast/im/fetch/
Observed Query Parameters
version_code=180800device_platform=webcookie_enabled=truescreen_width=1920screen_height=1080browser_language=en-USbrowser_platform={navigator.platform}browser_name=Mozillabrowser_version={navigator.appVersion}browser_online=truetz_name=Europe/Bucharestws_direct=0aid=1988app_name=tiktok_weblive_id=12version_code=270000app_language=enclient_enter={JSON string with room_id}room_id={room_id}identity=audiencehistory_comment_count=6fetch_rule=1last_rttcursorinternal_extsup_ws_ds_opt=1resp_content_type=protobufdid_rule=3webcast_language=enmsToken_tsX-Bogus
Headers Seen In The Experiments
Content-Type: application/x-www-form-urlencoded; charset=UTF-8Referer: https://www.tiktok.com/Origin: https://www.tiktok.comCookie- browser content-context fetch defaults such as
Sec-Fetch-Site,Sec-Fetch-Mode, andSec-Fetch-Dest
Payload Shape When The Endpoint Works
Observed protobuf fields:
messagescursorinternal_extws_paramsws_urlfetch_intervalheart_beat_durationneeds_ackhistory_comment_cursorhistory_no_more
A historical protobuf schema uses these field names:
messagescursorfetchIntervalnowinternalExtfetchTyperouteParamsMapheartBeatDurationneedsAckpushServerisFirsthistoryCommentCursorhistoryNoMore
Observed Failure Modes
- Firefox content-context fetch:
HTTP 403, empty body,application/json - other non-browser attempts:
HTTP 200with empty body orHTTP 403 - the route is transport-sensitive and historically associated with signed requests
Current Interpretation
Direct web WSS with ws_direct=1 can bypass im/fetch entirely.