SuperAPI AI Directory

finding-tiktok-creators-using-trending-sounds

Coding & development

View repository

Updated 10-13 21:27

About this skill

Finding Tiktok Creators Using Trending Sounds

Inputs

Parameter Type Required Default Notes
startUrls array ✅ [] TikTok music/sound page URLs
maxItems number Optional Unlimited Maximum posts to return
customMapFunction string Optional — JavaScript function to transform each output object

How to Run

Using run_actor.js (recommended)

# 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}'
Save as 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

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


### REST API fallback

```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.


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
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

Score Tier Label
≥ 0.70 A PRIME_CREATOR
0.40–0.69 B GOOD_FIT
< 0.40 C LOW_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.