enpt
wyd?

Last.fm

Currently playing, your recent scrobbles, and your top tracks, artists, and albums.

Widget

<script src="https://wyd.doce.sh/widgets/lastfm.js" data-user="doceazedo911" data-lang="default" data-kind="now-playing" async></script>
<style>.wyd-skeleton{--wyd-ink:color-mix(in srgb,currentColor 10%,transparent);display:flex;align-items:center;gap:.75rem;container-type:inline-size}.wyd-skeleton i{flex:none;width:4rem;aspect-ratio:1/1;background:var(--wyd-ink)}.wyd-skeleton em{flex:1;display:flex;flex-direction:column;gap:.5rem}.wyd-skeleton b{width:12rem;max-width:100%;height:.6875rem;background:var(--wyd-ink)}.wyd-skeleton b:last-child{width:7rem}</style>
<div class="wyd-skeleton"><i></i><em><b></b><b></b></em></div>
AttributeDescriptionValue
data-userUsername to load the activity from
data-langLanguage for the text (defaults to browser's locale)
data-kindWhat kind of content to show
data-gridGrid size (columns × rows)
data-periodTime period to retrieve data for
data-labelsSet to "false" to show only the covers

API

GET /api/lastfm/{user}/recent-tracks

Currently playing track and the ones scrobbled recently.

Cache duration: 90 seconds

https://wyd.doce.sh/api/lastfm/doceazedo911/recent-tracks?limit=10
ParameterDescriptionValue
userUsername to load the activity from
limitMax number of items to return

GET /api/lastfm/{user}/top-albums

Your most played albums over the chosen period.

Cache duration: 6 hours

https://wyd.doce.sh/api/lastfm/doceazedo911/top-albums?limit=10&period=7d
ParameterDescriptionValue
userUsername to load the activity from
limitMax number of items to return
periodTime period to retrieve data for

GET /api/lastfm/{user}/top-artists

Your most played artists over the chosen period.

Cache duration: 6 hours

https://wyd.doce.sh/api/lastfm/doceazedo911/top-artists?limit=10&period=7d
ParameterDescriptionValue
userUsername to load the activity from
limitMax number of items to return
periodTime period to retrieve data for

GET /api/lastfm/{user}/top-tracks

Your most played tracks over the chosen period.

Cache duration: 6 hours

https://wyd.doce.sh/api/lastfm/doceazedo911/top-tracks?limit=10&period=7d
ParameterDescriptionValue
userUsername to load the activity from
limitMax number of items to return
periodTime period to retrieve data for

Notes

Album and artist images are provided by Spotify, and may be cached for up to 30 days each. Album covers fall back to Last.fm's own artwork when Spotify has no match.