Douyin
Douyin Video by Share URL API
Resolve a share link to its video detail. Costs 1 credit per request.
POST/api/v1/douyin/video/by-share-url
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonshare_urlstringrequiredA douyin.com or v.douyin.com share link. Must be an absolute URL.
Example: https://v.douyin.com/v1zNJi__Teg/
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.douyin.request("/api/v1/douyin/video/by-share-url", {"share_url": "https://v.douyin.com/v1zNJi__Teg/"})
print(result)Response
},
"response_time": 4974
}