agentsclimarketplace

Tiktok

Skill TikHub/tikhub-plugin/skills/tiktok

Work with TikTok data via TikHub — fetch videos, user profiles and post lists, run search, pull trends/ads insights, creator analytics, comment keywords, and shop search. Use when the task targets TikTok specifically. Covers the App-V3, Ads, Creator, Analytics, and Shop APIs.From its SKILL.md

Install
npx -y skills add TikHub/tikhub-plugin --skill tiktok

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.3 KB, as published. Nobody here has run it

TikTok (via TikHub)

Deep coverage of TikTok. For exhaustive endpoints use tikhub-endpoint-discovery (tikhub-find-endpoint "<goal>" --platform tiktok). For outcomes (download, analyze a creator, trends), hand off to the task skills noted below.

Setup gate

[ -z "${TIKHUB_API_KEY:-}" ] && echo "Set TIKHUB_API_KEY first (see tikhub-onboarding)."

Coverage: App-V3, Ads, Creator, Analytics, Shop-Web. (TikTok-Web is de-scoped — reach it via discovery.)

Key endpoints

GoalMethod + pathKey params
One videoGET /api/v1/tiktok/app/v3/fetch_one_videoaweme_id
Video by share URLGET /api/v1/tiktok/app/v3/fetch_one_video_by_share_urlshare_url
User profileGET /api/v1/tiktok/app/v3/handler_user_profilesec_user_id | unique_id
User's videosGET /api/v1/tiktok/app/v3/fetch_user_post_videossec_user_id, max_cursor, count
Video searchGET /api/v1/tiktok/app/v3/fetch_video_search_resultkeyword, offset, count, sort_type, publish_time
User searchGET /api/v1/tiktok/app/v3/fetch_user_search_resultkeyword, offset, count
Video commentsGET /api/v1/tiktok/app/v3/fetch_video_commentsaweme_id, cursor, count
Hashtag video listGET /api/v1/tiktok/app/v3/fetch_hashtag_video_listch_id, cursor, count
Popular trendsGET /api/v1/tiktok/ads/get_popular_trendsperiod, country_code, page, limit
Trending hashtagsGET /api/v1/tiktok/ads/get_trends_hashtag_listtime_range, country_code, page
Hashtag detailGET /api/v1/tiktok/ads/get_trends_hashtag_detailhashtag_id, country_code
Sound rankGET /api/v1/tiktok/ads/get_sound_rank_listperiod, rank_type, page
Search creatorsGET /api/v1/tiktok/ads/search_creatorskeyword, sort_by, creator_country
Creator video analyticsPOST /api/v1/tiktok/creator/get_video_analytics_summaryJSON body
Comment keywordsGET /api/v1/tiktok/analytics/fetch_comment_keywordsitem_id
Product detailGET /api/v1/tiktok/shop/web/fetch_product_detail_v3product_id, region

Example

curl -s "https://api.tikhub.io/api/v1/tiktok/app/v3/fetch_user_post_videos?sec_user_id=SEC_UID&count=20&max_cursor=0" \
  -H "Authorization: Bearer $TIKHUB_API_KEY"

Pagination

User/video lists use max_cursor (start 0) + count; search uses offset + count; comments and hashtag video lists use cursor + count. Read the next cursor and has_more from the response; loop until exhausted. Each page is billed — cap it.

Hand off to task skills

  • Download videos → social-media-downloader
  • Analyze an account → creator-analytics
  • Trends/hashtags/sounds → trend-research, hashtag-research
  • Comment mining → comments-analysis
  • Large list pulls → bulk-data-export

Red flags

  • Need sec_user_id (not the @handle) for user endpoints — resolve via handler_user_profile with unique_id first.
  • Unbounded max_cursor loops burn credits.

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.