Search Tracks
Search for tracks on SoundCloud.Endpoint
Query Parameters
Search query
Number of results to return (max 50)
Example Request
Response Example
Response Fields
Array of track objects matching the search query
Total number of results available
URL for the next page of results (pagination)
Unique identifier for this search query
Duration values are in milliseconds. Divide by 1000 to get seconds, or by 60000 to get minutes.
Use Cases
Music Discovery
Build music discovery and search tools
Playlist Curators
Find tracks for playlist curation
Discord Music Bots
Add SoundCloud search to music bots
Analytics Tools
Track artist performance and engagement
Additional Notes
Track Duration
Duration is returned in milliseconds. Here’s a quick conversion reference:- Seconds:
duration / 1000 - Minutes:
duration / 60000 - MM:SS format:
Math.floor(duration / 60000):${String(Math.floor((duration % 60000) / 1000)).padStart(2, '0')}
Artwork URLs
Artwork URLs come in different sizes. You can modify the URL to get different resolutions:- Large:
-large.jpg(default) - Medium:
-t500x500.jpg - Small:
-t300x300.jpg - Tiny:
-tiny.jpg
Pagination
Use thenext_href field to implement pagination and fetch more results beyond the initial limit.