Skip to content

track streamUrl

Hugo Melder edited this page Oct 17, 2020 · 4 revisions

Example Request

  • If you get the "Asset not ready for playback" response but the content is streamReady use the playbackinfopostpaywall endpoint.
Method

GET

Url

https://api.tidal.com/v1/tracks/{id}/streamUrl?countryCode={country}&soundQuality={enum}

soundQuality Enums

LOW(96kbps AAC)
HIGH(320kbps AAC)
LOSSLESS(1411kbps|16bit/44.1kHz FLAC/ALAC)
HI_RES(24bit/96kHz MQA encoded FLAC)

Header

authorization: Bearer {access_token}

Example Response

{
  "url": "http://sp-pr-fa.audio.tidal.com/mediatracks/something",
  "trackId": 38519997,
  "playTimeLeftInMinutes": -1,
  "soundQuality": "LOSSLESS",
  "encryptionKey": "",
  "codec": "FLAC"
}

TIDALAPI REST Documentation

Artists
Albums
Playlists
Tracks
Videos
Mixes
User
Get
Delete
Add
Pages
Search
Feed
Widevine
Authentication
Clone this wiki locally