Pirate Tok
Docs/Endpoint reference
TikTok protocol

All endpoints

Browse request contracts by feature, or filter the complete reference. For a guided entry point, explore the protocol topics.

WebSocket handshakes, session bootstrap and browser request context.

LIVE discovery

9 endpoints

Find live rooms, browse feeds, resolve usernames and check room liveness.

Rooms & audience

8 endpoints

Room metadata, viewer lists, profile cards, leaderboards and cohost entry.

User profiles and discovery, video lists, stories, captions and comment threads.

Send room interactions, read quick-chat presets and distinguish sharing analytics from delivery.

Gift catalogs, diamond purchases, wallet state, permissions and subscription features.

GETWebcast Gift List/webcast/gift/list/Fetch the available gift catalog for TikTok LIVE rooms on the webcast surface.GETWebcast Gift Hints/webcast/gift/hints/Fetch protobuf-encoded gift hint metadata for native LIVE gift UI flows.GETWebcast Gift X Custom Libra/webcast/gift/x/custom_libra/Fetch a native gift helper surface named custom_libra, likely tied to gift consumption or balance-layer state.GETWebcast Diamond IAP List/webcast/diamond/iap_list/Fetch native diamond purchase package or top-up package metadata for LIVE wallet flows.GETWebcast Wallet API TikTok Wallet Info/webcast/wallet_api_tiktok/wallet/info/Fetch native wallet balance or wallet-summary state used by LIVE monetization flows.GETWebcast Wallet Diamond Buy Permission V2/webcast/wallet_api/fs/diamond_buy/permission_v2Fetch wallet or purchase-permission state for the webcast diamond-buy flow. This purpose is inferred from the route name and the wallet-specific CORS headers observed in the captur—Webcast Revenue Permission/webcast/revenue/permission/Fetch or validate monetization permission state used by the native treasure and wallet helper chain.GETWebcast Sub User Info/webcast/sub/user/info/Likely fetch subscription-related user info for an anchor on the webcast LIVE surface. This purpose is inferred from the route name and a preserved community example URL.—Webcast Sub Privilege Get Sub Emote Detail/webcast/sub/privilege/get_sub_emote_detailLikely fetch subscription-emote detail on the webcast LIVE surface.

Treasure envelopes, goody bags, reward actions and Lynx presentation variants.

Shop & messaging

6 endpoints

Shop product surfaces, buyer tokens, message retrieval and unread conversation counts.

Room strategies, banners, tasks, tabs, locale packages and moderation status.

LIVE publishing

3 endpoints

Desktop publishing discovery, room creation and broadcast termination.

Native bootstrap, package authorization, privacy configuration, effects and telemetry.