Douyin
Douyin Live Room API
Live room detail by web_rid. Costs 1 credit per request.
POST/api/v1/douyin/live/room
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/jsonweb_ridstringLive room web_rid
Example: 123456789
live_room_urlstringFull live room URL. Must be an absolute URL.
danmaku_typestringDanmaku (on-screen comment) type filter.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.douyin.request("/api/v1/douyin/live/room", {})
print(result)Response
"data": "<not captured yet - run this endpoint in the playground for a live example>",
"response_time": "<seconds taken by the call>",
"credits_used": 1,
"credits_remaining": "<your balance after the call>"
}