toolzerhub API Docs

Get a live room by user

Returns the live room for a sec_user_id, including the stream URLs when the account is broadcasting.

2 credits / requestBilled only on success
GET
/v2/douyin/live/room/by-user

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

sec_user_id*string

Douyin sec_user_id, or a douyin.com/user/<sec_user_id> profile URL.

Length1 <= length
curl -X GET "https://example.com/v2/douyin/live/room/by-user?sec_user_id=MS4wLjABAAAAY3J1P0y5w7hzttTyvZiLjhMu3iOzF-1yFi6yNtXVHzkmVGFIx7T8s-nRmGNusfh1" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "data": {      "room": null    }  }}