Social Media
TikTok Hashtag
Get a TikTok hashtag's details — id, name, view count, and description — by hashtag_name or hashtag_id.
POST/api/v1/tiktok/hashtag
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/jsonhashtag_namestringHashtag name (without #). Provide this or hashtag_id.
Example: fyp
hashtag_idstringHashtag id. Provide this or hashtag_name.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.tiktok.hashtag(hashtag_name="fyp")
print(results)Response
"statusCode": 0,
"status_msg": "",
"tt_chain_token": "1Cd42OskCAaGuPIQ6aFMqQ==",
"cookie": "tt_chain_token=1Cd42OskCAaGuPIQ6aFMqQ==;"
},
"response_time": 435,
"credits_used": 1,
"credits_remaining": 4741
}