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.
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 for media integration.
- Usage volume metricTrack the user_count counter indicating how many public videos have been created with this sound.
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
Submit a sound clip ID or music URL 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"}Best Use Cases
- Trend lifecycle tracking: Monitor the video usage count over time 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.
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.
- Original sounds created by regular users will have is_original set to true in extra metadata.
Related APIs
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 Hashtags API — Collect public videos, creators, media, sound, and engagement for specified hashtags.
- TikTok Comments API — Collect public top-level comments, authors, engagement, mentions, and creator interaction flags.
- 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 Comment Replies API — Collect public replies for a known comment using its TikTok video URL and comment ID, with authors, engagement, timestamps, and parent context.
- TikTok Followers List API — Collect normalized profiles visible in public follower lists, with retained source context and supported metrics.
- TikTok Following List API — Collect public profiles followed by TikTok accounts with normalized identity, biographies, visible metrics, and source-account context.
- TikTok User Videos API — Collect public profile-feed videos by username with captions, creators, media, timestamps, engagement, and source-account context.
- TikTok Live Room Info API — Look up one known live room by paired room and owner IDs, returning status, owner context, cover media, and audience counts.
- TikTok Trending Feed API — Collect the current public video feed for a region with creator, caption, cover, timestamp, and visible engagement fields.
- TikTok Video Transcript API — Extract available transcript text, language, format, and source context from public video URLs.
- TikTok Search Users API
- TikTok Song Videos API