Funny timing. I was doing the same thing last Friday.
If you’re interested in exploring the data, I’d recommend you use the client credentials flow in their documentation, rather than the full Oauth.
Here are the settings to get a token
POST
https://accounts.spotify.com/api/token?grant_type=client_credentials
Headers:
Authorization Basic: (Base 64 encoded client_id:secret key)
Content Type: application/x-www-form-urlencoded
You need to take your client and id key and paste it into a base 64 encoder to get the correct format.