tiktok/
popular-songs

Use the TikTok Popular Songs API to get the TikTok Top 50 or Viral 50 songs chart, with track names, artists, sound IDs and available video counts to help you build a music list for review.

TikTok Popular Songs API

Top 50
Viral 50
Sound IDs
0.5 credits / result
Ready
README

TikTok Popular Songs

A TikTok sound is the audio attached to a post, and the TikTok app offers Top 50 and Viral 50 songs charts. Each returned record identifies a specific sound with its title, artist and sound ID, so you can build a music list and connect each entry to sound details or videos that use it.

TikTok Popular Songs API Features

  • Choose one of two songs chartsSet chart_type to top for Top 50 or viral for Viral 50. These are two named charts in the TikTok app; choose the one you want to review and request up to 50 entries.
  • Identify the exact sound behind a song titleRead the title, artist, sound ID, cover and duration of each TikTok Popular Songs API record together. The sound ID helps distinguish audio clips with the same name and lets you look up that specific sound with TikTok Song or TikTok Song Videos.
  • Read available sound usage countsWhen the source provides a count, metrics.videos_count tells you how many videos use that sound. It is a video count, not a count of listeners, plays or likes; an unavailable count stays null.

TikTok Popular Songs API Parameters

ParametersRequiredDescription
chart_typeOptionalOptional chart choice: top selects the TikTok app Top 50; viral selects Viral 50. The default is top. For example, change the example value to viral to request the other chart.
results_limitOptionalOptional maximum number of songs, an integer from 1 to 50; defaults to 20. For example, 10 requests up to ten entries from the selected chart. The source may return fewer, and result pagination does not expand this limit.

How to Use the TikTok Popular Songs API

Calling the TikTok Popular Songs API starts a background collection task, so its first response gives you a task ID rather than the finished data; use that ID to check progress and retrieve the results.

  1. Choose chart_type: top for Top 50 or viral for Viral 50. If you omit it, the TikTok Popular Songs API uses top; results_limit defaults to 20 and accepts an integer from 1 to 50.
  2. Replace $SOCQ_API_KEY with your API key, or set that environment variable. Send the JSON request to POST /v1/tiktok/popular-songs with the Authorization header, then save the returned task_id.
  3. The first response contains a task ID because collection runs in the background. Query GET /v1/tasks/{task_id}; queued, running and retrying mean the task is still in progress. Read results after succeeded, or check error_message after failed.
  4. Read data.results.items. Each item describes a specific sound; audio.id is its sound ID, audio.artist names the artist, and metrics.videos_count is the available video usage count. An empty items array means no records were returned.
  5. If data.results.has_more is true, pass next_cursor unchanged as cursor to GET /v1/tasks/{task_id}?cursor=... and continue until has_more is false. This reads another page of the same saved task; it does not increase the chart collection limit beyond 50.
curl -X POST "https://api.socq.ai/v1/tiktok/popular-songs" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"chart_type":"top","results_limit":20}'

TikTok Popular Songs API Use Cases

  • Prepare a music review sheet: Choose Top 50 or Viral 50, then export titles, artists, sound IDs, durations and available video counts into a table. Your team can open the sound pages and review which clips suit a content idea.
  • Collect examples of videos using a sound: Pass returned sound IDs as music_ids to TikTok Song Videos to collect public video examples. Review those videos yourself to understand how a clip is being used; the TikTok Popular Songs API does not perform that analysis.
  • Compare separately collected chart snapshots: Save the selected chart_type, sound IDs, available video counts and collected_at each time you run a TikTok Popular Songs API task. Join your saved tables by sound ID to compare returned songs and usage counts over time; the API itself does not supply historical rankings.

TikTok Popular Songs API Pro Tips

  • Keep chart_type consistent when comparing saved runs. Switching from top to viral changes the chart you selected, so a different song list does not by itself demonstrate a rise or fall in popularity.
  • Use audio.id to link TikTok Popular Songs API records across tasks and to request TikTok Song or TikTok Song Videos. A title alone cannot distinguish different sound clips with the same name.
  • If audio.url is null, keep the sound ID and public sound-page URL for further research. When an audio URL is provided, treat it as an available media link at collection time rather than a permanent download address.

Beyond the TikTok Popular Songs API, use these APIs when you need a different type of public TikTok data.

  • TikTok Videos API — Retrieve creator, caption, media, music, tags, mentions, and engagement from video URLs.
  • 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 Video Transcript API — Extract available transcript text, language, format, and source context from public video URLs.
  • TikTok Song API — Retrieve public sound metadata by clip ID or music URL.
  • TikTok Song Videos API — Collect public videos using specified sound IDs.

Explore other platforms

Combine TikTok data with public data from other supported social platforms.

TikTok Popular Songs API — FAQ

TikTok Popular Songs API is a programmatic interface for reading the TikTok app Top 50 or Viral 50 songs chart. Choose chart_type and a result limit to get sound names, artists, sound IDs, covers, durations and available video usage counts.

They select two named TikTok app charts: top is Top 50 and viral is Viral 50. If chart_type is omitted, the API uses top. The response does not explain the ranking formula or provide a growth score.

No. This interface accepts chart_type and results_limit, plus an optional callback_url for task completion. It does not provide country, chart-period, new-entry or commercial-music filters.

No. results_limit is between 1 and 50. A result cursor lets you read another page of records already saved by that task; it does not collect extra chart entries.

metrics.videos_count is the number of videos reported as using the sound. It does not measure listeners, views or likes. A null count means the source did not provide that measurement, while zero is an actual returned value.

Take audio.id from the song record and pass it in music_ids to TikTok Song Videos. To retrieve one sound's details, use that ID with TikTok Song. These are separate requests.

No. audio.url may be null even when the name, artist and sound ID are available. When a URL is returned, you can use it to inspect the available audio; the API does not guarantee that the link remains accessible.

Each returned song record costs 0.5 credits, with no base fee. A limit of 20 estimates 10 credits; if the task returns 12 songs, the final charge is 6 credits. A limit of 50 estimates 25 credits.

By SocQ · Updated

From the official TikTok API documentation:

“Qualified researchers in the U.S., Europe, Canada, and Brazil can apply to study public data about TikTok content and accounts.”
TikTok for Developers: Research API · accessed November 2026