finding-tiktok-creators-using-trending-sounds

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Finding Tiktok Creators Using Trending Sounds

使用热门音效查找TikTok创作者



Inputs

输入参数

ParameterTypeRequiredDefaultNotes
startUrls
array
[]
TikTok music/sound page URLs
maxItems
numberOptionalUnlimitedMaximum posts to return
customMapFunction
stringOptionalJavaScript function to transform each output object
参数类型是否必填默认值说明
startUrls
数组
[]
TikTok音乐/音效页面URL
maxItems
数字可选无限制返回的最大帖子数量
customMapFunction
字符串可选用于转换每个输出对象的JavaScript函数

How to Run

运行方式

Using run_actor.js (recommended)

使用run_actor.js(推荐)

bash
undefined
bash
undefined

Quick answer (table)

快速输出(表格形式)

node scripts/run_actor.js --actor "apidojo~tiktok-music-scraper" --input '{"startUrls": ["https://www.tiktok.com/music/Trending-Sound-Title-123456"], "maxItems": 200}'
node scripts/run_actor.js --actor "apidojo~tiktok-music-scraper" --input '{"startUrls": ["https://www.tiktok.com/music/Trending-Sound-Title-123456"], "maxItems": 200}'

Save as CSV

保存为CSV格式

node scripts/run_actor.js --actor "apidojo~tiktok-music-scraper" --input '{"startUrls": ["https://www.tiktok.com/music/Trending-Sound-Title-123456"], "maxItems": 200}' --output results.csv --format csv
node scripts/run_actor.js --actor "apidojo~tiktok-music-scraper" --input '{"startUrls": ["https://www.tiktok.com/music/Trending-Sound-Title-123456"], "maxItems": 200}' --output results.csv --format csv

Save as JSON

保存为JSON格式

node scripts/run_actor.js --actor "apidojo~tiktok-music-scraper" --input '{"startUrls": ["https://www.tiktok.com/music/Trending-Sound-Title-123456"], "maxItems": 200}' --output results.json --format json
undefined
node scripts/run_actor.js --actor "apidojo~tiktok-music-scraper" --input '{"startUrls": ["https://www.tiktok.com/music/Trending-Sound-Title-123456"], "maxItems": 200}' --output results.json --format json
undefined

REST API fallback

备用REST API方式

bash
curl -X POST "https://api.apify.com/v2/acts/apidojo~tiktok-music-scraper/runs" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": ["https://www.tiktok.com/music/Trending-Sound-Title-123456"], "maxItems": 200}'
If Apify MCP is available: Use the Apify MCP
call_actor
tool with actor
apidojo~tiktok-music-scraper
and the input above.

bash
curl -X POST "https://api.apify.com/v2/acts/apidojo~tiktok-music-scraper/runs" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": ["https://www.tiktok.com/music/Trending-Sound-Title-123456"], "maxItems": 200}'
如果Apify MCP可用: 使用Apify MCP的
call_actor
工具,指定actor为
apidojo~tiktok-music-scraper
并传入上述输入参数。

Scoring & Ranking

评分与排名

Score each creator by:
  • followers
    → normalized 0-1 (cap at 1M), weight 0.35
  • engagement_rate = (likes + comments) / views
    → weight 0.35
  • video_views
    → normalized 0-1 (cap at 1M), weight 0.30
python
score = 0.35 * min(followers / 1000000, 1.0) + 0.35 * min(engagement_rate / 0.10, 1.0) + 0.30 * min(views / 1000000, 1.0)

通过以下维度为每个创作者评分:
  • followers
    (粉丝数)→ 归一化至0-1(上限100万),权重0.35
  • engagement_rate = (likes + comments) / views
    (互动率)→ 权重0.35
  • video_views
    (视频浏览量)→ 归一化至0-1(上限100万),权重0.30
python
score = 0.35 * min(followers / 1000000, 1.0) + 0.35 * min(engagement_rate / 0.10, 1.0) + 0.30 * min(views / 1000000, 1.0)

Classification

分类

ScoreTierLabel
≥ 0.70APRIME_CREATOR
0.40–0.69BGOOD_FIT
< 0.40CLOW_PRIORITY

分数等级标签
≥ 0.70APRIME_CREATOR(优质创作者)
0.40–0.69BGOOD_FIT(合适人选)
< 0.40CLOW_PRIORITY(低优先级)

Edge Cases

边缘情况

  • No music URL: Requires TikTok sound page URL. Tell user to find the sound on TikTok and copy the URL from the "sounds" page.
  • Sound removed: If sound was taken down for copyright, URL returns empty. Try alternative sound.
  • Trending sound has too many creators: Use maxItems cap and sort by engagement.
  • Duplicate creators: Same creator may use the sound multiple times — deduplicate by channel.username.
  • Regional sound: Some sounds trend in specific countries — results may reflect that audience.
  • 无音乐URL:需要提供TikTok音效页面URL。告知用户在TikTok上找到该音效,然后从“音效”页面复制URL。
  • 音效已移除:如果音效因版权问题被下架,URL会返回空结果。尝试使用其他替代音效。
  • 热门音效创作者过多:使用maxItems上限,并按互动率排序。
  • 重复创作者:同一创作者可能多次使用该音效——通过channel.username去重。
  • 区域性音效:部分音效仅在特定国家流行——结果可能反映该地区的受众。