Social Media
TikTok Hashtag Videos
List videos for a TikTok hashtag by hashtag_id — video id, description, author, and statistics — with pagination, as JSON.
POST/api/v1/tiktok/hashtag/videos
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_idstringrequiredThe hashtag id (from the Hashtag endpoint).
Example: 229207
cursorstringPagination cursor from a previous response.
countnumberNumber of results per page.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.tiktok.hashtag_videos(hashtag_id="229207")
print(results)Response
"cursor": 5,
"has_more": 1,
"status_msg": "",
"version": "v2"
},
"response_time": 2531,
"credits_used": 1,
"credits_remaining": 4740
}