There is no alternative API like Spotify but you can analyze audio by yourself, using Essentia models or this one (https://reccobeats.com/docs/apis/extract-audio-features)