TikTok Hashtag API
Get a TikTok hashtag with its post and view counts, and the posts under it.
GET /v1/tiktok/hashtags/{tag}: id, name, description, post count, view countGET /v1/tiktok/hashtags/{tag}/posts: posts under the hashtag (up to 30 a page)
Cost: 1 credit per successful call (free from cache). An unknown hashtag answers 404 and is free.
Parameters
tagpathrequiredHashtag name without
# (booktok). For /posts, also the numeric id from the hashtag call; a name is looked up for you (no extra credit).cursorqueryoptionalposts:
pagination.next_cursor from the previous page.freshqueryoptionaltrue skips the cache.rawqueryoptionaltrue returns TikTok's own JSON in data.FAQ
How do I get TikTok hashtag views?
GET /v1/tiktok/hashtags/{name} returns view_count and post_count.