Douyin
Douyin Home Feed API
The recommended home feed. Costs 1 credit per request.
POST/api/v1/douyin/home-feed
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/jsoncountintegerItems to return per page. 1-20.
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/home-feed", {})
print(result)Response
"max_cursor": null,
"has_more": true
},
"response_time": 3883
}