Unofficial TikTok Music Search API
GET/api/v1/search_music· paginated
Search sounds/music (one page per call, cursor-paginated).
| Parameter | Description | |
|---|---|---|
query | required | What to search for. |
cursor | optional | Page cursor. Omit (or 0) for the first page; pass the next_cursor from the previous response. |
format | optional | Omit for raw music objects (default). clean for a trimmed subset (music_id, title, author, duration, user_count, play_url…). |
Returns
query, next_cursor, has_more, count, and a results array of sound objects (raw by default, trimmed with format=clean). Pass a music_id to /music for the videos using it.
Example Request
https://dev.omar-thing.site/api/v1/search_music?query=mrbeast&cursor=0&format=clean&key=YOUR_API_KEY
Example Response
{
"data": {
"count": 15,
"has_more": true,
"next_cursor": "15|2026...",
"query": "mrbeast",
"results": [
{
"...": "format=clean shown; raw music object by default",
"author": "Djibril",
"duration": 15,
"music_id": "7393799401238170400",
"play_url": "https://sf16-ies-music.tiktokcdn.com/obj/.../x.mp3",
"title": "original sound - Djibril",
"user_count": 1204
}
]
},
"status": "success"
}Sends a live request using your API key above.
More Search endpoints
- Unofficial TikTok User Search API — Search users/accounts (one page per call, cursor-paginated). Filter by
followers,verifiedaccounts, ormatchusernames only. - Unofficial TikTok Video Search API — Search videos (one page per call, cursor-paginated). Filter by
dateand sort bylikesornewest. - Unofficial TikTok Photo Search API — Search photo/slideshow posts (one page per call, cursor-paginated).
- Unofficial TikTok Hashtag Search API — Search hashtags (one page per call, cursor-paginated).
- Unofficial TikTok Place Search API — Search places/POIs (venues, landmarks, restaurants). Results are localized to the
countryyou pass (ISO-2). One page per call, cursor-paginated. - Unofficial TikTok Search Suggestions API — Search autocomplete — the suggestions shown while you type.
- Unofficial TikTok Related Searches API — Related search terms suggested under a video ("others searched for"). Add
queryto steer them toward a topic.