根据直播间链接提取直播间ID/Extract live room ID from live room link
Changed on[中文]
用途:
- 根据直播间链接提取直播间Room ID
- 支持短链接,如:https://vt.tiktok.com/ZSjuyJnWQ/
- 支持长链接,如:https://www.tiktok.com/@maksukaracun/live
参数:
- live_room_url: 直播间链接
返回:
- 直播间Room ID
[English]
Purpose:
- Extract live room Room ID from live room link
- Support short links, such as: https://vt.tiktok.com/ZSjuyJnWQ/
- Support long links, such as: https://www.tiktok.com/@maksukaracun/live
Parameters:
- live_room_url: Live room link
Return:
- Live room Room ID
[示例/Example]
live_room_url = "https://www.tiktok.com/@maksukaracun/live"
Request
- Base URLhttps://api.tikhub.io (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Query parameters
直播间链接/Live room link
Response
Successful Response
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
the
response's property default value changed fromThis request will be cached. You can access the cached result directly using the URL belowvalid for 24 hours. Accessing the cache will not incur additional charges.toThis response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.for the status - info
the
response's property default value changed from本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。to本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。for the status
- info