TikTok Music/Sound Scraper avatar

TikTok Music/Sound Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
TikTok Music/Sound Scraper

TikTok Music/Sound Scraper

Scrape TikTok music/sound metadata and the posts that use a particular sound. Input music URLs or IDs. No cookies required.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

an hour ago

Last modified

Share

TikTok Music Scraper

Scrape TikTok sound and music pages to collect track metadata and the full list of videos that use a given sound. Accepts music page URLs or bare numeric IDs and returns a metadata row per sound followed by post rows for every video using that sound. No login or cookies required.

What this actor does

  • Accepts TikTok music page URLs or raw numeric sound IDs as input
  • Emits a metadata row per sound with title, author, duration, cover images, video count, copyright flags, and DSP streaming links (Spotify, Apple Music, etc.)
  • Paginates the sound's video list and emits a post row for each video using the sound
  • Captures full post metadata: caption, author profile, engagement stats, hashtags, and video details
  • Supports toggling metadata rows and post rows independently so you can fetch just stats or just videos
  • Empty fields are omitted

Output per music metadata record

  • rowType — always "music"
  • musicId — unique TikTok sound ID
  • musicTitle — sound/track title
  • authorName — creator display name
  • duration — duration in seconds
  • isCopyrighted — whether the sound has a copyright restriction
  • isCommerceMusic — whether this is a licensed commercial track
  • isOriginal — whether this is a user-created original sound
  • videoCount — total videos using this sound on TikTok
  • playUrl — streamable audio URL (expires)
  • coverLarge — large cover image URL
  • coverMedium — medium cover image URL
  • album — album name (when present, for commercial tracks)
  • tt2dsp — object with links to Spotify, Apple Music, and other streaming platforms (when present)
  • author.id — creator's TikTok user ID
  • author.username — creator handle
  • author.displayName — creator display name
  • author.verified — verification status
  • author.avatarUrl — creator profile image URL
  • author.followerCount — creator follower count
  • shareMeta.title — share title text
  • shareMeta.desc — share description text
  • scrapedAt — ISO 8601 timestamp of when the record was collected

Output per post record

  • rowType — always "post"
  • matchedMusicId — the sound ID this video is associated with
  • postId — unique TikTok video ID
  • postUrl — direct URL to the video
  • caption — full caption text
  • likeCount — total likes
  • commentCount — total comments
  • shareCount — total shares
  • playCount — total plays/views
  • author.id — author's TikTok user ID
  • author.username — author handle
  • author.displayName — author display name
  • author.verified — verification status
  • author.avatarUrl — author profile image URL
  • hashtags — array of hashtag names parsed from caption
  • scrapedAt — ISO 8601 timestamp of when the record was collected

Input

FieldTypeDefaultDescription
musicUrlsstring[]TikTok music page URLs. Example: https://www.tiktok.com/music/original-sound-7595604258835401494
musicIdsstring[]Bare numeric sound IDs (15–20 digits). Alternative to full URLs.
maxPostsPerSoundinteger30Maximum videos to collect per sound (0–500). Set to 0 to skip post rows.
includeMusicMetadatabooleantrueEmit a metadata row per sound with title, stats, cover images, and DSP links.
includePostsbooleantrueEmit post rows for videos using each sound.

Example: single sound by URL

{
"musicUrls": ["https://www.tiktok.com/music/original-sound-7595604258835401494"],
"maxPostsPerSound": 30,
"includeMusicMetadata": true,
"includePosts": true
}

Example: multiple sounds by ID

{
"musicIds": ["7595604258835401494", "7234567890123456789"],
"maxPostsPerSound": 50,
"includeMusicMetadata": true,
"includePosts": true
}

Example: metadata-only (no video scraping)

{
"musicIds": ["7595604258835401494"],
"includeMusicMetadata": true,
"includePosts": false
}

Example: large-scale video collection for a viral sound

{
"musicUrls": ["https://www.tiktok.com/music/original-sound-7595604258835401494"],
"maxPostsPerSound": 500,
"includeMusicMetadata": false,
"includePosts": true
}

Use cases

  • Music labels and A&R teams tracking how often a track is being used on TikTok and which creators are driving virality
  • Content marketers identifying trending sounds to incorporate into brand video campaigns
  • UGC researchers collecting all videos using a specific sound for trend analysis or sentiment studies
  • Podcast and media teams monitoring original sounds tied to news events or cultural moments
  • Influencer platforms discovering creators building audiences around a particular music niche
  • Rights management teams auditing the spread of copyrighted audio across user-generated content

FAQ

Q: Do I need a TikTok account, login, or cookies?
A: No. The actor uses TikTok's public music API without authentication.

Q: How do I find a sound's numeric ID?
A: Open any TikTok music page in a browser. The URL format is /music/sound-name-XXXXXXXXXXXXXXXXX — the final numeric segment is the ID. You can pass the full URL or just the ID.

Q: How many videos can I collect per sound?
A: Up to 500 per sound. TikTok returns approximately 30 videos per page and the actor paginates automatically.

Q: Do video and audio play URLs expire?
A: Yes. TikTok signs all media CDN URLs with a short-lived token. Download or cache media within a few hours of scraping. The mediaUrlExpiresAt field indicates when signed URLs expire.

Q: What are the DSP links in tt2dsp?
A: DSP stands for Digital Service Provider. These are links to Spotify, Apple Music, and similar streaming platforms. They only appear for licensed commercial tracks; user-created original sounds do not have DSP links.

Q: Can I get only the sound stats without scraping videos?
A: Yes. Set includePosts: false and includeMusicMetadata: true to get only the metadata row for each sound.

Q: What does isOriginal mean?
A: When isOriginal is true, the sound was recorded by a TikTok user rather than uploaded from a commercial music catalog.

Build a complete TikTok data pipeline with our full suite:

ScraperURL
TikTok Post Scraperhttps://apify.com/crawlerbros/tiktok-post-scraper
TikTok Profile Scraperhttps://apify.com/crawlerbros/tiktok-profile-scraper
TikTok Comments Scraperhttps://apify.com/crawlerbros/tiktok-comments-scraper
TikTok Search Scraperhttps://apify.com/crawlerbros/tiktok-search-scraper
TikTok Hashtag Scraperhttps://apify.com/crawlerbros/tiktok-hashtag-scraper
TikTok Transcript Scraperhttps://apify.com/crawlerbros/tiktok-transcript-scraper
TikTok Followers Scraperhttps://apify.com/crawlerbros/tiktok-followers-scraper
TikTok Mention Scraperhttps://apify.com/crawlerbros/tiktok-mention-scraper
TikTok Profile Mention Scraperhttps://apify.com/crawlerbros/tiktok-profile-mention-scraper
TikTok Playlist Scraperhttps://apify.com/crawlerbros/tiktok-playlist-scraper
TikTok Explore Scraperhttps://apify.com/crawlerbros/tiktok-explore-scraper
TikTok For You Scraperhttps://apify.com/crawlerbros/tiktok-for-you-scraper
TikTok Downloaderhttps://apify.com/crawlerbros/tiktok-downloader-api
TikTok Ads Library Scraperhttps://apify.com/crawlerbros/tiktok-ads-library-scraper-pro
TikTok Top Ads Scraperhttps://apify.com/crawlerbros/tiktok-top-ads-scraper
TikTok Hashtag Trends Scraperhttps://apify.com/crawlerbros/tiktok-hashtag-trends-scraper
TikTok LIVE Scraperhttps://apify.com/crawlerbros/tiktok-live-scraper