Search to Track and Album
A 5-step recipe with TIDAL. We can help you get access.
Recipe · 5 steps
Search to Track and Album
with TIDAL · Metadata Cataloguing
Search the catalog and resolve a matched track and its album.
- Read the searchResult for the supplied query, including its tracks relationship so matched track identifiers are available.
- Follow the searchResult tracks relationship to obtain the list of track resource identifiers that matched the query.
- Retrieve the first matched track in full, including its albums relationship so the parent album can be resolved.
- Follow the track albums relationship to obtain the identifier of the album that contains the track.
- Read the album that contains the matched track, including its artists and items so the full album context is returned.
What you'll need to have ready
- accessToken: OAuth 2.0 bearer access token for the TIDAL API.
- query: The free-text search query used as the searchResult resource id.
- countryCode: ISO 3166-1 alpha-2 country code (e.g. US).
For your developer
Arazzo workflow tidal:search-to-track-album, 5 operations: {$sourceDescriptions.searchresultsApi.url}#/paths/~1searchResults~1{id}/get → {$sourceDescriptions.searchresultsApi.url}#/paths/~1searchResults~1{id}~1relationships~1tracks/get → {$sourceDescriptions.tracksApi.url}#/paths/~1tracks~1{id}/get → {$sourceDescriptions.tracksApi.url}#/paths/~1tracks~1{id}~1relationships~1albums/get → {$sourceDescriptions.albumsApi.url}#/paths/~1albums~1{id}/get. Specs on APIs.io.