tiktok/
search-music

Search TikTok sounds by keyword with the TikTok Sound Search API and see how many videos use each one, with sound ID, title, artist, cover, duration and preview, sorted by relevance, usage or recency.

TikTok Sound Search API

Keyword search
Videos per sound
Sort by most used
0.6 credits / result
Ready
Ready

Enter parameters and send a request. The task status and normalized results will appear here.

README

By SocQ · Updated

TikTok Sound Search

A TikTok sound is the audio attached to a video, either a track from the music library or a clip a creator recorded, and each one has its own page with a title, an artist or uploader, a cover and a running count of videos made with it. That count is the quickest read on whether a sound is niche, established or catching on, and the sound ID is what ties a track to the videos that use it.

TikTok Sound Search API Features

  • Search by title, artist or moodquery takes a song title, an artist name or a mood such as lofi, and returns the sounds TikTok matches to it.
  • Videos per soundmetrics.videos_count is the total number of videos that use each sound, so established tracks stand apart from niche ones.
  • Three sort orderssort_by ranks TikTok Sound Search API results by relevance, by most_used or by latest, so one keyword can answer what is proven and what is new.
  • Market selectionregion takes a two-letter country code to search that TikTok market, and defaults to US.
  • Sound record with previewEach result carries the sound page url, audio.id, title, artist, cover_url, duration_seconds and an audio.url you can play.

TikTok Sound Search API Parameters

ParametersRequiredDescription
queryRequiredThe song title, artist or sound name to search for.
sort_byOptionalOrder of the results: relevance (default), most_used or latest.
regionOptionalTwo-letter country code of the TikTok market to search. Defaults to US.
results_limitOptionalHow many sounds to return, from 1 to 500. Defaults to 20.

How to Use the TikTok Sound Search API

Send a keyword to the TikTok Sound Search API and page through matching sounds.

  1. POST {"query": "lofi", "results_limit": 20} to /v1/tiktok/search-music.
  2. Poll GET /v1/tasks/{task_id} until status is succeeded.
  3. Read sounds from results.items and pass results.next_cursor back while has_more is true.
curl -X POST "https://api.socq.ai/v1/tiktok/search-music" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"lofi","sort_by":"most_used","results_limit":20}'

# metrics.videos_count is the number of videos using each sound.

TikTok Sound Search API Use Cases

  • Shortlisting sounds for a branded video: Search a mood with sort_by most_used, then check videos_count, duration_seconds and the audio preview to keep sounds that are proven and fit your clip length.
  • Spotting new sounds early: Run the same keyword with sort_by latest and keep the sounds whose videos_count is still small, before they appear in trend roundups.
  • Resolving a track to its sound ID: Search a song title together with its artist, match audio.artist, and keep audio.id to follow the videos that use that exact sound.
  • Sound lists per market: Repeat one TikTok Sound Search API query with different region codes to build a separate shortlist for each country a campaign runs in.

TikTok Sound Search API Pro Tips

  • Search the title together with the artist for a licensed track, because a short title like Lofi matches many unrelated sounds; confirm audio.artist before you keep an audio.id.
  • Deduplicate by id when you merge TikTok Sound Search API results for several keywords, since one sound can match more than one query.
  • Treat videos_count as a running total, not a growth rate; to see which sounds are speeding up, run the same query on a schedule and compare the counts between runs.
  • Download audio.url and cover_url soon after the task finishes if you need the files, because TikTok serves them through signed links that stop working later.

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

  • TikTok Hashtags API — Collect public videos, creators, media, sound, and engagement for specified hashtags.
  • TikTok Search API — Search public videos by keyword with supported sorting and publication filters.
  • 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 Song API — Retrieve public sound metadata by clip ID or music URL.
  • TikTok Song Videos API — Collect public videos using specified sound IDs.
  • TikTok Popular Songs API — Get the TikTok App Top 50 or Viral 50 songs chart, with track names, artists, sound IDs and available video counts.

Explore other platforms

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

TikTok Sound Search API — FAQ

TikTok Sound Search API is a programmatic interface for searching TikTok sounds by keyword, such as a song title, an artist or a mood. It returns each sound's ID, title, artist, cover, duration, audio preview and the number of videos that use it.

Search the song title, adding the artist when the title is common, and read metrics.videos_count on the matching result. That is the total number of videos made with the sound.

No. TikTok's in-app feature recognises a song from singing, humming or playing it, while this endpoint searches by text and returns the sounds that match a title, artist or mood. It cannot identify audio from a recording.

Set sort_by to most_used to put the most widely used sounds first and latest for the newest first; relevance, the default, follows how closely a sound matches the keyword.

Take the sound's id from the result and send it to TikTok Song Videos, which collects the videos posted with that sound.

The US, unless you pass region as a two-letter country code, in which case the search runs in that country's TikTok market.

results_limit accepts 1 to 500 and defaults to 20. The TikTok Sound Search API bills 0.6 credits for each sound returned, and a search that matches nothing costs nothing.