Definition
challenge_id is TikTok's internal identifier for a hashtag (challenge), required by the hashtag/videos endpoint. Get it by calling the hashtag info endpoint with the hashtag name, which returns the challenge_id along with view and video counts.
In Depth
TikTok internally calls hashtags 'challenges' and assigns each a numeric challenge_id. The hashtag/videos endpoint requires this ID, not the hashtag text. The two-step flow: (1) call hashtag info with the hashtag name to get challenge_id plus aggregate stats (total views, video count), then (2) call hashtag/videos with the challenge_id to get individual videos. Scavio's hashtag endpoint returns the challenge_id at 1 credit, then hashtag/videos uses 1 credit per page. This pattern mirrors the sec_uid flow for user data: lookup identifier first, then fetch content.
Example Usage
A trend tracking tool monitors 20 hashtags daily. First run: 20 hashtag lookups to get challenge_ids (20 credits, $0.10). Subsequent runs: poll hashtag info to check view count growth (20 credits/day, $0.10/day) and selectively fetch videos for trending hashtags.
Platforms
TikTok challenge_id is relevant across the following platforms, all accessible through Scavio's unified API:
- TikTok