TidalAPI
About
node.js TIDAL API. Use the TIDAL Web API simply using this module ;)
Created by Lucas Vasconcelos
NOTE: Currently not supporting facebook login.
How to use
Run the following:
npm install tidalapi
Obtain the Tidal token needed to use this API
As well as a TIDAL username and password, the Tidal API needs an API token
which is unique to your apps. You can get this token by network-sniffing some application that uses TIDAL Playback feature, like Tidal for Windows, Tidal for Android, or CapTune from Sennheiser.
Obtaining a token from TIDAL for Windows
- Install Fiddler and start it.
- In Fiddler, click Tools > Options > Decrypt HTTPS Traffic
- Install TIDAL for Windows and start it
- In Fiddler, look for requests to
api.tidal.com
. Click a request, then on the right, click Inspectors > Headers. Underneath Miscellaneous you'll seeX-Tidal-Token
. This is a TIDAL Token you can use.

Usage
Simple usage searching and querying a track list
var TidalAPI = ; var api = username: 'your-username-here' password: 'your-password-here' token: 'your-token-here' // Could also be 'LOSSLESS' but this only supported on premium subscriptions quality: 'HIGH';
Search
api api api api
Track info
api
Streams
api api
Album Art
console //coverid
Videos
api
FLAC tags
api
Troubleshooting
500 error with 'Ooops, an unexpected error occurred'
Your TIDAL token is likely incorrect.