tiktok/web/web-guest-cookie
Get the guest Cookie of TikTok Web Can be used to crawl data of TikTok Web, such as user videos, mix videos, etc. Can fix identity to avoid duplicate data for some interfaces. Please note: Guest Cookie cannot crawl all d...
Input
Idle
Example output — click Run to generate your own
API README
Get the guest Cookie
Purpose:
- Get the guest Cookie of TikTok Web
- Can be used to crawl data of TikTok Web, such as user videos, mix videos, etc.
- Can fix identity to avoid duplicate data for some interfaces.
- Please note: Guest Cookie cannot crawl all data, there are certain restrictions.
- Can be used with open source projects to implement data crawling of TikTok Web using this interface. Parameters:
- user_agent: User browser agent Return:
- Guest Cookie
[Example]
user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36"
{
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36",
"Cookie": "ttwid=1%7Ck5lqyYxAq2wSmaEculMCk31ur4lkvy3DVwn6Phf45GQ%7C1759321284%7C6bac9a25e1f6b512aecad91a37167ad753b47f2306ffe0d70695001d6b4dd793;tt_csrf_token=tueWm0Fw-jL4Ie3Iu2z755XYPzAphhgJmHDA;tt_chain_token=drrbnMAs2A13tME+L6XbsA==",
"Referer": "https://www.tiktok.com/explore"
}
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

