Douyin
Douyin Hashtag Search API
Search hashtags by keyword. Costs 10 credits per request.
POST/api/v1/douyin/search/hashtags
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/jsonkeywordstringrequiredSearch keyword, 1-200 characters.
Example: 美食
offsetintegerPagination offset from a previous response
pageintegerPage number, from 1. 1-200.
cursorintegerPagination cursor from a previous response
search_idstringSearch id from a previous response, for pagination
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.douyin.request("/api/v1/douyin/search/hashtags", {"keyword": "美食"})
print(result)Response
"has_more": false
},
"response_time": 1431
}