获取抖音Web的游客Cookie/Get the guest Cookie of Douyin Web
[中文]#
用途:#
可以用于爬取抖音Web的数据,如用户作品、合辑作品等。
请注意:游客Cookie无法爬取所有数据,有一定的限制。
可以配合开源项目使用此接口实现抖音Web的数据爬取。
参数:#
返回:#
[English]#
Purpose:#
Get the guest Cookie of Douyin Web
Can be used to crawl data of Douyin 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 Douyin Web using this interface.
Parameters:#
user_agent: User browser agent
Return:#
[示例/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"Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
or
Request Code Samples
curl --location 'https://api.tikomni.com/api/u1/v1/douyin/web/fetch_douyin_web_guest_cookie?user_agent=Mozilla%2F5.0%20(Windows%20NT%2010.0%3B%20Win64%3B%20x64)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F90.0.4430.212%20Safari%2F537.36' \
--header 'Authorization: Bearer <token>'
Modified at 2026-06-11 22:47:42