Douyin
Douyin Related Videos API
Videos recommended alongside a given video. Costs 1 credit per request.
POST/api/v1/douyin/related
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/jsonaweme_idstringrequiredVideo id.
countintegerItems to return per page. 1-50.
refresh_indexintegerRefresh index, incremented to pull a different slice of the feed.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.douyin.request("/api/v1/douyin/related", {"aweme_id": "..."})
print(result)Response
"max_cursor": null,
"has_more": true
},
"response_time": 2491
}