Read the current or latest Spotify track
curl --request GET \
--url https://api.avrxt.dev/v1/spotify/now-playingconst options = {method: 'GET'};
fetch('https://api.avrxt.dev/v1/spotify/now-playing', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.avrxt.dev/v1/spotify/now-playing"
response = requests.get(url)
print(response.text){}{
"error": "<string>"
}Listening activity
The Spotify-compatible listening endpoint backed by Last.fm.
Read the current or latest Spotify track
curl --request GET \
--url https://api.avrxt.dev/v1/spotify/now-playingconst options = {method: 'GET'};
fetch('https://api.avrxt.dev/v1/spotify/now-playing', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.avrxt.dev/v1/spotify/now-playing"
response = requests.get(url)
print(response.text){}{
"error": "<string>"
}Response
Spotify listening state
The response is of type object.

