TikTok Song
Music and audio tracks serve as the viral backbone of short video trends. Retrieving sound metadata provides audio title, artist details, audio duration, direct playback stream references, and current video adoption counters.
TikTok Song API Features
- Dual input resolutionQuery by numeric clip ID or provide a full public TikTok sound page URL interchangeably.
- Track and artist metadataExtract official song title, artist handle, nickname, album name, and cover artwork URLs.
- Audio preview streamObtain public audio playback URLs and high-precision duration values from the TikTok Song API for media integration.
- Usage volume metricTrack the user_count counter indicating how many public videos have been created with this sound.
TikTok Song API Parameters
| Parameters | Required | Description |
|---|---|---|
music_id | Required (at least one) | Numeric TikTok sound clip ID, such as 7439295283975702544. Required if url is omitted. |
url | Required (at least one) | Direct public TikTok sound/music page URL. Required if music_id is omitted. |
How to Use the TikTok Song API
Submit a sound clip ID or music URL to the TikTok Song API as an asynchronous task, then poll for normalized track information.
- Obtain the numeric clip ID or sound URL from any public TikTok post or sound share link.
- Send a POST request to /v1/tiktok/song with either music_id or url specified.
- Poll /v1/tasks/{task_id} until completion.
- Inspect data.results.items to retrieve the normalized music object.
curl -X POST "https://api.socq.ai/v1/tiktok/song" \
-H "Authorization: Bearer $SOCQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{"music_id":"7439295283975702544"}'
# Or pass {"url":"https://www.tiktok.com/music/Different-Acoustic-6717159721276540930"}TikTok Song API Use Cases
- Trend lifecycle tracking: Query the TikTok Song API over time and monitor the video usage count to gauge whether an audio trend is accelerating or plateauing.
- Music catalog enrichment: Enrich artist catalogs with TikTok platform IDs, sound covers, and audio duration information.
- Audio-driven creative research: Discover the original artist and track details behind viral audio clips used across short videos.
TikTok Song API Pro Tips
- TikTok music URLs contain the clip ID at the end of the path; either the full URL or raw ID is accepted.
- Pass the resolved music_id into TikTok Song Videos to fetch the exact videos using this track.
- The metrics.videos_count property reflects the total count of public videos using this audio clip.
- For original sounds created by regular users, the TikTok Song API sets is_original to true in extra metadata.
Related APIs
Beyond the TikTok Song API, use these APIs when you need a different type of public TikTok data.
- TikTok Profiles API — Retrieve public profile identity, biographies, account flags, and audience counts by username.
- TikTok Videos API — Retrieve creator, caption, media, music, tags, mentions, and engagement from video URLs.
- TikTok Search API — Search public videos by keyword with supported sorting and publication filters.
- TikTok User Videos API — Collect public profile-feed videos by username with captions, creators, media, timestamps, engagement, and source-account context.
- TikTok Trending Feed API — Collect the current public video feed for a region with creator, caption, cover, timestamp, and visible engagement fields.
- TikTok Song Videos API — Collect public videos using specified sound IDs.
- TikTok Hashtags API
- TikTok Comments API
- TikTok Comment Replies API
- TikTok Followers List API
- TikTok Following List API
- TikTok Live Room Info API
- TikTok Video Transcript API
- TikTok Search Users API
- TikTok Popular Songs API
- TikTok Top Search API
- TikTok User Live API
- TikTok Audience Demographics API
- TikTok Similar Accounts API
- TikTok Reposts API
- TikTok Playlists API
- TikTok Hashtag Views API
- TikTok Sound Search API
- TikTok Live Search API
- TikTok Photo Search API
- TikTok Trending Searches API
- TikTok Creator Search Insights API
- TikTok Live Ranking API
- TikTok Live Shopping API
- TikTok Fake Views Checker API
- TikTok Comment Keywords API