search Track
suspend fun searchTrack(query: String, filters: List<SearchFilter> = listOf(), limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null, language: Language? = null): PagingObject<Track>(source)
Get Spotify Catalog information about tracks that match the keyword string. See SearchApi.search for more information
Return
PagingObject of non-full SimpleTrack objects ordered by likelihood of correct match
Parameters
query
Search query keywords without filters.
filters
Optional list of SearchFilter to apply to this search.
market
Provide this parameter if you want to apply Track Relinking
limit
The number of objects to return. Default: 50 (or api limit). Minimum: 1. Maximum: 50.
offset
The index of the first item to return. Default: 0. Use with limit to get the next set of items
See also
Throws
if filters are illegal or query is malformed