-
-
Notifications
You must be signed in to change notification settings - Fork 8
Authentication
TIDAL uses OAuth2 for authorization. After authorization (Email or 3rd-Party) the response code is then exchanged with the accessToken (authorization: Bearier xxx in Header). The accessToken is only valid for 7 Days and has to be updated.
TIDAL has also implemented a DeviceFlow for devices with limited input (like TVs or NetworkStreamer) and applications that are not web-based (reCaptcha v3 in the webflow). Here the device requests a 4 digit Authcode and a DeviceCode. The user then links the AuthCode to his account and the DeviceCode can then be exchanged for an accessToken.
- Generate a DeviceCode and UserCode
- Wait for the user to authenticate via link.tidal.com
- Exchange the DeviceCode with an access_token and a refresh_token
Authorization across the TIDAL API:
Header:
authorization: Bearer {access_token}
TIDALs Web Flow is reCaptcha v3 secured. Implementing reCaptcha v3 outside the web-browser is nearly impossible.
- Login
- (Optional oAuth2 Migration) Get the user_auth_token (You can used the previously received sessionId for authorization) and exchange it with an access_token and refresh_token (Use a MQA-Enabled client_id to enable MQA)
Authorization across the TIDAL API with sessionId:
Url Parameter:
sessionId={sessionId}
Authorization across the TIDAL API after Migration:
Header:
authorization: Bearer {access_token}
- Get Artist
- Get Artist Bio
- Get Artist Links
- Get Artist Mix
- Get Artist TopTracks
- Get Artist Videos
- Get Artist Albums
- Get Playlist
- Get Playlist Items
- Get Playlist Recommendations Items
- Add Playlist Item
- Move Playlist Item
- Replace Playlist Item
- Rename Playlist
- Delete Playlist
- Delete Playlist Item
- Get Track
- Get Track Contributors
- Get Track Mix
- Get Track StreamUrl (not recommended)
- Get Track PlaybackInfoPostPaywall
- Get Track PlaybackInfoPrePaywall
- Get Video
- Get Video Contributors
- Get Video StreamUrl (not recommended)
- Get Video PlaybackInfoPostPaywall
- Get Video PlaybackInfoPrePaywall
- Get User Favorite Ids
- Get User Favorite Albums
- Get User Favorite Artists
- Get User Playlists & Favorite Playlists
- Get User Favorite Tracks
- Get User Favorite Videos
- Get User Favorite Playlists
- Get User Favorite Mixes
- Get User Offline Albums
- Get User Offline Playlists
- Delete User Offline All
- Delete User Offline Album
- Delete User Offline Playlist
- Delete User Favorite Album
- Delete User Favorite Artists
- Delete User Favorite Playlists
- Delete User Favorite Tracks
- Delete User Favorite Videos
- Delete User Favorite Mixes
- Add User Favorite Album
- Add User Favorite Artists
- Add User Favorite Playlists
- Add User Favorite Tracks
- Add User Favorite Videos
- Add User Favorite Mixes
- Add User Offline Album
- Add User Offline Playlist
- Update User Image
- Post oAuth Token
- Post oAuth Device Authorization
- Login Username & Password (Deprecated)
- Get User Auth Token (SessionId Migration)
- Log Out